All Content Model

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...>
  <xsd:complexType name="type-name">
    <xsd:all>
      <xsd:element name="element1"/>
      <xsd:element name="element2"/>
    </xsd:all>
  </xsd:complexType>
</schema>
		  
  • Specifies that the order of the elements is not important.

  • Can only contain elements.

  • Use maxOccurs and minOccurs attributes to define the number of times the 'all' should (is allowed to) be repeated.