summaryrefslogtreecommitdiff
path: root/examples/content/content.xsd
blob: c6de6d371c2eb6ef8ac727e354e22e310efbddca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="numbers">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="simple" type="xs:integer"/>
        <xs:element name="complex">
          <xs:complexType>
            <xs:simpleContent>
              <xs:extension base="xs:integer">
                <xs:attribute name="style" type="xs:string"/>
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="attribute" type="xs:integer"/>
    </xs:complexType>
  </xs:element>
</xs:schema>