Name
xs:enumeration
Synopsis
<xs:enumeration id = "ID
" value = "anySimpleType
"> <!-- (xs:annotation?) --> </xs:enumeration>
The xs:enumeration
facet element is used inside xs:restriction
elements to derive new
simple types by listing all valid values. The value
attribute contains a single valid
value of the type specified by the parent xs:restriction
’s base
attribute. This xs:restriction
element contains one
xs:enumeration
child element
for each valid value.
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.