44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
|
|
<xs:element name="RootElement">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="A" minOccurs="1" maxOccurs="unbounded"/>
|
|
<xs:choice>
|
|
<xs:sequence>
|
|
<xs:element name="B" minOccurs="1"/>
|
|
<xs:element name="C" minOccurs="1"/>
|
|
</xs:sequence>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
|
|
<xs:element name="RootElement2">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="A" minOccurs="3" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
|
|
<xs:element name="RootElement3">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="A" minOccurs="1"/>
|
|
<xs:choice>
|
|
<xs:element name="A"/>
|
|
<xs:element name="B"/>
|
|
</xs:choice>
|
|
<xs:element name="A" minOccurs="1"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
|
|
</xs:schema>
|