|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Dissillusioned about interoperability.
> 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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








