2.3.2.1 order

The order attribute type is used to define the order in which elements from the given list can appear in the context of a parent element or group. The order schema attribute applies to the ElementType element (see section 2.3.1.4) and the group element (see section 2.3.1.8). The following XML schema defines the order attribute:

  <xs:attribute name="order">
   <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:enumeration value="one"/>
      <xs:enumeration value="seq"/>
      <xs:enumeration value="many"/>
     </xs:restriction>
   </xs:simpleType>
 </xs:attribute>

The allowable values in the order attribute are specified in the following table.

Value

Meaning

one

One and only one of the list.

seq

All listed elements in exactly that order.

many

Each element from the list can or cannot appear, in any order and any number.