[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev <xml-dev@l...>
  • Subject: redefining enumeration?
  • From: Prasad G S K <prasadg@a...>
  • Date: Mon, 14 Apr 2003 20:05:15 +0530

Title: Message
Can I redefine 'enumeration' element in the XSD I write?
 
I want the 'enumeration' element defined at http://www.w3.org/2001/XMLSchema namespace to hold some other custom element i.e.,
I should be able to write as follows in my instance document.
 
<simpleType name="MyType">
<restriction base="string">
    <enumeration value="ABC">
        <MyElement  value="xxx"/>
    </enumeraion>
</restriction>
</simpleType>
 
is this possible?
 
regards,
GSK

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member