company logo

Enumeration definition

Enumeration definitions are provided as simple types in OXML. Enumerators are defined as enumerations in the restriction of the simple type. The simple type definition for an enumeration can be extended by the dataType attribute.

  <

    <xs:enumeration value="full" oxs:enumVal="3" oxs:dataType="Employee">

    <xs:enumeration value="associate" oxs:enumVal="2" oxs:dataType="Associate">

    <xs:enumeration value="assistent" oxs:enumVal="1" oxs:dataType="Assistent">