<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.tei-c.org/ns/1.0">
  <!--
Schema generated from ODD source 2010-11-05T15:37:26Z. 
Edition: 1.8.0. Last updated on November 5th 2010.
Edition Location: http://www.tei-c.org/Vault/P5/1.8.0/

-->
  <!--
          
This template file is freely available and you are
          hereby authorised to copy, modify, and redistribute it in
          any way without further reference or permissions.
          
When making such modifications, you are strongly
          recommended to change the present text to include an
          accurate statement of the licencing conditions applicable
          to your modified text.
        -->
  <div ns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="extrapattern">
      <optional>
        <ref name="anyDoc"/>
      </optional>
      <ref name="pattern"/>
      <optional>
        <ref name="anyDoc"/>
      </optional>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="pattern">
      <choice>
        <element name="element">
          <attribute name="name">
            <data type="QName"/>
          </attribute>
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
          <optional>
            <attribute name="ns">
              <data type="anyURI"/>
            </attribute>
          </optional>
        </element>
        <element name="element">
          <element name="choice">
            <optional>
              <attribute name="xml:base">
                <data type="anyURI"/>
              </attribute>
            </optional>
            <oneOrMore>
              <ref name="nameClass"/>
            </oneOrMore>
          </element>
          <optional>
            <attribute name="ns">
              <data type="anyURI"/>
            </attribute>
          </optional>
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="element">
          <ref name="nameClass"/>
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="attribute">
          <attribute name="name">
            <data type="QName"/>
          </attribute>
          <optional>
            <attribute name="ns">
              <data type="anyURI"/>
            </attribute>
          </optional>
          <optional>
            <ref name="anyAttDoc"/>
          </optional>
          <optional>
            <ref name="extrapattern"/>
          </optional>
        </element>
        <element name="attribute">
          <ref name="nameClass"/>
          <optional>
            <ref name="extrapattern"/>
          </optional>
        </element>
        <element name="group">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="interleave">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="choice">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="optional">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="zeroOrMore">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="oneOrMore">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="list">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="mixed">
          <oneOrMore>
            <ref name="extrapattern"/>
          </oneOrMore>
        </element>
        <element name="ref">
          <attribute name="name">
            <data type="NCName"/>
          </attribute>
        </element>
        <element name="parentRef">
          <attribute name="name">
            <data type="NCName"/>
          </attribute>
        </element>
        <element name="empty">
          <empty/>
        </element>
        <element name="text">
          <empty/>
        </element>
        <element name="value">
          <optional>
            <attribute name="type">
              <data type="NCName"/>
            </attribute>
          </optional>
          <data type="string"/>
        </element>
        <element name="data">
          <attribute name="type">
            <data type="NCName"/>
          </attribute>
          <zeroOrMore>
            <ref name="param"/>
          </zeroOrMore>
          <optional>
            <ref name="exceptExtrapattern"/>
          </optional>
        </element>
        <element name="notAllowed">
          <empty/>
        </element>
        <element name="externalRef">
          <attribute name="href">
            <data type="anyURI"/>
          </attribute>
          <empty/>
        </element>
        <element name="grammar">
          <optional>
            <attribute name="datatypeLibrary">
              <data type="anyURI"/>
            </attribute>
          </optional>
          <attribute name="ns">
            <data type="anyURI"/>
          </attribute>
          <zeroOrMore>
            <ref name="grammarContent"/>
          </zeroOrMore>
        </element>
      </choice>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="anyDoc">
      <element>
        <nsName ns="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <optional>
          <attribute name="ns">
            <data type="anyURI"/>
          </attribute>
        </optional>
        <zeroOrMore>
          <choice>
            <ref name="anyDoc"/>
            <text/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="anyAttDoc">
      <attribute name="defaultValue" ns="http://relaxng.org/ns/compatibility/annotations/1.0">
        <text/>
      </attribute>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="param">
      <element name="param">
        <attribute name="name">
          <data type="NCName"/>
        </attribute>
        <data type="string"/>
      </element>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="exceptExtrapattern">
      <element name="except">
        <oneOrMore>
          <ref name="extrapattern"/>
        </oneOrMore>
      </element>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="grammarContent">
      <choice>
        <ref name="start"/>
        <ref name="define"/>
        <element name="div">
          <zeroOrMore>
            <ref name="grammarContent"/>
          </zeroOrMore>
        </element>
        <element name="include">
          <attribute name="href">
            <data type="anyURI"/>
          </attribute>
          <zeroOrMore>
            <ref name="includeContent"/>
          </zeroOrMore>
        </element>
      </choice>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="includeContent">
      <choice>
        <ref name="start"/>
        <ref name="define"/>
        <element name="div">
          <zeroOrMore>
            <ref name="includeContent"/>
          </zeroOrMore>
        </element>
      </choice>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="start">
      <element name="start">
        <optional>
          <attribute name="combine">
            <ref name="method"/>
          </attribute>
        </optional>
        <ref name="extrapattern"/>
      </element>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="define">
      <element name="define">
        <attribute name="name">
          <data type="NCName"/>
        </attribute>
        <optional>
          <attribute name="combine">
            <ref name="method"/>
          </attribute>
        </optional>
        <oneOrMore>
          <ref name="extrapattern"/>
        </oneOrMore>
      </element>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method">
      <choice>
        <value>choice</value>
        <value>interleave</value>
      </choice>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="nameClass">
      <choice>
        <element name="name">
          <data type="QName"/>
          <optional>
            <attribute name="ns">
              <data type="anyURI"/>
            </attribute>
          </optional>
        </element>
        <element name="anyName">
          <optional>
            <ref name="exceptNameClass"/>
          </optional>
        </element>
        <element name="nsName">
          <optional>
            <attribute name="ns">
              <data type="anyURI"/>
            </attribute>
          </optional>
          <optional>
            <ref name="exceptNameClass"/>
          </optional>
        </element>
        <element name="choice">
          <oneOrMore>
            <ref name="nameClass"/>
          </oneOrMore>
        </element>
      </choice>
    </define>
    <define xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="exceptNameClass">
      <element name="except">
        <oneOrMore>
          <ref name="nameClass"/>
        </oneOrMore>
      </element>
    </define>
  </div>
  <define name="macro.paraContent">
    <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
      <choice>
        <text/>
        <ref name="model.gLike"/>
        <ref name="model.phrase"/>
        <ref name="model.inter"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.limitedContent">
    <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
      <choice>
        <text/>
        <ref name="model.limitedPhrase"/>
        <ref name="model.inter"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.phraseSeq">
    <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
      <choice>
        <text/>
        <ref name="model.gLike"/>
        <ref name="model.phrase"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.phraseSeq.limited">
    <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
      <choice>
        <text/>
        <ref name="model.limitedPhrase"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.specialPara">
    <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
      <choice>
        <text/>
        <ref name="model.gLike"/>
        <ref name="model.phrase"/>
        <ref name="model.inter"/>
        <ref name="model.divPart"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.xtext">
    <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
      <choice>
        <text/>
        <ref name="model.gLike"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.anyXML">
    <element>
      <anyName>
        <except>
          <nsName ns="http://www.tei-c.org/ns/1.0"/>
          <name ns="http://www.tei-c.org/ns/Examples">egXML</name>
        </except>
      </anyName>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <attribute>
          <anyName/>
        </attribute>
      </zeroOrMore>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="macro.anyXML"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="macro.schemaPattern">
    <choice>
      <choice xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <text/>
        <oneOrMore>
          <choice>
            <ref name="pattern"/>
            <ref name="define"/>
          </choice>
        </oneOrMore>
      </choice>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="anySchematron"/>
      </zeroOrMore>
    </choice>
  </define>
  <define name="anySchematron">
    <element>
      <nsName ns="http://www.ascc.net/xml/schematron"/>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <attribute>
            <anyName/>
          </attribute>
          <ref name="anySchematron"/>
          <text/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="att.ascribed.attributes">
    <ref name="att.ascribed.attribute.who"/>
  </define>
  <define name="att.ascribed.attribute.who">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.canonical.attributes">
    <ref name="att.canonical.attribute.key"/>
    <ref name="att.canonical.attribute.ref"/>
  </define>
  <define name="att.canonical.attribute.key">
    <optional>
      <attribute 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 name="att.canonical.attribute.ref">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attributes">
    <ref name="att.ranging.attribute.atLeast"/>
    <ref name="att.ranging.attribute.atMost"/>
    <ref name="att.ranging.attribute.min"/>
    <ref name="att.ranging.attribute.max"/>
  </define>
  <define name="att.ranging.attribute.atLeast">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attribute.atMost">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attribute.min">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attribute.max">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attributes">
    <ref name="att.ranging.attributes"/>
    <ref name="att.dimensions.attribute.unit"/>
    <ref name="att.dimensions.attribute.quantity"/>
    <ref name="att.dimensions.attribute.extent"/>
    <ref name="att.dimensions.attribute.precision"/>
    <ref name="att.dimensions.attribute.scope"/>
  </define>
  <define name="att.dimensions.attribute.unit">
    <optional>
      <attribute 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(centimetres) ; 2] mm(millimetres) ; 3] in(inches) ; 4] lines; 5] chars(characters) </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 name="att.dimensions.attribute.quantity">
    <optional>
      <attribute name="quantity">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the length in the units specified</a:documentation>
        <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attribute.extent">
    <optional>
      <attribute 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>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attribute.precision">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attribute.scope">
    <optional>
      <attribute 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 name="att.datable.w3c.attributes">
    <ref name="att.datable.w3c.attribute.period"/>
    <ref name="att.datable.w3c.attribute.when"/>
    <ref name="att.datable.w3c.attribute.notBefore"/>
    <ref name="att.datable.w3c.attribute.notAfter"/>
    <ref name="att.datable.w3c.attribute.from"/>
    <ref name="att.datable.w3c.attribute.to"/>
  </define>
  <define name="att.datable.w3c.attribute.period">
    <optional>
      <attribute 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 name="att.datable.w3c.attribute.when">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <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 name="att.datable.w3c.attribute.notBefore">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <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 name="att.datable.w3c.attribute.notAfter">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <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 name="att.datable.w3c.attribute.from">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <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 name="att.datable.w3c.attribute.to">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <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 name="att.datable.attributes">
    <ref name="att.datable.w3c.attributes"/>
  </define>
  <define name="att.declarable.attributes">
    <ref name="att.declarable.attribute.default"/>
  </define>
  <define name="att.declarable.attribute.default">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.declaring.attributes">
    <ref name="att.declaring.attribute.decls"/>
  </define>
  <define name="att.declaring.attribute.decls">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.divLike.attributes">
    <ref name="att.divLike.attribute.org"/>
    <ref name="att.divLike.attribute.sample"/>
    <ref name="att.divLike.attribute.part"/>
  </define>
  <define name="att.divLike.attribute.org">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.divLike.attribute.sample">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.divLike.attribute.part">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.docStatus.attributes">
    <ref name="att.docStatus.attribute.status"/>
  </define>
  <define name="att.docStatus.attribute.status">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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] approved; 2] candidate; 3] cleared; 4] deprecated; 5] draft; 6] embargoed; 7] expired; 8] frozen; 9] galley; 10] proposed; 11] published; 12] recommendation; 13] submitted; 14] unfinished; 15] withdrawn</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.responsibility.attributes">
    <ref name="att.responsibility.attribute.cert"/>
    <ref name="att.responsibility.attribute.resp"/>
  </define>
  <define name="att.responsibility.attribute.cert">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.responsibility.attribute.resp">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.editLike.attributes">
    <ref name="att.dimensions.attributes"/>
    <ref name="att.responsibility.attributes"/>
    <ref name="att.editLike.attribute.evidence"/>
    <ref name="att.editLike.attribute.source"/>
  </define>
  <define name="att.editLike.attribute.evidence">
    <optional>
      <attribute 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>
        <list>
          <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>
          <zeroOrMore>
            <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>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.editLike.attribute.source">
    <optional>
      <attribute name="source">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of one or more pointers indicating sources
      supporting the given  intervention or interpretation.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attributes">
    <ref name="att.global.linking.attributes"/>
    <ref name="att.global.attribute.xmlid"/>
    <ref name="att.global.attribute.n"/>
    <ref name="att.global.attribute.xmllang"/>
    <ref name="att.global.attribute.rend"/>
    <ref name="att.global.attribute.rendition"/>
    <ref name="att.global.attribute.xmlbase"/>
    <ref name="att.global.attribute.xmlspace"/>
  </define>
  <define name="att.global.attribute.xmlid">
    <optional>
      <attribute 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 name="att.global.attribute.n">
    <optional>
      <attribute 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>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.xmllang">
    <optional>
      <attribute 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 name="att.global.attribute.rend">
    <optional>
      <attribute 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>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.rendition">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.xmlbase">
    <optional>
      <attribute 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 name="att.global.attribute.xmlspace">
    <optional>
      <attribute 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 name="att.handFeatures.attributes">
    <ref name="att.handFeatures.attribute.scribe"/>
    <ref name="att.handFeatures.attribute.scribeRef"/>
    <ref name="att.handFeatures.attribute.script"/>
    <ref name="att.handFeatures.attribute.scriptRef"/>
    <ref name="att.handFeatures.attribute.medium"/>
    <ref name="att.handFeatures.attribute.scope"/>
  </define>
  <define name="att.handFeatures.attribute.scribe">
    <optional>
      <attribute name="scribe">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a name or other identifier for the scribe
believed to be responsible for this hand.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.scribeRef">
    <optional>
      <attribute name="scribeRef">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a full description of the scribe concerned, typically supplied by a person element
      elsewhere in the description.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.script">
    <optional>
      <attribute 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>
          <data type="Name"/>
          <zeroOrMore>
            <data type="Name"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.scriptRef">
    <optional>
      <attribute name="scriptRef">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a full description of the script or writing style used by
this hand, typically supplied by a scriptNote element
      elsewhere in the description.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.medium">
    <optional>
      <attribute 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 name="att.handFeatures.attribute.scope">
    <optional>
      <attribute 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 name="att.internetMedia.attributes">
    <ref name="att.internetMedia.attribute.mimeType"/>
  </define>
  <define name="att.internetMedia.attribute.mimeType">
    <optional>
      <attribute name="mimeType">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
    </optional>
  </define>
  <define name="att.measurement.attributes">
    <ref name="att.measurement.attribute.unit"/>
    <ref name="att.measurement.attribute.quantity"/>
    <ref name="att.measurement.attribute.commodity"/>
  </define>
  <define name="att.measurement.attribute.unit">
    <optional>
      <attribute 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) ; 2] kg(kilogram) ; 3] s(second) ; 4] Hz(hertz) ; 5] Pa(pascal) ; 6] Ω(ohm) ; 7] L(litre) ; 8] t(tonne) ; 9] ha(hectare) ; 10] Å(ångström) ; 11] mL(millilitre) ; 12] cm(centimetre) ; 13] dB(decibel) ; 14] kbit(kilobit) ; 15] Kibit(kibibit) ; 16] kB(kilobyte) ; 17] KiB(kibibyte) ; 18] MB(megabyte) ; 19] MiB(mebibyte) </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 name="att.measurement.attribute.quantity">
    <optional>
      <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.measurement.attribute.commodity">
    <optional>
      <attribute name="commodity">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the substance that is being measured</a:documentation>
        <list>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.naming.attributes">
    <ref name="att.canonical.attributes"/>
    <ref name="att.naming.attribute.role"/>
    <ref name="att.naming.attribute.nymRef"/>
  </define>
  <define name="att.naming.attribute.role">
    <optional>
      <attribute 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 name="att.naming.attribute.nymRef">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.placement.attributes">
    <ref name="att.placement.attribute.place"/>
  </define>
  <define name="att.placement.attribute.place">
    <optional>
      <attribute 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>
          <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>
          <zeroOrMore>
            <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>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.typed.attributes">
    <ref name="att.typed.attribute.type"/>
    <ref name="att.typed.attribute.subtype"/>
  </define>
  <define name="att.typed.attribute.type">
    <optional>
      <attribute 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 name="att.typed.attribute.subtype">
    <optional>
      <attribute 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 name="att.pointing.attributes">
    <ref name="att.pointing.attribute.target"/>
    <ref name="att.pointing.attribute.evaluate"/>
  </define>
  <define name="att.pointing.attribute.target">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.evaluate">
    <optional>
      <attribute 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 name="att.pointing.group.attributes">
    <ref name="att.pointing.attributes"/>
    <ref name="att.typed.attributes"/>
    <ref name="att.pointing.group.attribute.domains"/>
    <ref name="att.pointing.group.attribute.targFunc"/>
  </define>
  <define name="att.pointing.group.attribute.domains">
    <optional>
      <attribute 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"/>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.group.attribute.targFunc">
    <optional>
      <attribute 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>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.readFrom.attributes">
    <ref name="att.readFrom.attribute.source"/>
  </define>
  <define name="att.readFrom.attribute.source">
    <optional>
      <attribute name="source">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the source from which declarations and definitions for
