- From: David Fallside/Santa Teresa/IBM <fallside@us.ibm.com>
- Date: Sun, 10 Sep 2000 12:37:00 -0700
- To: www-xml-schema-comments@w3.org
When I define a new list type, it appears that I can reference an existing
type directly, e.g.:
<simpleType>
<list type="FooType">
<length value="4"/>
</list>
</simpleType>
However, when I define a new union type, it appears that I cannot
reference existing types.
I would like to be able to write something like:
<simpleType>
<union type="FooType BarType BazType">
<!-- facets -->
</union>
</simpleType>
However, the closest I seem to come to this is assembling anonymous type
definitions
like:
<simpleType>
<union>
<simpleType>
<restriction base="..."/>
</simpleType>
<simpleType>
<list type="..."/>
</simpleType>
</union>
</simpleType>
Do I have this right?
Thanks,
David
............................................
David C. Fallside, IBM
Ext Ph: 530.477.7169
Int Ph: 544.9665
fallside@us.ibm.com
Received on Sunday, 10 September 2000 22:50:26 UTC