blob: 4d89baa98830378cd5948a5415ccbb61dd961794 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:include schemaLocation="common.xsd"/>
<xs:include schemaLocation="common.header.xsd"/>
<xs:include schemaLocation="common.table.xsd"/>
<xs:include schemaLocation="common.image.xsd"/>
<!-- Structure -->
<xs:element name="chapter">
<xs:complexType>
<xs:sequence>
<xs:element ref="header"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="block"/>
<xs:element ref="quote"/>
<xs:element ref="warning"/>
<xs:element ref="note"/>
<xs:element ref="br"/>
<xs:element ref="image"/>
<xs:element ref="marker"/>
<xs:element ref="table"/>
</xs:choice>
<xs:element maxOccurs="unbounded" ref="section"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="section">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="marker"/>
<xs:element ref="title"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="block"/>
<xs:element ref="quote"/>
<xs:element ref="warning"/>
<xs:element ref="note"/>
<xs:element ref="br"/>
<xs:element ref="image"/>
<xs:element ref="marker"/>
<xs:element ref="table"/>
<xs:element ref="section"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
|