Hello,
I vageuly remember a standard that allowed for an XML document using one tag vocabulary to be translated to a diffirent XML document using a diffirent tag vocabulary using the information provided in a kind of dictionary XML pointed to in an URL present in the original XML file. I am very interested in trying it out for various applications, but I can't find anything on the internet about it, since I don't remember it's name, only the general appearance. Can anyone help me with this?
What I remember, approximately:
The idea is that you have one XML file, in which the namespace is defined in the standard way, using an URI. The URI, however, is pointing to an online XML file. For example:
<x xmlns:abc="http://www.server.org/dictionary.xml"> <abc
ne>orange</abc
ne> </x>
This dictionary.xml then contains, for example:
<root>
<one>
<format1>1</format1>
<format2>uno</format2>
<format3>ena</format3>
<format4>ein</format4>
</one>
</root>
So a program wishing to convert the original XML to, say format2, would end up with the following XML:
<x>
<uno>orange</uno>
</x>
What I remember is that this dictionary trick was mainly used to allow diffirent software to be able to interpret the same XML file, without all of the software needing to be programmed for the same tag vocabulary. The program would just have the translations of the tag meanings prepared specialy for it in the dictionary file.
I remember(!) seeing this implemented somewhere and I don't want to create my own standard here even if what I remember was just somebody's bright idea and not an official XML standard. This little trick gives a solution to creating globaly-compatible software when companies that provide XML data sources can't agree on a common tag vocabulary. I need more information so I can implement it's use compatibly.
Anyone?
Thanks in advance.
I vageuly remember a standard that allowed for an XML document using one tag vocabulary to be translated to a diffirent XML document using a diffirent tag vocabulary using the information provided in a kind of dictionary XML pointed to in an URL present in the original XML file. I am very interested in trying it out for various applications, but I can't find anything on the internet about it, since I don't remember it's name, only the general appearance. Can anyone help me with this?
What I remember, approximately:
The idea is that you have one XML file, in which the namespace is defined in the standard way, using an URI. The URI, however, is pointing to an online XML file. For example:
<x xmlns:abc="http://www.server.org/dictionary.xml"> <abc
This dictionary.xml then contains, for example:
<root>
<one>
<format1>1</format1>
<format2>uno</format2>
<format3>ena</format3>
<format4>ein</format4>
</one>
</root>
So a program wishing to convert the original XML to, say format2, would end up with the following XML:
<x>
<uno>orange</uno>
</x>
What I remember is that this dictionary trick was mainly used to allow diffirent software to be able to interpret the same XML file, without all of the software needing to be programmed for the same tag vocabulary. The program would just have the translations of the tag meanings prepared specialy for it in the dictionary file.
I remember(!) seeing this implemented somewhere and I don't want to create my own standard here even if what I remember was just somebody's bright idea and not an official XML standard. This little trick gives a solution to creating globaly-compatible software when companies that provide XML data sources can't agree on a common tag vocabulary. I need more information so I can implement it's use compatibly.
Anyone?
Thanks in advance.