<?xml version="1.0" encoding="utf-8"?>
<rng:grammar xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0"
    datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.tei-c.org/ns/1.0">
    <!--
Schema generated from ODD source 2010-07-13T16:09:56-04:00. 
-->
    <!---->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.paraContent">
        <zeroOrMore>
            <choice>
                <text/>
                <rng:ref name="tei_model.gLike"/>
                <rng:ref name="tei_model.phrase"/>
                <rng:ref name="tei_model.inter"/>
                <rng:ref name="tei_model.global"/>
            </choice>
        </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.limitedContent">
        <zeroOrMore>
            <choice>
                <text/>
                <rng:ref name="tei_model.limitedPhrase"/>
                <rng:ref name="tei_model.inter"/>
            </choice>
        </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.phraseSeq">
        <zeroOrMore>
            <choice>
                <text/>
                <rng:ref name="tei_model.gLike"/>
                <rng:ref name="tei_model.phrase"/>
                <rng:ref name="tei_model.global"/>
            </choice>
        </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.phraseSeq.limited">
        <zeroOrMore>
            <choice>
                <text/>
                <rng:ref name="tei_model.limitedPhrase"/>
                <rng:ref name="tei_model.global"/>
            </choice>
        </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.specialPara">
        <zeroOrMore>
            <choice>
                <text/>
                <rng:ref name="tei_model.gLike"/>
                <rng:ref name="tei_model.phrase"/>
                <rng:ref name="tei_model.inter"/>
                <rng:ref name="tei_model.divPart"/>
                <rng:ref name="tei_model.global"/>
            </choice>
        </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.xtext">
        <zeroOrMore>
            <choice>
                <text/>
                <rng:ref name="tei_model.gLike"/>
            </choice>
        </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.noteContent">
        <choice>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.noteTop"/>
                        <zeroOrMore>
                            <rng:ref name="tei_model.global"/>
                        </zeroOrMore>
                    </zeroOrMore>
                    <group>
                        <oneOrMore>
                            <rng:ref name="tei_model.notePart"/>
                            <zeroOrMore>
                                <rng:ref name="tei_model.global"/>
                            </zeroOrMore>
                        </oneOrMore>
                        <zeroOrMore>
                            <rng:ref name="tei_model.noteBottom"/>
                            <zeroOrMore>
                                <rng:ref name="tei_model.global"/>
                            </zeroOrMore>
                        </zeroOrMore>
                    </group>
                </group>
            </group>
            <oneOrMore>
                <rng:ref name="tei_byline"/>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
            </oneOrMore>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ascribed.attributes">
        <rng:ref name="att.ascribed.attribute.who"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ascribed.attribute.who">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="who">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the person, or group of people, to whom the element content is
                    ascribed.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.canonical.attributes">
        <rng:ref name="att.canonical.attribute.key"/>
        <rng:ref name="att.canonical.attribute.ref"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.canonical.attribute.key">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="key">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >provides an externally-defined means of identifying the entity (or entities)
                    being named, using a coded value of some kind.</a:documentation>
                <data type="string"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.canonical.attribute.ref">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="ref">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(reference) provides an explicit means of locating a full definition for the
                    entity being named by means of one or more URIs.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ranging.attributes">
        <rng:ref name="att.ranging.attribute.atLeast"/>
        <rng:ref name="att.ranging.attribute.atMost"/>
        <rng:ref name="att.ranging.attribute.min"/>
        <rng:ref name="att.ranging.attribute.max"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ranging.attribute.atLeast">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="atLeast">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives
                    a minimum estimated value for the approximate measurement.</a:documentation>
                <choice>
                    <data type="double"/>
                    <data type="token">
                        <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                    </data>
                    <data type="decimal"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ranging.attribute.atMost">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="atMost">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives
                    a maximum estimated value for the approximate measurement.</a:documentation>
                <choice>
                    <data type="double"/>
                    <data type="token">
                        <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                    </data>
                    <data type="decimal"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ranging.attribute.min">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="min">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where
                    the measurement summarizes more than one observation or a range, supplies the
                    minimum value observed.</a:documentation>
                <choice>
                    <data type="double"/>
                    <data type="token">
                        <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                    </data>
                    <data type="decimal"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ranging.attribute.max">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="max">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where
                    the measurement summarizes more than one observation or a range, supplies the
                    maximum value observed.</a:documentation>
                <choice>
                    <data type="double"/>
                    <data type="token">
                        <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                    </data>
                    <data type="decimal"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attributes">
        <rng:ref name="att.ranging.attributes"/>
        <rng:ref name="att.dimensions.attribute.unit"/>
        <rng:ref name="att.dimensions.attribute.quantity"/>
        <rng:ref name="att.dimensions.attribute.extent"/>
        <rng:ref name="att.dimensions.attribute.precision"/>
        <rng:ref name="att.dimensions.attribute.scope"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.unit">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="unit">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names
                    the unit used for the measurement Suggested values include: 1] cm
                    (centimetrescentimètrescentímetroscentimetri); 2] mm
                    (millimetresmillimètresmilímetrosmillimetri); 3] in
                    (inchespoucespulgadaspollici); 4] lines; 5] chars
                    (characters문자caracterescaratteri)</a:documentation>
                <choice>
                    <value>cm</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(centimetres) </a:documentation>
                    <value>mm</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(millimetres) </a:documentation>
                    <value>in</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(inches) </a:documentation>
                    <value>lines</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >lines of text</a:documentation>
                    <value>chars</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(characters) characters of text</a:documentation>
                    <data type="Name"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.quantity">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="quantity">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies the length in the units specified</a:documentation>
                <choice>
                    <data type="double"/>
                    <data type="token">
                        <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                    </data>
                    <data type="decimal"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.extent">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="extent">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the size of the object concerned using a project-specific vocabulary
                    combining quantity and units in a single string of words. </a:documentation>
                <list>
                    <oneOrMore>
                        <data type="token">
                            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                        </data>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.precision">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="precision">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >characterizes the precision of the values specified by the other
                    attributes.</a:documentation>
                <choice>
                    <value>high</value>
                    <value>medium</value>
                    <value>low</value>
                    <value>unknown</value>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.scope">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="scope">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where
                    the measurement summarizes more than one observation, specifies the
                    applicability of this measurement. Sample values include: 1] all; 2] most; 3]
                    range</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attributes">
        <rng:ref name="att.datable.w3c.attribute.period"/>
        <rng:ref name="att.datable.w3c.attribute.when"/>
        <rng:ref name="att.datable.w3c.attribute.notBefore"/>
        <rng:ref name="att.datable.w3c.attribute.notAfter"/>
        <rng:ref name="att.datable.w3c.attribute.from"/>
        <rng:ref name="att.datable.w3c.attribute.to"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.period">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="period">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >supplies a pointer to some location defining a named period of time within
                    which the datable item is understood to have occurred.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.when">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="when">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >supplies the value of the date or time in a standard form, e.g.
                    yyyy-mm-dd.</a:documentation>
                <choice>
                    <data type="date"/>
                    <data type="gYear"/>
                    <data type="gMonth"/>
                    <data type="gDay"/>
                    <data type="gYearMonth"/>
                    <data type="gMonthDay"/>
                    <data type="time"/>
                    <data type="dateTime"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.notBefore">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="notBefore">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies the earliest possible date for the event in standard form, e.g.
                    yyyy-mm-dd.</a:documentation>
                <choice>
                    <data type="date"/>
                    <data type="gYear"/>
                    <data type="gMonth"/>
                    <data type="gDay"/>
                    <data type="gYearMonth"/>
                    <data type="gMonthDay"/>
                    <data type="time"/>
                    <data type="dateTime"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.notAfter">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="notAfter">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies the latest possible date for the event in standard form, e.g.
                    yyyy-mm-dd.</a:documentation>
                <choice>
                    <data type="date"/>
                    <data type="gYear"/>
                    <data type="gMonth"/>
                    <data type="gDay"/>
                    <data type="gYearMonth"/>
                    <data type="gMonthDay"/>
                    <data type="time"/>
                    <data type="dateTime"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.from">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="from">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the starting point of the period in standard form, e.g.
                    yyyy-mm-dd.</a:documentation>
                <choice>
                    <data type="date"/>
                    <data type="gYear"/>
                    <data type="gMonth"/>
                    <data type="gDay"/>
                    <data type="gYearMonth"/>
                    <data type="gMonthDay"/>
                    <data type="time"/>
                    <data type="dateTime"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.to">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="to">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the ending point of the period in standard form, e.g.
                    yyyy-mm-dd.</a:documentation>
                <choice>
                    <data type="date"/>
                    <data type="gYear"/>
                    <data type="gMonth"/>
                    <data type="gDay"/>
                    <data type="gYearMonth"/>
                    <data type="gMonthDay"/>
                    <data type="time"/>
                    <data type="dateTime"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.attributes">
        <rng:ref name="att.datable.w3c.attributes"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declarable.attributes">
        <rng:ref name="att.declarable.attribute.default"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declarable.attribute.default">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="default" a:defaultValue="false">
                <a:documentation>indicates whether or not this element is selected by default when
                    its parent is selected.</a:documentation>
                <choice>
                    <value>true</value>
                    <a:documentation>This element is selected if its parent is
                        selected</a:documentation>
                    <value>false</value>
                    <a:documentation>This element can only be selected explicitly, unless it is the
                        only one of its kind, in which case it is selected if its parent is
                        selected.</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declaring.attributes">
        <rng:ref name="att.declaring.attribute.decls"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declaring.attribute.decls">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="decls">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >identifies one or more declarable elements within the header, which are
                    understood to apply to the element bearing this attribute and its
                    content.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attributes">
        <rng:ref name="att.divLike.attribute.org"/>
        <rng:ref name="att.divLike.attribute.sample"/>
        <rng:ref name="att.divLike.attribute.part"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.org">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="org" a:defaultValue="uniform">
                <a:documentation>(organization) specifies how the content of the division is
                    organized.</a:documentation>
                <choice>
                    <value>composite</value>
                    <a:documentation>composite content: i.e. no claim is made about the sequence in
                        which the immediate contents of this division are to be processed, or their
                        inter-relationships.</a:documentation>
                    <value>uniform</value>
                    <a:documentation>uniform content: i.e. the immediate contents of this element
                        are regarded as forming a logical unit, to be processed in
                        sequence.</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.sample">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="sample" a:defaultValue="complete">
                <a:documentation>indicates whether this division is a sample of the original source
                    and if so, from which part.</a:documentation>
                <choice>
                    <value>initial</value>
                    <a:documentation>division lacks material present at end in
                        source.</a:documentation>
                    <value>medial</value>
                    <a:documentation>division lacks material at start and end.</a:documentation>
                    <value>final</value>
                    <a:documentation>division lacks material at start.</a:documentation>
                    <value>unknown</value>
                    <a:documentation>position of sampled material within original
                        unknown.</a:documentation>
                    <value>complete</value>
                    <a:documentation>division is not a sample.</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.part">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="part" a:defaultValue="N">
                <a:documentation>specifies whether or not the division is fragmented by some other
                    structural element, for example a speech which is divided between two or more
                    verse stanzas.</a:documentation>
                <choice>
                    <value>Y</value>
                    <a:documentation>(yes) the division is incomplete in some
                        respect</a:documentation>
                    <value>N</value>
                    <a:documentation>(no) either the division is complete, or no claim is made as to
                        its completeness.</a:documentation>
                    <value>I</value>
                    <a:documentation>(initial) the initial part of an incomplete
                        division</a:documentation>
                    <value>M</value>
                    <a:documentation>(medial) a medial part of an incomplete
                        division</a:documentation>
                    <value>F</value>
                    <a:documentation>(final) the final part of an incomplete
                        division</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.docStatus.attributes">
        <rng:ref name="att.docStatus.attribute.status"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.docStatus.attribute.status">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="status" a:defaultValue="draft">
                <a:documentation>describes the status of a document either currently or, when
                    associated with a dated element, at the time indicated. Sample values include:
                    1] candidate; 2] recommendation; 3] submitted; 4] approved; 5] deprecated; 6]
                    proposed; 7] cleared; 8] embargoed; 9] draft; 10] frozen; 11] expired; 12]
                    unfinished; 13] draft; 14] galley; 15] published; 16] withdrawn; 17] expired </a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.responsibility.attributes">
        <rng:ref name="att.responsibility.attribute.cert"/>
        <rng:ref name="att.responsibility.attribute.resp"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.responsibility.attribute.cert">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="cert">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(certainty) signifies the degree of certainty associated with the intervention
                    or interpretation.</a:documentation>
                <choice>
                    <value>high</value>
                    <value>medium</value>
                    <value>low</value>
                    <value>unknown</value>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.responsibility.attribute.resp">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="resp">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(responsible party) indicates the agency responsible for the intervention or
                    interpretation, for example an editor or transcriber.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attributes">
        <rng:ref name="att.dimensions.attributes"/>
        <rng:ref name="att.responsibility.attributes"/>
        <rng:ref name="att.editLike.attribute.evidence"/>
        <rng:ref name="att.editLike.attribute.source"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.evidence">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="evidence">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the nature of the evidence supporting the reliability or accuracy of
                    the intervention or interpretation. Suggested values include: 1] internal; 2]
                    external; 3] conjecture</a:documentation>
                <choice>
                    <value>internal</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >there is internal evidence to support the intervention.</a:documentation>
                    <value>external</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >there is external evidence to support the intervention.</a:documentation>
                    <value>conjecture</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >the intervention or interpretation has been made by the editor, cataloguer,
                        or scholar on the basis of their expertise.</a:documentation>
                    <data type="Name"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.source">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="source">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >contains a list of one or more pointers indicating the sources which support
                    the given reading.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attributes">
        <rng:ref name="att.global.linking.attributes"/>
        <rng:ref name="att.global.analytic.attributes"/>
        <rng:ref name="att.global.facs.attributes"/>
        <rng:ref name="att.global.attribute.xmlid"/>
        <rng:ref name="att.global.attribute.n"/>
        <rng:ref name="att.global.attribute.xmllang"/>
        <rng:ref name="att.global.attribute.rend"/>
        <rng:ref name="att.global.attribute.rendition"/>
        <rng:ref name="att.global.attribute.xmlbase"/>
        <rng:ref name="att.global.attribute.xmlspace"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmlid">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="xml:id">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(identifier) provides a unique identifier for the element bearing the
                    attribute.</a:documentation>
                <data type="ID"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.n">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="n">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(number) gives a number (or other label) for an element, which is not
                    necessarily unique within the document.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="token">
                            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                        </data>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmllang">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="xml:lang">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(language) indicates the language of the element content using a tag generated
                    according to BCP 47</a:documentation>
                <data type="language"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.rend">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="rend">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(rendition) indicates how the element in question was rendered or presented in
                    the source text.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="token">
                            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                        </data>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.rendition">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="rendition">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >points to a description of the rendering or presentation used for this element
                    in the source text.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmlbase">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="xml:base">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >provides a base URI reference with which applications can resolve relative URI
                    references into absolute URI references.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmlspace">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="xml:space">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >signals an intention about how white space should be managed by applications. </a:documentation>
                <choice>
                    <value>default</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >the processor should treat white space according to the default XML white
                        space handling rules</a:documentation>
                    <value>preserve</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >the processor should preserve unchanged any and all white space in the
                        source</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attributes">
        <rng:ref name="att.handFeatures.attribute.scribe"/>
        <rng:ref name="att.handFeatures.attribute.script"/>
        <rng:ref name="att.handFeatures.attribute.medium"/>
        <rng:ref name="att.handFeatures.attribute.scope"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.scribe">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="scribe">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives
                    a standard name or other identifier for the scribe believed to be responsible
                    for this hand.</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.script">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="script">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >characterizes the particular script or writing style used by this hand, for
                    example secretary, copperplate, Chancery, Italian, etc.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="Name"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.medium">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="medium">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >describes the tint or type of ink, e.g. brown, or other writing medium, e.g.
                    pencil</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.scope">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="scope">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies how widely this hand is used in the manuscript.</a:documentation>
                <choice>
                    <value>sole</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >only this hand is used throughout the manuscript</a:documentation>
                    <value>major</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >this hand is used through most of the manuscript</a:documentation>
                    <value>minor</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >this hand is used occasionally in the manuscript</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.interpLike.attributes">
        <rng:ref name="att.responsibility.attributes"/>
        <rng:ref name="att.interpLike.attribute.type"/>
        <rng:ref name="att.interpLike.attribute.inst"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.interpLike.attribute.type">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates what kind of phenomenon is being noted in the passage. Sample values
                    include: 1] image; 2] character; 3] theme; 4] allusion</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.interpLike.attribute.inst">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="inst">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(instances) points to instances of the analysis or interpretation represented
                    by the current element.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attributes">
        <rng:ref name="att.measurement.attribute.unit"/>
        <rng:ref name="att.measurement.attribute.quantity"/>
        <rng:ref name="att.measurement.attribute.commodity"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attribute.unit">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="unit">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the units used for the measurement, usually using the standard symbol
                    for the desired units. Suggested values include: 1] m
                    (metre미터公尺mètremetrometro); 2] kg
                    (kilogram킬로그램公斤kilogrammechilogrammokilogramo); 3] s
                    (second초秒secondesecondosegundo); 4] Hz (hertz헤르츠赫茲hérzio); 5] Pa
                    (pascal파스칼PascalPASCAL); 6] Ω (ohm옴歐姆ohmio); 7] L (litre리터公升litrolitro); 8] t
                    (tonne톤公噸tonnellatatonelada); 9] ha (hectare헥타르公頃ettarohectárea); 10] Å
                    (ångström옹스트롱埃格斯特朗 (單位)angstrom); 11] mL (millilitremillilitromililitro); 12] cm
                    (centimetrecentimètrecentimetrocentímetro); 13] dB (decibel데시벨décibeldecibelio);
                    14] kbit (kilobit킬로비트); 15] Kibit (kibibit킬로바이비트); 16] kB
                    (kilobytekilo-octet킬로바이트); 17] KiB (kibibytekibioctet킬로바이바이트); 18] MB
                    (megabytemégaoctet메가바이트); 19] MiB (mebibyte메가바이바이트mébioctet)</a:documentation>
                <choice>
                    <value>m</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(metre) SI base unit of length</a:documentation>
                    <value>kg</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(kilogram) SI base unit of mass</a:documentation>
                    <value>s</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(second) SI base unit of time</a:documentation>
                    <value>Hz</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(hertz) SI unit of frequency</a:documentation>
                    <value>Pa</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(pascal) SI unit of pressure or stress</a:documentation>
                    <value>Ω</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(ohm) SI unit of electric resistance</a:documentation>
                    <value>L</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(litre) 1 dm³</a:documentation>
                    <value>t</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(tonne) 10³ kg</a:documentation>
                    <value>ha</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(hectare) 1 hm²</a:documentation>
                    <value>Å</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(ångström) 10⁻¹⁰ m</a:documentation>
                    <value>mL</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(millilitre) </a:documentation>
                    <value>cm</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(centimetre) </a:documentation>
                    <value>dB</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(decibel) see remarks, below</a:documentation>
                    <value>kbit</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(kilobit) 10³ or 1000 bits</a:documentation>
                    <value>Kibit</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(kibibit) 2¹⁰ or 1024 bits</a:documentation>
                    <value>kB</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(kilobyte) 10³ or 1000 bytes</a:documentation>
                    <value>KiB</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(kibibyte) 2¹⁰ or 1024 bytes</a:documentation>
                    <value>MB</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(megabyte) 10⁶ or 1 000 000 bytes</a:documentation>
                    <value>MiB</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(mebibyte) 2²⁰ or 1 048 576 bytes</a:documentation>
                    <data type="Name"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attribute.quantity">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="quantity">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies the number of the specified units that comprise the
                    measurement</a:documentation>
                <choice>
                    <data type="double"/>
                    <data type="token">
                        <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                    </data>
                    <data type="decimal"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attribute.commodity">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="commodity">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates the substance that is being measured</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="token">
                            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                        </data>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.naming.attributes">
        <rng:ref name="att.canonical.attributes"/>
        <rng:ref name="att.naming.attribute.role"/>
        <rng:ref name="att.naming.attribute.nymRef"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.naming.attribute.role">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="role">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">may
                    be used to specify further information about the entity referenced by this name,
                    for example the occupation of a person, or the status of a place. </a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.naming.attribute.nymRef">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="nymRef">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(reference to the canonical name) provides a means of locating the canonical
                    form (nym) of the names associated with the object named by the element bearing
                    it.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.placement.attributes">
        <rng:ref name="att.placement.attribute.place"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.placement.attribute.place">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="place">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
                    Suggested values include: 1] below; 2] bottom; 3] margin; 4] top; 5] opposite;
                    6] overleaf; 7] above; 8] end; 9] inline; 10] inspace</a:documentation>
                <list>
                    <oneOrMore>
                        <choice>
                            <value>below</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">below
                                the line</a:documentation>
                            <value>bottom</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the
                                foot of the page</a:documentation>
                            <value>margin</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in the
                                margin (left, right, or both)</a:documentation>
                            <value>top</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the
                                top of the page</a:documentation>
                            <value>opposite</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the
                                opposite, i.e. facing, page</a:documentation>
                            <value>overleaf</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the
                                other side of the leaf</a:documentation>
                            <value>above</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">above
                                the line</a:documentation>
                            <value>end</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the
                                end of e.g. chapter or volume.</a:documentation>
                            <value>inline</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">within
                                the body of the text.</a:documentation>
                            <value>inspace</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> in a
                                predefined space, for example left by an earlier
                                scribe.</a:documentation>
                            <data type="Name"/>
                        </choice>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.typed.attributes">
        <rng:ref name="att.typed.attribute.type"/>
        <rng:ref name="att.typed.attribute.subtype"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.typed.attribute.type">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >characterizes the element in some sense, using any convenient classification
                    scheme or typology.</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.typed.attribute.subtype">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="subtype">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >provides a sub-categorization of the element, if needed</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.attributes">
        <rng:ref name="att.pointing.attribute.target"/>
        <rng:ref name="att.pointing.attribute.evaluate"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.attribute.target">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="target">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies the destination of the reference by supplying one or more URI
                    References</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.attribute.evaluate">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="evaluate">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies the intended meaning when the target of a pointer is itself a
                    pointer.</a:documentation>
                <choice>
                    <value>all</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >if the element pointed to is itself a pointer, then the target of that
                        pointer will be taken, and so on, until an element is found which is not a
                        pointer.</a:documentation>
                    <value>one</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >if the element pointed to is itself a pointer, then its target (whether a
                        pointer or not) is taken as the target of this pointer.</a:documentation>
                    <value>none</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >no further evaluation of targets is carried out beyond that needed to find
                        the element specified in the pointer's target.</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.group.attributes">
        <rng:ref name="att.pointing.attributes"/>
        <rng:ref name="att.typed.attributes"/>
        <rng:ref name="att.pointing.group.attribute.domains"/>
        <rng:ref name="att.pointing.group.attribute.targFunc"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.group.attribute.domains">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="domains">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >optionally specifies the identifiers of the elements within which all elements
                    indicated by the contents of this element lie.</a:documentation>
                <list>
                    <data type="anyURI"/>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.group.attribute.targFunc">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="targFunc">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(target function) describes the function of each of the values of the targets
                    attribute of the enclosed link, join, or alt tags.</a:documentation>
                <list>
                    <data type="token">
                        <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                    </data>
                    <oneOrMore>
                        <data type="token">
                            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                        </data>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.segLike.attributes">
        <rng:ref name="att.segLike.attribute.function"/>
        <rng:ref name="att.segLike.attribute.part"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.segLike.attribute.function">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="function">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >characterizes the function of the segment.</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.segLike.attribute.part">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="part" a:defaultValue="N">
                <a:documentation>specifies whether or not the segment is fragmented by some other
                    structural element, for example a clause which is divided between two or more
                    sentences.</a:documentation>
                <choice>
                    <value>Y</value>
                    <a:documentation>(yes) the segment is incomplete in some
                        respect</a:documentation>
                    <value>N</value>
                    <a:documentation>(no) either the segment is complete, or no claim is made as to
                        its completeness</a:documentation>
                    <value>I</value>
                    <a:documentation>(initial) the initial part of an incomplete
                        segment</a:documentation>
                    <value>M</value>
                    <a:documentation>(medial) a medial part of an incomplete
                        segment</a:documentation>
                    <value>F</value>
                    <a:documentation>(final) the final part of an incomplete
                        segment</a:documentation>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.sourced.attributes">
        <rng:ref name="att.sourced.attribute.ed"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.sourced.attribute.ed">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="ed">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(edition) supplies an arbitrary identifier for the source edition in which the
                    associated feature (for example, a page, column, or line break) occurs at this
                    point in the text.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attributes">
        <rng:ref name="att.tableDecoration.attribute.role"/>
        <rng:ref name="att.tableDecoration.attribute.rows"/>
        <rng:ref name="att.tableDecoration.attribute.cols"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attribute.role">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="role" a:defaultValue="data">
                <a:documentation>indicates the kind of information held in this cell or in each cell
                    of this row. Suggested values include: 1] label; 2] data</a:documentation>
                <choice>
                    <value>label</value>
                    <a:documentation>labelling or descriptive information only.</a:documentation>
                    <value>data</value>
                    <a:documentation>data values.</a:documentation>
                    <data type="Name"/>
                </choice>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attribute.rows">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="rows" a:defaultValue="1">
                <a:documentation>indicates the number of rows occupied by this cell or
                    row.</a:documentation>
                <data type="nonNegativeInteger"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attribute.cols">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="cols" a:defaultValue="1">
                <a:documentation>(columns) indicates the number of columns occupied by this cell or
                    row.</a:documentation>
                <data type="nonNegativeInteger"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attributes">
        <rng:ref name="att.editLike.attributes"/>
        <rng:ref name="att.transcriptional.attribute.hand"/>
        <rng:ref name="att.transcriptional.attribute.status"/>
        <rng:ref name="att.transcriptional.attribute.seq"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attribute.hand">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="hand">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >signifies the hand of the agent which made the intervention.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attribute.status">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                xmlns="http://relaxng.org/ns/structure/1.0" name="status"
                a:defaultValue="unremarkable">
                <a:documentation>indicates the effect of the intervention, for example in the case
                    of a deletion, strikeouts which include too much or too little text, or in the
                    case of an addition, an insertion which duplicates some of the text already
                    present. Sample values include: 1] duplicate; 2] duplicate-partial; 3]
                    excessStart; 4] excessEnd; 5] shortStart; 6] shortEnd; 7] partial; 8]
                    unremarkable</a:documentation>
                <data type="Name"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attribute.seq">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="seq">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(sequence) assigns a sequence number related to the order in which the encoded
                    features carrying this attribute are believed to have
                    occurred.</a:documentation>
                <data type="nonNegativeInteger"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.nameLike.agent">
        <choice>
            <rng:ref name="tei_name"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.segLike">
        <choice>
            <rng:ref name="tei_s"/>
            <rng:ref name="tei_w"/>
            <rng:ref name="tei_c"/>
            <rng:ref name="tei_pc"/>
            <rng:ref name="tei_seg"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.hiLike">
        <choice>
            <rng:ref name="tei_hi"/>
            <rng:ref name="tei_sub"/>
            <rng:ref name="tei_sup"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.emphLike">
        <choice>
            <rng:ref name="tei_foreign"/>
            <rng:ref name="tei_emph"/>
            <rng:ref name="tei_soCalled"/>
            <rng:ref name="tei_term"/>
            <rng:ref name="tei_title"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.highlighted">
        <choice>
            <rng:ref name="tei_model.hiLike"/>
            <rng:ref name="tei_model.emphLike"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.dateLike">
        <choice>
            <rng:ref name="tei_date"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.measureLike">
        <choice>
            <rng:ref name="tei_num"/>
            <rng:ref name="tei_measureGrp"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.egLike">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.graphicLike">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.editorial">
        <choice>
            <rng:ref name="tei_choice"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.transcriptional">
        <choice>
            <rng:ref name="tei_sic"/>
            <rng:ref name="tei_corr"/>
            <rng:ref name="tei_reg"/>
            <rng:ref name="tei_orig"/>
            <rng:ref name="tei_add"/>
            <rng:ref name="tei_unclear"/>
            <rng:ref name="tei_surplus"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.edit">
        <choice>
            <rng:ref name="tei_model.pPart.editorial"/>
            <rng:ref name="tei_model.pPart.transcriptional"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.ptrLike">
        <choice>
            <rng:ref name="tei_ptr"/>
            <rng:ref name="tei_ref"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global.meta">
        <choice>
            <rng:ref name="tei_spanGrp"/>
            <rng:ref name="tei_interpGrp"/>
            <rng:ref name="tei_link"/>
            <rng:ref name="tei_linkGrp"/>
            <rng:ref name="tei_joinGrp"/>
            <rng:ref name="tei_alt"/>
            <rng:ref name="tei_altGrp"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.milestoneLike">
        <choice>
            <rng:ref name="tei_milestone"/>
            <rng:ref name="tei_pb"/>
            <rng:ref name="tei_lb"/>
            <rng:ref name="tei_sb"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.gLike">
        <choice>
            <rng:ref name="tei_g"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.biblLike">
        <choice>
            <rng:ref name="tei_bibl"/>
            <rng:ref name="tei_biblStruct"/>
            <rng:ref name="tei_biblFull"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.headLike">
        <choice>
            <rng:ref name="tei_head"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.labelLike">
        <choice>
            <rng:ref name="tei_label"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.listLike">
        <choice>
            <rng:ref name="tei_list"/>
            <rng:ref name="tei_listBibl"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.noteLike">
        <choice>
            <rng:ref name="tei_note"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.lLike">
        <choice>
            <rng:ref name="tei_l"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pLike">
        <choice>
            <rng:ref name="tei_p"/>
            <rng:ref name="tei_ab"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.stageLike">
        <choice>
            <rng:ref name="tei_stage"/>
            <rng:ref name="tei_move"/>
            <rng:ref name="tei_view"/>
            <rng:ref name="tei_camera"/>
            <rng:ref name="tei_sound"/>
            <rng:ref name="tei_caption"/>
            <rng:ref name="tei_tech"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.entryPart">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global.edit">
        <choice>
            <rng:ref name="tei_gap"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divPart">
        <choice>
            <rng:ref name="tei_model.lLike"/>
            <rng:ref name="tei_model.pLike"/>
            <rng:ref name="tei_lg"/>
            <rng:ref name="tei_sp"/>
            <rng:ref name="tei_floatingText"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.publicationStmtPart">
        <choice>
            <rng:ref name="tei_address"/>
            <rng:ref name="tei_date"/>
            <rng:ref name="tei_publisher"/>
            <rng:ref name="tei_pubPlace"/>
            <rng:ref name="tei_idno"/>
            <rng:ref name="tei_availability"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.glossLike">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.quoteLike">
        <choice>
            <rng:ref name="tei_quote"/>
            <rng:ref name="tei_cit"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.qLike">
        <choice>
            <rng:ref name="tei_model.quoteLike"/>
            <rng:ref name="tei_said"/>
            <rng:ref name="tei_q"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.respLike">
        <choice>
            <rng:ref name="tei_author"/>
            <rng:ref name="tei_editor"/>
            <rng:ref name="tei_respStmt"/>
            <rng:ref name="tei_principal"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divWrapper">
        <choice>
            <rng:ref name="tei_byline"/>
            <rng:ref name="tei_dateline"/>
            <rng:ref name="tei_argument"/>
            <rng:ref name="tei_epigraph"/>
            <rng:ref name="tei_salute"/>
            <rng:ref name="tei_docAuthor"/>
            <rng:ref name="tei_docDate"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divTopPart">
        <choice>
            <rng:ref name="tei_model.headLike"/>
            <rng:ref name="tei_opener"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divTop">
        <choice>
            <rng:ref name="tei_model.divWrapper"/>
            <rng:ref name="tei_model.divTopPart"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.frontPart.drama">
        <choice>
            <rng:ref name="tei_set"/>
            <rng:ref name="tei_prologue"/>
            <rng:ref name="tei_performance"/>
            <rng:ref name="tei_castList"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pLike.front">
        <choice>
            <rng:ref name="tei_head"/>
            <rng:ref name="tei_byline"/>
            <rng:ref name="tei_argument"/>
            <rng:ref name="tei_epigraph"/>
            <rng:ref name="tei_docTitle"/>
            <rng:ref name="tei_titlePart"/>
            <rng:ref name="tei_docAuthor"/>
            <rng:ref name="tei_docEdition"/>
            <rng:ref name="tei_docImprint"/>
            <rng:ref name="tei_docDate"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divBottomPart">
        <choice>
            <rng:ref name="tei_trailer"/>
            <rng:ref name="tei_closer"/>
            <rng:ref name="tei_signed"/>
            <rng:ref name="tei_postscript"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divBottom">
        <choice>
            <rng:ref name="tei_model.divWrapper"/>
            <rng:ref name="tei_model.divBottomPart"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.titlepagePart">
        <choice>
            <rng:ref name="tei_byline"/>
            <rng:ref name="tei_epigraph"/>
            <rng:ref name="tei_docTitle"/>
            <rng:ref name="tei_titlePart"/>
            <rng:ref name="tei_docAuthor"/>
            <rng:ref name="tei_imprimatur"/>
            <rng:ref name="tei_docEdition"/>
            <rng:ref name="tei_docImprint"/>
            <rng:ref name="tei_docDate"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.choicePart">
        <choice>
            <rng:ref name="tei_sic"/>
            <rng:ref name="tei_corr"/>
            <rng:ref name="tei_reg"/>
            <rng:ref name="tei_orig"/>
            <rng:ref name="tei_unclear"/>
            <rng:ref name="tei_seg"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.imprintPart">
        <choice>
            <rng:ref name="tei_publisher"/>
            <rng:ref name="tei_biblScope"/>
            <rng:ref name="tei_pubPlace"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.catDescPart">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.castItemPart">
        <choice>
            <rng:ref name="tei_role"/>
            <rng:ref name="tei_roleDesc"/>
            <rng:ref name="tei_actor"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.addressLike">
        <choice>
            <rng:ref name="tei_email"/>
            <rng:ref name="tei_address"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.nameLike">
        <choice>
            <rng:ref name="tei_model.nameLike.agent"/>
            <rng:ref name="tei_rs"/>
            <rng:ref name="tei_idno"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global">
        <choice>
            <rng:ref name="tei_model.global.meta"/>
            <rng:ref name="tei_model.milestoneLike"/>
            <rng:ref name="tei_model.noteLike"/>
            <rng:ref name="tei_model.global.edit"/>
            <rng:ref name="tei_figure"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.biblPart">
        <choice>
            <rng:ref name="tei_model.respLike"/>
            <rng:ref name="tei_model.imprintPart"/>
            <rng:ref name="tei_series"/>
            <rng:ref name="tei_relatedItem"/>
            <rng:ref name="tei_edition"/>
            <rng:ref name="tei_extent"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.frontPart">
        <choice>
            <rng:ref name="tei_model.frontPart.drama"/>
            <rng:ref name="tei_divGen"/>
            <rng:ref name="tei_titlePage"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.addrPart">
        <choice>
            <rng:ref name="tei_model.nameLike"/>
            <rng:ref name="tei_addrLine"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.data">
        <choice>
            <rng:ref name="tei_model.dateLike"/>
            <rng:ref name="tei_model.measureLike"/>
            <rng:ref name="tei_model.addressLike"/>
            <rng:ref name="tei_model.nameLike"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.inter">
        <choice>
            <rng:ref name="tei_model.egLike"/>
            <rng:ref name="tei_model.biblLike"/>
            <rng:ref name="tei_model.labelLike"/>
            <rng:ref name="tei_model.listLike"/>
            <rng:ref name="tei_model.stageLike"/>
            <rng:ref name="tei_model.qLike"/>
            <rng:ref name="tei_table"/>
            <rng:ref name="tei_castList"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.common">
        <choice>
            <rng:ref name="tei_model.divPart"/>
            <rng:ref name="tei_model.inter"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.phrase">
        <choice>
            <rng:ref name="tei_model.segLike"/>
            <rng:ref name="tei_model.highlighted"/>
            <rng:ref name="tei_model.graphicLike"/>
            <rng:ref name="tei_model.pPart.edit"/>
            <rng:ref name="tei_model.ptrLike"/>
            <rng:ref name="tei_model.pPart.data"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.limitedPhrase">
        <choice>
            <rng:ref name="tei_model.emphLike"/>
            <rng:ref name="tei_model.pPart.editorial"/>
            <rng:ref name="tei_model.ptrLike"/>
            <rng:ref name="tei_model.pPart.data"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divLike">
        <choice>
            <rng:ref name="tei_div"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divGenLike">
        <choice>
            <rng:ref name="tei_divGen"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div1Like">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.applicationLike">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.teiHeaderPart">
        <choice>
            <rng:ref name="tei_encodingDesc"/>
            <rng:ref name="tei_profileDesc"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.sourceDescPart">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.encodingDescPart">
        <choice>
            <rng:ref name="tei_projectDesc"/>
            <rng:ref name="tei_samplingDecl"/>
            <rng:ref name="tei_editorialDecl"/>
            <rng:ref name="tei_tagsDecl"/>
            <rng:ref name="tei_refsDecl"/>
            <rng:ref name="tei_classDecl"/>
            <rng:ref name="tei_appInfo"/>
            <rng:ref name="tei_geoDecl"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.editorialDeclPart">
        <choice>
            <rng:ref name="tei_quotation"/>
            <rng:ref name="tei_segmentation"/>
            <rng:ref name="tei_stdVals"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.profileDescPart">
        <choice>
            <rng:ref name="tei_langUsage"/>
            <rng:ref name="tei_textClass"/>
            <rng:ref name="tei_handNotes"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.resourceLike">
        <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_p">
        <element name="p">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(paragraph) marks paragraphs in prose.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_foreign">
        <element name="foreign">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign)
                identifies a word or phrase as belonging to some language other than that of the
                surrounding text. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_emph">
        <element name="emph">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(emphasized) marks words or phrases which are stressed or emphasized for linguistic
                or rhetorical effect.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_hi">
        <element name="hi">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
                (highlighted text) (highlighted) marks a word or phrase as graphically distinct from
                the surrounding text, for reasons concerning which no claim is made. </a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_said">
        <element name="said">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(speech
                or thought) indicates passages thought or spoken aloud, whether explicitly indicated
                in the source or not, whether directly or indirectly reported, whether by real
                people or fictional characters.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.ascribed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="aloud"
                    a:defaultValue="unknown">
                    <a:documentation>may be used to indicate whether the quoted matter is regarded
                        as having been vocalized or signed.</a:documentation>
                    <choice>
                        <data type="boolean"/>
                        <value>unknown</value>
                        <value>inapplicable</value>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="direct" a:defaultValue="true">
                    <a:documentation>may be used to indicate whether the quoted matter is regarded
                        as direct or indirect speech.</a:documentation>
                    <choice>
                        <data type="boolean"/>
                        <value>unknown</value>
                        <value>inapplicable</value>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_quote">
        <element name="quote">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(quotation) contains a phrase or passage attributed by the narrator or author to
                some agency external to the text.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_q">
        <element name="q">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(separated from the surrounding text with quotation marks) contains material which
                is marked as (ostensibly) being somehow different than the surrounding text, for any
                one of a variety of reasons including, but not limited to: direct speech or thought,
                technical terms or jargon, authorial distance, quotations from elsewhere, and
                passages that are mentioned but not used.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.ascribed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >may be used to indicate whether the offset passage is spoken or thought, or
                        to characterize it more finely. Suggested values include: 1] spoken; 2]
                        thought; 3] written; 4] soCalled; 5] foreign (foreign wordspalabras
                        extranjerasmots étrangersparole straniere); 6] distinct (linguistically
                        distinctlingüisticamente distintolinguistiquement distinctlinguisticamente
                        distinto); 7] term (technical termtérmino técnicoterme techniquetermine
                        tecnico); 8] emph (rhetorically emphasizedénfasis retóricomis en valeur par
                        un procédé rhétorique.retoricamente marcato); 9] mentioned</a:documentation>
                    <choice>
                        <value>spoken</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >representation of speech</a:documentation>
                        <value>thought</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >representation of thought, e.g. internal monologue</a:documentation>
                        <value>written</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">quotation
                            from a written source</a:documentation>
                        <value>soCalled</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">authorial
                            distance</a:documentation>
                        <value>foreign</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign
                            words) </a:documentation>
                        <value>distinct</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >(linguistically distinct) </a:documentation>
                        <value>term</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(technical
                            term) </a:documentation>
                        <value>emph</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >(rhetorically emphasized) </a:documentation>
                        <value>mentioned</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">refering
                            to itself, not its normal referant</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cit">
        <element name="cit">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cited
                quotation) contains a quotation from some other document, together with a
                bibliographic reference to its source. In a dictionary it may contain an example
                text with at least one occurrence of the word form, used in the sense being
                described, or a translation of the headword, or an example. </a:documentation>
            <oneOrMore>
                <choice>
                    <rng:ref name="tei_model.qLike"/>
                    <rng:ref name="tei_model.biblLike"/>
                    <rng:ref name="tei_model.ptrLike"/>
                    <rng:ref name="tei_model.global"/>
                    <rng:ref name="tei_model.entryPart"/>
                </choice>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_soCalled">
        <element name="soCalled">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a word or phrase for which the author or narrator indicates a disclaiming of
                responsibility, for example by the use of scare quotes or italics.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_term">
        <element name="term">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a single-word, multi-word, or symbolic designation which is regarded as a technical
                term.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.canonical.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="cRef">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >identifies the associated gloss element using a canonical reference from a
                        scheme defined in a refsDecl element in the TEI header</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="sortKey">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >supplies the sort key for this term in an index.</a:documentation>
                    <data type="token">
                        <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                    </data>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sic">
        <element name="sic">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(latin
                for thus or so) contains text reproduced although apparently incorrect or
                inaccurate.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.responsibility.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_corr">
        <element name="corr">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(correction) contains the correct form of a passage apparently erroneous in the
                copy text.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.editLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_choice">
        <element name="choice">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups a
                number of alternative encodings for the same point in a text.</a:documentation>
            <zeroOrMore>
                <choice>
                    <rng:ref name="tei_model.choicePart"/>
                    <rng:ref name="tei_choice"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_reg">
        <element name="reg">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(regularization) contains a reading which has been regularized or normalized in
                some sense.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.editLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_orig">
        <element name="orig">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original
                form) contains a reading which is marked as following the original, rather than
                being normalized or corrected.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.responsibility.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gap">
        <element name="gap">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(gap)
                indicates a point where material has been omitted in a transcription, whether for
                editorial reasons described in the TEI header, as part of sampling practice, or
                because the material is illegible, invisible, or inaudible.</a:documentation>
            <zeroOrMore>
                <rng:ref name="tei_model.glossLike"/>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.editLike.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="reason">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >gives the reason for omission. Sample values include sampling, inaudible,
                        irrelevant, cancelled.</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="token">
                                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                            </data>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="hand">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >in the case of text omitted from the transcription because of deliberate
                        deletion by an identifiable hand, signifies the hand which made the
                        deletion.</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="agent">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >In the case of text omitted because of damage, categorizes the cause of the
                        damage, if it can be identified. Sample values include: 1] rubbing; 2]
                        mildew; 3] smoke</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_add">
        <element name="add">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(addition) contains letters, words, or phrases inserted in the text by an author,
                scribe, annotator, or corrector.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.transcriptional.attributes"/>
            <rng:ref name="att.placement.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_unclear">
        <element name="unclear">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a word, phrase, or passage which cannot be transcribed with certainty because it is
                illegible or inaudible in the source.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.editLike.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="reason">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates why the material is hard to transcribe.</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="token">
                                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                            </data>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="hand">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Where the difficulty in transcription arises from action (partial deletion,
                        etc.) assignable to an identifiable hand, signifies the hand responsible for
                        the action.</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="agent">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Where the difficulty in transcription arises from damage, categorizes the
                        cause of the damage, if it can be identified. Sample values include: 1]
                        rubbing; 2] mildew; 3] smoke</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_name">
        <element name="name">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(name,
                proper noun) contains a proper noun or noun phrase.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.naming.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rs">
        <element name="rs">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(referencing string) contains a general purpose name or referring
                string.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.naming.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates more specifically the object referred to by the referencing
                        string. Values might include person, place, ship, element
                        etc.</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_email">
        <element name="email">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(electronic mail address) contains an e-mail address identifying a location to
                which e-mail messages can be delivered. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_address">
        <element name="address">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a postal address, for example of a publisher, an organization, or an
                individual.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <oneOrMore>
                    <group>
                        <rng:ref name="tei_model.addrPart"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_addrLine">
        <element name="addrLine">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(address
                line) contains one line of a postal address.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_num">
        <element name="num">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(number)
                contains a number, written in any form.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.ranging.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the type of numeric value. Suggested values include: 1] cardinal;
                        2] ordinal; 3] fraction; 4] percentage</a:documentation>
                    <choice>
                        <value>cardinal</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">absolute
                            number, e.g. 21, 21.5</a:documentation>
                        <value>ordinal</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">ordinal
                            number, e.g. 21st</a:documentation>
                        <value>fraction</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">fraction,
                            e.g. one half or three-quarters</a:documentation>
                        <value>percentage</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a
                            percentage</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="value">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >supplies the value of the number in standard form.</a:documentation>
                    <choice>
                        <data type="double"/>
                        <data type="token">
                            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                        </data>
                        <data type="decimal"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_measureGrp">
        <element name="measureGrp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(measure
                group) contains a group of dimensional specifications which relate to the same
                object, for example the height and width of a manuscript page.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.measureLike"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.measurement.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_date">
        <element name="date">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a date in any format.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.phrase"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.datable.attributes"/>
            <rng:ref name="att.editLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="calendar">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the system or calendar to which the date represented by the
                        content of this element belongs. Suggested values include: 1] Gregorian; 2]
                        Julian; 3] Islamic; 4] Hebrew; 5] Revolutionary; 6] Iranian; 7] Coptic; 8]
                        Chinese</a:documentation>
                    <choice>
                        <value>Gregorian</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gregorian
                            calendar</a:documentation>
                        <value>Julian</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Julian
                            calendar</a:documentation>
                        <value>Islamic</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Islamic or
                            Muslim (hijri) lunar calendar</a:documentation>
                        <value>Hebrew</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hebrew or
                            Jewish lunisolar calendar</a:documentation>
                        <value>Revolutionary</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">French
                            Revolutionary calendar</a:documentation>
                        <value>Iranian</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Iranian or
                            Persian (Jalaali) solar calendar</a:documentation>
                        <value>Coptic</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Coptic or
                            Alexandrian calendar</a:documentation>
                        <value>Chinese</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chinese
                            lunisolar calendar</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ptr">
        <element name="ptr">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pointer)
                defines a pointer to another location.</a:documentation>
            <empty/>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="ptr-constraint-ptrAtts">
                <rule context="tei:ptr">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron" test="@target and @cRef"
                        >Only one of the attributes 'target' and 'cRef' may be
                        supplied.</sch:report>
                </rule>
            </pattern>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="cRef">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(canonical reference) specifies the destination of the pointer by supplying
                        a canonical reference from a scheme defined in a refsDecl element in the TEI
                        header</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="token">
                                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                            </data>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ref">
        <element name="ref">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(reference) defines a reference to another location, possibly modified by
                additional text or comment.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="ref-constraint-refAtts">
                <rule context="tei:ref">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron" test="@target and @cRef"
                        >Only one of the attributes 'target' and 'cRef' may be
                        supplied.</sch:report>
                </rule>
            </pattern>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="cRef">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(canonical reference) specifies the destination of the reference by
                        supplying a canonical reference from a scheme defined in a refsDecl element
                        in the TEI header</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="token">
                                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                            </data>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_list">
        <element name="list">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list)
                contains any sequence of items organized as a list.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <group>
                            <rng:ref name="tei_model.divTop"/>
                        </group>
                        <group>
                            <rng:ref name="tei_model.global"/>
                        </group>
                    </choice>
                </zeroOrMore>
                <choice>
                    <oneOrMore>
                        <rng:ref name="tei_item"/>
                        <zeroOrMore>
                            <rng:ref name="tei_model.global"/>
                        </zeroOrMore>
                    </oneOrMore>
                    <group>
                        <optional>
                            <rng:ref name="tei_headLabel"/>
                        </optional>
                        <optional>
                            <rng:ref name="tei_headItem"/>
                        </optional>
                        <oneOrMore>
                            <rng:ref name="tei_label"/>
                            <zeroOrMore>
                                <rng:ref name="tei_model.global"/>
                            </zeroOrMore>
                            <rng:ref name="tei_item"/>
                            <zeroOrMore>
                                <rng:ref name="tei_model.global"/>
                            </zeroOrMore>
                        </oneOrMore>
                    </group>
                </choice>
                <zeroOrMore>
                    <group>
                        <group>
                            <rng:ref name="tei_model.divBottom"/>
                        </group>
                        <zeroOrMore>
                            <rng:ref name="tei_model.global"/>
                        </zeroOrMore>
                    </group>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type" a:defaultValue="simple">
                    <a:documentation>describes the form of the list. Suggested values include: 1]
                        ordered; 2] bulleted; 3] simple; 4] gloss</a:documentation>
                    <choice>
                        <value>ordered</value>
                        <a:documentation>list items are numbered or lettered. </a:documentation>
                        <value>bulleted</value>
                        <a:documentation>list items are marked with a bullet or other typographic
                            device. </a:documentation>
                        <value>simple</value>
                        <a:documentation>list items are not numbered or bulleted. </a:documentation>
                        <value>gloss</value>
                        <a:documentation>each list item glosses some term or concept, which is given
                            by a label element preceding the list item.</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_item">
        <element name="item">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                one component of a list.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_label">
        <element name="label">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                the label associated with an item in a list; in glossaries, marks the term being
                defined.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_head">
        <element name="head">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading)
                contains any type of heading, for example the title of a section, or the heading of
                a list, glossary, manuscript description, etc.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_headLabel">
        <element name="headLabel">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading
                for list labels) contains the heading for the label or term column in a glossary
                list or similar structured list.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_headItem">
        <element name="headItem">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading
                for list items) contains the heading for the item or gloss column in a glossary list
                or similar structured list.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_note">
        <element name="note">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a note or annotation.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.placement.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <rng:ref name="att.responsibility.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="anchored"
                    a:defaultValue="true">
                    <a:documentation>indicates whether the copy text shows the exact place of
                        reference for the note.</a:documentation>
                    <choice>
                        <data type="boolean"/>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="targetEnd">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >points to the end of the span to which the note is attached, if the note is
                        not embedded in the text at that point.</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="anyURI"/>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_milestone">
        <element name="milestone">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks a
                boundary point separating any kind of section of a text, typically but not
                necessarily indicating a point at which some part of a standard reference system
                changes, where the change is not represented by a structural
                element.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.sourced.attributes"/>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="unit">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >provides a conventional name for the kind of section changing at this
                    milestone. Suggested values include: 1] page; 2] column; 3] line; 4] book; 5]
                    poem; 6] canto; 7] speaker; 8] stanza; 9] act; 10] scene; 11] section; 12]
                    absent; 13] unnumbered</a:documentation>
                <choice>
                    <value>page</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >physical page breaks (synonymous with the pb element).</a:documentation>
                    <value>column</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >column breaks.</a:documentation>
                    <value>line</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >line breaks (synonymous with the lb element).</a:documentation>
                    <value>book</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >any units termed book, liber, etc.</a:documentation>
                    <value>poem</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >individual poems in a collection.</a:documentation>
                    <value>canto</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >cantos or other major sections of a poem.</a:documentation>
                    <value>speaker</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >changes of speaker or narrator.</a:documentation>
                    <value>stanza</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >stanzas within a poem, book, or canto.</a:documentation>
                    <value>act</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >acts within a play.</a:documentation>
                    <value>scene</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >scenes within a play or act.</a:documentation>
                    <value>section</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >sections of any kind.</a:documentation>
                    <value>absent</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >passages not present in the reference edition.</a:documentation>
                    <value>unnumbered</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >passages present in the text, but not to be included as part of the
                        reference.</a:documentation>
                    <data type="Name"/>
                </choice>
            </attribute>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pb">
        <element name="pb">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(page
                break) marks the boundary between one page of a text and the next in a standard
                reference system.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.sourced.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lb">
        <element name="lb">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line
                break) marks the start of a new (typographic) line in some edition or version of a
                text.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.sourced.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_series">
        <element name="series">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series
                information) contains information about the series in which a book or other
                bibliographic item has appeared.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_title"/>
                    <rng:ref name="tei_ref"/>
                    <rng:ref name="tei_editor"/>
                    <rng:ref name="tei_respStmt"/>
                    <rng:ref name="tei_biblScope"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_author">
        <element name="author">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in a
                bibliographic reference, contains the name(s) of the author(s), personal or
                corporate, of a work; for example in the same form as that provided by a recognized
                bibliographic name authority. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.naming.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_editor">
        <element name="editor">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">secondary
                statement of responsibility for a bibliographic item, for example the name of an
                individual, institution or organization, (or of several such) acting as editor,
                compiler, translator, etc. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.naming.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_respStmt">
        <element name="respStmt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(statement of responsibility) supplies a statement of responsibility for the
                intellectual content of a text, edition, recording, or series, where the specialized
                elements for authors, editors, etc. do not suffice or do not
                apply.</a:documentation>
            <choice>
                <group>
                    <oneOrMore>
                        <rng:ref name="tei_resp"/>
                    </oneOrMore>
                    <oneOrMore>
                        <rng:ref name="tei_model.nameLike.agent"/>
                    </oneOrMore>
                </group>
                <group>
                    <oneOrMore>
                        <rng:ref name="tei_model.nameLike.agent"/>
                    </oneOrMore>
                    <oneOrMore>
                        <rng:ref name="tei_resp"/>
                    </oneOrMore>
                </group>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_resp">
        <element name="resp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(responsibility) contains a phrase describing the nature of a person's intellectual
                responsibility.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq.limited"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.canonical.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_title">
        <element name="title">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a title for any kind of work.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <s:pattern xmlns:s="http://www.ascc.net/xml/schematron"
                xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0"
                name="Inside header, titles must be plain text">
                <s:rule context="tei:teiHeader//tei:title">
                    <s:report test="*"> Titles should not have child elements in teiHeader
                    </s:report>
                </s:rule>
            </s:pattern>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="level">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the bibliographic level for a title, that is, whether it
                        identifies an article, book, journal, series, or unpublished
                        material.</a:documentation>
                    <choice>
                        <value>a</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(analytic)
                            analytic title (article, poem, or other item published as part of a
                            larger item) </a:documentation>
                        <value>m</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >(monographic) monographic title (book, collection, or other item
                            published as a distinct item, including single volumes of multi-volume
                            works) </a:documentation>
                        <value>j</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(journal)
                            journal title </a:documentation>
                        <value>s</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series)
                            series title </a:documentation>
                        <value>u</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >(unpublished) title of unpublished material (including theses and
                            dissertations unless published by a commercial press)</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >classifies the title according to some convenient typology. Sample values
                        include: 1] main; 2] sub (subordinate부titre de niveau inférieur, titre de
                        partiesubordinatosubtítulo, título de una parte); 3] alt (alternate이명titre
                        alternatif, souvent dans une autre langue, par lequel l'oeuvre est également
                        connualternativotítulo alternativo, a menudo en otra lengua por la cual la
                        obra es también conocida.); 4] short; 5] desc (descriptive기술적paraphrase
                        descriptive de l'oeuvre ayant les fonctions d'un titredescrittivoparáfrasis
                        descriptiva que funciona como el título de una obra.)</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.canonical.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_publisher">
        <element name="publisher">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides
                the name of the organization responsible for the publication or distribution of a
                bibliographic item.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_biblScope">
        <element name="biblScope">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(scope of
                citation) defines the scope of a bibliographic reference, for example as a list of
                page numbers, or a named subdivision of a larger work.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >identifies the type of information conveyed by the element, e.g. columns,
                        pages, volume. Suggested values include: 1] vol (volume권el elemento contiene
                        el número de un volumen.); 2] issue; 3] pp (pages페이지pagineel elemento
                        contiene un número de página o el intervalo de páginas.); 4] ll (lines); 5]
                        chap (chapter장capítulo(chapitre) l'élément contient une indication de
                        chapitre (numéro et/ou titre)capitolo); 6] part</a:documentation>
                    <choice>
                        <value>vol</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(volume)
                            the element contains a volume number.</a:documentation>
                        <value>issue</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the
                            element contains an issue number, or volume and issue
                            numbers.</a:documentation>
                        <value>pp</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pages)
                            the element contains a page number or page range.</a:documentation>
                        <value>ll</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (lines)
                            the element contains a line number or line range.</a:documentation>
                        <value>chap</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(chapter)
                            the element contains a chapter indication (number and/or
                            title)</a:documentation>
                        <value>part</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the
                            element identifies a part of a book or collection.</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="from">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the starting point of the range of units indicated by the type
                        attribute.</a:documentation>
                    <data type="token">
                        <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                    </data>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="to">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the end-point of the range of units indicated by the type
                        attribute.</a:documentation>
                    <data type="token">
                        <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                    </data>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pubPlace">
        <element name="pubPlace">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(publication place) contains the name of the place where a bibliographic item was
                published.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.naming.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_bibl">
        <element name="bibl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(bibliographic citation) contains a loosely-structured bibliographic citation of
                which the sub-components may or may not be explicitly tagged. </a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.highlighted"/>
                    <rng:ref name="tei_model.pPart.data"/>
                    <rng:ref name="tei_model.pPart.edit"/>
                    <rng:ref name="tei_model.segLike"/>
                    <rng:ref name="tei_model.ptrLike"/>
                    <rng:ref name="tei_model.biblPart"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_biblStruct">
        <element name="biblStruct">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(structured bibliographic citation) contains a structured bibliographic citation,
                in which only bibliographic sub-elements appear and in a specified order. </a:documentation>
            <group>
                <oneOrMore>
                    <rng:ref name="tei_series"/>
                </oneOrMore>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.noteLike"/>
                        <rng:ref name="tei_idno"/>
                        <rng:ref name="tei_relatedItem"/>
                    </choice>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listBibl">
        <element name="listBibl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(citation
                list) contains a list of bibliographic citations of any kind. </a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.headLike"/>
                </zeroOrMore>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_model.biblLike"/>
                        <rng:ref name="tei_model.milestoneLike"/>
                        <rng:ref name="tei_listBibl"/>
                    </choice>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_relatedItem">
        <element name="relatedItem">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                or references some other bibliographic item which is related to the present one in
                some specified manner, for example as a constituent or alternative version of
                it.</a:documentation>
            <optional>
                <choice>
                    <rng:ref name="tei_model.biblLike"/>
                    <rng:ref name="tei_model.ptrLike"/>
                </choice>
            </optional>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                id="relatedItem-constraint-targetorcontent1">
                <rule context="tei:relatedItem">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                        test="@target and count( child::* ) &gt; 0">If the 'target' attribute is
                        used, the relatedItem element must be empty</sch:report>
                </rule>
            </pattern>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                id="relatedItem-constraint-targetorcontent1">
                <rule context="tei:relatedItem">
                    <sch:assert xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron" test="@target or child::*"
                        >A relatedItem element should have either a 'target' attribute or a child
                        element to indicate the related bibliographic item</sch:assert>
                </rule>
            </pattern>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="target">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >points to the related bibliographic element by means of an absolute or
                        relative URI reference</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_l">
        <element name="l">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(verse
                line) contains a single, possibly incomplete, line of verse.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="part" a:defaultValue="N">
                    <a:documentation>specifies whether or not the line is metrically complete. </a:documentation>
                    <choice>
                        <value>Y</value>
                        <a:documentation>(yes) the line is metrically incomplete</a:documentation>
                        <value>N</value>
                        <a:documentation>(no) either the line is complete, or no claim is made as to
                            its completeness</a:documentation>
                        <value>I</value>
                        <a:documentation>(initial) the initial part of an incomplete
                            line</a:documentation>
                        <value>M</value>
                        <a:documentation>(medial) a medial part of an incomplete
                            line</a:documentation>
                        <value>F</value>
                        <a:documentation>(final) the final part of an incomplete
                            line</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lg">
        <element name="lg">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line
                group) contains a group of verse lines functioning as a formal unit, e.g. a stanza,
                refrain, verse paragraph, etc.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.divTop"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <choice>
                    <rng:ref name="tei_model.lLike"/>
                    <rng:ref name="tei_lg"/>
                </choice>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.lLike"/>
                        <rng:ref name="tei_lg"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <zeroOrMore>
                    <group>
                        <rng:ref name="tei_model.divBottom"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.divLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sp">
        <element name="sp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(speech)
                An individual speech in a performance text, or a passage presented as such in a
                prose or verse text.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <optional>
                    <rng:ref name="tei_speaker"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </optional>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_model.lLike"/>
                        <rng:ref name="tei_lg"/>
                        <rng:ref name="tei_model.pLike"/>
                        <rng:ref name="tei_model.stageLike"/>
                        <rng:ref name="tei_model.qLike"/>
                    </choice>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.ascribed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_speaker">
        <element name="speaker">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A
                specialized form of heading or label, giving the name of one or more speakers in a
                dramatic text or fragment.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stage">
        <element name="stage">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(stage
                direction) contains any kind of stage direction within a dramatic text or
                fragment.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the kind of stage direction. Suggested values include: 1]
                        setting; 2] entrance; 3] exit; 4] business; 5] novelistic; 6] delivery; 7]
                        modifier; 8] location; 9] mixed</a:documentation>
                    <choice>
                        <value>setting</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                            a setting.</a:documentation>
                        <value>entrance</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                            an entrance.</a:documentation>
                        <value>exit</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                            an exit.</a:documentation>
                        <value>business</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                            stage business.</a:documentation>
                        <value>novelistic</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">is a
                            narrative, motivating stage direction.</a:documentation>
                        <value>delivery</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                            how a character speaks.</a:documentation>
                        <value>modifier</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives some
                            detail about a character.</a:documentation>
                        <value>location</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                            a location.</a:documentation>
                        <value>mixed</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">more than
                            one of the above</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_teiCorpus">
        <element name="teiCorpus">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                the whole of a TEI encoded corpus, comprising a single corpus header and one or more
                TEI elements, each containing a single text header and a text.</a:documentation>
            <group>
                <rng:ref name="tei_teiHeader"/>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_TEI"/>
                        <rng:ref name="tei_teiCorpus"/>
                    </choice>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="version" a:defaultValue="5.0">
                    <a:documentation>The version of the TEI scheme</a:documentation>
                    <data type="token">
                        <param name="pattern">[\d]+(\.[\d]+){0,2}</param>
                    </data>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_divGen">
        <element name="divGen">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(automatically generated text division) indicates the location at which a textual
                division generated automatically by a text-processing application is to
                appear.</a:documentation>
            <zeroOrMore>
                <rng:ref name="tei_model.headLike"/>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies what type of generated text division (e.g. index, table of
                        contents, etc.) is to appear. Sample values include: 1] index; 2] toc; 3]
                        figlist; 4] tablist</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_teiHeader">
        <element name="teiHeader">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI
                Header) supplies the descriptive and declarative information making up an electronic
                title page prefixed to every TEI-conformant text.</a:documentation>
            <group>
                <rng:ref name="tei_fileDesc"/>
                <zeroOrMore>
                    <rng:ref name="tei_model.teiHeaderPart"/>
                </zeroOrMore>
                <optional>
                    <rng:ref name="tei_revisionDesc"/>
                </optional>
            </group>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type" a:defaultValue="text">
                    <a:documentation>specifies the kind of document to which the header is attached,
                        for example whether it is a corpus or individual text. Sample values
                        include: 1] text; 2] corpus</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fileDesc">
        <element name="fileDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(file
                description) contains a full bibliographic description of an electronic
                file.</a:documentation>
            <group>
                <group>
                    <rng:ref name="tei_titleStmt"/>
                    <optional>
                        <rng:ref name="tei_editionStmt"/>
                    </optional>
                    <optional>
                        <rng:ref name="tei_extent"/>
                    </optional>
                    <rng:ref name="tei_publicationStmt"/>
                    <optional>
                        <rng:ref name="tei_seriesStmt"/>
                    </optional>
                    <optional>
                        <rng:ref name="tei_notesStmt"/>
                    </optional>
                </group>
                <oneOrMore>
                    <rng:ref name="tei_sourceDesc"/>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_titleStmt">
        <element name="titleStmt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title
                statement) groups information about the title of a work and those responsible for
                its intellectual content.</a:documentation>
            <group>
                <oneOrMore>
                    <rng:ref name="tei_title"/>
                </oneOrMore>
                <zeroOrMore>
                    <rng:ref name="tei_model.respLike"/>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_principal">
        <element name="principal">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(principal researcher) supplies the name of the principal researcher responsible
                for the creation of an electronic text.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq.limited"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_editionStmt">
        <element name="editionStmt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition
                statement) groups information relating to one edition of a text.</a:documentation>
            <choice>
                <oneOrMore>
                    <rng:ref name="tei_model.pLike"/>
                </oneOrMore>
                <group>
                    <rng:ref name="tei_edition"/>
                    <zeroOrMore>
                        <rng:ref name="tei_respStmt"/>
                    </zeroOrMore>
                </group>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_edition">
        <element name="edition">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition)
                describes the particularities of one edition of a text.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_extent">
        <element name="extent">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                the approximate size of a text as stored on some carrier medium, whether digital or
                non-digital, specified in any convenient units.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_publicationStmt">
        <element name="publicationStmt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(publication statement) groups information concerning the publication or
                distribution of an electronic or other text. </a:documentation>
            <choice>
                <oneOrMore>
                    <rng:ref name="tei_model.pLike"/>
                </oneOrMore>
                <oneOrMore>
                    <rng:ref name="tei_model.publicationStmtPart"/>
                </oneOrMore>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_idno">
        <element name="idno">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(identifier) supplies any form of identifier used to identify some object, such as
                a bibliographic item, a person, a title, an organization, etc. in a standardized
                way.</a:documentation>
            <text/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >categorizes the identifier, for example as an ISBN, Social Security number,
                        etc. </a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_availability">
        <element name="availability">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies
                information about the availability of a text, for example any restrictions on its
                use or distribution, its copyright status, etc.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.pLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="status"
                    a:defaultValue="unknown">
                    <a:documentation>supplies a code identifying the current availability of the
                        text. </a:documentation>
                    <choice>
                        <value>free</value>
                        <a:documentation>the text is freely available. </a:documentation>
                        <value>unknown</value>
                        <a:documentation>the status of the text is unknown. </a:documentation>
                        <value>restricted</value>
                        <a:documentation>the text is not freely available. </a:documentation>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_seriesStmt">
        <element name="seriesStmt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series
                statement) groups information about the series, if any, to which a publication
                belongs.</a:documentation>
            <choice>
                <oneOrMore>
                    <rng:ref name="tei_model.pLike"/>
                </oneOrMore>
                <group>
                    <oneOrMore>
                        <rng:ref name="tei_title"/>
                    </oneOrMore>
                    <zeroOrMore>
                        <choice>
                            <rng:ref name="tei_idno"/>
                            <rng:ref name="tei_respStmt"/>
                        </choice>
                    </zeroOrMore>
                </group>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_notesStmt">
        <element name="notesStmt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(notes
                statement) collects together any notes providing information about a text additional
                to that recorded in other parts of the bibliographic description.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.noteLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sourceDesc">
        <element name="sourceDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(source
                description) describes the source from which an electronic text was derived or
                generated, typically a bibliographic description in the case of a digitized text, or
                a phrase such as "born digital" for a text which has no previous
                existence.</a:documentation>
            <choice>
                <oneOrMore>
                    <rng:ref name="tei_model.pLike"/>
                </oneOrMore>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_model.biblLike"/>
                        <rng:ref name="tei_model.sourceDescPart"/>
                        <rng:ref name="tei_model.listLike"/>
                    </choice>
                </oneOrMore>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_biblFull">
        <element name="biblFull">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(fully-structured bibliographic citation) contains a fully-structured bibliographic
                citation, in which all components of the TEI file description are
                present.</a:documentation>
            <group>
                <group>
                    <rng:ref name="tei_titleStmt"/>
                    <optional>
                        <rng:ref name="tei_editionStmt"/>
                    </optional>
                    <optional>
                        <rng:ref name="tei_extent"/>
                    </optional>
                    <rng:ref name="tei_publicationStmt"/>
                    <optional>
                        <rng:ref name="tei_seriesStmt"/>
                    </optional>
                    <optional>
                        <rng:ref name="tei_notesStmt"/>
                    </optional>
                </group>
                <zeroOrMore>
                    <rng:ref name="tei_sourceDesc"/>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_encodingDesc">
        <element name="encodingDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(encoding
                description) documents the relationship between an electronic text and the source or
                sources from which it was derived.</a:documentation>
            <group>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_model.encodingDescPart"/>
                        <rng:ref name="tei_model.pLike"/>
                    </choice>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_projectDesc">
        <element name="projectDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(project
                description) describes in detail the aim or purpose for which an electronic file was
                encoded, together with any other relevant information concerning the process by
                which it was assembled or collected.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.pLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_samplingDecl">
        <element name="samplingDecl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sampling
                declaration) contains a prose description of the rationale and methods used in
                sampling texts in the creation of a corpus or collection.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.pLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_editorialDecl">
        <element name="editorialDecl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(editorial practice declaration) provides details of editorial principles and
                practices applied during the encoding of a text.</a:documentation>
            <oneOrMore>
                <choice>
                    <rng:ref name="tei_model.pLike"/>
                    <rng:ref name="tei_model.editorialDeclPart"/>
                </choice>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_quotation">
        <element name="quotation">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies
                editorial practice adopted with respect to quotation marks in the original. </a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.pLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="marks" a:defaultValue="all">
                    <a:documentation>(quotation marks) indicates whether or not quotation marks have
                        been retained as content within the text. </a:documentation>
                    <choice>
                        <value>none</value>
                        <a:documentation>no quotation marks have been retained </a:documentation>
                        <value>some</value>
                        <a:documentation>some quotation marks have been retained </a:documentation>
                        <value>all</value>
                        <a:documentation>all quotation marks have been retained </a:documentation>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="form" a:defaultValue="unknown">
                    <a:documentation>specifies how quotation marks are indicated within the
                        text.</a:documentation>
                    <text/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_segmentation">
        <element name="segmentation">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                the principles according to which the text has been segmented, for example into
                sentences, tone-units, graphemic strata, etc.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.pLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stdVals">
        <element name="stdVals">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(standard
                values) specifies the format used when standardized date or number values are
                supplied.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.pLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tagsDecl">
        <element name="tagsDecl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tagging
                declaration) provides detailed information about the tagging applied to a
                document.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_refsDecl">
        <element name="refsDecl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(references declaration) specifies how canonical references are constructed for
                this text.</a:documentation>
            <choice>
                <oneOrMore>
                    <rng:ref name="tei_model.pLike"/>
                </oneOrMore>
                <oneOrMore>
                    <rng:ref name="tei_cRefPattern"/>
                </oneOrMore>
                <oneOrMore>
                    <rng:ref name="tei_refState"/>
                </oneOrMore>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cRefPattern">
        <element name="cRefPattern">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(canonical reference pattern) specifies an expression and replacement pattern for
                transforming a canonical reference into a URI. </a:documentation>
            <zeroOrMore>
                <rng:ref name="tei_model.pLike"/>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="matchPattern">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies a regular expression against which the values of cRef attributes can
                    be matched.</a:documentation>
                <data type="token"/>
            </attribute>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="replacementPattern">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >specifies a replacement pattern which, once subpattern substitution has been
                    performed, provides a URI.</a:documentation>
                <text/>
            </attribute>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_refState">
        <element name="refState">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(reference state) specifies one component of a canonical reference defined by the
                milestone method.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.sourced.attributes"/>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="unit">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >indicates what kind of state is changing at this milestone. Suggested values
                    include: 1] page; 2] column; 3] line; 4] book; 5] poem; 6] canto; 7] stanza; 8]
                    act; 9] scene; 10] section; 11] absent</a:documentation>
                <choice>
                    <value>page</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >page breaks in the reference edition. </a:documentation>
                    <value>column</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >column breaks. </a:documentation>
                    <value>line</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >line breaks. </a:documentation>
                    <value>book</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >any units termed book, liber, etc. </a:documentation>
                    <value>poem</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >individual poems in a collection. </a:documentation>
                    <value>canto</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >cantos or other major sections of a poem. </a:documentation>
                    <value>stanza</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >stanzas within a poem, book, or canto. </a:documentation>
                    <value>act</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >acts within a play. </a:documentation>
                    <value>scene</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >scenes within a play or act. </a:documentation>
                    <value>section</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >sections of any kind. </a:documentation>
                    <value>absent</value>
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >passages not present in the reference edition.</a:documentation>
                    <data type="Name"/>
                </choice>
            </attribute>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="length">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the fixed length of the reference component.</a:documentation>
                    <data type="nonNegativeInteger"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="delim">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(delimiter) supplies a delimiting string following the reference
                        component.</a:documentation>
                    <text/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_classDecl">
        <element name="classDecl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(classification declarations) contains one or more taxonomies defining any
                classificatory codes used elsewhere in the text.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_taxonomy"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_taxonomy">
        <element name="taxonomy">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a
                typology used to classify texts either implicitly, by means of a bibliographic
                citation, or explicitly by a structured taxonomy.</a:documentation>
            <choice>
                <zeroOrMore>
                    <rng:ref name="tei_model.glossLike"/>
                </zeroOrMore>
                <oneOrMore>
                    <rng:ref name="tei_category"/>
                </oneOrMore>
                <group>
                    <group>
                        <rng:ref name="tei_model.biblLike"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_category"/>
                    </zeroOrMore>
                </group>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_category">
        <element name="category">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                an individual descriptive category, possibly nested within a superordinate category,
                within a user-defined taxonomy.</a:documentation>
            <group>
                <choice>
                    <oneOrMore>
                        <rng:ref name="tei_catDesc"/>
                    </oneOrMore>
                    <zeroOrMore>
                        <rng:ref name="tei_model.glossLike"/>
                    </zeroOrMore>
                </choice>
                <zeroOrMore>
                    <rng:ref name="tei_category"/>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_catDesc">
        <element name="catDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category
                description) describes some category within a taxonomy or text typology, either in
                the form of a brief prose description or in terms of the situational parameters used
                by the TEI formal textDesc.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.limitedPhrase"/>
                    <rng:ref name="tei_model.catDescPart"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_appInfo">
        <element name="appInfo">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(application information) records information about an application which has edited
                the TEI file. </a:documentation>
            <oneOrMore>
                <rng:ref name="tei_model.applicationLike"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_profileDesc">
        <element name="profileDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(text-profile description) provides a detailed description of non-bibliographic
                aspects of a text, specifically the languages and sublanguages used, the situation
                in which it was produced, the participants and their setting.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.profileDescPart"/>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_handNote">
        <element name="handNote">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(note on
                hand) describes a particular style or hand distinguished within a
                manuscript.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.handFeatures.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_langUsage">
        <element name="langUsage">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language
                usage) describes the languages, sublanguages, registers, dialects, etc. represented
                within a text.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_language"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_language">
        <element name="language">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >characterizes a single language or sublanguage used within a
                text.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq.limited"/>
            <rng:ref name="att.global.attributes"/>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="ident">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(identifier) Supplies a language code constructed as defined in BCP 47 which is
                    used to identify the language documented by this element, and which is
                    referenced by the global xml:lang attribute.</a:documentation>
                <data type="language"/>
            </attribute>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="usage">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the approximate percentage (by volume) of the text which uses
                        this language. </a:documentation>
                    <data type="nonNegativeInteger">
                        <param name="maxInclusive">100</param>
                    </data>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_textClass">
        <element name="textClass">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text
                classification) groups information which describes the nature or topic of a text in
                terms of a standard classification scheme, thesaurus, etc.</a:documentation>
            <zeroOrMore>
                <choice>
                    <rng:ref name="tei_classCode"/>
                    <rng:ref name="tei_catRef"/>
                    <rng:ref name="tei_keywords"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_keywords">
        <element name="keywords">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a list of keywords or phrases identifying the topic or nature of a
                text.</a:documentation>
            <choice>
                <oneOrMore>
                    <rng:ref name="tei_term"/>
                </oneOrMore>
                <rng:ref name="tei_list"/>
            </choice>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="scheme">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >identifies the controlled vocabulary within which the set of&#13; keywords
                        concerned is defined.</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_classCode">
        <element name="classCode">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(classification code) contains the classification code used for this text in some
                standard classification system.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq.limited"/>
            <rng:ref name="att.global.attributes"/>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="scheme">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >identifies the classification system or taxonomy in use.</a:documentation>
                <data type="anyURI"/>
            </attribute>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_catRef">
        <element name="catRef">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category
                reference) specifies one or more defined categories within some taxonomy or text
                typology.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="scheme">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >identifies the classification scheme within which the set of categories
                        concerned is defined </a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_revisionDesc">
        <element name="revisionDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(revision
                description) summarizes the revision history for a file.</a:documentation>
            <choice>
                <rng:ref name="tei_list"/>
                <oneOrMore>
                    <rng:ref name="tei_change"/>
                </oneOrMore>
            </choice>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.docStatus.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_change">
        <element name="change">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >summarizes a particular change or correction made to a particular version of an
                electronic text which is shared between several researchers.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.limitedPhrase"/>
                    <rng:ref name="tei_model.inter"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.ascribed.attributes"/>
            <rng:ref name="att.datable.attributes"/>
            <rng:ref name="att.docStatus.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_geoDecl">
        <element name="geoDecl">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(geographic coordinates declaration) documents the notation and the datum used for
                geographic coordinates expressed as content of the geo element elsewhere within the
                document.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declarable.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="datum" a:defaultValue="WGS84">
                    <a:documentation>supplies a commonly used code name for the datum employed.
                        Suggested values include: 1] WGS84 (World Geodetic System세계 측지 시스템Sistema
                        Geodésico MundialSystème Géodésique Mondialsistema geodetico mondiale); 2]
                        MGRS (Military Grid Reference System군사 좌표 참조 시스템Sistema de Coordenadas
                        MGRSSystème de Référence du Réseau Militaire, (MGRS).sistema di riferimento
                        delle coordinate MGRS); 3] OSGB36 (ordnance survey great britain영국 육지
                        측량부Système de coordonnées de Grande-Bretagne (OSGB) sistema di riferimento a
                        reticolato OSGB36); 4] ED50 (European Datum coordinate system유럽 자료 좌표
                        시스템Sistema de coordinadas European Datumsystème de coordonnées de données
                        européen.sistema di riferimento ED50)</a:documentation>
                    <choice>
                        <value>WGS84</value>
                        <a:documentation>(World Geodetic System) a pair of numbers to be interpreted
                            as latitude followed by longitude according to the World Geodetic
                            System.</a:documentation>
                        <value>MGRS</value>
                        <a:documentation>(Military Grid Reference System) the values supplied are
                            geospatial entity object codes, based on</a:documentation>
                        <value>OSGB36</value>
                        <a:documentation>(ordnance survey great britain) the value supplied is to be
                            interpreted as a British National Grid Reference.</a:documentation>
                        <value>ED50</value>
                        <a:documentation>(European Datum coordinate system) the value supplied is to
                            be interpreted as latitude followed by longitude according to the
                            European Datum coordinate system.</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_TEI">
        <element name="TEI">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI
                document) contains a single TEI-conformant document, comprising a TEI header and a
                text, either in isolation or as part of a teiCorpus element.</a:documentation>
            <group>
                <rng:ref name="tei_teiHeader"/>
                <choice>
                    <group>
                        <oneOrMore>
                            <rng:ref name="tei_model.resourceLike"/>
                        </oneOrMore>
                        <optional>
                            <rng:ref name="tei_text"/>
                        </optional>
                    </group>
                    <rng:ref name="tei_text"/>
                </choice>
            </group>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron" prefix="tei"
                uri="http://www.tei-c.org/ns/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron" prefix="rng"
                uri="http://relaxng.org/ns/structure/1.0"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="version">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the version number of the TEI Guidelines against which this
                        document is valid.</a:documentation>
                    <data type="token">
                        <param name="pattern">[\d]+(\.[\d]+){0,2}</param>
                    </data>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_text">
        <element name="text">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a single text of any kind, whether unitary or composite, for example a poem or
                drama, a collection of essays, a novel, a dictionary, or a corpus
                sample.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <optional>
                    <rng:ref name="tei_front"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </optional>
                <choice>
                    <rng:ref name="tei_body"/>
                    <rng:ref name="tei_group"/>
                </choice>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <optional>
                    <rng:ref name="tei_back"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </optional>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_body">
        <element name="body">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text
                body) contains the whole body of a single unitary text, excluding any front or back
                matter.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <optional>
                    <group>
                        <group>
                            <rng:ref name="tei_model.divTop"/>
                        </group>
                        <zeroOrMore>
                            <choice>
                                <rng:ref name="tei_model.global"/>
                                <rng:ref name="tei_model.divTop"/>
                            </choice>
                        </zeroOrMore>
                    </group>
                </optional>
                <optional>
                    <group>
                        <group>
                            <rng:ref name="tei_model.divGenLike"/>
                        </group>
                        <zeroOrMore>
                            <choice>
                                <rng:ref name="tei_model.global"/>
                                <rng:ref name="tei_model.divGenLike"/>
                            </choice>
                        </zeroOrMore>
                    </group>
                </optional>
                <group>
                    <choice>
                        <oneOrMore>
                            <group>
                                <group>
                                    <rng:ref name="tei_model.divLike"/>
                                </group>
                                <zeroOrMore>
                                    <choice>
                                        <rng:ref name="tei_model.global"/>
                                        <rng:ref name="tei_model.divGenLike"/>
                                    </choice>
                                </zeroOrMore>
                            </group>
                        </oneOrMore>
                        <oneOrMore>
                            <group>
                                <group>
                                    <rng:ref name="tei_model.div1Like"/>
                                </group>
                                <zeroOrMore>
                                    <choice>
                                        <rng:ref name="tei_model.global"/>
                                        <rng:ref name="tei_model.divGenLike"/>
                                    </choice>
                                </zeroOrMore>
                            </group>
                        </oneOrMore>
                        <group>
                            <oneOrMore>
                                <group>
                                    <rng:ref name="tei_model.common"/>
                                </group>
                                <zeroOrMore>
                                    <rng:ref name="tei_model.global"/>
                                </zeroOrMore>
                            </oneOrMore>
                            <optional>
                                <choice>
                                    <oneOrMore>
                                        <group>
                                            <group>
                                                <rng:ref name="tei_model.divLike"/>
                                            </group>
                                            <zeroOrMore>
                                                <choice>
                                                  <rng:ref name="tei_model.global"/>
                                                  <rng:ref name="tei_model.divGenLike"/>
                                                </choice>
                                            </zeroOrMore>
                                        </group>
                                    </oneOrMore>
                                    <oneOrMore>
                                        <group>
                                            <group>
                                                <rng:ref name="tei_model.div1Like"/>
                                            </group>
                                            <zeroOrMore>
                                                <choice>
                                                  <rng:ref name="tei_model.global"/>
                                                  <rng:ref name="tei_model.divGenLike"/>
                                                </choice>
                                            </zeroOrMore>
                                        </group>
                                    </oneOrMore>
                                </choice>
                            </optional>
                        </group>
                    </choice>
                </group>
                <zeroOrMore>
                    <group>
                        <group>
                            <rng:ref name="tei_model.divBottom"/>
                        </group>
                        <zeroOrMore>
                            <rng:ref name="tei_model.global"/>
                        </zeroOrMore>
                    </group>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_group">
        <element name="group">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                the body of a composite text, grouping together a sequence of distinct texts (or
                groups of such texts) which are regarded as a unit for some purpose, for example the
                collected works of an author, a sequence of prose essays, etc.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.divTop"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <group>
                    <choice>
                        <rng:ref name="tei_text"/>
                        <rng:ref name="tei_group"/>
                    </choice>
                    <zeroOrMore>
                        <choice>
                            <rng:ref name="tei_text"/>
                            <rng:ref name="tei_group"/>
                            <rng:ref name="tei_model.global"/>
                        </choice>
                    </zeroOrMore>
                </group>
                <zeroOrMore>
                    <rng:ref name="tei_model.divBottom"/>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_floatingText">
        <element name="floatingText">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a single text of any kind, whether unitary or composite, which interrupts the text
                containing it at any point and after which the surrounding text
                resumes.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <optional>
                    <rng:ref name="tei_front"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </optional>
                <choice>
                    <rng:ref name="tei_body"/>
                    <rng:ref name="tei_group"/>
                </choice>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <optional>
                    <rng:ref name="tei_back"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </optional>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div">
        <element name="div">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text
                division) contains a subdivision of the front, body, or back of a
                text.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.divTop"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <optional>
                    <choice>
                        <group>
                            <oneOrMore>
                                <choice>
                                    <rng:ref name="tei_model.divLike"/>
                                    <rng:ref name="tei_model.divGenLike"/>
                                </choice>
                                <zeroOrMore>
                                    <rng:ref name="tei_model.global"/>
                                </zeroOrMore>
                            </oneOrMore>
                        </group>
                        <group>
                            <oneOrMore>
                                <group>
                                    <rng:ref name="tei_model.common"/>
                                </group>
                                <zeroOrMore>
                                    <rng:ref name="tei_model.global"/>
                                </zeroOrMore>
                            </oneOrMore>
                            <zeroOrMore>
                                <choice>
                                    <rng:ref name="tei_model.divLike"/>
                                    <rng:ref name="tei_model.divGenLike"/>
                                </choice>
                                <zeroOrMore>
                                    <rng:ref name="tei_model.global"/>
                                </zeroOrMore>
                            </zeroOrMore>
                        </group>
                    </choice>
                    <zeroOrMore>
                        <group>
                            <rng:ref name="tei_model.divBottom"/>
                        </group>
                        <zeroOrMore>
                            <rng:ref name="tei_model.global"/>
                        </zeroOrMore>
                    </zeroOrMore>
                </optional>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.divLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_trailer">
        <element name="trailer">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a closing title or footer appearing at the end of a division of a text. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_byline">
        <element name="byline">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                the primary statement of responsibility given for a work on its title page or at the
                head or end of the work.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.phrase"/>
                    <rng:ref name="tei_docAuthor"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_dateline">
        <element name="dateline">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a brief description of the place, date, time, etc. of production of a letter,
                newspaper story, or other work, prefixed or suffixed to it as a kind of heading or
                trailer. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_argument">
        <element name="argument">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A formal
                list or prose description of the topics addressed by a subdivision of a
                text.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.global"/>
                        <rng:ref name="tei_model.headLike"/>
                    </choice>
                </zeroOrMore>
                <oneOrMore>
                    <group>
                        <rng:ref name="tei_model.common"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_epigraph">
        <element name="epigraph">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a quotation, anonymous or attributed, appearing at the start of a section or
                chapter, or on a title page. </a:documentation>
            <zeroOrMore>
                <choice>
                    <rng:ref name="tei_model.common"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_opener">
        <element name="opener">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups
                together dateline, byline, salutation, and similar phrases appearing as a
                preliminary group at the start of a division, especially of a
                letter.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.phrase"/>
                    <rng:ref name="tei_argument"/>
                    <rng:ref name="tei_byline"/>
                    <rng:ref name="tei_dateline"/>
                    <rng:ref name="tei_epigraph"/>
                    <rng:ref name="tei_salute"/>
                    <rng:ref name="tei_signed"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_closer">
        <element name="closer">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups
                together salutations, datelines, and similar phrases appearing as a final group at
                the end of a division, especially of a letter.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_signed"/>
                    <rng:ref name="tei_dateline"/>
                    <rng:ref name="tei_salute"/>
                    <rng:ref name="tei_model.phrase"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_salute">
        <element name="salute">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(salutation) contains a salutation or greeting prefixed to a foreword, dedicatory
                epistle, or other division of a text, or the salutation in the closing of a letter,
                preface, etc.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_signed">
        <element name="signed">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(signature) contains the closing salutation, etc., appended to a foreword,
                dedicatory epistle, or other division of a text. </a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_postscript">
        <element name="postscript">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a postscript, e.g. to a letter.</a:documentation>
            <rng:ref name="tei_macro.noteContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_titlePage">
        <element name="titlePage">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title
                page) contains the title page of a text, appearing within the front or back matter. </a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <group>
                    <rng:ref name="tei_model.titlepagePart"/>
                </group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.titlepagePart"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >classifies the title page according to any convenient
                        typology.</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docTitle">
        <element name="docTitle">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document
                title) contains the title of a document, including all its constituents, as given on
                a title page.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.global"/>
                </zeroOrMore>
                <oneOrMore>
                    <rng:ref name="tei_titlePart"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.canonical.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_titlePart">
        <element name="titlePart">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a subsection or division of the title of a work, as indicated on a title
                page.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type" a:defaultValue="main">
                    <a:documentation>specifies the role of this subdivision of the title. Suggested
                        values include: 1] main; 2] sub (subordinate부수적subordinatosous-titre de
                        l’ouvrage.Untertitel des Werkssubtítulo de una obra); 3] alt
                        (alternate이명alternativotitre alternatif de l’ouvrage.Alternativer Titel des
                        Werkstítulo alternativo de una obra); 4] short; 5] desc
                        (descriptive기술적descrittivodescription paraphrastique de
                        l’ouvrage.Kurzbeschreibung des Werksparáfrasis descriptiva de la
                        obra)</a:documentation>
                    <choice>
                        <value>main</value>
                        <a:documentation>main title of the work </a:documentation>
                        <value>sub</value>
                        <a:documentation>(subordinate) subtitle of the work </a:documentation>
                        <value>alt</value>
                        <a:documentation>(alternate) alternative title of the work </a:documentation>
                        <value>short</value>
                        <a:documentation>abbreviated form of title</a:documentation>
                        <value>desc</value>
                        <a:documentation>(descriptive) descriptive paraphrase of the work </a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docAuthor">
        <element name="docAuthor">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document
                author) contains the name of the author of the document, as given on the title page
                (often but not always contained in a byline).</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.canonical.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_imprimatur">
        <element name="imprimatur">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a formal statement authorizing the publication of a work, sometimes required to
                appear on a title page or its verso.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docEdition">
        <element name="docEdition">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document
                edition) contains an edition statement as presented on a title page of a
                document.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docImprint">
        <element name="docImprint">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document
                imprint) contains the imprint statement (place and date of publication, publisher
                name), as given (usually) at the foot of a title page.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.phrase"/>
                    <rng:ref name="tei_pubPlace"/>
                    <rng:ref name="tei_docDate"/>
                    <rng:ref name="tei_publisher"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docDate">
        <element name="docDate">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document
                date) contains the date of a document, as given (usually) on a title
                page.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="when">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >gives the value of the date in standard form, i.e.
                        YYYY-MM-DD.</a:documentation>
                    <choice>
                        <data type="date"/>
                        <data type="gYear"/>
                        <data type="gMonth"/>
                        <data type="gDay"/>
                        <data type="gYearMonth"/>
                        <data type="gMonthDay"/>
                        <data type="time"/>
                        <data type="dateTime"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_front">
        <element name="front">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(front
                matter) contains any prefatory matter (headers, title page, prefaces, dedications,
                etc.) found at the start of a document, before the main body.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.frontPart"/>
                        <rng:ref name="tei_model.pLike.front"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <group>
                    <optional>
                        <choice>
                            <group>
                                <group>
                                    <rng:ref name="tei_model.div1Like"/>
                                </group>
                                <zeroOrMore>
                                    <choice>
                                        <rng:ref name="tei_model.frontPart"/>
                                        <rng:ref name="tei_model.div1Like"/>
                                        <rng:ref name="tei_model.global"/>
                                    </choice>
                                </zeroOrMore>
                            </group>
                            <group>
                                <group>
                                    <rng:ref name="tei_model.divLike"/>
                                </group>
                                <zeroOrMore>
                                    <choice>
                                        <rng:ref name="tei_model.frontPart"/>
                                        <rng:ref name="tei_model.divLike"/>
                                        <rng:ref name="tei_model.global"/>
                                    </choice>
                                </zeroOrMore>
                            </group>
                        </choice>
                    </optional>
                </group>
                <group>
                    <optional>
                        <group>
                            <rng:ref name="tei_model.divBottomPart"/>
                        </group>
                        <zeroOrMore>
                            <choice>
                                <rng:ref name="tei_model.divBottomPart"/>
                                <rng:ref name="tei_model.global"/>
                            </choice>
                        </zeroOrMore>
                    </optional>
                </group>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_back">
        <element name="back">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(back
                matter) contains any appendixes, etc. following the main part of a
                text.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.frontPart"/>
                        <rng:ref name="tei_model.pLike.front"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <group>
                    <optional>
                        <choice>
                            <group>
                                <group>
                                    <rng:ref name="tei_model.div1Like"/>
                                </group>
                                <zeroOrMore>
                                    <choice>
                                        <rng:ref name="tei_model.frontPart"/>
                                        <rng:ref name="tei_model.div1Like"/>
                                        <rng:ref name="tei_model.global"/>
                                    </choice>
                                </zeroOrMore>
                            </group>
                            <group>
                                <group>
                                    <rng:ref name="tei_model.divLike"/>
                                </group>
                                <zeroOrMore>
                                    <choice>
                                        <rng:ref name="tei_model.frontPart"/>
                                        <rng:ref name="tei_model.divLike"/>
                                        <rng:ref name="tei_model.global"/>
                                    </choice>
                                </zeroOrMore>
                            </group>
                        </choice>
                    </optional>
                </group>
                <group>
                    <optional>
                        <group>
                            <rng:ref name="tei_model.divBottomPart"/>
                        </group>
                        <zeroOrMore>
                            <choice>
                                <rng:ref name="tei_model.divBottomPart"/>
                                <rng:ref name="tei_model.global"/>
                            </choice>
                        </zeroOrMore>
                    </optional>
                </group>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.facs.attributes">
        <rng:ref name="att.global.facs.attribute.facs"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.facs.attribute.facs">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="facs">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(facsimile) points to all or part of an image which corresponds with the
                    content of the element.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_handNotes">
        <element name="handNotes">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                one or more handNote elements documenting the different hands identified within the
                source texts.</a:documentation>
            <oneOrMore>
                <rng:ref name="tei_handNote"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_surplus">
        <element name="surplus">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (Texte
                superflu) marks text present in the source which the editor believes to be
                superfluous or redundant.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.editLike.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="reason">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the grounds for believing this text to be
                        superfluous.</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="token">
                                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                            </data>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_s">
        <element name="s">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(s-unit)
                contains a sentence-like division of a text.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="s-constraint-noNestedS">
                <rule context="tei:s">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron" test="tei:s">You may not
                        nest one s element within another: use seg instead</sch:report>
                </rule>
            </pattern>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.segLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_w">
        <element name="w">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(word)
                represents a grammatical (not necessarily orthographic) word.</a:documentation>
            <optional>
                <attribute name="subtype">
                    <data type="token">
                        <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                    </data>
                </attribute>
            </optional>
            <rng:ref name="tei_macro.paraContent"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="eos">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of eos is 0 or 1 and marks whether the sentences ends or not. </a:documentation>
                    <optional>
                        <choice>
                            <value>0</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                            <value>1</value>
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        </choice>
                    </optional>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="lem">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of lem is the lemma or dictionary entry form of the word. </a:documentation>
                    <text/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="pos">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of pos is the part of speech. </a:documentation>
                    <text/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="reg">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of reg is the standard modern spelling of the word. </a:documentation>
                    <text/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="spe">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of spe is the original spelling minus typographical oddities. </a:documentation>
                    <text/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="tok">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of tok is the complete token as opposed to the content of the w
                        element, which may be a split token. </a:documentation>
                    <text/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="ord">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of ord is the order of the word in the text regardless of the
                        reading order. </a:documentation>
                    <choice>
                        <data type="double"/>
                        <data type="token">
                            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                        </data>
                        <data type="decimal"/>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="part">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >The value of part marks whether the token was split or not. </a:documentation>
                    <choice>
                        <value>Y</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>N</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="lemma">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >provides a lemma for the word, such as an uninflected dictionary entry
                        form.</a:documentation>
                    <data type="string"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="lemmaRef">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >provides a pointer to a definition for the root form of this word
                        form.</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_c">
        <element name="c">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(character) represents a character.</a:documentation>
            <rng:ref name="tei_macro.xtext"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.segLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pc">
        <element name="pc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
                (punctuation character) a character or string of characters regarded as constituting
                a single punctuation mark.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_c"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.segLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="force">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the extent to which this punctuation mark conventionally
                        separates words or phrases</a:documentation>
                    <choice>
                        <value>strong</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the
                            punctuation mark is a word separator</a:documentation>
                        <value>weak</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the
                            punctuation mark is not a word separator</a:documentation>
                        <value>inter</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the
                            punctuation mark may or may not be a word separator</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="unit">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >provides a name for the kind of unit delimited by this punctuation
                        mark.</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="pre">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates whether this punctuation mark precedes or follows the unit it
                        delimits.</a:documentation>
                    <choice>
                        <data type="boolean"/>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.analytic.attributes">
        <rng:ref name="att.global.analytic.attribute.ana"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.analytic.attribute.ana">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="ana">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(analysis) indicates one or more elements containing interpretations of the
                    element on which the ana attribute appears.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_spanGrp">
        <element name="spanGrp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(span
                group) collects together span tags.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.interpLike.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_interpGrp">
        <element name="interpGrp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(interpretation group) collects together a set of related interpretations which
                share responsibility or type.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.glossLike"/>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.interpLike.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_table">
        <element name="table">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                text displayed in tabular form, in rows and columns.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.headLike"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <oneOrMore>
                    <rng:ref name="tei_row"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="rows">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >indicates the number of rows in the table.</a:documentation>
                    <data type="nonNegativeInteger"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="cols">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(columns) indicates the number of columns in each row of the
                        table.</a:documentation>
                    <data type="nonNegativeInteger"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_row">
        <element name="row">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                one row of a table. </a:documentation>
            <oneOrMore>
                <rng:ref name="tei_cell"/>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.tableDecoration.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cell">
        <element name="cell">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                one cell of a table. </a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.tableDecoration.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_figure">
        <element name="figure">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups
                elements representing or containing graphic information such as an illustration or
                figure.</a:documentation>
            <zeroOrMore>
                <choice>
                    <rng:ref name="tei_model.headLike"/>
                    <rng:ref name="tei_model.pLike"/>
                    <rng:ref name="tei_figDesc"/>
                    <rng:ref name="tei_model.graphicLike"/>
                    <rng:ref name="tei_model.egLike"/>
                    <rng:ref name="tei_floatingText"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.placement.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_figDesc">
        <element name="figDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(description of figure) contains a brief prose description of the appearance or
                content of a graphic figure, for use when documenting an image without displaying
                it.</a:documentation>
            <rng:ref name="tei_macro.limitedContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_g">
        <element name="g">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(character or glyph) represents a non-standard character or
                glyph.</a:documentation>
            <text/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="ref">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >points to a description of the character or glyph
                        intended.</a:documentation>
                    <data type="anyURI"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_link">
        <element name="link">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines
                an association or hypertextual link among elements or passages, of some type not
                more precisely specifiable by other elements.</a:documentation>
            <empty/>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="link-constraint-linkTargets1">
                <rule context="tei:link">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron" test="@target and @targets"
                        >You may not supply both @target and @targets</sch:report>
                </rule>
            </pattern>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="link-constraint-linkTargets2">
                <rule context="tei:link">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                        test="not(@target) and not(@targets)">You must supply either @target or
                        @targets</sch:report>
                </rule>
            </pattern>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="link-constraint-linkTargets3">
                <rule context="tei:link">
                    <sch:assert xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                        test="contains(@target,' ')">You must supply at least two values for
                        @target</sch:assert>
                </rule>
            </pattern>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="targets">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the identifiers of the elements or passages to be linked or
                        associated. </a:documentation>
                    <list>
                        <data type="anyURI"/>
                        <oneOrMore>
                            <data type="anyURI"/>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_linkGrp">
        <element name="linkGrp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(link
                group) defines a collection of associations or hypertextual links.</a:documentation>
            <oneOrMore>
                <choice>
                    <rng:ref name="tei_link"/>
                    <rng:ref name="tei_ptr"/>
                </choice>
            </oneOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.group.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ab">
        <element name="ab">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(anonymous block) contains any arbitrary component-level unit of text, acting as an
                anonymous container for phrase or inter level elements analogous to, but without the
                semantic baggage of, a paragraph.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.declaring.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="part" a:defaultValue="N">
                    <a:documentation>specifies whether or not the block is complete. </a:documentation>
                    <choice>
                        <value>Y</value>
                        <a:documentation>(yes) the block is incomplete</a:documentation>
                        <value>N</value>
                        <a:documentation>(no) either the block is complete, or no claim is made as
                            to its completeness</a:documentation>
                        <value>I</value>
                        <a:documentation>(initial) the initial part of an incomplete
                            block</a:documentation>
                        <value>M</value>
                        <a:documentation>(medial) a medial part of an incomplete
                            block</a:documentation>
                        <value>F</value>
                        <a:documentation>(final) the final part of an incomplete
                            block</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_seg">
        <element name="seg">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(arbitrary segment) represents any segmentation of text below the chunk
                level.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.segLike.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <rng:ref name="att.responsibility.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_joinGrp">
        <element name="joinGrp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(join
                group) groups a collection of join elements and possibly pointers.</a:documentation>
            <group>
                <zeroOrMore>
                    <rng:ref name="tei_model.glossLike"/>
                </zeroOrMore>
                <oneOrMore>
                    <rng:ref name="tei_ptr"/>
                </oneOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.group.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="result">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >describes the result of the joins gathered in this
                        collection.</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_alt">
        <element name="alt">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(alternation) identifies an alternation or a set of choices among elements or
                passages.</a:documentation>
            <empty/>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="alt-constraint-altTargets1">
                <rule context="tei:alt">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron" test="@target and @targets"
                        >You may not supply both @target and @targets</sch:report>
                </rule>
            </pattern>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="alt-constraint-altTargets2">
                <rule context="tei:alt">
                    <sch:report xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                        test="not(@target) and not(@targets)">You must supply either @target or
                        @targets</sch:report>
                </rule>
            </pattern>
            <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="alt-constraint-altTargets3">
                <rule context="tei:alt">
                    <sch:assert xmlns="http://www.tei-c.org/ns/1.0"
                        xmlns:s="http://www.ascc.net/xml/schematron"
                        xmlns:tei="http://www.tei-c.org/ns/1.0"
                        xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                        test="contains(@target,' ')">You must supply at least two values for
                        @target</sch:assert>
                </rule>
            </pattern>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="targets">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the identifiers of the alternative elements or
                        passages.</a:documentation>
                    <list>
                        <data type="anyURI"/>
                        <oneOrMore>
                            <data type="anyURI"/>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="mode">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >states whether the alternations gathered in this collection are exclusive
                        or inclusive.</a:documentation>
                    <choice>
                        <value>excl</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >(exclusive) indicates that the alternation is exclusive, i.e. that at
                            most one of the alternatives occurs.</a:documentation>
                        <value>incl</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                            >(inclusive) indicates that the alternation is not exclusive, i.e. that
                            one or more of the alternatives occur.</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="weights">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >If mode is , each weight states the probability that the corresponding
                        alternative occurs. If mode is incl each weight states the probability that
                        the corresponding alternative occurs given that at least one of the other
                        alternatives occurs.</a:documentation>
                    <list>
                        <data type="double">
                            <param name="minInclusive">0</param>
                            <param name="maxInclusive">1</param>
                        </data>
                        <oneOrMore>
                            <data type="double">
                                <param name="minInclusive">0</param>
                                <param name="maxInclusive">1</param>
                            </data>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_altGrp">
        <element name="altGrp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(alternation group) groups a collection of alt elements and possibly
                pointers.</a:documentation>
            <zeroOrMore>
                <choice>
                    <rng:ref name="tei_alt"/>
                    <rng:ref name="tei_ptr"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.pointing.group.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="mode" a:defaultValue="excl">
                    <a:documentation>states whether the alternations gathered in this collection are
                        exclusive or inclusive.</a:documentation>
                    <choice>
                        <value>excl</value>
                        <a:documentation>(exclusive) indicates that the alternation is exclusive,
                            i.e. that at most one of the alternatives occurs.</a:documentation>
                        <value>incl</value>
                        <a:documentation>(inclusive) indicates that the alternation is not
                            exclusive, i.e. that one or more of the alternatives
                            occur.</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attributes">
        <rng:ref name="att.global.linking.attribute.corresp"/>
        <rng:ref name="att.global.linking.attribute.synch"/>
        <rng:ref name="att.global.linking.attribute.sameAs"/>
        <rng:ref name="att.global.linking.attribute.copyOf"/>
        <rng:ref name="att.global.linking.attribute.next"/>
        <rng:ref name="att.global.linking.attribute.prev"/>
        <rng:ref name="att.global.linking.attribute.exclude"/>
        <rng:ref name="att.global.linking.attribute.select"/>
        <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.corresp">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="corresp">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(corresponds) points to elements that correspond to the current element in some
                    way.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.synch">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="synch">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(synchronous) points to elements that are synchronous with the current
                    element.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.sameAs">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="sameAs">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >points to an element that is the same as the current element.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.copyOf">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="copyOf">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >points to an element of which the current element is a copy.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.next">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="next">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >points to the next element of a virtual aggregate of which the current element
                    is part.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.prev">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="prev">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >(previous) points to the previous element of a virtual aggregate of which the
                    current element is part.</a:documentation>
                <data type="anyURI"/>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.exclude">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="exclude">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >points to elements that are in exclusive alternation with the current
                    element.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.select">
        <optional>
            <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns="http://relaxng.org/ns/structure/1.0" name="select">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    >selects one or more alternants; if one alternant is selected, the ambiguity or
                    uncertainty is marked as resolved. If more than one alternant is selected, the
                    degree of ambiguity or uncertainty is marked as reduced by the number of
                    alternants not selected.</a:documentation>
                <list>
                    <oneOrMore>
                        <data type="anyURI"/>
                    </oneOrMore>
                </list>
            </attribute>
        </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_set">
        <element name="set">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(setting)
                contains a description of the setting, time, locale, appearance, etc., of the action
                of a play, typically found in the front matter of a printed performance text (not a
                stage direction).</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.headLike"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <zeroOrMore>
                    <group>
                        <group>
                            <rng:ref name="tei_model.common"/>
                        </group>
                        <zeroOrMore>
                            <rng:ref name="tei_model.global"/>
                        </zeroOrMore>
                    </group>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_prologue">
        <element name="prologue">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                the prologue to a drama, typically spoken by an actor out of character, possibly in
                association with a particular performance or venue.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.divTop"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <oneOrMore>
                    <group>
                        <rng:ref name="tei_model.common"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
                <zeroOrMore>
                    <group>
                        <rng:ref name="tei_model.divBottom"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_performance">
        <element name="performance">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                a section of front or back matter describing how a dramatic piece is to be performed
                in general or how it was performed on some specific occasion. </a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.divTop"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <oneOrMore>
                    <group>
                        <rng:ref name="tei_model.common"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
                <zeroOrMore>
                    <group>
                        <rng:ref name="tei_model.divBottom"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_castList">
        <element name="castList">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast
                list) contains a single cast list or dramatis personae.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.divTop"/>
                        <rng:ref name="tei_model.global"/>
                    </choice>
                </zeroOrMore>
                <zeroOrMore>
                    <group>
                        <rng:ref name="tei_model.common"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </zeroOrMore>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_castItem"/>
                        <rng:ref name="tei_castGroup"/>
                    </choice>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
                <zeroOrMore>
                    <group>
                        <rng:ref name="tei_model.common"/>
                    </group>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </zeroOrMore>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_castGroup">
        <element name="castGroup">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast
                list grouping) groups one or more individual castItem elements within a cast
                list.</a:documentation>
            <group>
                <zeroOrMore>
                    <choice>
                        <rng:ref name="tei_model.global"/>
                        <rng:ref name="tei_model.headLike"/>
                    </choice>
                </zeroOrMore>
                <oneOrMore>
                    <choice>
                        <rng:ref name="tei_castItem"/>
                        <rng:ref name="tei_castGroup"/>
                        <rng:ref name="tei_roleDesc"/>
                    </choice>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </oneOrMore>
                <optional>
                    <rng:ref name="tei_trailer"/>
                    <zeroOrMore>
                        <rng:ref name="tei_model.global"/>
                    </zeroOrMore>
                </optional>
            </group>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_castItem">
        <element name="castItem">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast
                list item) contains a single entry within a cast list, describing either a single
                role or a list of non-speaking roles.</a:documentation>
            <zeroOrMore>
                <choice>
                    <text/>
                    <rng:ref name="tei_model.gLike"/>
                    <rng:ref name="tei_model.castItemPart"/>
                    <rng:ref name="tei_model.phrase"/>
                    <rng:ref name="tei_model.global"/>
                </choice>
            </zeroOrMore>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type" a:defaultValue="role">
                    <a:documentation>characterizes the cast item. </a:documentation>
                    <choice>
                        <value>role</value>
                        <a:documentation>the item describes a single role. </a:documentation>
                        <value>list</value>
                        <a:documentation>the item describes a list of non-speaking roles.
                        </a:documentation>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_role">
        <element name="role">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the name
                of a dramatic role, as given in a cast list.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_roleDesc">
        <element name="roleDesc">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(role
                description) describes a character's role in a drama.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_actor">
        <element name="actor">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Name of
                an actor appearing within a cast list.</a:documentation>
            <rng:ref name="tei_macro.phraseSeq"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_move">
        <element name="move">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(movement) marks the actual entrance or exit of one or more characters on
                stage.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.ascribed.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >characterizes the movement, for example as an entrance or exit. Suggested
                        values include: 1] entrance; 2] exit; 3] onStage</a:documentation>
                    <choice>
                        <value>entrance</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">character
                            is entering the stage.</a:documentation>
                        <value>exit</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">character
                            is exiting the stage.</a:documentation>
                        <value>onStage</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">character
                            moves on stage</a:documentation>
                        <data type="Name"/>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="where">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >specifies the direction of a stage movement. Sample values include: 1] L
                        (left왼쪽izquierdoà gauche sinistra); 2] R (right오른쪽derechaà droite.destra);
                        3] C (center중앙centroau centre centro)</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="Name"/>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="perf">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(performance) identifies the performance or performances in which this
                        movement occurred as specified.</a:documentation>
                    <list>
                        <oneOrMore>
                            <data type="anyURI"/>
                        </oneOrMore>
                    </list>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_view">
        <element name="view">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                the visual context of some part of a screen play in terms of what the spectator
                sees, generally independent of any dialogue.</a:documentation>
            <rng:ref name="tei_macro.specialPara"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_camera">
        <element name="camera">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                a particular camera angle or viewpoint in a screen play.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <rng:ref name="att.typed.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sound">
        <element name="sound">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes
                a sound effect or musical sequence specified within a screen play or radio
                script.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >categorizes the sound in some respect, e.g. as music, special effect,
                        etc.</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="discrete"
                    a:defaultValue="unknown">
                    <a:documentation>indicates whether the sound overlaps the surrounding speeches
                        or interrupts them.</a:documentation>
                    <choice>
                        <data type="boolean"/>
                        <value>unknown</value>
                        <value>inapplicable</value>
                    </choice>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_caption">
        <element name="caption">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains
                the text of a caption or other text displayed as part of a film script or
                screenplay.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tech">
        <element name="tech">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                >(technical stage direction) describes a special-purpose stage direction that is not
                meant for the actors.</a:documentation>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="type">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >categorizes the technical stage direction.</a:documentation>
                    <choice>
                        <value>light</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a lighting
                            cue</a:documentation>
                        <value>sound</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a sound
                            cue</a:documentation>
                        <value>prop</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a prop
                            cue</a:documentation>
                        <value>block</value>
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a blocking
                            instruction</a:documentation>
                    </choice>
                </attribute>
            </optional>
            <optional>
                <attribute xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    xmlns="http://relaxng.org/ns/structure/1.0" name="perf">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >(performance) identifies the performance or performances to which this
                        technical direction applies.</a:documentation>
                    <data type="Name"/>
                </attribute>
            </optional>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.noteTop">
        <choice>
            <rng:ref name="tei_model.headLike"/>
            <rng:ref name="tei_label"/>
            <rng:ref name="tei_opener"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.notePart">
        <choice>
            <rng:ref name="tei_model.segLike"/>
            <rng:ref name="tei_model.biblLike"/>
            <rng:ref name="tei_model.listLike"/>
            <rng:ref name="tei_model.noteLike"/>
            <rng:ref name="tei_model.stageLike"/>
            <rng:ref name="tei_model.divPart"/>
            <rng:ref name="tei_model.quoteLike"/>
            <rng:ref name="tei_model.qLike"/>
            <rng:ref name="tei_castList"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.noteBottom">
        <choice>
            <rng:ref name="tei_trailer"/>
            <rng:ref name="tei_closer"/>
        </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sb">
        <element name="sb">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
                (sentence break) signals a break between sentences.</a:documentation>
            <empty/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sub">
        <element name="sub">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sup">
        <element name="sup">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <rng:ref name="tei_macro.paraContent"/>
            <rng:ref name="att.global.attributes"/>
            <empty/>
        </element>
    </define>
    <rng:start>
        <rng:choice>
            <rng:ref name="tei_TEI"/>
            <rng:ref name="tei_teiCorpus"/>
        </rng:choice>
    </rng:start>
</rng:grammar>

