<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           targetNamespace="http://www.chapter.org"
           xmlns="http://www.chapter.org"
           elementFormDefault="qualified">

    <xs:element name="Chapter">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="section" maxOccurs="unbounded" />
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="section" type="sectionType" />

    <xs:complexType name="sectionType">
        <xs:sequence>
            <xs:element ref="title" />
            <xs:element ref="section" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="title" type="xs:string" />

</xs:schema>

