M
Martin Perreault
Hello,
I cannot find a schema structure that would accommodate the following
occurence and ordering restrictions. Please note that this is only an
example and that a typical RootElement has around 20 children element.
<xs:element name="RootElement">
<xs:complexType mixed="true">
<xs:???>
<xs:element ref="A" minOccurs="0" />
<xs:element ref="B" minOccurs="0"/>
<xs:element ref="C" minOccurs="1"/>
<xs:element ref="D" minOccurs="1"
maxOccurs="unbounded"/>
<xs:element ref="E" minOccurs="1"/>
<xs:element ref="F" minOccurs="0"/>
</xs:???>
</xs:complexType>
</xs:element>
In the xml document being validated, elements appear in no particular
order.
would anyone have a schema patern that would meet these criteria?
Thanks
Martin
I cannot find a schema structure that would accommodate the following
occurence and ordering restrictions. Please note that this is only an
example and that a typical RootElement has around 20 children element.
<xs:element name="RootElement">
<xs:complexType mixed="true">
<xs:???>
<xs:element ref="A" minOccurs="0" />
<xs:element ref="B" minOccurs="0"/>
<xs:element ref="C" minOccurs="1"/>
<xs:element ref="D" minOccurs="1"
maxOccurs="unbounded"/>
<xs:element ref="E" minOccurs="1"/>
<xs:element ref="F" minOccurs="0"/>
</xs:???>
</xs:complexType>
</xs:element>
In the xml document being validated, elements appear in no particular
order.
would anyone have a schema patern that would meet these criteria?
Thanks
Martin