Internationalization and naming

Murray Maloney murray at
Mon Jan 4 22:48:31 GMT 1999

>At 10:57 AM 1/4/99 -0800, Andrew Layman wrote:
>>Thanks.  One of the intentions of XML-Data was to make aliases for names
>>explicit.  See
>>Here is text from the proposal:
>>ElementTypes can be know be different names in different languages or
>>domains. The equivalence of several names is effected by the sameAs
>>attribute, as in 
>><elementTypeEquivalent id="livre" type="#Book"/>
>><elementTypeEquivalent id="auteur" type="#author"/>

At 02:28 PM 1/4/99 -0500, Simon St.Laurent wrote:
>I'm glad I'm not the first to come up with this, and glad to see as well
>that the idea's had a reasonably full expression.  Aliasing seems not to be
>in DCD, and I know we didn't provide it in XSchema.  

Since we're on the topic, SOX offers equivalence like so:

	<elementtype name="livre">
		<instanceof name="book"/>

	<elementtype name="auteur">
		<instanceof name="author"/>

This example allows <livre> in lieu of <book> 
and <auteur> in lieu of <author>

And SOX namespace  allow you to create local aliases for 
elements, attributes, entities, and notations defined in
any included namespace.

	<include name="loc" namespace=""/> 
	<elementtype name="livre">
		<instanceof namespace="loc" name="book"/>

	<elementtype name="auteur">
		<instanceof namespace="loc" name="author"/>

This example allows <livre> in lieu of <loc:book> 
and <auteur> in lieu of <loc:author>

Localizing a SOX schema definition can be a simple remapping 
of the names of elements and attributes -- or a more complex 
remapping that adds new level in the document structure, 
adds to a base element's content model or attribute list, 
or redefines attributes and entities.

For more info on SOX, see



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list