Hi All, How can I extend the enumeration item in simple type. e.g. If I have following definition: <xsd:simpleType name="Color"> <xsd:restriction> <xsd:enumeration value="red"/> <xsd:enumeration value="yellow"/> <xsd:enumeration value="blue"/> </xsd:restriction> </xsd:simpleType> Though I want the user to define extra colors, so can I write like this: <xsd:simpleType name="Color"> <xsd:union memberTypes="xsd:token"> <xsd:simpleType> <xsd:restriction> <xsd:enumeration value="red"/> <xsd:enumeration value="yellow"/> <xsd:enumeration value="blue"/> </xsd:restriction> </xsd:simpleType> </xsd:union> </xsd:simpleType> Is there any other way to write this definition? Thank you for your help. Avin PatelReceived on Wednesday, 2 April 2003 12:00:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:44 GMT