the components of the object being defined may be obtained. </a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.segLike.attributes">
    <ref name="att.segLike.attribute.function"/>
    <ref name="att.segLike.attribute.part"/>
  </define>
  <define name="att.segLike.attribute.function">
    <optional>
      <attribute 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 name="att.segLike.attribute.part">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.sourced.attributes">
    <ref name="att.sourced.attribute.ed"/>
  </define>
  <define name="att.sourced.attribute.ed">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.spanning.attributes">
    <ref name="att.spanning.attribute.spanTo"/>
  </define>
  <define name="att.spanning.attribute.spanTo">
    <optional>
      <attribute name="spanTo">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the end of a span initiated by the element
	bearing this attribute.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.tableDecoration.attributes">
    <ref name="att.tableDecoration.attribute.role"/>
    <ref name="att.tableDecoration.attribute.rows"/>
    <ref name="att.tableDecoration.attribute.cols"/>
  </define>
  <define name="att.tableDecoration.attribute.role">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.tableDecoration.attribute.rows">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.tableDecoration.attribute.cols">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.transcriptional.attributes">
    <ref name="att.editLike.attributes"/>
    <ref name="att.transcriptional.attribute.hand"/>
    <ref name="att.transcriptional.attribute.status"/>
    <ref name="att.transcriptional.attribute.seq"/>
  </define>
  <define name="att.transcriptional.attribute.hand">
    <optional>
      <attribute 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 name="att.transcriptional.attribute.status">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.transcriptional.attribute.seq">
    <optional>
      <attribute 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 name="att.translatable.attributes">
    <ref name="att.translatable.attribute.version"/>
  </define>
  <define name="att.translatable.attribute.version">
    <optional>
      <attribute name="version">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version name or number of the source from
	which the translated version was derived</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
    </optional>
  </define>
  <define name="model.nameLike.agent">
    <choice>
      <ref name="name"/>
    </choice>
  </define>
  <define name="model.nameLike.agent_alternation">
    <choice>
      <ref name="name"/>
    </choice>
  </define>
  <define name="model.nameLike.agent_sequence">
    <ref name="name"/>
  </define>
  <define name="model.nameLike.agent_sequenceOptional">
    <optional>
      <ref name="name"/>
    </optional>
  </define>
  <define name="model.nameLike.agent_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="name"/>
    </zeroOrMore>
  </define>
  <define name="model.nameLike.agent_sequenceRepeatable">
    <oneOrMore>
      <ref name="name"/>
    </oneOrMore>
  </define>
  <define name="model.segLike">
    <choice>
      <ref name="seg"/>
    </choice>
  </define>
  <define name="model.segLike_alternation">
    <choice>
      <ref name="seg"/>
    </choice>
  </define>
  <define name="model.segLike_sequence">
    <ref name="seg"/>
  </define>
  <define name="model.segLike_sequenceOptional">
    <optional>
      <ref name="seg"/>
    </optional>
  </define>
  <define name="model.segLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="seg"/>
    </zeroOrMore>
  </define>
  <define name="model.segLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="seg"/>
    </oneOrMore>
  </define>
  <define name="model.hiLike">
    <choice>
      <ref name="hi"/>
    </choice>
  </define>
  <define name="model.hiLike_alternation">
    <choice>
      <ref name="hi"/>
    </choice>
  </define>
  <define name="model.hiLike_sequence">
    <ref name="hi"/>
  </define>
  <define name="model.hiLike_sequenceOptional">
    <optional>
      <ref name="hi"/>
    </optional>
  </define>
  <define name="model.hiLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="hi"/>
    </zeroOrMore>
  </define>
  <define name="model.hiLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="hi"/>
    </oneOrMore>
  </define>
  <define name="model.emphLike">
    <choice>
      <ref name="foreign"/>
      <ref name="emph"/>
      <ref name="distinct"/>
      <ref name="mentioned"/>
      <ref name="soCalled"/>
      <ref name="gloss"/>
      <ref name="term"/>
      <ref name="title"/>
      <ref name="code"/>
      <ref name="ident"/>
    </choice>
  </define>
  <define name="model.emphLike_alternation">
    <choice>
      <ref name="foreign"/>
      <ref name="emph"/>
      <ref name="distinct"/>
      <ref name="mentioned"/>
      <ref name="soCalled"/>
      <ref name="gloss"/>
      <ref name="term"/>
      <ref name="title"/>
      <ref name="code"/>
      <ref name="ident"/>
    </choice>
  </define>
  <define name="model.emphLike_sequence">
    <ref name="foreign"/>
    <ref name="emph"/>
    <ref name="distinct"/>
    <ref name="mentioned"/>
    <ref name="soCalled"/>
    <ref name="gloss"/>
    <ref name="term"/>
    <ref name="title"/>
    <ref name="code"/>
    <ref name="ident"/>
  </define>
  <define name="model.emphLike_sequenceOptional">
    <optional>
      <ref name="foreign"/>
    </optional>
    <optional>
      <ref name="emph"/>
    </optional>
    <optional>
      <ref name="distinct"/>
    </optional>
    <optional>
      <ref name="mentioned"/>
    </optional>
    <optional>
      <ref name="soCalled"/>
    </optional>
    <optional>
      <ref name="gloss"/>
    </optional>
    <optional>
      <ref name="term"/>
    </optional>
    <optional>
      <ref name="title"/>
    </optional>
    <optional>
      <ref name="code"/>
    </optional>
    <optional>
      <ref name="ident"/>
    </optional>
  </define>
  <define name="model.emphLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="foreign"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="emph"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="distinct"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="mentioned"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="soCalled"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="gloss"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="term"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="title"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="code"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="ident"/>
    </zeroOrMore>
  </define>
  <define name="model.emphLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="foreign"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="emph"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="distinct"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="mentioned"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="soCalled"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="gloss"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="term"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="title"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="code"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="ident"/>
    </oneOrMore>
  </define>
  <define name="model.highlighted">
    <choice>
      <ref name="model.hiLike"/>
      <ref name="model.emphLike"/>
    </choice>
  </define>
  <define name="model.highlighted_alternation">
    <choice>
      <ref name="model.hiLike_alternation"/>
      <ref name="model.emphLike_alternation"/>
    </choice>
  </define>
  <define name="model.highlighted_sequence">
    <ref name="model.hiLike_sequence"/>
    <ref name="model.emphLike_sequence"/>
  </define>
  <define name="model.highlighted_sequenceOptional">
    <optional>
      <ref name="model.hiLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.emphLike_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.highlighted_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.hiLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.emphLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.highlighted_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.hiLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.emphLike_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.dateLike">
    <choice>
      <ref name="date"/>
      <ref name="time"/>
    </choice>
  </define>
  <define name="model.dateLike_alternation">
    <choice>
      <ref name="date"/>
      <ref name="time"/>
    </choice>
  </define>
  <define name="model.dateLike_sequence">
    <ref name="date"/>
    <ref name="time"/>
  </define>
  <define name="model.dateLike_sequenceOptional">
    <optional>
      <ref name="date"/>
    </optional>
    <optional>
      <ref name="time"/>
    </optional>
  </define>
  <define name="model.dateLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="date"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="time"/>
    </zeroOrMore>
  </define>
  <define name="model.dateLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="date"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="time"/>
    </oneOrMore>
  </define>
  <define name="model.measureLike">
    <choice>
      <ref name="num"/>
      <ref name="measure"/>
      <ref name="measureGrp"/>
    </choice>
  </define>
  <define name="model.measureLike_alternation">
    <choice>
      <ref name="num"/>
      <ref name="measure"/>
      <ref name="measureGrp"/>
    </choice>
  </define>
  <define name="model.measureLike_sequence">
    <ref name="num"/>
    <ref name="measure"/>
    <ref name="measureGrp"/>
  </define>
  <define name="model.measureLike_sequenceOptional">
    <optional>
      <ref name="num"/>
    </optional>
    <optional>
      <ref name="measure"/>
    </optional>
    <optional>
      <ref name="measureGrp"/>
    </optional>
  </define>
  <define name="model.measureLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="num"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="measure"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="measureGrp"/>
    </zeroOrMore>
  </define>
  <define name="model.measureLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="num"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="measure"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="measureGrp"/>
    </oneOrMore>
  </define>
  <define name="model.egLike">
    <choice>
      <ref name="eg"/>
      <ref name="egXML"/>
    </choice>
  </define>
  <define name="model.egLike_alternation">
    <choice>
      <ref name="eg"/>
      <ref name="egXML"/>
    </choice>
  </define>
  <define name="model.egLike_sequence">
    <ref name="eg"/>
    <ref name="egXML"/>
  </define>
  <define name="model.egLike_sequenceOptional">
    <optional>
      <ref name="eg"/>
    </optional>
    <optional>
      <ref name="egXML"/>
    </optional>
  </define>
  <define name="model.egLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="eg"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="egXML"/>
    </zeroOrMore>
  </define>
  <define name="model.egLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="eg"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="egXML"/>
    </oneOrMore>
  </define>
  <define name="model.graphicLike">
    <choice>
      <ref name="graphic"/>
      <ref name="binaryObject"/>
      <ref name="formula"/>
    </choice>
  </define>
  <define name="model.graphicLike_alternation">
    <choice>
      <ref name="graphic"/>
      <ref name="binaryObject"/>
      <ref name="formula"/>
    </choice>
  </define>
  <define name="model.graphicLike_sequence">
    <ref name="graphic"/>
    <ref name="binaryObject"/>
    <ref name="formula"/>
  </define>
  <define name="model.graphicLike_sequenceOptional">
    <optional>
      <ref name="graphic"/>
    </optional>
    <optional>
      <ref name="binaryObject"/>
    </optional>
    <optional>
      <ref name="formula"/>
    </optional>
  </define>
  <define name="model.graphicLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="graphic"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="binaryObject"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="formula"/>
    </zeroOrMore>
  </define>
  <define name="model.graphicLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="graphic"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="binaryObject"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="formula"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.editorial">
    <choice>
      <ref name="choice"/>
      <ref name="abbr"/>
      <ref name="expan"/>
    </choice>
  </define>
  <define name="model.pPart.editorial_alternation">
    <choice>
      <ref name="choice"/>
      <ref name="abbr"/>
      <ref name="expan"/>
    </choice>
  </define>
  <define name="model.pPart.editorial_sequence">
    <ref name="choice"/>
    <ref name="abbr"/>
    <ref name="expan"/>
  </define>
  <define name="model.pPart.editorial_sequenceOptional">
    <optional>
      <ref name="choice"/>
    </optional>
    <optional>
      <ref name="abbr"/>
    </optional>
    <optional>
      <ref name="expan"/>
    </optional>
  </define>
  <define name="model.pPart.editorial_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="choice"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="abbr"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="expan"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.editorial_sequenceRepeatable">
    <oneOrMore>
      <ref name="choice"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="abbr"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="expan"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.transcriptional">
    <choice>
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="orig"/>
      <ref name="add"/>
      <ref name="del"/>
      <ref name="unclear"/>
    </choice>
  </define>
  <define name="model.pPart.transcriptional_alternation">
    <choice>
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="orig"/>
      <ref name="add"/>
      <ref name="del"/>
      <ref name="unclear"/>
    </choice>
  </define>
  <define name="model.pPart.transcriptional_sequence">
    <ref name="sic"/>
    <ref name="corr"/>
    <ref name="reg"/>
    <ref name="orig"/>
    <ref name="add"/>
    <ref name="del"/>
    <ref name="unclear"/>
  </define>
  <define name="model.pPart.transcriptional_sequenceOptional">
    <optional>
      <ref name="sic"/>
    </optional>
    <optional>
      <ref name="corr"/>
    </optional>
    <optional>
      <ref name="reg"/>
    </optional>
    <optional>
      <ref name="orig"/>
    </optional>
    <optional>
      <ref name="add"/>
    </optional>
    <optional>
      <ref name="del"/>
    </optional>
    <optional>
      <ref name="unclear"/>
    </optional>
  </define>
  <define name="model.pPart.transcriptional_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="sic"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="corr"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="reg"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="orig"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="add"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="del"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="unclear"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.transcriptional_sequenceRepeatable">
    <oneOrMore>
      <ref name="sic"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="corr"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="reg"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="orig"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="add"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="del"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="unclear"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.edit">
    <choice>
      <ref name="model.pPart.editorial"/>
      <ref name="model.pPart.transcriptional"/>
    </choice>
  </define>
  <define name="model.pPart.edit_alternation">
    <choice>
      <ref name="model.pPart.editorial_alternation"/>
      <ref name="model.pPart.transcriptional_alternation"/>
    </choice>
  </define>
  <define name="model.pPart.edit_sequence">
    <ref name="model.pPart.editorial_sequence"/>
    <ref name="model.pPart.transcriptional_sequence"/>
  </define>
  <define name="model.pPart.edit_sequenceOptional">
    <optional>
      <ref name="model.pPart.editorial_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.pPart.transcriptional_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.pPart.edit_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.pPart.editorial_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.pPart.transcriptional_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.edit_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.pPart.editorial_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.pPart.transcriptional_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.ptrLike">
    <choice>
      <ref name="ptr"/>
      <ref name="ref"/>
    </choice>
  </define>
  <define name="model.ptrLike_alternation">
    <choice>
      <ref name="ptr"/>
      <ref name="ref"/>
    </choice>
  </define>
  <define name="model.ptrLike_sequence">
    <ref name="ptr"/>
    <ref name="ref"/>
  </define>
  <define name="model.ptrLike_sequenceOptional">
    <optional>
      <ref name="ptr"/>
    </optional>
    <optional>
      <ref name="ref"/>
    </optional>
  </define>
  <define name="model.ptrLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="ptr"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="ref"/>
    </zeroOrMore>
  </define>
  <define name="model.ptrLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="ptr"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="ref"/>
    </oneOrMore>
  </define>
  <define name="model.global.meta">
    <choice>
      <ref name="index"/>
      <ref name="link"/>
      <ref name="linkGrp"/>
      <ref name="timeline"/>
      <ref name="join"/>
      <ref name="joinGrp"/>
      <ref name="alt"/>
      <ref name="altGrp"/>
    </choice>
  </define>
  <define name="model.global.meta_alternation">
    <choice>
      <ref name="index"/>
      <ref name="link"/>
      <ref name="linkGrp"/>
      <ref name="timeline"/>
      <ref name="join"/>
      <ref name="joinGrp"/>
      <ref name="alt"/>
      <ref name="altGrp"/>
    </choice>
  </define>
  <define name="model.global.meta_sequence">
    <ref name="index"/>
    <ref name="link"/>
    <ref name="linkGrp"/>
    <ref name="timeline"/>
    <ref name="join"/>
    <ref name="joinGrp"/>
    <ref name="alt"/>
    <ref name="altGrp"/>
  </define>
  <define name="model.global.meta_sequenceOptional">
    <optional>
      <ref name="index"/>
    </optional>
    <optional>
      <ref name="link"/>
    </optional>
    <optional>
      <ref name="linkGrp"/>
    </optional>
    <optional>
      <ref name="timeline"/>
    </optional>
    <optional>
      <ref name="join"/>
    </optional>
    <optional>
      <ref name="joinGrp"/>
    </optional>
    <optional>
      <ref name="alt"/>
    </optional>
    <optional>
      <ref name="altGrp"/>
    </optional>
  </define>
  <define name="model.global.meta_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="index"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="link"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="linkGrp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="timeline"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="join"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="joinGrp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="alt"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="altGrp"/>
    </zeroOrMore>
  </define>
  <define name="model.global.meta_sequenceRepeatable">
    <oneOrMore>
      <ref name="index"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="link"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="linkGrp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="timeline"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="join"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="joinGrp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="alt"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="altGrp"/>
    </oneOrMore>
  </define>
  <define name="model.milestoneLike">
    <choice>
      <ref name="milestone"/>
      <ref name="pb"/>
      <ref name="lb"/>
      <ref name="cb"/>
      <ref name="anchor"/>
    </choice>
  </define>
  <define name="model.milestoneLike_alternation">
    <choice>
      <ref name="milestone"/>
      <ref name="pb"/>
      <ref name="lb"/>
      <ref name="cb"/>
      <ref name="anchor"/>
    </choice>
  </define>
  <define name="model.milestoneLike_sequence">
    <ref name="milestone"/>
    <ref name="pb"/>
    <ref name="lb"/>
    <ref name="cb"/>
    <ref name="anchor"/>
  </define>
  <define name="model.milestoneLike_sequenceOptional">
    <optional>
      <ref name="milestone"/>
    </optional>
    <optional>
      <ref name="pb"/>
    </optional>
    <optional>
      <ref name="lb"/>
    </optional>
    <optional>
      <ref name="cb"/>
    </optional>
    <optional>
      <ref name="anchor"/>
    </optional>
  </define>
  <define name="model.milestoneLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="milestone"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pb"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="lb"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="cb"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="anchor"/>
    </zeroOrMore>
  </define>
  <define name="model.milestoneLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="milestone"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pb"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="lb"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="cb"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="anchor"/>
    </oneOrMore>
  </define>
  <define name="model.gLike">
    <choice>
      <ref name="g"/>
    </choice>
  </define>
  <define name="model.oddDecl">
    <choice>
      <ref name="moduleSpec"/>
      <ref name="specGrp"/>
      <ref name="elementSpec"/>
      <ref name="classSpec"/>
      <ref name="macroSpec"/>
      <ref name="listRef"/>
    </choice>
  </define>
  <define name="model.oddDecl_alternation">
    <choice>
      <ref name="moduleSpec"/>
      <ref name="specGrp"/>
      <ref name="elementSpec"/>
      <ref name="classSpec"/>
      <ref name="macroSpec"/>
      <ref name="listRef"/>
    </choice>
  </define>
  <define name="model.oddDecl_sequence">
    <ref name="moduleSpec"/>
    <ref name="specGrp"/>
    <ref name="elementSpec"/>
    <ref name="classSpec"/>
    <ref name="macroSpec"/>
    <ref name="listRef"/>
  </define>
  <define name="model.oddDecl_sequenceOptional">
    <optional>
      <ref name="moduleSpec"/>
    </optional>
    <optional>
      <ref name="specGrp"/>
    </optional>
    <optional>
      <ref name="elementSpec"/>
    </optional>
    <optional>
      <ref name="classSpec"/>
    </optional>
    <optional>
      <ref name="macroSpec"/>
    </optional>
    <optional>
      <ref name="listRef"/>
    </optional>
  </define>
  <define name="model.oddDecl_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="moduleSpec"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="specGrp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="elementSpec"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="classSpec"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="macroSpec"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listRef"/>
    </zeroOrMore>
  </define>
  <define name="model.oddDecl_sequenceRepeatable">
    <oneOrMore>
      <ref name="moduleSpec"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="specGrp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="elementSpec"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="classSpec"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="macroSpec"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listRef"/>
    </oneOrMore>
  </define>
  <define name="model.oddRef">
    <choice>
      <ref name="classRef"/>
      <ref name="elementRef"/>
      <ref name="macroRef"/>
      <ref name="moduleRef"/>
      <ref name="specGrpRef"/>
    </choice>
  </define>
  <define name="model.oddRef_alternation">
    <choice>
      <ref name="classRef"/>
      <ref name="elementRef"/>
      <ref name="macroRef"/>
      <ref name="moduleRef"/>
      <ref name="specGrpRef"/>
    </choice>
  </define>
  <define name="model.oddRef_sequence">
    <ref name="classRef"/>
    <ref name="elementRef"/>
    <ref name="macroRef"/>
    <ref name="moduleRef"/>
    <ref name="specGrpRef"/>
  </define>
  <define name="model.oddRef_sequenceOptional">
    <optional>
      <ref name="classRef"/>
    </optional>
    <optional>
      <ref name="elementRef"/>
    </optional>
    <optional>
      <ref name="macroRef"/>
    </optional>
    <optional>
      <ref name="moduleRef"/>
    </optional>
    <optional>
      <ref name="specGrpRef"/>
    </optional>
  </define>
  <define name="model.oddRef_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="classRef"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="elementRef"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="macroRef"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="moduleRef"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="specGrpRef"/>
    </zeroOrMore>
  </define>
  <define name="model.oddRef_sequenceRepeatable">
    <oneOrMore>
      <ref name="classRef"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="elementRef"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="macroRef"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="moduleRef"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="specGrpRef"/>
    </oneOrMore>
  </define>
  <define name="model.phrase.xml">
    <choice>
      <ref name="att"/>
      <ref name="gi"/>
      <ref name="tag"/>
      <ref name="val"/>
    </choice>
  </define>
  <define name="model.phrase.xml_alternation">
    <choice>
      <ref name="att"/>
      <ref name="gi"/>
      <ref name="tag"/>
      <ref name="val"/>
    </choice>
  </define>
  <define name="model.phrase.xml_sequence">
    <ref name="att"/>
    <ref name="gi"/>
    <ref name="tag"/>
    <ref name="val"/>
  </define>
  <define name="model.phrase.xml_sequenceOptional">
    <optional>
      <ref name="att"/>
    </optional>
    <optional>
      <ref name="gi"/>
    </optional>
    <optional>
      <ref name="tag"/>
    </optional>
    <optional>
      <ref name="val"/>
    </optional>
  </define>
  <define name="model.phrase.xml_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="att"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="gi"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="tag"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="val"/>
    </zeroOrMore>
  </define>
  <define name="model.phrase.xml_sequenceRepeatable">
    <oneOrMore>
      <ref name="att"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="gi"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="tag"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="val"/>
    </oneOrMore>
  </define>
  <define name="model.specDescLike">
    <choice>
      <ref name="specList"/>
      <ref name="specDesc"/>
    </choice>
  </define>
  <define name="model.specDescLike_alternation">
    <choice>
      <ref name="specList"/>
      <ref name="specDesc"/>
    </choice>
  </define>
  <define name="model.specDescLike_sequence">
    <ref name="specList"/>
    <ref name="specDesc"/>
  </define>
  <define name="model.specDescLike_sequenceOptional">
    <optional>
      <ref name="specList"/>
    </optional>
    <optional>
      <ref name="specDesc"/>
    </optional>
  </define>
  <define name="model.specDescLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="specList"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="specDesc"/>
    </zeroOrMore>
  </define>
  <define name="model.specDescLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="specList"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="specDesc"/>
    </oneOrMore>
  </define>
  <define name="model.biblLike">
    <choice>
      <ref name="bibl"/>
      <ref name="biblStruct"/>
      <ref name="biblFull"/>
    </choice>
  </define>
  <define name="model.biblLike_alternation">
    <choice>
      <ref name="bibl"/>
      <ref name="biblStruct"/>
      <ref name="biblFull"/>
    </choice>
  </define>
  <define name="model.biblLike_sequence">
    <ref name="bibl"/>
    <ref name="biblStruct"/>
    <ref name="biblFull"/>
  </define>
  <define name="model.biblLike_sequenceOptional">
    <optional>
      <ref name="bibl"/>
    </optional>
    <optional>
      <ref name="biblStruct"/>
    </optional>
    <optional>
      <ref name="biblFull"/>
    </optional>
  </define>
  <define name="model.biblLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="bibl"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="biblStruct"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="biblFull"/>
    </zeroOrMore>
  </define>
  <define name="model.biblLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="bibl"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="biblStruct"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="biblFull"/>
    </oneOrMore>
  </define>
  <define name="model.headLike">
    <choice>
      <ref name="head"/>
    </choice>
  </define>
  <define name="model.headLike_alternation">
    <choice>
      <ref name="head"/>
    </choice>
  </define>
  <define name="model.headLike_sequence">
    <ref name="head"/>
  </define>
  <define name="model.headLike_sequenceOptional">
    <optional>
      <ref name="head"/>
    </optional>
  </define>
  <define name="model.headLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="head"/>
    </zeroOrMore>
  </define>
  <define name="model.headLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="head"/>
    </oneOrMore>
  </define>
  <define name="model.labelLike">
    <choice>
      <ref name="desc"/>
      <ref name="label"/>
    </choice>
  </define>
  <define name="model.labelLike_alternation">
    <choice>
      <ref name="desc"/>
      <ref name="label"/>
    </choice>
  </define>
  <define name="model.labelLike_sequence">
    <ref name="desc"/>
    <ref name="label"/>
  </define>
  <define name="model.labelLike_sequenceOptional">
    <optional>
      <ref name="desc"/>
    </optional>
    <optional>
      <ref name="label"/>
    </optional>
  </define>
  <define name="model.labelLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="desc"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="label"/>
    </zeroOrMore>
  </define>
  <define name="model.labelLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="desc"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="label"/>
    </oneOrMore>
  </define>
  <define name="model.listLike">
    <choice>
      <ref name="list"/>
      <ref name="listBibl"/>
    </choice>
  </define>
  <define name="model.listLike_alternation">
    <choice>
      <ref name="list"/>
      <ref name="listBibl"/>
    </choice>
  </define>
  <define name="model.listLike_sequence">
    <ref name="list"/>
    <ref name="listBibl"/>
  </define>
  <define name="model.listLike_sequenceOptional">
    <optional>
      <ref name="list"/>
    </optional>
    <optional>
      <ref name="listBibl"/>
    </optional>
  </define>
  <define name="model.listLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="list"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listBibl"/>
    </zeroOrMore>
  </define>
  <define name="model.listLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="list"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listBibl"/>
    </oneOrMore>
  </define>
  <define name="model.noteLike">
    <choice>
      <ref name="note"/>
    </choice>
  </define>
  <define name="model.noteLike_alternation">
    <choice>
      <ref name="note"/>
    </choice>
  </define>
  <define name="model.noteLike_sequence">
    <ref name="note"/>
  </define>
  <define name="model.noteLike_sequenceOptional">
    <optional>
      <ref name="note"/>
    </optional>
  </define>
  <define name="model.noteLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="note"/>
    </zeroOrMore>
  </define>
  <define name="model.noteLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="note"/>
    </oneOrMore>
  </define>
  <define name="model.lLike">
    <choice>
      <ref name="l"/>
    </choice>
  </define>
  <define name="model.lLike_alternation">
    <choice>
      <ref name="l"/>
    </choice>
  </define>
  <define name="model.lLike_sequence">
    <ref name="l"/>
  </define>
  <define name="model.lLike_sequenceOptional">
    <optional>
      <ref name="l"/>
    </optional>
  </define>
  <define name="model.lLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="l"/>
    </zeroOrMore>
  </define>
  <define name="model.lLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="l"/>
    </oneOrMore>
  </define>
  <define name="model.pLike">
    <choice>
      <ref name="p"/>
      <ref name="ab"/>
    </choice>
  </define>
  <define name="model.pLike_alternation">
    <choice>
      <ref name="p"/>
      <ref name="ab"/>
    </choice>
  </define>
  <define name="model.pLike_sequence">
    <ref name="p"/>
    <ref name="ab"/>
  </define>
  <define name="model.pLike_sequenceOptional">
    <optional>
      <ref name="p"/>
    </optional>
    <optional>
      <ref name="ab"/>
    </optional>
  </define>
  <define name="model.pLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="p"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="ab"/>
    </zeroOrMore>
  </define>
  <define name="model.pLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="p"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="ab"/>
    </oneOrMore>
  </define>
  <define name="model.stageLike">
    <choice>
      <ref name="stage"/>
    </choice>
  </define>
  <define name="model.stageLike_alternation">
    <choice>
      <ref name="stage"/>
    </choice>
  </define>
  <define name="model.stageLike_sequence">
    <ref name="stage"/>
  </define>
  <define name="model.stageLike_sequenceOptional">
    <optional>
      <ref name="stage"/>
    </optional>
  </define>
  <define name="model.stageLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="stage"/>
    </zeroOrMore>
  </define>
  <define name="model.stageLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="stage"/>
    </oneOrMore>
  </define>
  <define name="model.entryPart">
    <choice>
      <ref name="superEntry"/>
      <ref name="hom"/>
      <ref name="sense"/>
      <ref name="form"/>
      <ref name="orth"/>
      <ref name="pron"/>
      <ref name="hyph"/>
      <ref name="syll"/>
      <ref name="gen"/>
      <ref name="number"/>
      <ref name="case"/>
      <ref name="per"/>
      <ref name="tns"/>
      <ref name="mood"/>
      <ref name="iType"/>
      <ref name="gramGrp"/>
      <ref name="pos"/>
      <ref name="subc"/>
      <ref name="colloc"/>
      <ref name="def"/>
      <ref name="etym"/>
      <ref name="usg"/>
      <ref name="lbl"/>
      <ref name="xr"/>
      <ref name="re"/>
    </choice>
  </define>
  <define name="model.entryPart.top">
    <choice>
      <ref name="cit"/>
      <ref name="dictScrap"/>
      <ref name="form"/>
      <ref name="gramGrp"/>
      <ref name="def"/>
      <ref name="etym"/>
      <ref name="usg"/>
      <ref name="xr"/>
      <ref name="re"/>
    </choice>
  </define>
  <define name="model.global.edit">
    <choice>
      <ref name="gap"/>
    </choice>
  </define>
  <define name="model.global.edit_alternation">
    <choice>
      <ref name="gap"/>
    </choice>
  </define>
  <define name="model.global.edit_sequence">
    <ref name="gap"/>
  </define>
  <define name="model.global.edit_sequenceOptional">
    <optional>
      <ref name="gap"/>
    </optional>
  </define>
  <define name="model.global.edit_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="gap"/>
    </zeroOrMore>
  </define>
  <define name="model.global.edit_sequenceRepeatable">
    <oneOrMore>
      <ref name="gap"/>
    </oneOrMore>
  </define>
  <define name="model.divPart">
    <choice>
      <ref name="model.lLike"/>
      <ref name="model.pLike"/>
      <ref name="lg"/>
      <ref name="sp"/>
      <ref name="floatingText"/>
      <ref name="schemaSpec"/>
    </choice>
  </define>
  <define name="model.divPart_alternation">
    <choice>
      <ref name="model.lLike_alternation"/>
      <ref name="model.pLike_alternation"/>
      <ref name="lg"/>
      <ref name="sp"/>
      <ref name="floatingText"/>
      <ref name="schemaSpec"/>
    </choice>
  </define>
  <define name="model.divPart_sequence">
    <ref name="model.lLike_sequence"/>
    <ref name="model.pLike_sequence"/>
    <ref name="lg"/>
    <ref name="sp"/>
    <ref name="floatingText"/>
    <ref name="schemaSpec"/>
  </define>
  <define name="model.divPart_sequenceOptional">
    <optional>
      <ref name="model.lLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.pLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="lg"/>
    </optional>
    <optional>
      <ref name="sp"/>
    </optional>
    <optional>
      <ref name="floatingText"/>
    </optional>
    <optional>
      <ref name="schemaSpec"/>
    </optional>
  </define>
  <define name="model.divPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.lLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.pLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="lg"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="sp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="floatingText"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="schemaSpec"/>
    </zeroOrMore>
  </define>
  <define name="model.divPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.lLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.pLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="lg"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="sp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="floatingText"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="schemaSpec"/>
    </oneOrMore>
  </define>
  <define name="model.publicationStmtPart">
    <choice>
      <ref name="address"/>
      <ref name="date"/>
      <ref name="publisher"/>
      <ref name="pubPlace"/>
      <ref name="distributor"/>
      <ref name="authority"/>
      <ref name="idno"/>
      <ref name="availability"/>
    </choice>
  </define>
  <define name="model.glossLike">
    <choice>
      <ref name="desc"/>
      <ref name="gloss"/>
      <ref name="equiv"/>
      <ref name="altIdent"/>
    </choice>
  </define>
  <define name="model.quoteLike">
    <choice>
      <ref name="quote"/>
      <ref name="cit"/>
    </choice>
  </define>
  <define name="model.quoteLike_alternation">
    <choice>
      <ref name="quote"/>
      <ref name="cit"/>
    </choice>
  </define>
  <define name="model.quoteLike_sequence">
    <ref name="quote"/>
    <ref name="cit"/>
  </define>
  <define name="model.quoteLike_sequenceOptional">
    <optional>
      <ref name="quote"/>
    </optional>
    <optional>
      <ref name="cit"/>
    </optional>
  </define>
  <define name="model.quoteLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="quote"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="cit"/>
    </zeroOrMore>
  </define>
  <define name="model.quoteLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="quote"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="cit"/>
    </oneOrMore>
  </define>
  <define name="model.qLike">
    <choice>
      <ref name="model.quoteLike"/>
      <ref name="said"/>
      <ref name="q"/>
    </choice>
  </define>
  <define name="model.qLike_alternation">
    <choice>
      <ref name="model.quoteLike_alternation"/>
      <ref name="said"/>
      <ref name="q"/>
    </choice>
  </define>
  <define name="model.qLike_sequence">
    <ref name="model.quoteLike_sequence"/>
    <ref name="said"/>
    <ref name="q"/>
  </define>
  <define name="model.qLike_sequenceOptional">
    <optional>
      <ref name="model.quoteLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="said"/>
    </optional>
    <optional>
      <ref name="q"/>
    </optional>
  </define>
  <define name="model.qLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.quoteLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="said"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="q"/>
    </zeroOrMore>
  </define>
  <define name="model.qLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.quoteLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="said"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="q"/>
    </oneOrMore>
  </define>
  <define name="model.respLike">
    <choice>
      <ref name="author"/>
      <ref name="editor"/>
      <ref name="respStmt"/>
      <ref name="meeting"/>
      <ref name="sponsor"/>
      <ref name="funder"/>
      <ref name="principal"/>
    </choice>
  </define>
  <define name="model.respLike_alternation">
    <choice>
      <ref name="author"/>
      <ref name="editor"/>
      <ref name="respStmt"/>
      <ref name="meeting"/>
      <ref name="sponsor"/>
      <ref name="funder"/>
      <ref name="principal"/>
    </choice>
  </define>
  <define name="model.respLike_sequence">
    <ref name="author"/>
    <ref name="editor"/>
    <ref name="respStmt"/>
    <ref name="meeting"/>
    <ref name="sponsor"/>
    <ref name="funder"/>
    <ref name="principal"/>
  </define>
  <define name="model.respLike_sequenceOptional">
    <optional>
      <ref name="author"/>
    </optional>
    <optional>
      <ref name="editor"/>
    </optional>
    <optional>
      <ref name="respStmt"/>
    </optional>
    <optional>
      <ref name="meeting"/>
    </optional>
    <optional>
      <ref name="sponsor"/>
    </optional>
    <optional>
      <ref name="funder"/>
    </optional>
    <optional>
      <ref name="principal"/>
    </optional>
  </define>
  <define name="model.respLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="author"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="editor"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="respStmt"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="meeting"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="sponsor"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="funder"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="principal"/>
    </zeroOrMore>
  </define>
  <define name="model.respLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="author"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="editor"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="respStmt"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="meeting"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="sponsor"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="funder"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="principal"/>
    </oneOrMore>
  </define>
  <define name="model.divWrapper">
    <choice>
      <ref name="meeting"/>
      <ref name="byline"/>
      <ref name="dateline"/>
      <ref name="argument"/>
      <ref name="epigraph"/>
      <ref name="salute"/>
      <ref name="docAuthor"/>
      <ref name="docDate"/>
    </choice>
  </define>
  <define name="model.divWrapper_alternation">
    <choice>
      <ref name="meeting"/>
      <ref name="byline"/>
      <ref name="dateline"/>
      <ref name="argument"/>
      <ref name="epigraph"/>
      <ref name="salute"/>
      <ref name="docAuthor"/>
      <ref name="docDate"/>
    </choice>
  </define>
  <define name="model.divWrapper_sequence">
    <ref name="meeting"/>
    <ref name="byline"/>
    <ref name="dateline"/>
    <ref name="argument"/>
    <ref name="epigraph"/>
    <ref name="salute"/>
    <ref name="docAuthor"/>
    <ref name="docDate"/>
  </define>
  <define name="model.divWrapper_sequenceOptional">
    <optional>
      <ref name="meeting"/>
    </optional>
    <optional>
      <ref name="byline"/>
    </optional>
    <optional>
      <ref name="dateline"/>
    </optional>
    <optional>
      <ref name="argument"/>
    </optional>
    <optional>
      <ref name="epigraph"/>
    </optional>
    <optional>
      <ref name="salute"/>
    </optional>
    <optional>
      <ref name="docAuthor"/>
    </optional>
    <optional>
      <ref name="docDate"/>
    </optional>
  </define>
  <define name="model.divWrapper_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="meeting"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="byline"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="dateline"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="argument"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="epigraph"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="salute"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="docAuthor"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="docDate"/>
    </zeroOrMore>
  </define>
  <define name="model.divWrapper_sequenceRepeatable">
    <oneOrMore>
      <ref name="meeting"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="byline"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="dateline"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="argument"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="epigraph"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="salute"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="docAuthor"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="docDate"/>
    </oneOrMore>
  </define>
  <define name="model.divTopPart">
    <choice>
      <ref name="model.headLike"/>
      <ref name="opener"/>
    </choice>
  </define>
  <define name="model.divTopPart_alternation">
    <choice>
      <ref name="model.headLike_alternation"/>
      <ref name="opener"/>
    </choice>
  </define>
  <define name="model.divTopPart_sequence">
    <ref name="model.headLike_sequence"/>
    <ref name="opener"/>
  </define>
  <define name="model.divTopPart_sequenceOptional">
    <optional>
      <ref name="model.headLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="opener"/>
    </optional>
  </define>
  <define name="model.divTopPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.headLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="opener"/>
    </zeroOrMore>
  </define>
  <define name="model.divTopPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.headLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="opener"/>
    </oneOrMore>
  </define>
  <define name="model.divTop">
    <choice>
      <ref name="model.divWrapper"/>
      <ref name="model.divTopPart"/>
    </choice>
  </define>
  <define name="model.pLike.front">
    <choice>
      <ref name="head"/>
      <ref name="byline"/>
      <ref name="argument"/>
      <ref name="epigraph"/>
      <ref name="docTitle"/>
      <ref name="titlePart"/>
      <ref name="docAuthor"/>
      <ref name="docEdition"/>
      <ref name="docImprint"/>
      <ref name="docDate"/>
    </choice>
  </define>
  <define name="model.divBottomPart">
    <choice>
      <ref name="trailer"/>
      <ref name="closer"/>
      <ref name="signed"/>
      <ref name="postscript"/>
    </choice>
  </define>
  <define name="model.divBottomPart_alternation">
    <choice>
      <ref name="trailer"/>
      <ref name="closer"/>
      <ref name="signed"/>
      <ref name="postscript"/>
    </choice>
  </define>
  <define name="model.divBottomPart_sequence">
    <ref name="trailer"/>
    <ref name="closer"/>
    <ref name="signed"/>
    <ref name="postscript"/>
  </define>
  <define name="model.divBottomPart_sequenceOptional">
    <optional>
      <ref name="trailer"/>
    </optional>
    <optional>
      <ref name="closer"/>
    </optional>
    <optional>
      <ref name="signed"/>
    </optional>
    <optional>
      <ref name="postscript"/>
    </optional>
  </define>
  <define name="model.divBottomPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="trailer"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="closer"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="signed"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="postscript"/>
    </zeroOrMore>
  </define>
  <define name="model.divBottomPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="trailer"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="closer"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="signed"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="postscript"/>
    </oneOrMore>
  </define>
  <define name="model.divBottom">
    <choice>
      <ref name="model.divWrapper"/>
      <ref name="model.divBottomPart"/>
    </choice>
  </define>
  <define name="model.titlepagePart">
    <choice>
      <ref name="graphic"/>
      <ref name="binaryObject"/>
      <ref name="byline"/>
      <ref name="argument"/>
      <ref name="epigraph"/>
      <ref name="docTitle"/>
      <ref name="titlePart"/>
      <ref name="docAuthor"/>
      <ref name="imprimatur"/>
      <ref name="docEdition"/>
      <ref name="docImprint"/>
      <ref name="docDate"/>
    </choice>
  </define>
  <define name="model.msQuoteLike">
    <choice>
      <ref name="title"/>
    </choice>
  </define>
  <define name="model.msQuoteLike_alternation">
    <choice>
      <ref name="title"/>
    </choice>
  </define>
  <define name="model.msQuoteLike_sequence">
    <ref name="title"/>
  </define>
  <define name="model.msQuoteLike_sequenceOptional">
    <optional>
      <ref name="title"/>
    </optional>
  </define>
  <define name="model.msQuoteLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="title"/>
    </zeroOrMore>
  </define>
  <define name="model.msQuoteLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="title"/>
    </oneOrMore>
  </define>
  <define name="model.choicePart">
    <choice>
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="orig"/>
      <ref name="unclear"/>
      <ref name="abbr"/>
      <ref name="expan"/>
      <ref name="seg"/>
    </choice>
  </define>
  <define name="model.imprintPart">
    <choice>
      <ref name="publisher"/>
      <ref name="biblScope"/>
      <ref name="pubPlace"/>
      <ref name="distributor"/>
    </choice>
  </define>
  <define name="model.imprintPart_alternation">
    <choice>
      <ref name="publisher"/>
      <ref name="biblScope"/>
      <ref name="pubPlace"/>
      <ref name="distributor"/>
    </choice>
  </define>
  <define name="model.imprintPart_sequence">
    <ref name="publisher"/>
    <ref name="biblScope"/>
    <ref name="pubPlace"/>
    <ref name="distributor"/>
  </define>
  <define name="model.imprintPart_sequenceOptional">
    <optional>
      <ref name="publisher"/>
    </optional>
    <optional>
      <ref name="biblScope"/>
    </optional>
    <optional>
      <ref name="pubPlace"/>
    </optional>
    <optional>
      <ref name="distributor"/>
    </optional>
  </define>
  <define name="model.imprintPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="publisher"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="biblScope"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pubPlace"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="distributor"/>
    </zeroOrMore>
  </define>
  <define name="model.imprintPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="publisher"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="biblScope"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pubPlace"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="distributor"/>
    </oneOrMore>
  </define>
  <define name="model.catDescPart">
    <notAllowed/>
  </define>
  <define name="model.addressLike">
    <choice>
      <ref name="email"/>
      <ref name="address"/>
    </choice>
  </define>
  <define name="model.addressLike_alternation">
    <choice>
      <ref name="email"/>
      <ref name="address"/>
    </choice>
  </define>
  <define name="model.addressLike_sequence">
    <ref name="email"/>
    <ref name="address"/>
  </define>
  <define name="model.addressLike_sequenceOptional">
    <optional>
      <ref name="email"/>
    </optional>
    <optional>
      <ref name="address"/>
    </optional>
  </define>
  <define name="model.addressLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="email"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="address"/>
    </zeroOrMore>
  </define>
  <define name="model.addressLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="email"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="address"/>
    </oneOrMore>
  </define>
  <define name="model.nameLike">
    <choice>
      <ref name="model.nameLike.agent"/>
      <ref name="rs"/>
      <ref name="idno"/>
      <ref name="lang"/>
    </choice>
  </define>
  <define name="model.nameLike_alternation">
    <choice>
      <ref name="model.nameLike.agent_alternation"/>
      <ref name="rs"/>
      <ref name="idno"/>
      <ref name="lang"/>
    </choice>
  </define>
  <define name="model.nameLike_sequence">
    <ref name="model.nameLike.agent_sequence"/>
    <ref name="rs"/>
    <ref name="idno"/>
    <ref name="lang"/>
  </define>
  <define name="model.nameLike_sequenceOptional">
    <optional>
      <ref name="model.nameLike.agent_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="rs"/>
    </optional>
    <optional>
      <ref name="idno"/>
    </optional>
    <optional>
      <ref name="lang"/>
    </optional>
  </define>
  <define name="model.nameLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.nameLike.agent_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="rs"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="idno"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="lang"/>
    </zeroOrMore>
  </define>
  <define name="model.nameLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.nameLike.agent_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="rs"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="idno"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="lang"/>
    </oneOrMore>
  </define>
  <define name="model.global">
    <choice>
      <ref name="model.global.meta"/>
      <ref name="model.milestoneLike"/>
      <ref name="model.noteLike"/>
      <ref name="model.global.edit"/>
      <ref name="figure"/>
    </choice>
  </define>
  <define name="model.biblPart">
    <choice>
      <ref name="model.respLike"/>
      <ref name="model.imprintPart"/>
      <ref name="series"/>
      <ref name="relatedItem"/>
      <ref name="edition"/>
      <ref name="extent"/>
    </choice>
  </define>
  <define name="model.frontPart">
    <choice>
      <ref name="divGen"/>
      <ref name="titlePage"/>
    </choice>
  </define>
  <define name="model.addrPart">
    <choice>
      <ref name="model.nameLike"/>
      <ref name="addrLine"/>
      <ref name="street"/>
      <ref name="postCode"/>
      <ref name="postBox"/>
    </choice>
  </define>
  <define name="model.pPart.data">
    <choice>
      <ref name="model.dateLike"/>
      <ref name="model.measureLike"/>
      <ref name="model.addressLike"/>
      <ref name="model.nameLike"/>
    </choice>
  </define>
  <define name="model.pPart.data_alternation">
    <choice>
      <ref name="model.dateLike_alternation"/>
      <ref name="model.measureLike_alternation"/>
      <ref name="model.addressLike_alternation"/>
      <ref name="model.nameLike_alternation"/>
    </choice>
  </define>
  <define name="model.pPart.data_sequence">
    <ref name="model.dateLike_sequence"/>
    <ref name="model.measureLike_sequence"/>
    <ref name="model.addressLike_sequence"/>
    <ref name="model.nameLike_sequence"/>
  </define>
  <define name="model.pPart.data_sequenceOptional">
    <optional>
      <ref name="model.dateLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.measureLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.addressLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.nameLike_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.pPart.data_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.dateLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.measureLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.addressLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.nameLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.data_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.dateLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.measureLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.addressLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.nameLike_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.inter">
    <choice>
      <ref name="model.egLike"/>
      <ref name="model.oddDecl"/>
      <ref name="model.oddRef"/>
      <ref name="model.biblLike"/>
      <ref name="model.labelLike"/>
      <ref name="model.listLike"/>
      <ref name="model.stageLike"/>
      <ref name="model.qLike"/>
      <ref name="table"/>
    </choice>
  </define>
  <define name="model.inter_alternation">
    <choice>
      <ref name="model.egLike_alternation"/>
      <ref name="model.oddDecl_alternation"/>
      <ref name="model.oddRef_alternation"/>
      <ref name="model.biblLike_alternation"/>
      <ref name="model.labelLike_alternation"/>
      <ref name="model.listLike_alternation"/>
      <ref name="model.stageLike_alternation"/>
      <ref name="model.qLike_alternation"/>
      <ref name="table"/>
    </choice>
  </define>
  <define name="model.inter_sequence">
    <ref name="model.egLike_sequence"/>
    <ref name="model.oddDecl_sequence"/>
    <ref name="model.oddRef_sequence"/>
    <ref name="model.biblLike_sequence"/>
    <ref name="model.labelLike_sequence"/>
    <ref name="model.listLike_sequence"/>
    <ref name="model.stageLike_sequence"/>
    <ref name="model.qLike_sequence"/>
    <ref name="table"/>
  </define>
  <define name="model.inter_sequenceOptional">
    <optional>
      <ref name="model.egLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.oddDecl_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.oddRef_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.biblLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.labelLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.listLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.stageLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.qLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="table"/>
    </optional>
  </define>
  <define name="model.inter_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.egLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.oddDecl_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.oddRef_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.biblLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.labelLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.listLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.stageLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.qLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="table"/>
    </zeroOrMore>
  </define>
  <define name="model.inter_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.egLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.oddDecl_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.oddRef_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.biblLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.labelLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.listLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.stageLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.qLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="table"/>
    </oneOrMore>
  </define>
  <define name="model.common">
    <choice>
      <ref name="model.divPart"/>
      <ref name="model.inter"/>
      <ref name="model.entryLike"/>
    </choice>
  </define>
  <define name="model.phrase">
    <choice>
      <ref name="model.segLike"/>
      <ref name="model.highlighted"/>
      <ref name="model.graphicLike"/>
      <ref name="model.pPart.edit"/>
      <ref name="model.ptrLike"/>
      <ref name="model.phrase.xml"/>
      <ref name="model.specDescLike"/>
      <ref name="model.pPart.data"/>
      <ref name="model.ptrLike.form"/>
    </choice>
  </define>
  <define name="model.limitedPhrase">
    <choice>
      <ref name="model.emphLike"/>
      <ref name="model.pPart.editorial"/>
      <ref name="model.ptrLike"/>
      <ref name="model.phrase.xml"/>
      <ref name="model.pPart.data"/>
    </choice>
  </define>
  <define name="model.divLike">
    <choice>
      <ref name="div"/>
    </choice>
  </define>
  <define name="model.divGenLike">
    <choice>
      <ref name="divGen"/>
    </choice>
  </define>
  <define name="model.div1Like">
    <choice>
      <ref name="div1"/>
    </choice>
  </define>
  <define name="model.div2Like">
    <choice>
      <ref name="div2"/>
    </choice>
  </define>
  <define name="model.div3Like">
    <choice>
      <ref name="div3"/>
    </choice>
  </define>
  <define name="model.div4Like">
    <choice>
      <ref name="div4"/>
    </choice>
  </define>
  <define name="model.div5Like">
    <choice>
      <ref name="div5"/>
    </choice>
  </define>
  <define name="model.div6Like">
    <choice>
      <ref name="div6"/>
    </choice>
  </define>
  <define name="model.div7Like">
    <choice>
      <ref name="div7"/>
    </choice>
  </define>
  <define name="model.applicationLike">
    <choice>
      <ref name="application"/>
    </choice>
  </define>
  <define name="model.teiHeaderPart">
    <choice>
      <ref name="encodingDesc"/>
      <ref name="profileDesc"/>
    </choice>
  </define>
  <define name="model.sourceDescPart">
    <notAllowed/>
  </define>
  <define name="model.encodingDescPart">
    <choice>
      <ref name="projectDesc"/>
      <ref name="samplingDecl"/>
      <ref name="editorialDecl"/>
      <ref name="tagsDecl"/>
      <ref name="refsDecl"/>
      <ref name="classDecl"/>
      <ref name="appInfo"/>
      <ref name="geoDecl"/>
      <ref name="charDecl"/>
    </choice>
  </define>
  <define name="model.editorialDeclPart">
    <choice>
      <ref name="correction"/>
      <ref name="normalization"/>
      <ref name="quotation"/>
      <ref name="hyphenation"/>
      <ref name="segmentation"/>
      <ref name="stdVals"/>
      <ref name="interpretation"/>
    </choice>
  </define>
  <define name="model.profileDescPart">
    <choice>
      <ref name="creation"/>
      <ref name="langUsage"/>
      <ref name="textClass"/>
    </choice>
  </define>
  <define name="model.resourceLike">
    <notAllowed/>
  </define>
  <define name="p">
    <element name="p">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(paragraph) marks paragraphs in prose.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="hi">
    <element name="hi">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(highlighted) marks a word or phrase as graphically distinct from the
        surrounding text, for reasons concerning which no claim is
        made. </a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="distinct">
    <element name="distinct">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies any word or phrase which is regarded as linguistically distinct, for example as
        archaic, technical, dialectal, non-preferred, etc., or as forming part of a sublanguage. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sublanguage or register to which the word or phrase is being
                assigned</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="time">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how the phrase is distinct diachronically</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="space">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how the phrase is distinct diatopically</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="social">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how the phrase is distinct diastatically</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <optional>
        <attribute 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 words) ; 6] distinct(linguistically distinct) ; 7] term(technical term) ; 8] emph(rhetorically emphasized) ; 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="model.qLike"/>
          <ref name="model.egLike"/>
          <ref name="model.biblLike"/>
          <ref name="model.ptrLike"/>
          <ref name="model.global"/>
          <ref name="model.entryPart"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="mentioned">
    <element name="mentioned">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks words or phrases mentioned, not used.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="desc">
    <element name="desc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description) contains a brief description of the object documented by its parent element, including its
    intended usage, purpose, or application where this is appropriate.</a:documentation>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.translatable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="gloss">
    <element name="gloss">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a phrase or word used to provide a gloss or definition for some other word or
    phrase.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.translatable.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(canonical reference) identifies the associated term element using a canonical reference from a
        scheme defined in a refsDecl element in the TEI header</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.canonical.attributes"/>
      <optional>
        <attribute 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 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 name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="model.choicePart"/>
          <ref name="choice"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attributes"/>
      <optional>
        <attribute 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>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute 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 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 name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="del">
    <element name="del">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(deletion) contains a letter, word, or passage deleted, marked as deleted, or otherwise indicated as
    superfluous or spurious in the copy text by an author, scribe, annotator, or corrector.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attributes"/>
      <optional>
        <attribute 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>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute 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 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 name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <optional>
        <attribute 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 name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="model.addrPart"/>
          </group>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="street">
    <element name="street">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a full street address including any name or number identifying a
        building as well as the name of the street or route on which it is
        located.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="postCode">
    <element name="postCode">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(postal code) contains a numerical or alphanumeric code used as part of a postal address to simplify
        sorting or delivery of mail. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="postBox">
    <element name="postBox">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(postal box or post office box) contains a number or other identifier for some postal delivery point other than a street
    address. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.ranging.attributes"/>
      <optional>
        <attribute 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 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="double"/>
            <data type="token">
              <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
            </data>
            <data type="decimal"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="measure">
    <element name="measure">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase referring to some quantity of an object or commodity, usually
        comprising a number, a unit, and a commodity name.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.measurement.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the type of measurement in any convenient typology.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.measureLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.measurement.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute 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 name="time">
    <element name="time">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a phrase defining a time of day in any format.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="abbr">
    <element name="abbr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(abbreviation) contains an abbreviation of any sort.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">allows the encoder to classify the abbreviation according to some convenient
                typology.
