How can I set a sequence of choices? An example:
<xs:element name="OPERATIONS">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="INSERT"/>
<xs:element ref="UPDATE"/>
<xs:element ref="CREATE"/>
<xs:element ref="DELETE"/>
<xs:element ref="GETLIST"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
allows me to have one of "INSERT", "UPDATE", etc. But what I want is to have a sequence of "INSERT"s or "UPDATE"s like this:
<OPERATIONS>
<INSERT></INSERT>
<INSERT></INSERT>
<OPERATIONS>
<xs:element name="OPERATIONS">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="INSERT"/>
<xs:element ref="UPDATE"/>
<xs:element ref="CREATE"/>
<xs:element ref="DELETE"/>
<xs:element ref="GETLIST"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
allows me to have one of "INSERT", "UPDATE", etc. But what I want is to have a sequence of "INSERT"s or "UPDATE"s like this:
<OPERATIONS>
<INSERT></INSERT>
<INSERT></INSERT>
<OPERATIONS>