summaryrefslogtreecommitdiff
path: root/test/schemas/choice_2.xsd
blob: 9f2b094cfa09e37ff47a51885a8302ac6cc22b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="doc">
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="1" maxOccurs="3">
          <xs:element name="a"/>
          <xs:element name="b"/>
        </xs:choice>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>