I am trying to have a mixture of ordered and unordered elements:
<root>
<seq1/>
<seq2/>
<unordered2/>
<unordered1/>
</root>
So what IMHO would make sense would be:
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:sequence>
<xs:element name="seq1"/>
<xs:element name="seq2"/>
</xs:sequence>
<xs:all>
<xs:element name="unordered1"/>
<xs:element name="unordered2"/>
</xs:all>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
But obviously this does not work.
What is the proposed way to express such a schema?
Any help appreciated!
--
Torsten