Sample values include: 1] suspension; 2] contraction; 3] brevigraph; 4] superscription; 5] acronym; 6] title; 7] organization; 8] geographic</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="expan">
    <element name="expan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(expansion) contains the expansion of an abbreviation.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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">
          <report xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="@target and @cRef">Only one of the
	attributes 'target' and 'cRef' may be supplied.</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute 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>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="ref-constraint-refAtts">
        <rule context="tei:ref">
          <report xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="@target and @cRef">Only one of the
	attributes 'target' and 'cRef' may be supplied.</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute 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>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <group>
              <ref name="model.divTop"/>
            </group>
            <group>
              <ref name="model.global"/>
            </group>
          </choice>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="item"/>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </oneOrMore>
          <group>
            <optional>
              <ref name="headLabel"/>
            </optional>
            <optional>
              <ref name="headItem"/>
            </optional>
            <oneOrMore>
              <ref name="label"/>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
              <ref name="item"/>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <group>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="item">
    <element name="item">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one component of a list.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="note">
    <element name="note">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a note or annotation.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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>
          <data type="boolean"/>
        </attribute>
      </optional>
      <optional>
        <attribute 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>
            <data type="anyURI"/>
            <zeroOrMore>
              <data type="anyURI"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="index">
    <element name="index">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(index entry) marks a location to be indexed for whatever purpose.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <ref name="term"/>
          <optional>
            <ref name="index"/>
          </optional>
        </group>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.spanning.attributes"/>
      <optional>
        <attribute name="indexName">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name to specify which index (of several) the index entry belongs to.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="graphic">
    <element name="graphic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of an inline graphic, illustration, or figure.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.internetMedia.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute name="width">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display width of the image</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display height of the image</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="scale">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A scale factor to be applied to the image to make it the desired display size</a:documentation>
          <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="double"/>
            <data type="token">
              <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
            </data>
            <data type="decimal"/>
          </choice>
        </attribute>
      </optional>
      <attribute name="url">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) A URL which refers to the image itself.</a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="binaryObject">
    <element name="binaryObject">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides encoded binary data representing an inline graphic or other object.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <ref name="att.internetMedia.attributes"/>
      <optional>
        <attribute name="width">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display width of the object</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display height of the object</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="scale">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A scale factor to be applied to the object to make it the desired display size</a:documentation>
          <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="double"/>
            <data type="token">
              <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
            </data>
            <data type="decimal"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="encoding">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The encoding used to encode the binary data. If not specified, this is assumed to be
          Base64.</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <attribute 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 name="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/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="cb">
    <element name="cb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(column break) marks the boundary between one column of a text and the next
        in a standard reference system.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="analytic">
    <element name="analytic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(analytic level) contains bibliographic elements describing an item (e.g. an article or poem) published
    within a monograph or journal and not as an independent publication.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="author"/>
          <ref name="editor"/>
          <ref name="respStmt"/>
          <ref name="title"/>
          <ref name="ref"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="monogr">
    <element name="monogr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(monographic level) contains bibliographic elements describing an item (e.g. a book or journal) published as an
    independent item (i.e. as a separate physical object).</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <optional>
          <choice>
            <group>
              <choice>
                <ref name="author"/>
                <ref name="editor"/>
                <ref name="respStmt"/>
              </choice>
              <zeroOrMore>
                <choice>
                  <ref name="author"/>
                  <ref name="editor"/>
                  <ref name="respStmt"/>
                </choice>
              </zeroOrMore>
              <oneOrMore>
                <ref name="title"/>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="idno"/>
                  <ref name="editor"/>
                  <ref name="respStmt"/>
                </choice>
              </zeroOrMore>
            </group>
            <group>
              <oneOrMore>
                <choice>
                  <ref name="title"/>
                  <ref name="ref"/>
                </choice>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="idno"/>
                  <ref name="author"/>
                  <ref name="editor"/>
                  <ref name="respStmt"/>
                </choice>
              </zeroOrMore>
            </group>
          </choice>
        </optional>
        <zeroOrMore>
          <choice>
            <ref name="model.noteLike"/>
            <ref name="meeting"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="edition"/>
          <zeroOrMore>
            <choice>
              <ref name="idno"/>
              <ref name="editor"/>
              <ref name="respStmt"/>
            </choice>
          </zeroOrMore>
        </zeroOrMore>
        <ref name="imprint"/>
        <zeroOrMore>
          <choice>
            <ref name="imprint"/>
            <ref name="extent"/>
            <ref name="biblScope"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="title"/>
          <ref name="ref"/>
          <ref name="editor"/>
          <ref name="respStmt"/>
          <ref name="biblScope"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <oneOrMore>
            <ref name="resp"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="model.nameLike.agent"/>
          </oneOrMore>
        </group>
        <group>
          <oneOrMore>
            <ref name="model.nameLike.agent"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="resp"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <optional>
        <attribute 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 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) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="meeting">
    <element name="meeting">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the formalized descriptive title for a meeting or conference, for use in a
    bibliographic description for an item derived from such a meeting, or as a heading or preamble
    to publications emanating from it.</a:documentation>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="imprint">
    <element name="imprint">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups information relating to the publication or distribution
        of a bibliographic item.</a:documentation>
      <oneOrMore>
        <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <group>
            <ref name="model.imprintPart"/>
          </group>
          <group>
            <ref name="model.dateLike"/>
          </group>
        </choice>
        <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="model.global"/>
        </zeroOrMore>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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) ; 2] issue; 3] pp(pages) ; 4] ll (lines) ; 5] chap(chapter) ; 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 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 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 name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.highlighted"/>
          <ref name="model.pPart.data"/>
          <ref name="model.pPart.edit"/>
          <ref name="model.segLike"/>
          <ref name="model.ptrLike"/>
          <ref name="model.biblPart"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="analytic"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="monogr"/>
          <zeroOrMore>
            <ref name="series"/>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="model.noteLike"/>
            <ref name="idno"/>
            <ref name="relatedItem"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="model.biblLike"/>
            <ref name="model.milestoneLike"/>
            <ref name="listBibl"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="model.biblLike"/>
          <ref name="model.ptrLike"/>
        </choice>
      </optional>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="relatedItem-constraint-targetorcontent11">
        <rule context="tei:relatedItem">
          <sch:report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" 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-targetorcontent11">
        <rule context="tei:relatedItem">
          <sch:assert xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" 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>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute 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 name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <choice>
          <ref name="model.lLike"/>
          <ref name="lg"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="model.lLike"/>
            <ref name="lg"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <group>
            <ref name="model.divBottom"/>
          </group>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="speaker"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="model.lLike"/>
            <ref name="lg"/>
            <ref name="model.pLike"/>
            <ref name="model.stageLike"/>
            <ref name="model.qLike"/>
          </choice>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.headLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="fileDesc"/>
        <zeroOrMore>
          <ref name="model.teiHeaderPart"/>
        </zeroOrMore>
        <optional>
          <ref name="revisionDesc"/>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <ref name="titleStmt"/>
          <optional>
            <ref name="editionStmt"/>
          </optional>
          <optional>
            <ref name="extent"/>
          </optional>
          <ref name="publicationStmt"/>
          <optional>
            <ref name="seriesStmt"/>
          </optional>
          <optional>
            <ref name="notesStmt"/>
          </optional>
        </group>
        <oneOrMore>
          <ref name="sourceDesc"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="title"/>
        </oneOrMore>
        <zeroOrMore>
          <ref name="model.respLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="sponsor">
    <element name="sponsor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the name of a sponsoring organization or institution.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="funder">
    <element name="funder">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(funding body) specifies the name of an individual, institution, or organization responsible for the
    funding of a project or text.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <ref name="edition"/>
          <zeroOrMore>
            <ref name="respStmt"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="model.publicationStmtPart"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="distributor">
    <element name="distributor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of a person or other agency responsible for the
