2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4 <xsd:element name='doc'>
7 <xsd:element name='book'/>
8 <xsd:element name='article'/>
9 <xsd:element ref='report'/>
11 <xsd:attribute name='style' type='xsd:string'/>
15 <xsd:element name='report'>
18 <xsd:element name='titlepage'/>
19 <xsd:element name='toc'/>
20 <xsd:element name='chapter' type='chapter-content'
21 maxOccurs='unbounded'/>
22 <xsd:element name='appendix' type='chapter-content'
23 minOccurs='0' maxOccurs='unbounded'/>
28 <xsd:complexType name='chapter-content'>
30 <xsd:element name='heading'/>
31 <xsd:element name='para' type='xsd:string'
32 minOccurs='0' maxOccurs='unbounded'/>
33 <xsd:element name='section' type='section-content'
34 minOccurs='0' maxOccurs='unbounded'/>
38 <xsd:complexType name='section-content'>
40 <xsd:element name='heading'>
41 <xsd:complexType mixed='true'>
42 <xsd:attribute name='style'/>
45 <xsd:element name='para' type='xsd:string' minOccurs='0' maxOccurs='unbounded'/>