- From: Naga Chendica <nchendica@certivo.net>
- Date: Mon, 10 Nov 2003 12:49:25 -0800
- To: <xmlschema-dev@w3.org>
Hello, http://lists.w3.org/Archives/Public/xmlschema-dev/2000Aug/0036.html#options2 Reference to the link, I want to use enumerated values for the attribute source in the listed example, Is it possible? <element name="fruit" xmlns="http://www.w3.org/2000/08/XMLSchema"> <complexType> <simpleContent> <extension> <simpleType> <restriction base="string"> <enumeration value="apple"/> <enumeration value="orange"/> <enumeration value="peach"/> </restriction> </simpleType> <attribute name="source" type="string"/> --> I want to add enumerated values to the source like Canada, USA etc. is it possible. </extension> <simpleContent> </complexType> </element> Thanks, Malli
Received on Monday, 10 November 2003 15:52:52 UTC