distribution of a text.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="authority">
    <element name="authority">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(release authority) supplies the name of a person or other agency responsible for
  making an electronic file available, other than a publisher or
  distributor.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 name="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>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="title"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="idno"/>
              <ref name="respStmt"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.noteLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="model.biblLike"/>
            <ref name="model.sourceDescPart"/>
            <ref name="model.listLike"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <ref name="titleStmt"/>
          <optional>
            <ref name="editionStmt"/>
          </optional>
          <optional>
            <ref name="extent"/>
          </optional>
          <ref name="publicationStmt"/>
          <optional>
            <ref name="seriesStmt"/>
          </optional>
          <optional>
            <ref name="notesStmt"/>
          </optional>
        </group>
        <zeroOrMore>
          <ref name="sourceDesc"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <choice>
            <ref name="model.encodingDescPart"/>
            <ref name="model.pLike"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="model.pLike"/>
          <ref name="model.editorialDeclPart"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="correction">
    <element name="correction">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(correction principles) states how and under what circumstances corrections have been made in the text.</a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unknown">
          <a:documentation>indicates the degree of correction applied to the text. </a:documentation>
          <choice>
            <value>high</value>
            <a:documentation>the text has been thoroughly checked and proofread. </a:documentation>
            <value>medium</value>
            <a:documentation>the text has been checked at least once. </a:documentation>
            <value>low</value>
            <a:documentation>the text has not been checked. </a:documentation>
            <value>unknown</value>
            <a:documentation>the correction status of the text is unknown. </a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method" a:defaultValue="silent">
          <a:documentation>indicates the method adopted to indicate corrections within the text. </a:documentation>
          <choice>
            <value>silent</value>
            <a:documentation>corrections have been made silently </a:documentation>
            <value>markup</value>
            <a:documentation>corrections have been represented using markup</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="normalization">
    <element name="normalization">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the extent of normalization or regularization of the original source carried out
    in converting it to electronic form.</a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute name="source">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the authority for any normalization carried out. </a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method" a:defaultValue="silent">
          <a:documentation>indicates the method adopted to indicate normalizations within the text. </a:documentation>
          <choice>
            <value>silent</value>
            <a:documentation>normalization made silently </a:documentation>
            <value>markup</value>
            <a:documentation>normalization represented using markup </a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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:a="http://relaxng.org/ns/compatibility/annotations/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 name="hyphenation">
    <element name="hyphenation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">summarizes the way in which hyphenation in a source text has been treated in an encoded
    version of it.</a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="eol" a:defaultValue="some">
          <a:documentation>(end-of-line) indicates whether or not end-of-line hyphenation has been retained in a text.</a:documentation>
          <choice>
            <value>all</value>
            <a:documentation>all end-of-line hyphenation has been retained, even though the lineation of the
            original may not have been. </a:documentation>
            <value>some</value>
            <a:documentation>end-of-line hyphenation has been retained in some cases. </a:documentation>
            <value>hard</value>
            <a:documentation>all soft end-of-line hyphenation has been removed: any remaining end-od-line
            hyphenation should be retained. </a:documentation>
            <value>none</value>
            <a:documentation>all end-of-line hyphenation has been removed: any remaining hyphenation occurred
            within the line. </a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="interpretation">
    <element name="interpretation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the scope of any analytic or interpretive information added to the text in
    addition to the transcription. </a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="rendition"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="namespace"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="tagUsage">
    <element name="tagUsage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies information about the usage of a specific element within a text. </a:documentation>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <attribute name="gi">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) the name (generic identifier) of the element indicated by the tag.</a:documentation>
        <data type="Name"/>
      </attribute>
      <optional>
        <attribute name="occurs">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of occurrences of this element within the text.</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="withId">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(with unique identifier) specifies the number of occurrences of this element within the text which bear a
        distinct value for the global xml:id attribute. </a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="render">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifier of a rendition element which defines how this element
        is to be rendered.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="namespace">
    <element name="namespace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the formal name of the namespace to which the elements documented by its children
    belong. </a:documentation>
      <oneOrMore>
        <ref name="tagUsage"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the full formal name of the namespace concerned.</a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="rendition">
    <element name="rendition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies information about the rendition or appearance of one or more elements in the source
    text.</a:documentation>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the language used to describe the rendition.</a:documentation>
          <choice>
            <value>css</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cascading Stylesheet Language</a:documentation>
            <value>xslfo</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Extensible Stylesheet Language Formatting Objects</a:documentation>
            <value>free</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Informal free text description</a:documentation>
            <value>other</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A user-defined rendition description language</a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="scope">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where CSS is used, provides a way of defining
