XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Understanding W3C Schema Complex Types
Subject: XSD enumarations
Date: 2005-07-19 01:59:30
From: JAPISoft
Response to: XSD enumarations

Just use the union like that :


<simpleType>
<union>
<restriction base="xs:string">
<enumeration.../>
</restriction>
<simpleType>
...
</simpleType>
</union>
</simpleType>


Best regards,


A.Brillant
EditiX - XML Editor and XSLT Debugger
http://www.editix.com


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938