Purpose | This element enables you to define an enumeration
type by restricting an existing type (the base type). The restriction is done
by constraining the value set of the base type to the values for which an
xs:enumeration element with a matching
value attribute is given.
|
Parent element | xs:restriction |
Child elements | None |
Attributes | value |
Name | Type | Description |
---|---|---|
value |
xs:string |
Allows you to specify an allowed value of the value space of the enumeration type to be defined. |
See the example for the
xs:restriction
element.