referencing types in unions

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