OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   redefining enumeration?

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS