Any Order


The DTD statement:

  <!ELEMENT Employee (Name,Title,Dept,...

defines a fixed order! Whereas:

  <complexType name="Employee_type">
    <all>
      <element name="Name"/>
        <sequence>
          <element name="Surname"   type="string"/>
          <element name="FirstName" type="string"
             minOccurs="1" maxOccurs="unbounded"/>
        </sequence>
      </element>          
      <element name="Title" type="string"/>
      ...
    </all>
  </complexType>

allows for any order