M
mavis
Could you please help me with this xsd definition?
I need to define a set of elements occur in any order with multiple
occurrences, but the same kind of elements need to group together...
Sth like this....
<xs:element name="A">
<xs:complexType>
<xs:all>
<xs:element name="B-1" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="B-2" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="B-3" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="B-4" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
</xs:all>
</xs:complexType>
</xs:element>
The above definition cannot be validated correctly...
Thanks in advance!
Mavis
I need to define a set of elements occur in any order with multiple
occurrences, but the same kind of elements need to group together...
Sth like this....
<xs:element name="A">
<xs:complexType>
<xs:all>
<xs:element name="B-1" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="B-2" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="B-3" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="B-4" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
</xs:all>
</xs:complexType>
</xs:element>
The above definition cannot be validated correctly...
Thanks in advance!
Mavis