W3C

TokenEnumerationType Example

  <xs:element name="tokenEnumerationType" type="ex:TokenEnumerationType"/>

  <xs:simpleType name="TokenEnumerationType">
        <xs:restriction base="xs:token">
          <xs:enumeration value="1"/>
          <xs:enumeration value="2"/>
          <xs:enumeration value="3"/>
        </xs:restriction>
      </xs:simpleType>

The example schema [TokenEnumerationType.xsd] has been classified as being "" as it exhibits the following patterns:

Status Name XPath

To facilitate testing, the example schema element has been wrapped in the following descriptions:

The following valid instance documents are provided:

Instance Validity
TokenEnumerationType01
TokenEnumerationType02

  <ex:tokenEnumerationType>1</ex:tokenEnumerationType>
  <ex:tokenEnumerationType>2</ex:tokenEnumerationType>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).

Generated from examples.xml $Date$