Sign In/My Account | View Cart  
advertisement

Article:
 Understanding W3C Schema Complex Types
Subject: XSD enumarations
Date: 2001-11-14 05:27:13
From: Harry Hirsch

Hi folks,
i want to give a list of enumerations to an attribute, but also keep the opportunity to let other values than in xsd:enumeration be valid ??

Previous Message Previous Message   Next Message Next Message


Titles Only Full Threads Newest First
  • XSD enumarations
    2005-07-19 01:59:30 JAPISoft [Reply]

    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


Sponsored By: