OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Dissillusioned about interoperability.

[ Lists Home | Date Index | Thread Index ]
  • From: "James Tauber" <jtauber@jtauber.com>
  • To: "Simon St.Laurent" <simonstl@simonstl.com>, <xml-dev@ic.ac.uk>
  • Date: Thu, 7 Oct 1999 19:18:04 -0400

> To me, it sounds like you could do with some tools for mapping different
> data structures that represent similar underlying data structures to a
> common model.  The problem isn't that XML is too flexible; rather, it's
> that no one has yet built something handy for making "everyone else's
> representation" into "my representation". It doesn't seem like a light
> project, but it doesn't seem impossible, either.

I'm involved in the development of a markup language that is what could be
described as weakly-typed, ie of the form:

<object>
    <property name="type">foo</property>
    <property name="a">bar</property>
    <property name="b">baz</property>
    ...
</object>

I have often thought that it would be useful to have a standard transform
between this and a strongly-typed form:

<foo>
    <a>bar</a>
    <b>baz</b>
</foo>

Fairly simple XSLT for each direction of transform.

Actually, I can think of a handful of simple little XSLT transforms that
might be useful for this sort of thing:

One could turn all elements into <element type="...">...</element>
Another could turn all attributes into child elements
and so on...

James Tauber



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS