W
Wolfgang
Hello,
I would like to use the schema, without asking for a certain order.
"Sequence" is therefore not the answers. How can I do this?
I want to use a order like:
C1 E
C2 E D
E C1 D
D C1
etc.
my current schema looks like this:
<xs:element name="AB">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="C1" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="C2" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:element ref="D" minOccurs="0"/>
<xs:element ref="E" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Any idea, how I can acomplish this?
Bye,
Wolfgang
I would like to use the schema, without asking for a certain order.
"Sequence" is therefore not the answers. How can I do this?
I want to use a order like:
C1 E
C2 E D
E C1 D
D C1
etc.
my current schema looks like this:
<xs:element name="AB">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="C1" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="C2" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:element ref="D" minOccurs="0"/>
<xs:element ref="E" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Any idea, how I can acomplish this?
Bye,
Wolfgang