pseudo-elements, that is, styling rules
applicable to specific sub-portions of an element.</a:documentation>
          <text/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="cRefPattern"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="refState"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.pLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <attribute 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 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 name="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/>
      <ref name="att.global.attributes"/>
      <ref name="att.sourced.attributes"/>
      <attribute 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 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 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 name="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>
        <ref name="taxonomy"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="category"/>
        </oneOrMore>
        <group>
          <group>
            <ref name="model.biblLike"/>
          </group>
          <zeroOrMore>
            <ref name="category"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <oneOrMore>
            <ref name="catDesc"/>
          </oneOrMore>
          <zeroOrMore>
            <ref name="model.glossLike"/>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <ref name="category"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.limitedPhrase"/>
          <ref name="model.catDescPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="model.applicationLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="application">
    <element name="application">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides information about an application which has acted upon the document.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="model.labelLike"/>
        </oneOrMore>
        <choice>
          <zeroOrMore>
            <ref name="model.ptrLike"/>
          </zeroOrMore>
          <zeroOrMore>
            <ref name="model.pLike"/>
          </zeroOrMore>
        </choice>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <attribute name="ident">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supplies an identifier for the application, independent of its version number or display
        name.</a:documentation>
        <data type="Name"/>
      </attribute>
      <attribute name="version">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supplies a version number for the application, independent of its identifier or display
        name.</a:documentation>
        <data type="token">
          <param name="pattern">[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}</param>
        </data>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.profileDescPart"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="creation">
    <element name="creation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the creation of a text.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
        <ref name="language"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <attribute 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 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="classCode"/>
          <ref name="catRef"/>
          <ref name="keywords"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <oneOrMore>
          <ref name="term"/>
        </oneOrMore>
        <ref name="list"/>
      </choice>
      <ref name="att.global.attributes"/>
      <attribute name="scheme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the controlled vocabulary within which the set of keywords concerned is
        defined. </a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <attribute 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 name="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/>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="list"/>
        <oneOrMore>
          <ref name="change"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.docStatus.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.limitedPhrase"/>
          <ref name="model.inter"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.docStatus.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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) ; 2] MGRS(Military Grid Reference System) ; 3] OSGB36(ordnance survey great britain) ; 4] ED50(European Datum coordinate system) </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 name="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/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute 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 name="char">
    <element name="char">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character) provides descriptive information about a character. </a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <optional>
          <ref name="charName"/>
        </optional>
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="charProp"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="mapping"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="figure"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.noteLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="charName">
    <element name="charName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character name) contains the name of a character, expressed following Unicode conventions. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="charProp">
    <element name="charProp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character property) provides a name and value for some property of the parent character or glyph. </a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="unicodeName"/>
          <ref name="localName"/>
        </choice>
        <ref name="value"/>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="charDecl">
    <element name="charDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character declarations) provides information about nonstandard characters and glyphs. </a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <optional>
          <ref name="desc"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="char"/>
            <ref name="glyph"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="glyph">
    <element name="glyph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character glyph) provides descriptive information about a character glyph. </a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <optional>
          <ref name="glyphName"/>
        </optional>
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="charProp"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="mapping"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="figure"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.noteLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="glyphName">
    <element name="glyphName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character glyph name) contains the name of a glyph, expressed following Unicode conventions for character names. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="localName">
    <element name="localName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(locally-defined property name) contains a locally defined name for some property. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="mapping">
    <element name="mapping">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character mapping) contains one or more
	 characters which are related to the parent character or glyph
	 in some respect, as specified by the type
	 attribute.
