aboutsummaryrefslogtreecommitdiffstats
path: root/lib/docbuilder/xsd/fascicules.xsd
blob: bfdb5bd60431e1817833610c5320d48d87d973d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8"?>
<!-- Structure -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  <xs:element name="fascicules">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="fascicule"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="fascicule">
    <xs:complexType mixed="true">
      <xs:attribute name="file" use="required"/>
      <xs:attribute name="href" use="required"/>
      <xs:attribute name="entry" default="no">
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="yes"/>
            <xs:enumeration value="no"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
</xs:schema>