Re: XML Schema Question

Use an enumeration of QNames:

<simpleType name="xxx">
  <restriction base="QName">
      <enumeration value="xs:string"/>
      <enumeration value="xs:double"/>
      ....
  </restriction>
</simpleType>


> I want to create a string Simple Type thats value must be the string name
> of
> a Simple Type (preferably allowing for user-defined SimpleTypes).  For
> example the simple type would only allow "xs:date", "xs:time", etc.
> 
> Can it be done?
> 

Received on Thursday, 28 November 2002 03:17:21 UTC