</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="unicodeName">
    <element name="unicodeName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unicode property name) contains the name of a registered Unicode normative or informative property. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="version">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the Unicode Standard in which this property name is
        defined.</a:documentation>
          <data type="token">
            <param name="pattern">[\d]+(\.[\d]+){0,2}</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="value">
    <element name="value">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value) contains a single value for some property, attribute, or other
  analysis.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="teiHeader"/>
        <choice>
          <group>
            <oneOrMore>
              <ref name="model.resourceLike"/>
            </oneOrMore>
            <optional>
              <ref name="text"/>
            </optional>
          </group>
          <ref name="text"/>
        </choice>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="front"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
        <choice>
          <ref name="body"/>
          <ref name="group"/>
        </choice>
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="back"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <group>
            <group>
              <ref name="model.divTop"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.global"/>
                <ref name="model.divTop"/>
              </choice>
            </zeroOrMore>
          </group>
        </optional>
        <optional>
          <group>
            <group>
              <ref name="model.divGenLike"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.global"/>
                <ref name="model.divGenLike"/>
              </choice>
            </zeroOrMore>
          </group>
        </optional>
        <group>
          <choice>
            <oneOrMore>
              <group>
                <group>
                  <ref name="model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.global"/>
                    <ref name="model.divGenLike"/>
                  </choice>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <oneOrMore>
              <group>
                <group>
                  <ref name="model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.global"/>
                    <ref name="model.divGenLike"/>
                  </choice>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <optional>
                <choice>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="model.divLike"/>
                      </group>
                      <zeroOrMore>
                        <choice>
                          <ref name="model.global"/>
                          <ref name="model.divGenLike"/>
                        </choice>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="model.div1Like"/>
                      </group>
                      <zeroOrMore>
                        <choice>
                          <ref name="model.global"/>
                          <ref name="model.divGenLike"/>
                        </choice>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                </choice>
              </optional>
            </group>
          </choice>
        </group>
        <zeroOrMore>
          <group>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <choice>
            <ref name="text"/>
            <ref name="group"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="text"/>
              <ref name="group"/>
              <ref name="model.global"/>
            </choice>
          </zeroOrMore>
        </group>
        <zeroOrMore>
          <ref name="model.divBottom"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="front"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
        <choice>
          <ref name="body"/>
          <ref name="group"/>
        </choice>
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="back"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <group>
              <oneOrMore>
                <choice>
                  <ref name="model.divLike"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
            </group>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.divLike"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div1">
    <element name="div1">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-1 text division) contains a first-level subdivision of the front, body, or back of a text.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="model.div2Like"/>
                <ref name="model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.div2Like"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div2">
    <element name="div2">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-2 text division) contains a second-level subdivision of the front, body, or back of a
 text.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="model.div3Like"/>
                <ref name="model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.div3Like"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div3">
    <element name="div3">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-3 text division) contains a third-level subdivision of the front, body, or back of a text.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="model.div4Like"/>
                <ref name="model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.div4Like"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div4">
    <element name="div4">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-4 text division) contains a fourth-level subdivision of the front, body, or back of a text.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="model.div5Like"/>
                <ref name="model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.div5Like"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div5">
    <element name="div5">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-5 text division) contains a fifth-level subdivision of the front, body, or back of a text.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="model.div6Like"/>
                <ref name="model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.div6Like"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div6">
    <element name="div6">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-6 text division) contains a sixth-level subdivision of the front, body, or back of a text.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="model.div7Like"/>
                <ref name="model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.div7Like"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div7">
    <element name="div7">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-7 text division) contains the smallest possible subdivision of the front, body or back of a text, larger than
    a paragraph.</a:documentation>
      <group xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <oneOrMore>
            <group>
              <ref name="model.common"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="docAuthor"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.global"/>
            <ref name="model.headLike"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="model.common"/>
          </group>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="model.common"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="signed"/>
          <ref name="dateline"/>
          <ref name="salute"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <group>
            <ref name="model.common"/>
          </group>
          <group>
            <ref name="model.global"/>
          </group>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <group>
          <ref name="model.titlepagePart"/>
        </group>
        <zeroOrMore>
          <choice>
            <ref name="model.titlepagePart"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="titlePart"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </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 name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="pubPlace"/>
          <ref name="docDate"/>
          <ref name="publisher"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <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 name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.frontPart"/>
            <ref name="model.pLike.front"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <optional>
            <choice>
              <group>
                <group>
                  <ref name="model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.div1Like"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <group>
                  <ref name="model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.divLike"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <optional>
            <group>
              <ref name="model.divBottomPart"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.divBottomPart"/>
                <ref name="model.global"/>
              </choice>
            </zeroOrMore>
          </optional>
        </group>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.frontPart"/>
            <ref name="model.pLike.front"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <optional>
            <choice>
              <group>
                <group>
                  <ref name="model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.div1Like"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <group>
                  <ref name="model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.divLike"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <optional>
            <group>
              <ref name="model.divBottomPart"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.divBottomPart"/>
                <ref name="model.global"/>
              </choice>
            </zeroOrMore>
          </optional>
        </group>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="att">
    <element name="att">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute) contains the name of an attribute appearing within running text.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scheme" a:defaultValue="TEI">
          <a:documentation>supplies an identifier for the scheme in which this name is defined.
Sample values include: 1] TEI(text encoding initiative) ; 2] DBK(docbook) ; 3] XX(unknown) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="code">
    <element name="code">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains literal code from some formal language such as a
programming language.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="lang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(formal language) a name identifying the formal language in which  the
	code is expressed</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="eg">
    <element name="eg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(example) contains any kind of illustrative example. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="egXML">
    <element name="egXML" ns="http://www.tei-c.org/ns/Examples">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(example of XML) contains a single well-formed XML fragment demonstrating the use of some XML element or
    attribute, in which the egXML element itself functions as the root element. </a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <choice>
            <text/>
            <ref name="macro.anyXML"/>
          </choice>
        </group>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="gi">
    <element name="gi">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) contains the name (generic identifier) of an element.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scheme" a:defaultValue="TEI">
          <a:documentation>supplies the name of the scheme in which this name is defined.
Sample values include: 1] TEI(text encoding initiative) ; 2] DBK(docbook) ; 3] XX(unknown) ; 4] Schematron; 5] HTML</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="ident">
    <element name="ident">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) contains an identifier or name for an object of some kind in a formal language.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="tag">
    <element name="tag">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains text of a complete start- or end-tag, possibly including attribute specifications,
    but excluding the opening and closing markup delimiter characters.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of XML tag intended</a:documentation>
          <choice>
            <value>start</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a start-tag, with delimiters &lt; and &gt; is intended</a:documentation>
            <value>end</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">an end-tag, with delimiters &lt;/ and &gt; is intended</a:documentation>
            <value>empty</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a empty tag, with delimiters &lt; and /&gt; is intended</a:documentation>
            <value>pi</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a pi (processing instruction), with delimiters &lt;? and ?&gt; is intended</a:documentation>
            <value>comment</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a comment, with delimiters &lt;!-- and --&gt; is intended</a:documentation>
            <value>ms</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a marked-section, with delimiters &lt;[CDATA[ and ]]&gt; is intended</a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scheme" a:defaultValue="TEI">
          <a:documentation>supplies the name of the schema in which this tag is defined.</a:documentation>
          <choice>
            <value>TEI</value>
            <a:documentation>(text encoding initiative) This tag is defined as part of the TEI scheme.</a:documentation>
            <value>DBK</value>
            <a:documentation>(docbook) this tag is part of the Docbook scheme.</a:documentation>
            <value>XX</value>
            <a:documentation>(unknown) this tag is part of an unknown scheme.</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="val">
    <element name="val">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value) contains a single attribute value.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="specList">
    <element name="specList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification list) marks where a list of descriptions is to be inserted into the prose documentation.</a:documentation>
      <oneOrMore>
        <ref name="specDesc"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="specDesc">
    <element name="specDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification description) indicates that a description of the specified element or class should be included at this
    point within a document.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="key">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) supplies the identifier of the documentary element or class for which a description is
        to be obtained.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="atts">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attributes) supplies attribute names for which descriptions should additionally be obtained.</a:documentation>
          <list>
            <zeroOrMore>
              <data type="Name"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="classRef">
    <element name="classRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to the specification for an attribute or model class which is to be included in a schema</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.readFrom.attributes"/>
      <attribute name="key">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the identifier used for the required class within the
	source indicated.</a:documentation>
        <data type="NCName"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="elementRef">
    <element name="elementRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to the specification for some element which is to be included in a schema</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.readFrom.attributes"/>
      <attribute name="key">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the identifier used for the required element within the
	source indicated.</a:documentation>
        <data type="NCName"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="macroRef">
    <element name="macroRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to the specification for some pattern which is to be included in a schema</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.readFrom.attributes"/>
      <attribute name="key">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the identifier used for the required pattern within the
	source indicated.</a:documentation>
        <data type="NCName"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="moduleRef">
    <element name="moduleRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(module reference) references a module which is to be incorporated into a schema.</a:documentation>
      <optional>
        <ref name="content"/>
      </optional>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="moduleRef-constraint-modref">
        <rule xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" context="tei:moduleRef">
          <report test="* and @key">
	  child elements of moduleRef are only allowed when an external module
	  is being loaded
	</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.readFrom.attributes"/>
      <choice>
        <optional>
          <attribute name="include">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a list of the elements which are to be copied from the
specified module into the schema being defined.</a:documentation>
            <list>
              <zeroOrMore>
                <data type="NCName"/>
              </zeroOrMore>
            </list>
          </attribute>
        </optional>
        <optional>
          <attribute name="except">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a list of the elements which are not to be copied from the
specified module into the schema being defined.</a:documentation>
            <list>
              <zeroOrMore>
                <data type="NCName"/>
              </zeroOrMore>
            </list>
          </attribute>
        </optional>
      </choice>
      <choice>
        <optional>
          <attribute name="key">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the name of a TEI module</a:documentation>
            <data type="NCName"/>
          </attribute>
        </optional>
        <optional>
          <attribute name="url">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) refers to a non-TEI module of RELAX NG code by external location </a:documentation>
            <data type="anyURI"/>
          </attribute>
        </optional>
      </choice>
      <empty/>
    </element>
  </define>
  <define name="moduleSpec">
    <element name="moduleSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(module specification) documents the structure, content, and purpose of a single
module, i.e. a named and externally visible group of declarations.</a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="exemplum"/>
        </zeroOrMore>
        <optional>
          <ref name="remarks"/>
        </optional>
        <zeroOrMore>
          <ref name="listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">type of module to be generated</a:documentation>
          <text/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="schemaSpec">
    <element name="schemaSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(schema specification) generates a TEI-conformant schema and documentation for it.</a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <choice>
            <ref name="model.oddRef"/>
            <ref name="model.oddDecl"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="constraintSpec"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <ref name="att.readFrom.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="start" a:defaultValue="TEI">
          <a:documentation>specifies entry points to the schema, i.e. which elements
      may be used as the root of documents conforming to
      it. </a:documentation>
          <list>
            <data type="Name"/>
            <zeroOrMore>
              <data type="Name"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ns" a:defaultValue="http://www.tei-c.org/ns/1.0">
          <a:documentation>(namespace) specifies the default namespace (if any) applicable to 
      components of the schema.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="prefix">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a default prefix which will be prepended to all patterns
      relating to TEI elements, unless otherwise stated. This allows for external schemas to be mixed in
      which have elements of the same names as the TEI.
      </a:documentation>
          <rng:choice xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <value xmlns="http://relaxng.org/ns/structure/1.0"/>
            <data xmlns="http://relaxng.org/ns/structure/1.0" type="Name"/>
          </rng:choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="targetLang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target language) specifies which language to use when creating
      the objects in a schema if names for elements or attributes are available in more
      than one language, .</a:documentation>
          <data type="language"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="docLang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(documentation language) specifies which languages to
      use when creating documentation if  the description for an element, attribute, class or macro
      is available in more than one language, .</a:documentation>
          <list>
            <data type="language"/>
            <zeroOrMore>
              <data type="language"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="specGrp">
    <element name="specGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification group) contains any convenient grouping of specifications for use within
  the current module.</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="model.oddDecl"/>
          <ref name="model.oddRef"/>
          <ref name="model.divPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="specGrpRef">
    <element name="specGrpRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference to a specification group) indicates that the declarations contained by the specGrp referenced should be
    inserted at this point.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points at the specification group which logically belongs here.</a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="stringVal">
    <element name="stringVal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the intended expansion for the entity documented by a macroSpec element,
    enclosed by quotation marks.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="elementSpec">
    <element name="elementSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element specification) documents the structure, content, and purpose of a single element type.</a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <optional>
          <ref name="classes"/>
        </optional>
        <optional>
          <ref name="content"/>
        </optional>
        <optional>
          <ref name="valList"/>
        </optional>
        <zeroOrMore>
          <ref name="constraintSpec"/>
        </zeroOrMore>
        <optional>
          <ref name="attList"/>
        </optional>
        <zeroOrMore>
          <ref name="exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="remarks"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ns" a:defaultValue="http://www.tei-c.org/ns/1.0">
          <a:documentation>(namespace) specifies the namespace to which this element belongs</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="prefix">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a default prefix which will be prepended to all patterns
      relating to the element, unless otherwise stated. 
      </a:documentation>
          <choice xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <value/>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="classSpec">
    <element name="classSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(class specification) contains reference information for a TEI element class; 
that is a group of 
  elements which appear together in  content models, or 
  which share some common attribute, or both.</a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <optional>
          <ref name="classes"/>
        </optional>
        <zeroOrMore>
          <ref name="constraintSpec"/>
        </zeroOrMore>
        <optional>
          <ref name="attList"/>
        </optional>
        <zeroOrMore>
          <ref name="exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="remarks"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether this is a model class or an attribute class</a:documentation>
        <choice>
          <value>model</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(content model) members of this class appear in the same  content models</a:documentation>
          <value>atts</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attributes) members of this class share common attributes</a:documentation>
        </choice>
      </attribute>
      <optional>
        <attribute name="generate">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates which alternation and sequence instantiations
	of a model class may be referenced. By default, all variations
	are permitted.</a:documentation>
          <list>
            <choice>
              <value>alternation</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
              <value>sequence</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
              <value>sequenceOptional</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
              <value>sequenceOptionalRepeatable</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
              <value>sequenceRepeatable</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
            </choice>
            <optional>
              <choice>
                <value>alternation</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
                <value>sequence</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
                <value>sequenceOptional</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
                <value>sequenceOptionalRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
                <value>sequenceRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
              </choice>
            </optional>
            <optional>
              <choice>
                <value>alternation</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
                <value>sequence</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
                <value>sequenceOptional</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
                <value>sequenceOptionalRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
                <value>sequenceRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
              </choice>
            </optional>
            <optional>
              <choice>
                <value>alternation</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
                <value>sequence</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
                <value>sequenceOptional</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
                <value>sequenceOptionalRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
                <value>sequenceRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
              </choice>
            </optional>
            <optional>
              <choice>
                <value>alternation</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
                <value>sequence</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
                <value>sequenceOptional</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
                <value>sequenceOptionalRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
                <value>sequenceRepeatable</value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
              </choice>
            </optional>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="macroSpec">
    <element name="macroSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(macro specification) documents the function and implementation of a pattern. </a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <choice>
            <ref name="stringVal"/>
            <ref name="content"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="constraintSpec"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="remarks"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates which type of entity should be generated, when an ODD
	processor is generating a module using XML DTD syntax.</a:documentation>
          <choice>
            <value>pe</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(parameter entity) </a:documentation>
            <value>dt</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(datatype entity) </a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="remarks">
    <element name="remarks">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any commentary or discussion about the usage of an element, attribute, class, or
    entity not otherwise documented within the containing element.</a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.translatable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="listRef">
    <element name="listRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of references) supplies a list of significant references to places where this element is discussed, in the
    current document or elsewhere.</a:documentation>
      <oneOrMore>
        <ref name="ptr"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="exemplum">
    <element name="exemplum">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups an example demonstrating the use of an element along with optional paragraphs of
    commentary.</a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.pLike"/>
        </zeroOrMore>
        <choice>
          <ref name="egXML"/>
          <ref name="eg"/>
        </choice>
        <zeroOrMore>
          <ref name="model.pLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.translatable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="classes">
    <element name="classes">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies all the classes of which the documented element or
class is a member or subclass.</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="memberOf"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="replace">
          <a:documentation>specifies the effect of this declaration on its parent
    module.</a:documentation>
          <choice>
            <value>change</value>
            <a:documentation>this declaration changes the declaration of the same
    name in the current definition</a:documentation>
            <value>replace</value>
            <a:documentation>this declaration replaces the declaration of the same
    name in the current definition</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="memberOf">
    <element name="memberOf">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies class membership of the parent element or class.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="key">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifier for a class of which the documented element or class is a
        member or subclass</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="add">
          <a:documentation>specifies the effect of this declaration on its parent module.</a:documentation>
          <choice>
            <value>add</value>
            <a:documentation>this declaration is added to the current definitions</a:documentation>
            <value>delete</value>
            <a:documentation>this declaration and all of its children are removed from the current setup</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="equiv">
    <element name="equiv">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(equivalent) specifies a component which is considered equivalent to the parent element, either by
    co-reference, or by external link.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.internetMedia.attributes"/>
      <optional>
        <attribute name="name">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the underlying concept of which the parent is a representation</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="uri">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource identifier) references the underlying concept of which the parent is a representation by means of
        some external identifier</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="filter">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">references an external script which contains a method to transform instances of this
        element to canonical TEI </a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="altIdent">
    <element name="altIdent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternate identifier) supplies the recommended XML name for an element, class,
  attribute, etc. in some language.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="content">
    <element name="content">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(content model) contains the text of a declaration for the schema
documented.</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <ref name="macro.schemaPattern"/>
        </group>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="autoPrefix" a:defaultValue="true">
          <a:documentation>controls whether or not pattern names generated in the
corresponding RELAXNG schema source are automatically prefixed to
avoid potential nameclashes. </a:documentation>
          <choice>
            <value>true</value>
            <a:documentation>Each name referenced in e.g. a rng:ref
	  element within a content model is automatically prefixed by
	  the value of the prefix attribute on the current
	  schemaSpec
               </a:documentation>
            <value>false</value>
            <a:documentation>No prefixes are added: 
 any prefix required by the value of the prefix attribute on the current
	  schemaSpec must therefore be supplied explicitly, as appropriate. </a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="constraint">
    <element name="constraint">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (constraint rules) the formal rules of a constraint</a:documentation>
      <choice xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <text/>
        <ref name="macro.anyXML"/>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="constraintSpec">
    <element name="constraintSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (constraint on schema) contains  a constraint, expressed in some formal syntax,
  which cannot be expressed in the structural content model</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <optional>
        <ref name="constraint"/>
      </optional>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="constraintSpec-constraint-sch">
        <rule context="tei:constraintSpec">
          <sch:report xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="tei:constraint/s:* and    not(@scheme='schematron')">
	Rules in the Schematron 1.* language must be inside
	a constraint with a value of 'schematron' on the scheme attribute
      </sch:report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="constraintSpec-constraint-isosch">
        <rule context="tei:constraintSpec">
          <sch:report xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="tei:constraint/sch:* and    not(@scheme='isoschematron')">
	Rules in the ISO Schematron language must be inside
	a constraint with a value of 'isoschematron' on the scheme attribute
      </sch:report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <ref name="att.typed.attributes"/>
      <attribute name="scheme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of the language in which the constraints
      are defined</a:documentation>
        <choice>
          <value>schematron</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (Schematron) </a:documentation>
          <value>isoschematron</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (ISO Schematron) </a:documentation>
          <value>xsl</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (XSLT) </a:documentation>
          <value>private</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (private constraint language) </a:documentation>
        </choice>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="attList">
    <element name="attList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains documentation for all the attributes associated with this element, as a series of
      attDef elements.</a:documentation>
      <oneOrMore>
        <choice xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="attRef"/>
          <ref name="attDef"/>
          <ref name="attList"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="org" a:defaultValue="group">
          <a:documentation>(organization) specifies whether all the attributes in the list are available (org="group") or only one
        of them (org="choice")</a:documentation>
          <choice>
            <value>group</value>
            <a:documentation>grouped</a:documentation>
            <value>choice</value>
            <a:documentation>alternated</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="attDef">
    <element name="attDef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute definition) contains the definition of a single attribute.</a:documentation>
      <group xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <optional>
          <ref name="datatype"/>
        </optional>
        <zeroOrMore>
          <ref name="constraintSpec"/>
        </zeroOrMore>
        <optional>
          <ref name="defaultVal"/>
        </optional>
        <optional>
          <choice>
            <ref name="valList"/>
            <oneOrMore>
              <ref name="valDesc"/>
            </oneOrMore>
          </choice>
        </optional>
        <zeroOrMore>
          <ref name="exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="remarks"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.identified.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="usage" a:defaultValue="opt">
          <a:documentation>specifies the optionality of an attribute or element. </a:documentation>
          <choice>
            <value>req</value>
            <a:documentation>(required) </a:documentation>
            <value>mwa</value>
            <a:documentation>(mandatory when applicable ) </a:documentation>
            <value>rec</value>
            <a:documentation>(recommended ) </a:documentation>
            <value>rwa</value>
            <a:documentation>(recommended when applicable ) </a:documentation>
            <value>opt</value>
            <a:documentation>(optional ) </a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ns" a:defaultValue="http://www.tei-c.org/ns/1.0">
          <a:documentation>(namespace) specifies the namespace to which this attribute belongs</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="attRef">
    <element name="attRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute pointer) points to the definition of an attribute or group of attributes.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the name of the pattern defining the attribute(s)</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="datatype">
    <element name="datatype">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the declared value for an attribute, by referring to
  any datatype defined by the chosen schema language.</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <ref name="macro.schemaPattern"/>
        </group>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="minOccurs" a:defaultValue="1">
          <a:documentation>(minimum number of occurences) indicates the minimum number of times this datatype may
      occur in the specification of the attribute being defined</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="maxOccurs" a:defaultValue="1">
          <a:documentation>(maximum number of occurences) indicates the maximum number of times this datatype may
      occur in the specification of the attribute being defined</a:documentation>
          <choice xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="nonNegativeInteger"/>
            <value>unbounded</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="defaultVal">
    <element name="defaultVal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(default value) specifies the default declared value for an attribute.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="valDesc">
    <element name="valDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value description) specifies any semantic or syntactic constraint on the value that
an attribute may take, additional to the information carried by the
datatype element.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <ref name="att.translatable.attributes"/>
      <ref name="att.combinable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="valItem">
    <element name="valItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">documents a single attribute-value within a list of possible
  or mandatory items.</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.combinable.attributes"/>
      <attribute name="ident">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the attribute value concerned.</a:documentation>
        <text/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="valList">
    <element name="valList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value list) contains one or more valItem elements defining possible values for an attribute.</a:documentation>
      <zeroOrMore xmlns:s="http://www.ascc.net/xml/schematron" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="valItem"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.combinable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="open">
          <a:documentation>specifies the extensibility of the list of attribute values specified. </a:documentation>
          <choice>
            <value>closed</value>
            <a:documentation>only the values specified are permitted.</a:documentation>
            <value>semi</value>
            <a:documentation>(semi-open) all the values specified should be supported, but other values are legal and
            software should have appropriate fallback processing for them. </a:documentation>
            <value>open</value>
            <a:documentation>the values specified are sample values only.</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="att.combinable.attributes">
    <ref name="att.combinable.attribute.mode"/>
  </define>
  <define name="att.combinable.attribute.mode">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="add">
        <a:documentation>specifies the effect of this declaration on its parent
    object.</a:documentation>
        <choice>
          <value>add</value>
          <a:documentation>this declaration is added to the current definitions</a:documentation>
          <value>delete</value>
          <a:documentation>if present already, the whole of the declaration 
	  for this object is  removed from the current setup</a:documentation>
          <value>change</value>
          <a:documentation>this declaration changes the declaration of the same
    name in the current definition</a:documentation>
          <value>replace</value>
          <a:documentation>this declaration replaces the declaration of the same
    name in the current definition</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.identified.attributes">
    <ref name="att.combinable.attributes"/>
    <ref name="att.identified.attribute.ident"/>
    <ref name="att.identified.attribute.predeclare"/>
    <ref name="att.identified.attribute.module"/>
    <ref name="att.identified.attribute.status"/>
  </define>
  <define name="att.identified.attribute.ident">
    <attribute name="ident">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supplies the identifier by which this element may be referenced.</a:documentation>
      <data type="Name"/>
    </attribute>
  </define>
  <define name="att.identified.attribute.predeclare">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="predeclare" a:defaultValue="false">
        <a:documentation>Says whether this object should be predeclared in the
      tei infrastructure module.</a:documentation>
        <data type="boolean"/>
      </attribute>
    </optional>
  </define>
  <define name="att.identified.attribute.module">
    <optional>
      <attribute name="module">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supplies a name for the module in which this object is to
      be declared.</a:documentation>
        <data type="NCName"/>
      </attribute>
    </optional>
  </define>
  <define name="att.identified.attribute.status">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="stable">
        <a:documentation>indicates the current status of the object identified with
respect to the current version of the TEI Guidelines.</a:documentation>
        <choice>
          <value>deprecated</value>
          <a:documentation>the item is not recommended for use,
and may be withdrawn at a future release.</a:documentation>
          <value>unstable</value>
          <a:documentation>the item is new and still under
review.</a:documentation>
          <value>changed</value>
          <a:documentation>the item has changed significantly since the
preceding version.</a:documentation>
          <value>stable</value>
          <a:documentation>the item has not recently changed and is
not expected to do so except for correction of any errors.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="model.entryLike">
    <choice>
      <ref name="superEntry"/>
      <ref name="entry"/>
      <ref name="entryFree"/>
    </choice>
  </define>
  <define name="model.entryLike_alternation">
    <choice>
      <ref name="superEntry"/>
      <ref name="entry"/>
      <ref name="entryFree"/>
    </choice>
  </define>
  <define name="model.entryLike_sequence">
    <ref name="superEntry"/>
    <ref name="entry"/>
    <ref name="entryFree"/>
  </define>
  <define name="model.entryLike_sequenceOptional">
    <optional>
      <ref name="superEntry"/>
    </optional>
    <optional>
      <ref name="entry"/>
    </optional>
    <optional>
      <ref name="entryFree"/>
    </optional>
  </define>
  <define name="model.entryLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="superEntry"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="entry"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="entryFree"/>
    </zeroOrMore>
  </define>
  <define name="model.entryLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="superEntry"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="entry"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="entryFree"/>
    </oneOrMore>
  </define>
  <define name="att.entryLike.attributes">
    <ref name="att.entryLike.attribute.type"/>
    <ref name="att.entryLike.attribute.sortKey"/>
  </define>
  <define name="att.entryLike.attribute.type">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="main">
        <a:documentation>indicates type of entry, in dictionaries with multiple types.
Suggested values include: 1] main; 2] hom(homograph) ; 3] xref(cross reference) ; 4] affix; 5] abbr(abbreviation) ; 6] supplemental; 7] foreign</a:documentation>
        <choice>
          <value>main</value>
          <a:documentation>a main entry (default).</a:documentation>
          <value>hom</value>
          <a:documentation>(homograph) groups information relating to one homograph within an entry.</a:documentation>
          <value>xref</value>
          <a:documentation>(cross reference) a reduced entry whose only function is to point to another main
            entry (e.g. for forms of an irregular verb or for variant spellings:
            was pointing to be, or
            esthete to aesthete).</a:documentation>
          <value>affix</value>
          <a:documentation>an entry for a prefix, infix, or suffix.</a:documentation>
          <value>abbr</value>
          <a:documentation>(abbreviation) an entry for an abbreviation.</a:documentation>
          <value>supplemental</value>
          <a:documentation>a supplemental entry (for use in dictionaries which issue supplements to their main
            work in which they include updated information about entries).</a:documentation>
          <value>foreign</value>
          <a:documentation>an entry for a foreign word in a monolingual dictionary.</a:documentation>
          <data type="Name"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.entryLike.attribute.sortKey">
    <optional>
      <attribute name="sortKey">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a (sortable) character sequence reflecting the entry's alphabetical position in
        the printed dictionary.</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attributes">
    <ref name="att.lexicographic.attribute.expand"/>
    <ref name="att.lexicographic.attribute.norm"/>
    <ref name="att.lexicographic.attribute.split"/>
    <ref name="att.lexicographic.attribute.value"/>
    <ref name="att.lexicographic.attribute.orig"/>
    <ref name="att.lexicographic.attribute.location"/>
    <ref name="att.lexicographic.attribute.mergedIn"/>
    <ref name="att.lexicographic.attribute.opt"/>
  </define>
  <define name="att.lexicographic.attribute.expand">
    <optional>
      <attribute name="expand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives an expanded form of information presented more concisely in the dictionary</a:documentation>
        <text/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.norm">
    <optional>
      <attribute name="norm">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(normalized) gives a normalized form of information given by the source text in a
                non-normalized form</a:documentation>
        <text/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.split">
    <optional>
      <attribute name="split">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the list of split values for a merged form</a:documentation>
        <text/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.value">
    <optional>
      <attribute name="value">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a value which lacks any realization in the printed source text.</a:documentation>
        <text/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.orig">
    <optional>
      <attribute name="orig">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original) gives the original string or is the empty string when the element does not appear
                in the source text.</a:documentation>
        <text/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.location">
    <optional>
      <attribute name="location">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a reference to an anchor element elsewhere in the document
                indicating the original location of this component.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.mergedIn">
    <optional>
      <attribute name="mergedIn">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a reference to another element, where the original appears as a merged form.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.lexicographic.attribute.opt">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="opt" a:defaultValue="false">
        <a:documentation>(optional) indicates whether the element is optional or not</a:documentation>
        <data type="boolean"/>
      </attribute>
    </optional>
  </define>
  <define name="superEntry">
    <element name="superEntry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups successive entries for a set of homographs.</a:documentation>
      <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <group>
          <optional>
            <ref name="form"/>
          </optional>
          <oneOrMore>
            <ref name="entry"/>
          </oneOrMore>
        </group>
        <ref name="dictScrap"/>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.entryLike.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="entry">
    <element name="entry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a reasonably well-structured dictionary entry.</a:documentation>
      <oneOrMore>
        <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="hom"/>
          <ref name="sense"/>
          <ref name="model.entryPart.top"/>
          <ref name="model.global"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.entryLike.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="entryFree">
    <element name="entryFree">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unstructured entry) contains a dictionary entry which does not necessarily conform to the constraints imposed
        by the entry element.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.entryPart"/>
          <ref name="model.phrase"/>
          <ref name="model.inter"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.entryLike.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="hom">
    <element name="hom">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(homograph) groups information relating to one homograph within an entry.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="sense"/>
          <ref name="model.entryPart.top"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="sense">
    <element name="sense">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups together all information relating to one word sense in a dictionary entry, for
    example definitions, examples, and translation equivalents.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="sense"/>
          <ref name="model.entryPart.top"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="level">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the nesting depth of this sense.</a:documentation>
          <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="double"/>
            <data type="token">
              <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
            </data>
            <data type="decimal"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="dictScrap">
    <element name="dictScrap">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(dictionary scrap) encloses a part of a dictionary entry in which other phrase-level dictionary elements are
        freely combined.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.entryPart"/>
          <ref name="model.phrase"/>
          <ref name="model.inter"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="form">
    <element name="form">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(form information group) groups all the information on the written and spoken forms of one headword.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.inter"/>
          <ref name="model.formPart"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies form as simple, compound, etc.
Suggested values include: 1] simple; 2] lemma; 3] variant; 4] compound; 5] derivative; 6] inflected; 7] phrase</a:documentation>
          <choice>
            <value>simple</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">single free lexical item</a:documentation>
            <value>lemma</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the headword itself</a:documentation>
            <value>variant</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a variant form</a:documentation>
            <value>compound</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">word formed from simple lexical items</a:documentation>
            <value>derivative</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">word derived from headword</a:documentation>
            <value>inflected</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">word in other than usual dictionary form</a:documentation>
            <value>phrase</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">multiple-word lexical item</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="orth">
    <element name="orth">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic form) gives the orthographic form of a dictionary headword.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the type of spelling.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="extent" a:defaultValue="full">
          <a:documentation>gives the extent of the orthographic information provided.
Sample values include: 1] full(full form) ; 2] pref(prefix) ; 3] suff(suffix) ; 4] part(partial) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="pron">
    <element name="pron">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pronunciation) contains the pronunciation(s) of the word.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="extent" a:defaultValue="full">
          <a:documentation>indicates whether the pronunciation is for whole word or part. 
Sample values include: 1] full(full form) ; 2] pref(prefix) ; 3] suff(suffix) ; 4] part(partial) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="notation">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates what notation is used for the pronunciation, if more than one occurs in
                the machine-readable dictionary. </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="hyph">
    <element name="hyph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hyphenation) contains a hyphenated form of a dictionary headword, or hyphenation information in some
    other form.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="syll">
    <element name="syll">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(syllabification) contains the syllabification of the headword.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="stress">
    <element name="stress">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the stress pattern for a dictionary headword, if given separately.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="gram">
    <element name="gram">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(grammatical information) within an entry in a dictionary or a terminological data file, contains grammatical
    information relating to a term, word, or form.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the grammatical information given according to some convenient typology — in
        the case of terminological information, preferably the dictionary of data element types
        specified in ISO WD 12 620.
Sample values include: 1] pos(part of speech) ; 2] gen(gender) ; 3] num(number) ; 4] animate; 5] proper</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="gen">
    <element name="gen">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(gender) identifies the morphological gender of a lexical item, as given in the dictionary.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="number">
    <element name="number">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates grammatical number associated with a form, as given in a dictionary.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="case">
    <element name="case">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains grammatical case information given by a dictionary for a given form.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="per">
    <element name="per">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(person) contains an indication of the grammatical person (1st, 2nd, 3rd, etc.) associated with a
    given inflected form in a dictionary.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="tns">
    <element name="tns">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tense) indicates the grammatical tense associated with a given inflected form in a dictionary.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="mood">
    <element name="mood">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the grammatical mood of verbs (e.g. indicative, subjunctive,
    imperative).</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="iType">
    <element name="iType">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inflectional class) indicates the inflectional class associated with a lexical item.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of indicator used to specify the inflection class, when it is
        necessary to distinguish between the usual abbreviated indications (e.g.
        inv) and other kinds of indicators, such as special codes referring
        to conjugation patterns, etc.
Sample values include: 1] abbrev; 2] verbTable</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="model.morphLike">
    <choice>
      <ref name="gram"/>
      <ref name="gen"/>
      <ref name="number"/>
      <ref name="case"/>
      <ref name="per"/>
      <ref name="tns"/>
      <ref name="mood"/>
      <ref name="iType"/>
    </choice>
  </define>
  <define name="model.morphLike_alternation">
    <choice>
      <ref name="gram"/>
      <ref name="gen"/>
      <ref name="number"/>
      <ref name="case"/>
      <ref name="per"/>
      <ref name="tns"/>
      <ref name="mood"/>
      <ref name="iType"/>
    </choice>
  </define>
  <define name="model.morphLike_sequence">
    <ref name="gram"/>
    <ref name="gen"/>
    <ref name="number"/>
    <ref name="case"/>
    <ref name="per"/>
    <ref name="tns"/>
    <ref name="mood"/>
    <ref name="iType"/>
  </define>
  <define name="model.morphLike_sequenceOptional">
    <optional>
      <ref name="gram"/>
    </optional>
    <optional>
      <ref name="gen"/>
    </optional>
    <optional>
      <ref name="number"/>
    </optional>
    <optional>
      <ref name="case"/>
    </optional>
    <optional>
      <ref name="per"/>
    </optional>
    <optional>
      <ref name="tns"/>
    </optional>
    <optional>
      <ref name="mood"/>
    </optional>
    <optional>
      <ref name="iType"/>
    </optional>
  </define>
  <define name="model.morphLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="gram"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="gen"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="number"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="case"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="per"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="tns"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="mood"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="iType"/>
    </zeroOrMore>
  </define>
  <define name="model.morphLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="gram"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="gen"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="number"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="case"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="per"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="tns"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="mood"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="iType"/>
    </oneOrMore>
  </define>
  <define name="model.gramPart">
    <choice>
      <ref name="model.morphLike"/>
      <ref name="gramGrp"/>
      <ref name="pos"/>
      <ref name="subc"/>
      <ref name="colloc"/>
      <ref name="usg"/>
      <ref name="lbl"/>
    </choice>
  </define>
  <define name="model.gramPart_alternation">
    <choice>
      <ref name="model.morphLike_alternation"/>
      <ref name="gramGrp"/>
      <ref name="pos"/>
      <ref name="subc"/>
      <ref name="colloc"/>
      <ref name="usg"/>
      <ref name="lbl"/>
    </choice>
  </define>
  <define name="model.gramPart_sequence">
    <ref name="model.morphLike_sequence"/>
    <ref name="gramGrp"/>
    <ref name="pos"/>
    <ref name="subc"/>
    <ref name="colloc"/>
    <ref name="usg"/>
    <ref name="lbl"/>
  </define>
  <define name="model.gramPart_sequenceOptional">
    <optional>
      <ref name="model.morphLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="gramGrp"/>
    </optional>
    <optional>
      <ref name="pos"/>
    </optional>
    <optional>
      <ref name="subc"/>
    </optional>
    <optional>
      <ref name="colloc"/>
    </optional>
    <optional>
      <ref name="usg"/>
    </optional>
    <optional>
      <ref name="lbl"/>
    </optional>
  </define>
  <define name="model.gramPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.morphLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="gramGrp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pos"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="subc"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="colloc"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="usg"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="lbl"/>
    </zeroOrMore>
  </define>
  <define name="model.gramPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.morphLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="gramGrp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pos"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="subc"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="colloc"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="usg"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="lbl"/>
    </oneOrMore>
  </define>
  <define name="model.formPart">
    <choice>
      <ref name="form"/>
      <ref name="orth"/>
      <ref name="pron"/>
      <ref name="hyph"/>
      <ref name="syll"/>
      <ref name="stress"/>
      <ref name="model.gramPart"/>
    </choice>
  </define>
  <define name="gramGrp">
    <element name="gramGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(grammatical information group) groups morpho-syntactic information about a lexical item, e.g. pos, gen, number, case, or
        iType (inflectional class).</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.inter"/>
          <ref name="model.gramPart"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="pos">
    <element name="pos">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(part of speech) indicates the part of speech assigned to a dictionary 
headword  such as noun, verb, or adjective.
    </a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="subc">
    <element name="subc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(subcategorization) contains subcategorization information (transitive/intransitive, countable/non-countable,
        etc.)</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="colloc">
    <element name="colloc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(collocate) contains a collocate of the headword.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="def">
    <element name="def">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(definition) contains definition text in a dictionary entry.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="etym">
    <element name="etym">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(etymology) encloses the etymological information in a dictionary entry.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.inter"/>
          <ref name="usg"/>
          <ref name="lbl"/>
          <ref name="def"/>
          <ref name="model.morphLike"/>
          <ref name="xr"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="lang">
    <element name="lang">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language name) name of a language mentioned in etymological or other linguistic discussion.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="usg">
    <element name="usg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(usage) contains usage information in a dictionary entry.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the usage information using any convenient typology.
Sample values include: 1] geo(geographic) ; 2] time; 3] dom(domain) ; 4] reg(register) ; 5] style; 6] plev(preference level) ; 7] lang(language) ; 8] gram(grammatical) ; 9] syn(synonym) ; 10] hyper(hypernym) ; 11] colloc(collocation) ; 12] comp(complement) ; 13] obj(object) ; 14] subj(subject) ; 15] verb; 16] hint</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="lbl">
    <element name="lbl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(label) contains a label for a form, example, translation, or other piece of information, e.g.
    abbreviation for, contraction of, literally, approximately, synonyms:, etc.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the label using any convenient typology.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="xr">
    <element name="xr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cross-reference phrase) contains a phrase, sentence, or icon referring the reader to some other location in this or
    another text.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.inter"/>
          <ref name="usg"/>
          <ref name="lbl"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of cross reference, using any convenient typology.
Sample values include: 1] syn(synonym) ; 2] etym(etymological) ; 3] cf(compare or consult) ; 4] illus(illustration) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="re">
    <element name="re">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(related entry) contains a dictionary entry for a lexical item related to the headword, such as a compound
    phrase or derived form, embedded inside a larger entry.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="sense"/>
          <ref name="model.entryPart.top"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="model.ptrLike.form">
    <choice>
      <ref name="oRef"/>
      <ref name="oVar"/>
      <ref name="pRef"/>
      <ref name="pVar"/>
    </choice>
  </define>
  <define name="model.ptrLike.form_alternation">
    <choice>
      <ref name="oRef"/>
      <ref name="oVar"/>
      <ref name="pRef"/>
      <ref name="pVar"/>
    </choice>
  </define>
  <define name="model.ptrLike.form_sequence">
    <ref name="oRef"/>
    <ref name="oVar"/>
    <ref name="pRef"/>
    <ref name="pVar"/>
  </define>
  <define name="model.ptrLike.form_sequenceOptional">
    <optional>
      <ref name="oRef"/>
    </optional>
    <optional>
      <ref name="oVar"/>
    </optional>
    <optional>
      <ref name="pRef"/>
    </optional>
    <optional>
      <ref name="pVar"/>
    </optional>
  </define>
  <define name="model.ptrLike.form_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="oRef"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="oVar"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pRef"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pVar"/>
    </zeroOrMore>
  </define>
  <define name="model.ptrLike.form_sequenceRepeatable">
    <oneOrMore>
      <ref name="oRef"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="oVar"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pRef"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pVar"/>
    </oneOrMore>
  </define>
  <define name="oRef">
    <element name="oRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic-form reference) in a dictionary example, indicates a reference to the orthographic form(s) of the headword.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the kind of typographic modification made to the headword in the reference.
Sample values include: 1] cap(capital) ; 2] noHyph(no hyphen) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="oVar">
    <element name="oVar">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic-variant reference) in a dictionary example, indicates a reference to variant orthographic form(s) of the
    headword.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="oRef"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the kind of variant involved.
Sample values include: 1] pt(past tense) ; 2] pp(past participle) ; 3] prp(present participle) ; 4] f(feminine) ; 5] pl(plural) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="pRef">
    <element name="pRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pronunciation reference) in a dictionary example, indicates a reference to the pronunciation(s) of the headword.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="pVar">
    <element name="pVar">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pronunciation-variant reference) in a dictionary example, indicates a reference to variant pronunciation(s) of the headword.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="pRef"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.lexicographic.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" 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:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" 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:sch="http://purl.oclc.org/dsdl/schematron" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://www.tei-c.org/ns/1.0" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="contains(@target,' ')">You must supply at least two
values for @target</sch:assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute 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"/>
            <data type="anyURI"/>
            <zeroOrMore>
              <data type="anyURI"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
          <ref name="link"/>
          <ref name="ptr"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.group.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="anchor">
    <element name="anchor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(anchor point) attaches an identifier to a point within a text, whether or not it corresponds with a textual element.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.segLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="when">
    <element name="when">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates a point in time either relative to other elements in the same timeline tag, or absolutely.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="absolute">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies an absolute value for the time.</a:documentation>
          <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <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>
      <optional>
        <attribute name="unit">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the unit of time in which the interval value is expressed, if this is not inherited from the parent timeline.
Suggested values include: 1] d(days) ; 2] h(hours) ; 3] min(minutes) ; 4] s(seconds) ; 5] ms(milliseconds) </a:documentation>
          <choice>
            <value>d</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(days) </a:documentation>
            <value>h</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hours) </a:documentation>
            <value>min</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(minutes) </a:documentation>
            <value>s</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seconds) </a:documentation>
            <value>ms</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milliseconds) </a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="interval">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the numeric portion of a time interval</a:documentation>
          <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="float">
              <param name="minExclusive">0</param>
            </data>
            <value>unknown</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="since">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the reference point for determining the time of the current when element, which is obtained by adding the interval to the time of the reference point.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="timeline">
    <element name="timeline">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(timeline) provides a set of ordered points in time which can be linked to elements of a spoken text to create a temporal alignment of that text.</a:documentation>
      <oneOrMore>
        <ref name="when"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="origin">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">designates the origin of the timeline, i.e. the time at which it begins.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="unit">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the unit of time corresponding to the interval value of the timeline or of its constituent points in time.
Suggested values include: 1] d(days) ; 2] h(hours) ; 3] min(minutes) ; 4] s(seconds) ; 5] ms(milliseconds) </a:documentation>
          <choice>
            <value>d</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(days) </a:documentation>
            <value>h</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hours) </a:documentation>
            <value>min</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(minutes) </a:documentation>
            <value>s</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seconds) </a:documentation>
            <value>ms</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milliseconds) </a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="interval">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the numeric portion of a time interval</a:documentation>
          <choice xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <data type="float">
              <param name="minExclusive">0</param>
            </data>
            <value>regular</value>
            <value>irregular</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="join">
    <element name="join">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a possibly fragmented segment of text, by pointing at the possibly discontiguous elements which compose it.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="join-constraint-joinTargets1">
        <rule context="tei:join">
          <report xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="@target and @targets">You may not supply both 
	@target and @targets</report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="join-constraint-joinTargets2">
        <rule context="tei:join">
          <report xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="not(@target) and not(@targets)">You must
	supply either @target or @targets</report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="join-constraint-joinTargets3">
        <rule context="tei:join">
          <assert xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="contains(@target,' ')">You must supply at least two
values for @target</assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute name="targets">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifiers of the elements or passages to be joined into a virtual element.</a:documentation>
          <list>
            <data type="anyURI"/>
            <data type="anyURI"/>
            <zeroOrMore>
              <data type="anyURI"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute name="result">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the name of an element which this aggregation may be understood to represent.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scope" a:defaultValue="root">
          <a:documentation>indicates whether the targets to be joined include the entire element indicated (the entire subtree including its root), or just the children of the target (the branches of the subtree).</a:documentation>
          <choice>
            <value>root</value>
            <a:documentation>the rooted subtrees indicated by the targets attribute are joined, each subtree become a child of the virtual element created by the join</a:documentation>
            <value>branches</value>
            <a:documentation>the children of the subtrees indicated by the targets attribute become the children of the virtual element (i.e. the roots of the subtrees are discarded)</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="join"/>
            <ref name="ptr"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.group.attributes"/>
      <optional>
        <attribute 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 name="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">
          <report xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="@target and @targets">You may not supply both 
	@target and @targets</report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="alt-constraint-altTargets2">
        <rule context="tei:alt">
          <report xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="not(@target) and not(@targets)">You must
	supply either @target or @targets</report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="alt-constraint-altTargets3">
        <rule context="tei:alt">
          <assert xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0" test="contains(@target,' ')">You must supply at least two
values for @target</assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute 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"/>
            <data type="anyURI"/>
            <zeroOrMore>
              <data type="anyURI"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute 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 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>
            <data type="double">
              <param name="minInclusive">0</param>
              <param name="maxInclusive">1</param>
            </data>
            <zeroOrMore>
              <data type="double">
                <param name="minInclusive">0</param>
                <param name="maxInclusive">1</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="alt"/>
          <ref name="ptr"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.group.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/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 name="att.global.linking.attributes">
    <ref name="att.global.linking.attribute.corresp"/>
    <ref name="att.global.linking.attribute.synch"/>
    <ref name="att.global.linking.attribute.sameAs"/>
    <ref name="att.global.linking.attribute.copyOf"/>
    <ref name="att.global.linking.attribute.next"/>
    <ref name="att.global.linking.attribute.prev"/>
    <ref name="att.global.linking.attribute.exclude"/>
    <ref name="att.global.linking.attribute.select"/>
  </define>
  <define name="att.global.linking.attribute.corresp">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.linking.attribute.synch">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.linking.attribute.sameAs">
    <optional>
      <attribute 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 name="att.global.linking.attribute.copyOf">
    <optional>
      <attribute 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 name="att.global.linking.attribute.next">
    <optional>
      <attribute 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 name="att.global.linking.attribute.prev">
    <optional>
      <attribute 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 name="att.global.linking.attribute.exclude">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.linking.attribute.select">
    <optional>
      <attribute 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>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <zeroOrMore>
          <choice>
            <ref name="model.headLike"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <ref name="row"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute 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 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 name="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>
        <ref name="cell"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.tableDecoration.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="cell">
    <element name="cell">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one cell of a table. </a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.tableDecoration.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="formula">
    <element name="formula">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a mathematical or other formula.</a:documentation>
      <zeroOrMore xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <text/>
          <ref name="model.graphicLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="notation">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of a previously defined notation used for the content of the element.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="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 xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:teix="http://www.tei-c.org/ns/Examples" xmlns:rng="http://relaxng.org/ns/structure/1.0">
        <choice>
          <ref name="model.headLike"/>
          <ref name="model.pLike"/>
          <ref name="figDesc"/>
          <ref name="model.graphicLike"/>
          <ref name="model.egLike"/>
          <ref name="floatingText"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="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>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <start>
    <choice>
      <ref name="TEI"/>
      <ref name="schemaSpec"/>
      <ref name="elementSpec"/>
      <ref name="classSpec"/>
      <ref name="macroSpec"/>
      <ref name="div"/>
    </choice>
  </start>
</grammar>
