<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.tei-c.org/ns/1.0" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:ns1="http://www.tei-c.org/ns/1.0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <xs:import namespace="http://www.w3.org/1998/Math/MathML" schemaLocation="tei_math.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
  <xs:element name="p">
    <xs:annotation>
      <xs:documentation>(paragraph) marks paragraphs in prose.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="foreign">
    <xs:annotation>
      <xs:documentation>(foreign) identifies a word or phrase as belonging to some language other than that of the
                surrounding text. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="emph">
    <xs:annotation>
      <xs:documentation>(emphasized) marks words or phrases which are stressed or emphasized for
        linguistic or rhetorical effect.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="hi">
    <xs:annotation>
      <xs:documentation>(highlighted) marks a word or phrase as graphically distinct from the
        surrounding text, for reasons concerning which no claim is
        made. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="distinct">
    <xs:annotation>
      <xs:documentation>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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>specifies the sublanguage or register to which the word or phrase is being
                assigned</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="time" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>specifies how the phrase is distinct diachronically</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="space" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>specifies how the phrase is distinct diatopically</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="social" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>specifies how the phrase is distinct diastatically</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="said">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.specialPara">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.ascribed.attributes"/>
          <xs:attribute name="aloud" default="unknown">
            <xs:annotation>
              <xs:documentation>may be used to indicate whether the quoted matter is regarded as having been vocalized
        or signed.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:boolean">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="unknown"/>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="inapplicable"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="direct" default="true">
            <xs:annotation>
              <xs:documentation>may be used to indicate whether the quoted matter is regarded as direct or indirect
        speech.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:boolean">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="unknown"/>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="inapplicable"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="quote">
    <xs:annotation>
      <xs:documentation>(quotation) contains a phrase or passage attributed by the narrator or author to some agency external
        to the text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.specialPara">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="q">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.specialPara">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.ascribed.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>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</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="spoken">
                      <xs:annotation>
                        <xs:documentation>representation of speech</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="thought">
                      <xs:annotation>
                        <xs:documentation>representation of thought, e.g. internal monologue</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="written">
                      <xs:annotation>
                        <xs:documentation>quotation from a written source</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="soCalled">
                      <xs:annotation>
                        <xs:documentation>authorial distance</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="foreign">
                      <xs:annotation>
                        <xs:documentation>(foreign words) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="distinct">
                      <xs:annotation>
                        <xs:documentation>(linguistically distinct) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="term">
                      <xs:annotation>
                        <xs:documentation>(technical term) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="emph">
                      <xs:annotation>
                        <xs:documentation>(rhetorically emphasized) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="mentioned">
                      <xs:annotation>
                        <xs:documentation>refering to itself, not its normal referant</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="cit">
    <xs:annotation>
      <xs:documentation>(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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.qLike"/>
        <xs:group ref="mathml:tei_model.biblLike"/>
        <xs:group ref="mathml:tei_model.ptrLike"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="mentioned">
    <xs:annotation>
      <xs:documentation>marks words or phrases mentioned, not used.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="soCalled">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="desc">
    <xs:annotation>
      <xs:documentation>(description) contains a brief description of the object documented by its parent element, including its
    intended usage, purpose, or application where this is appropriate.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.limitedContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.translatable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gloss">
    <xs:annotation>
      <xs:documentation>identifies a phrase or word used to provide a gloss or definition for some other word or
    phrase.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.translatable.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.pointing.attributes"/>
          <xs:attribute name="cRef" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>(canonical reference) identifies the associated term element using a canonical reference from a
        scheme defined in a refsDecl element in the TEI header</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="term">
    <xs:annotation>
      <xs:documentation>contains a single-word, multi-word, or symbolic designation which is regarded as a technical
    term.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.pointing.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.canonical.attributes"/>
          <xs:attribute name="cRef" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the associated gloss element using a canonical reference from a
          scheme defined in a refsDecl element in the TEI header</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="sortKey">
            <xs:annotation>
              <xs:documentation>supplies the sort key for this term in an index.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="sic">
    <xs:annotation>
      <xs:documentation>(latin for thus or so
  ) contains text reproduced although apparently incorrect or inaccurate.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.responsibility.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="corr">
    <xs:annotation>
      <xs:documentation>(correction) contains the correct form of a passage apparently erroneous in the copy text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="choice">
    <xs:annotation>
      <xs:documentation>groups a number of alternative encodings for the same point in
        a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.choicePart"/>
        <xs:element ref="ns1:choice"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="reg">
    <xs:annotation>
      <xs:documentation>(regularization) contains a reading which has been regularized or normalized in some sense.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="orig">
    <xs:annotation>
      <xs:documentation>(original form) contains a reading which is marked as following the original, rather than being normalized
        or corrected.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.responsibility.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gap">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.glossLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
      <xs:attribute name="reason">
        <xs:annotation>
          <xs:documentation>gives the reason for omission. Sample values include sampling,
        inaudible, irrelevant, cancelled.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:union>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:union>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="hand" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>in the case of text omitted from the transcription because of deliberate deletion by an
        identifiable hand, signifies the hand which made the deletion.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="agent" type="xs:Name">
        <xs:annotation>
          <xs:documentation>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</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="add">
    <xs:annotation>
      <xs:documentation>(addition) contains letters, words, or phrases inserted in the text by an
        author, scribe, annotator, or corrector.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.transcriptional.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.placement.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="del">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.transcriptional.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="unclear">
    <xs:annotation>
      <xs:documentation>contains a word, phrase, or passage which cannot be transcribed with certainty because it
        is illegible or inaudible in the source.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>indicates why the material is hard to transcribe.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:union>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="hand" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>Where the difficulty in transcription arises from action (partial deletion, etc.)
                assignable to an identifiable hand, signifies the hand responsible for the action.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="agent" type="xs:Name">
            <xs:annotation>
              <xs:documentation>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</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="name">
    <xs:annotation>
      <xs:documentation>(name, proper noun) contains a proper noun or noun phrase.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.naming.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="rs">
    <xs:annotation>
      <xs:documentation>(referencing string) contains a general purpose name or referring string.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.naming.attributes"/>
          <xs:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>indicates more specifically the object referred to by the referencing string.
                Values might include person, place, ship,
                    element etc.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="email">
    <xs:annotation>
      <xs:documentation>(electronic mail address) contains an e-mail address identifying a location to which
        e-mail messages can be delivered.
    </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="address">
    <xs:annotation>
      <xs:documentation>contains a postal  address, for example of a
        publisher, an organization, or an individual.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.addrPart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="addrLine">
    <xs:annotation>
      <xs:documentation>(address line) contains one line of a postal address.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="street">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="postCode">
    <xs:annotation>
      <xs:documentation>(postal code) contains a numerical or alphanumeric code used as part of a postal address to simplify
        sorting or delivery of mail. </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="postBox">
    <xs:annotation>
      <xs:documentation>(postal box or post office box) contains a number or other identifier for some postal delivery point other than a street
    address. </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="num">
    <xs:annotation>
      <xs:documentation>(number) contains a number, written in any form.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.ranging.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>indicates the type of numeric value.
Suggested values include: 1] cardinal; 2] ordinal; 3] fraction; 4] percentage</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="cardinal">
                      <xs:annotation>
                        <xs:documentation>absolute number, e.g. 21, 21.5</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="ordinal">
                      <xs:annotation>
                        <xs:documentation>ordinal number, e.g. 21st</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="fraction">
                      <xs:annotation>
                        <xs:documentation>fraction, e.g. one half or three-quarters</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="percentage">
                      <xs:annotation>
                        <xs:documentation>a percentage</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="value">
            <xs:annotation>
              <xs:documentation>supplies the value of the number in standard form.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:double xs:decimal">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="measure">
    <xs:annotation>
      <xs:documentation>contains a word or phrase referring to some quantity of an object or commodity, usually
        comprising a number, a unit, and a commodity name.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.measurement.attributes"/>
          <xs:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>specifies the type of measurement in any convenient typology.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="measureGrp">
    <xs:annotation>
      <xs:documentation>(measure group) contains a group of dimensional specifications which relate to the same object, for example
    the height and width of a manuscript page.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.measureLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.measurement.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="date">
    <xs:annotation>
      <xs:documentation>contains a date in any format.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.phrase"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.datable.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attribute name="calendar">
        <xs:annotation>
          <xs:documentation>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</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Gregorian">
                  <xs:annotation>
                    <xs:documentation>Gregorian calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Julian">
                  <xs:annotation>
                    <xs:documentation>Julian calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Islamic">
                  <xs:annotation>
                    <xs:documentation>Islamic or Muslim (hijri) lunar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Hebrew">
                  <xs:annotation>
                    <xs:documentation>Hebrew or Jewish lunisolar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Revolutionary">
                  <xs:annotation>
                    <xs:documentation>French Revolutionary calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Iranian">
                  <xs:annotation>
                    <xs:documentation>Iranian or Persian (Jalaali) solar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Coptic">
                  <xs:annotation>
                    <xs:documentation>Coptic or Alexandrian calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Chinese">
                  <xs:annotation>
                    <xs:documentation>Chinese lunisolar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="time">
    <xs:annotation>
      <xs:documentation>contains a phrase defining a time of day in any format.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.phrase"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.datable.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="abbr">
    <xs:annotation>
      <xs:documentation>(abbreviation) contains an abbreviation of any sort.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.responsibility.attributes"/>
          <xs:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>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</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="expan">
    <xs:annotation>
      <xs:documentation>(expansion) contains the expansion of an abbreviation.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.editLike.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ptr">
    <xs:annotation>
      <xs:documentation>(pointer) defines a pointer to another location.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.pointing.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
      <xs:attribute name="cRef">
        <xs:annotation>
          <xs:documentation>(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</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:union>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:union>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="ref">
    <xs:annotation>
      <xs:documentation>(reference) defines a reference to another location, possibly modified by additional text or comment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.pointing.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
          <xs:attribute name="cRef">
            <xs:annotation>
              <xs:documentation>(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</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:union>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="list">
    <xs:annotation>
      <xs:documentation>(list) contains any sequence of items organized as a list.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:element ref="ns1:item"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element minOccurs="0" ref="ns1:headLabel"/>
            <xs:element minOccurs="0" ref="ns1:headItem"/>
            <xs:sequence maxOccurs="unbounded">
              <xs:element ref="ns1:label"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              <xs:element ref="ns1:item"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="type" default="simple">
        <xs:annotation>
          <xs:documentation>describes the form of the list.
Suggested values include: 1] ordered; 2] bulleted; 3] simple; 4] gloss</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ordered">
                  <xs:annotation>
                    <xs:documentation>list items are numbered or lettered. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="bulleted">
                  <xs:annotation>
                    <xs:documentation>list items are marked with a bullet or other typographic device. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="simple">
                  <xs:annotation>
                    <xs:documentation>list items are not numbered or bulleted. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="gloss">
                  <xs:annotation>
                    <xs:documentation>each list item glosses some term or concept, which is given by a label element
            preceding the list item.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="item">
    <xs:annotation>
      <xs:documentation>contains one component of a list.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.specialPara">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="label">
    <xs:annotation>
      <xs:documentation>contains the label associated with an item in a list; in glossaries, marks the term being
    defined.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="head">
    <xs:annotation>
      <xs:documentation>(heading) contains any type of heading, for example the title of a section, or the heading of a list,
    glossary, manuscript description, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="headLabel">
    <xs:annotation>
      <xs:documentation>(heading for list labels) contains the heading for the label or term column in a glossary list or similar structured
        list.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="headItem">
    <xs:annotation>
      <xs:documentation>(heading for list items) contains the heading for the item or gloss column in a glossary list or similar structured
        list.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="note">
    <xs:annotation>
      <xs:documentation>contains a note or annotation.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.specialPara">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.placement.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.pointing.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.responsibility.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
          <xs:attribute name="anchored" default="true" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>indicates whether the copy text shows the exact place of reference for the note.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="targetEnd">
            <xs:annotation>
              <xs:documentation>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.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union memberTypes="xs:anyURI xs:anyURI"/>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="index">
    <xs:annotation>
      <xs:documentation>(index entry) marks a location to be indexed for whatever purpose.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:term"/>
        <xs:element minOccurs="0" ref="ns1:index"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.spanning.attributes"/>
      <xs:attribute name="indexName" type="xs:Name">
        <xs:annotation>
          <xs:documentation>supplies a name to specify which index (of several) the index entry belongs to.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="graphic">
    <xs:annotation>
      <xs:documentation>indicates the location of an inline graphic, illustration, or figure.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.glossLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.internetMedia.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
      <xs:attribute name="width">
        <xs:annotation>
          <xs:documentation>The display width of the image</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="height">
        <xs:annotation>
          <xs:documentation>The display height of the image</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="scale">
        <xs:annotation>
          <xs:documentation>A scale factor to be applied to the image to make it the desired display size</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:double xs:decimal">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="url" use="required" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>(uniform resource locator) A URL which refers to the image itself.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="binaryObject">
    <xs:annotation>
      <xs:documentation>provides encoded binary data representing an inline graphic or other object.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.internetMedia.attributes"/>
      <xs:attribute name="width">
        <xs:annotation>
          <xs:documentation>The display width of the object</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="height">
        <xs:annotation>
          <xs:documentation>The display height of the object</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="scale">
        <xs:annotation>
          <xs:documentation>A scale factor to be applied to the object to make it the desired display size</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:double xs:decimal">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="encoding">
        <xs:annotation>
          <xs:documentation>The encoding used to encode the binary data. If not specified, this is assumed to be
          Base64.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:union>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:union>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="milestone">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.sourced.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.spanning.attributes"/>
      <xs:attribute name="unit" use="required">
        <xs:annotation>
          <xs:documentation>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</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="page">
                  <xs:annotation>
                    <xs:documentation>physical page breaks (synonymous with the pb element).</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="column">
                  <xs:annotation>
                    <xs:documentation>column breaks.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="line">
                  <xs:annotation>
                    <xs:documentation>line breaks (synonymous with the lb element).</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="book">
                  <xs:annotation>
                    <xs:documentation>any units termed book, liber, etc.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="poem">
                  <xs:annotation>
                    <xs:documentation>individual poems in a collection.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="canto">
                  <xs:annotation>
                    <xs:documentation>cantos or other major sections of a poem.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="speaker">
                  <xs:annotation>
                    <xs:documentation>changes of speaker or narrator.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="stanza">
                  <xs:annotation>
                    <xs:documentation>stanzas within a poem, book, or canto.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="act">
                  <xs:annotation>
                    <xs:documentation>acts within a play.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="scene">
                  <xs:annotation>
                    <xs:documentation>scenes within a play or act.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="section">
                  <xs:annotation>
                    <xs:documentation>sections of any kind.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="absent">
                  <xs:annotation>
                    <xs:documentation>passages not present in the reference edition.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="unnumbered">
                  <xs:annotation>
                    <xs:documentation>passages present in the text, but not to be included as part of the reference.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="pb">
    <xs:annotation>
      <xs:documentation>(page break) marks the boundary between one page of a text and the next in a standard reference system.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.sourced.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.spanning.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lb">
    <xs:annotation>
      <xs:documentation>(line break) marks the start of a new (typographic) line in some edition or version of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.sourced.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.spanning.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cb">
    <xs:annotation>
      <xs:documentation>(column break) marks the boundary between one column of a text and the next
        in a standard reference system.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.sourced.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.spanning.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="analytic">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:author"/>
        <xs:element ref="ns1:editor"/>
        <xs:element ref="ns1:respStmt"/>
        <xs:element ref="ns1:title"/>
        <xs:element ref="ns1:ref"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="monogr">
    <xs:annotation>
      <xs:documentation>(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).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:choice>
              <xs:element ref="ns1:author"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:author"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
            <xs:element maxOccurs="unbounded" ref="ns1:title"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:idno"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:choice maxOccurs="unbounded">
              <xs:element ref="ns1:title"/>
              <xs:element ref="ns1:ref"/>
            </xs:choice>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:idno"/>
              <xs:element ref="ns1:author"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.noteLike"/>
          <xs:element ref="ns1:meeting"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:edition"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:idno"/>
            <xs:element ref="ns1:editor"/>
            <xs:element ref="ns1:respStmt"/>
          </xs:choice>
        </xs:sequence>
        <xs:element ref="ns1:imprint"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:imprint"/>
          <xs:element ref="ns1:extent"/>
          <xs:element ref="ns1:biblScope"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="series">
    <xs:annotation>
      <xs:documentation>(series information) contains information about the series in which a book or other bibliographic item has
    appeared.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:title"/>
        <xs:element ref="ns1:ref"/>
        <xs:element ref="ns1:editor"/>
        <xs:element ref="ns1:respStmt"/>
        <xs:element ref="ns1:biblScope"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="author">
    <xs:annotation>
      <xs:documentation>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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="editor">
    <xs:annotation>
      <xs:documentation>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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="respStmt">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="ns1:resp"/>
          <xs:group maxOccurs="unbounded" ref="mathml:tei_model.nameLike.agent"/>
        </xs:sequence>
        <xs:sequence>
          <xs:group maxOccurs="unbounded" ref="mathml:tei_model.nameLike.agent"/>
          <xs:element maxOccurs="unbounded" ref="ns1:resp"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="resp">
    <xs:annotation>
      <xs:documentation>(responsibility) contains a phrase describing the nature of a person's intellectual responsibility.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="title">
    <xs:annotation>
      <xs:documentation>contains a title for any kind of work.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.canonical.attributes"/>
          <xs:attribute name="level">
            <xs:annotation>
              <xs:documentation>indicates the bibliographic level for a title, that is, whether
                                        it identifies an article, book, journal, series, or
                                        unpublished material.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="a">
                  <xs:annotation>
                    <xs:documentation>(analytic) analytic title (article, poem, or other item
                                                  published as part of a larger item) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="m">
                  <xs:annotation>
                    <xs:documentation>(monographic) monographic title (book, collection, or
                                                  other item published as a distinct item,
                                                  including single volumes of multi-volume
                                                  works) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="j">
                  <xs:annotation>
                    <xs:documentation>(journal) journal title </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="s">
                  <xs:annotation>
                    <xs:documentation>(series) series title </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="u">
                  <xs:annotation>
                    <xs:documentation>(unpublished) title of unpublished material (including
                                                  theses and dissertations unless
                                                  published by a commercial press)</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>classifies the title according to some convenient typology.
Sample values include: 1] main; 2] sub(subordinate) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="meeting">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.limitedContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="imprint">
    <xs:annotation>
      <xs:documentation>groups information relating to the publication or distribution
        of a bibliographic item.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence maxOccurs="unbounded">
        <xs:choice>
          <xs:group ref="mathml:tei_model.imprintPart"/>
          <xs:group ref="mathml:tei_model.dateLike"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="publisher">
    <xs:annotation>
      <xs:documentation>provides the name of the organization responsible for the publication or distribution of a
        bibliographic item.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="biblScope">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>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</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="vol">
                      <xs:annotation>
                        <xs:documentation>(volume) the element contains a volume number.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="issue">
                      <xs:annotation>
                        <xs:documentation>the element contains an issue number, or volume and
                        issue numbers.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="pp">
                      <xs:annotation>
                        <xs:documentation>(pages) the element contains a page number or page range.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="ll">
                      <xs:annotation>
                        <xs:documentation> (lines) the element contains a line number or line range.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="chap">
                      <xs:annotation>
                        <xs:documentation>(chapter) the element contains a chapter indication (number
                        and/or title)</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="part">
                      <xs:annotation>
                        <xs:documentation>the element identifies a part of a book or collection.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="from">
            <xs:annotation>
              <xs:documentation>specifies the starting point of the range of units indicated by the type attribute.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="to">
            <xs:annotation>
              <xs:documentation>specifies the end-point of the range of units indicated by the type attribute.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="pubPlace">
    <xs:annotation>
      <xs:documentation>(publication place) contains the name of the place where a bibliographic item was published.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="bibl">
    <xs:annotation>
      <xs:documentation>(bibliographic citation) contains a loosely-structured bibliographic citation of which the sub-components may or may
    not be explicitly tagged. </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.highlighted"/>
        <xs:group ref="mathml:tei_model.pPart.data"/>
        <xs:group ref="mathml:tei_model.pPart.edit"/>
        <xs:group ref="mathml:tei_model.ptrLike"/>
        <xs:group ref="mathml:tei_model.biblPart"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="biblStruct">
    <xs:annotation>
      <xs:documentation>(structured bibliographic citation) contains a structured bibliographic citation, in which only bibliographic sub-elements
    appear and in a specified order. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:analytic"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:element ref="ns1:monogr"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:series"/>
        </xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.noteLike"/>
          <xs:element ref="ns1:idno"/>
          <xs:element ref="ns1:relatedItem"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listBibl">
    <xs:annotation>
      <xs:documentation>(citation list) contains a list of bibliographic citations of any kind. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.biblLike"/>
          <xs:group ref="mathml:tei_model.milestoneLike"/>
          <xs:element ref="ns1:listBibl"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="relatedItem">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0">
        <xs:group ref="mathml:tei_model.biblLike"/>
        <xs:group ref="mathml:tei_model.ptrLike"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attribute name="target" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>points to the related bibliographic element by means of an
      absolute or relative URI reference</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="l">
    <xs:annotation>
      <xs:documentation>(verse line) contains a single, possibly incomplete, line of verse.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="part" default="N">
            <xs:annotation>
              <xs:documentation>specifies whether or not the line is metrically complete. </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Y">
                  <xs:annotation>
                    <xs:documentation>(yes) the line is metrically incomplete</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="N">
                  <xs:annotation>
                    <xs:documentation>(no) either the line is complete, or no claim is made as to its completeness</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="I">
                  <xs:annotation>
                    <xs:documentation>(initial) the initial part of an incomplete line</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="M">
                  <xs:annotation>
                    <xs:documentation>(medial) a medial part of an incomplete line</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="F">
                  <xs:annotation>
                    <xs:documentation>(final) the final part of an incomplete line</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="lg">
    <xs:annotation>
      <xs:documentation>(line group) contains a group of verse lines functioning as a formal unit, e.g. a stanza, refrain,
        verse paragraph, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:group ref="mathml:tei_model.lLike"/>
          <xs:element ref="ns1:lg"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.lLike"/>
          <xs:element ref="ns1:lg"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sp">
    <xs:annotation>
      <xs:documentation>(speech) An individual speech in a performance text, or a passage presented as such in a prose or
    verse text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:speaker"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:group ref="mathml:tei_model.lLike"/>
            <xs:element ref="ns1:lg"/>
            <xs:group ref="mathml:tei_model.pLike"/>
            <xs:group ref="mathml:tei_model.stageLike"/>
            <xs:group ref="mathml:tei_model.qLike"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.ascribed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="speaker">
    <xs:annotation>
      <xs:documentation>A specialized form of heading or label, giving the name of one or more speakers in a
        dramatic text or fragment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="stage">
    <xs:annotation>
      <xs:documentation>(stage direction) contains any kind of stage direction within a dramatic text or fragment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.specialPara">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>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</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="setting">
                      <xs:annotation>
                        <xs:documentation>describes a setting.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="entrance">
                      <xs:annotation>
                        <xs:documentation>describes an entrance.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="exit">
                      <xs:annotation>
                        <xs:documentation>describes an exit.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="business">
                      <xs:annotation>
                        <xs:documentation>describes stage business.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="novelistic">
                      <xs:annotation>
                        <xs:documentation>is a narrative, motivating stage direction.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="delivery">
                      <xs:annotation>
                        <xs:documentation>describes how a character speaks.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="modifier">
                      <xs:annotation>
                        <xs:documentation>gives some detail about a character.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="location">
                      <xs:annotation>
                        <xs:documentation>describes a location.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="mixed">
                      <xs:annotation>
                        <xs:documentation>more than one of the above</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="teiCorpus">
    <xs:annotation>
      <xs:documentation>contains the whole of a TEI encoded corpus, comprising a single corpus header and one or
    more TEI elements, each containing a single text header and a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:teiHeader"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:TEI"/>
          <xs:element ref="ns1:teiCorpus"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="version" default="5.0">
        <xs:annotation>
          <xs:documentation>The version of the TEI scheme</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\d]+(\.[\d]+){0,2}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="divGen">
    <xs:annotation>
      <xs:documentation>(automatically generated text division) indicates the location at which a textual division generated
        automatically by a text-processing application is to appear.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.headLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="type" type="xs:Name">
        <xs:annotation>
          <xs:documentation>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</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="teiHeader">
    <xs:annotation>
      <xs:documentation>(TEI Header) supplies the descriptive and declarative information making up an electronic title page
    prefixed to every TEI-conformant text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:fileDesc"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.teiHeaderPart"/>
        <xs:element minOccurs="0" ref="ns1:revisionDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="type" default="text" type="xs:Name">
        <xs:annotation>
          <xs: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</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fileDesc">
    <xs:annotation>
      <xs:documentation>(file description) contains a full bibliographic description of an electronic file.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence>
          <xs:element ref="ns1:titleStmt"/>
          <xs:element minOccurs="0" ref="ns1:editionStmt"/>
          <xs:element minOccurs="0" ref="ns1:extent"/>
          <xs:element ref="ns1:publicationStmt"/>
          <xs:element minOccurs="0" ref="ns1:seriesStmt"/>
          <xs:element minOccurs="0" ref="ns1:notesStmt"/>
        </xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:sourceDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="titleStmt">
    <xs:annotation>
      <xs:documentation>(title statement) groups information about the title of a work and those responsible for its intellectual
    content.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:title"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.respLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sponsor">
    <xs:annotation>
      <xs:documentation>specifies the name of a sponsoring organization or institution.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="funder">
    <xs:annotation>
      <xs:documentation>(funding body) specifies the name of an individual, institution, or organization responsible for the
    funding of a project or text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="principal">
    <xs:annotation>
      <xs:documentation>(principal researcher) supplies the name of the principal researcher responsible for the
creation of an electronic text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="editionStmt">
    <xs:annotation>
      <xs:documentation>(edition statement) groups information relating to one edition of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
        <xs:sequence>
          <xs:element ref="ns1:edition"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:respStmt"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="edition">
    <xs:annotation>
      <xs:documentation>(edition) describes the particularities of one edition of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="extent">
    <xs:annotation>
      <xs:documentation>describes the approximate size of a text as stored on some carrier medium, whether digital
    or non-digital, specified in any convenient units.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="publicationStmt">
    <xs:annotation>
      <xs:documentation>(publication statement) groups information concerning the publication or distribution of an electronic or other
    text. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.publicationStmtPart"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="distributor">
    <xs:annotation>
      <xs:documentation>supplies the name of a person or other agency responsible for the
distribution of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="authority">
    <xs:annotation>
      <xs:documentation>(release authority) supplies the name of a person or other agency responsible for
  making an electronic file available, other than a publisher or
  distributor.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="idno">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="type" type="xs:Name">
        <xs:annotation>
          <xs:documentation>categorizes the identifier, for example as an ISBN, Social
      Security number, etc. </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="availability">
    <xs:annotation>
      <xs:documentation>supplies information about the availability of a text, for example any restrictions on its
    use or distribution, its copyright status, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attribute name="status" default="unknown">
        <xs:annotation>
          <xs:documentation>supplies a code identifying the current availability of the text. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="free">
              <xs:annotation>
                <xs:documentation>the text is freely available. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="unknown">
              <xs:annotation>
                <xs:documentation>the status of the text is unknown. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="restricted">
              <xs:annotation>
                <xs:documentation>the text is not freely available. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="seriesStmt">
    <xs:annotation>
      <xs:documentation>(series statement) groups information about the series, if any, to which a publication belongs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="ns1:title"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:idno"/>
            <xs:element ref="ns1:respStmt"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="notesStmt">
    <xs:annotation>
      <xs:documentation>(notes statement) collects together any notes providing information about a text additional to that recorded
    in other parts of the bibliographic description.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.noteLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sourceDesc">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.biblLike"/>
          <xs:group ref="mathml:tei_model.listLike"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="biblFull">
    <xs:annotation>
      <xs:documentation>(fully-structured bibliographic citation) contains a fully-structured bibliographic citation, in which all components of the TEI file
    description are present.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence>
          <xs:element ref="ns1:titleStmt"/>
          <xs:element minOccurs="0" ref="ns1:editionStmt"/>
          <xs:element minOccurs="0" ref="ns1:extent"/>
          <xs:element ref="ns1:publicationStmt"/>
          <xs:element minOccurs="0" ref="ns1:seriesStmt"/>
          <xs:element minOccurs="0" ref="ns1:notesStmt"/>
        </xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:sourceDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="encodingDesc">
    <xs:annotation>
      <xs:documentation>(encoding description) documents the relationship between an electronic text and the
source or sources from which it was derived.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.encodingDescPart"/>
        <xs:group ref="mathml:tei_model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="projectDesc">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="samplingDecl">
    <xs:annotation>
      <xs:documentation>(sampling declaration) contains a prose description of the rationale and methods used in sampling texts in the
    creation of a corpus or collection.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="editorialDecl">
    <xs:annotation>
      <xs:documentation>(editorial practice declaration) provides details of editorial principles and practices applied
during the encoding of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.pLike"/>
        <xs:group ref="mathml:tei_model.editorialDeclPart"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="correction">
    <xs:annotation>
      <xs:documentation>(correction principles) states how and under what circumstances corrections have been made in the text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attribute name="status" default="unknown">
        <xs:annotation>
          <xs:documentation>indicates the degree of correction applied to the text. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="high">
              <xs:annotation>
                <xs:documentation>the text has been thoroughly checked and proofread. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="medium">
              <xs:annotation>
                <xs:documentation>the text has been checked at least once. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="low">
              <xs:annotation>
                <xs:documentation>the text has not been checked. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="unknown">
              <xs:annotation>
                <xs:documentation>the correction status of the text is unknown. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="method" default="silent">
        <xs:annotation>
          <xs:documentation>indicates the method adopted to indicate corrections within the text. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="silent">
              <xs:annotation>
                <xs:documentation>corrections have been made silently </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="markup">
              <xs:annotation>
                <xs:documentation>corrections have been represented using markup</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="normalization">
    <xs:annotation>
      <xs:documentation>indicates the extent of normalization or regularization of the original source carried out
    in converting it to electronic form.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attribute name="source" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>indicates the authority for any normalization carried out. </xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="method" default="silent">
        <xs:annotation>
          <xs:documentation>indicates the method adopted to indicate normalizations within the text. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="silent">
              <xs:annotation>
                <xs:documentation>normalization made silently </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="markup">
              <xs:annotation>
                <xs:documentation>normalization represented using markup </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="quotation">
    <xs:annotation>
      <xs:documentation>specifies editorial practice adopted with respect to quotation marks in the original. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attribute name="marks" default="all">
        <xs:annotation>
          <xs:documentation>(quotation marks) indicates whether or not quotation marks have been retained as content within the text. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="none">
              <xs:annotation>
                <xs:documentation>no quotation marks have been retained </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="some">
              <xs:annotation>
                <xs:documentation>some quotation marks have been retained </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="all">
              <xs:annotation>
                <xs:documentation>all quotation marks have been retained </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="form" default="unknown">
        <xs:annotation>
          <xs:documentation>specifies how quotation marks are indicated within the text.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="hyphenation">
    <xs:annotation>
      <xs:documentation>summarizes the way in which hyphenation in a source text has been treated in an encoded
    version of it.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
      <xs:attribute name="eol" default="some">
        <xs:annotation>
          <xs:documentation>(end-of-line) indicates whether or not end-of-line hyphenation has been retained in a text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="all">
              <xs:annotation>
                <xs:documentation>all end-of-line hyphenation has been retained, even though the lineation of the
            original may not have been. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="some">
              <xs:annotation>
                <xs:documentation>end-of-line hyphenation has been retained in some cases. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="hard">
              <xs:annotation>
                <xs:documentation>all soft end-of-line hyphenation has been removed: any remaining end-od-line
            hyphenation should be retained. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="none">
              <xs:annotation>
                <xs:documentation>all end-of-line hyphenation has been removed: any remaining hyphenation occurred
            within the line. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="segmentation">
    <xs:annotation>
      <xs:documentation>describes the principles according to which the text has been segmented, for example into
    sentences, tone-units, graphemic strata, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="stdVals">
    <xs:annotation>
      <xs:documentation>(standard values) specifies the format used when standardized date or number values are supplied.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="interpretation">
    <xs:annotation>
      <xs:documentation>describes the scope of any analytic or interpretive information added to the text in
    addition to the transcription. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="tagsDecl">
    <xs:annotation>
      <xs:documentation>(tagging declaration) provides detailed information about the tagging applied to a document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:rendition"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:namespace"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="tagUsage">
    <xs:annotation>
      <xs:documentation>supplies information about the usage of a specific element within a text. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.limitedContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="gi" use="required" type="xs:Name">
            <xs:annotation>
              <xs:documentation>(element name) the name (generic identifier) of the element indicated by the tag.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="occurs" type="xs:nonNegativeInteger">
            <xs:annotation>
              <xs:documentation>specifies the number of occurrences of this element within the text.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="withId" type="xs:nonNegativeInteger">
            <xs:annotation>
              <xs:documentation>(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. </xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="render" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>specifies the identifier of a rendition element which defines how this element
        is to be rendered.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="namespace">
    <xs:annotation>
      <xs:documentation>supplies the formal name of the namespace to which the elements documented by its children
    belong. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:tagUsage"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="name" use="required" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>the full formal name of the namespace concerned.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="rendition">
    <xs:annotation>
      <xs:documentation>supplies information about the rendition or appearance of one or more elements in the source
    text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.limitedContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="scheme">
            <xs:annotation>
              <xs:documentation>identifies the language used to describe the rendition.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="css">
                  <xs:annotation>
                    <xs:documentation>Cascading Stylesheet Language</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="xslfo">
                  <xs:annotation>
                    <xs:documentation>Extensible Stylesheet Language Formatting Objects</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="free">
                  <xs:annotation>
                    <xs:documentation>Informal free text description</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="other">
                  <xs:annotation>
                    <xs:documentation>A user-defined rendition description language</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="scope">
            <xs:annotation>
              <xs:documentation>where CSS is used, provides a way of defining
pseudo-elements, that is, styling rules
applicable to specific sub-portions of an element.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="refsDecl">
    <xs:annotation>
      <xs:documentation>(references declaration) specifies how canonical references are constructed for this
  text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:cRefPattern"/>
        <xs:element maxOccurs="unbounded" ref="ns1:refState"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cRefPattern">
    <xs:annotation>
      <xs:documentation>(canonical reference pattern) specifies an expression and replacement pattern for transforming a canonical reference into
    a URI. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="matchPattern" use="required" type="xs:token">
        <xs:annotation>
          <xs:documentation>specifies a regular expression against which the values of cRef attributes
        can be matched.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="replacementPattern" use="required">
        <xs:annotation>
          <xs:documentation>specifies a replacement pattern which, once subpattern substitution
        has been performed, provides a URI.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="refState">
    <xs:annotation>
      <xs:documentation>(reference state) specifies one component of a canonical reference defined by the milestone method.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.sourced.attributes"/>
      <xs:attribute name="unit" use="required">
        <xs:annotation>
          <xs:documentation>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</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="page">
                  <xs:annotation>
                    <xs:documentation>page breaks in the reference edition. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="column">
                  <xs:annotation>
                    <xs:documentation>column breaks. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="line">
                  <xs:annotation>
                    <xs:documentation>line breaks. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="book">
                  <xs:annotation>
                    <xs:documentation>any units termed book, liber, etc. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="poem">
                  <xs:annotation>
                    <xs:documentation>individual poems in a collection. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="canto">
                  <xs:annotation>
                    <xs:documentation>cantos or other major sections of a poem. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="stanza">
                  <xs:annotation>
                    <xs:documentation>stanzas within a poem, book, or canto. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="act">
                  <xs:annotation>
                    <xs:documentation>acts within a play. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="scene">
                  <xs:annotation>
                    <xs:documentation>scenes within a play or act. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="section">
                  <xs:annotation>
                    <xs:documentation>sections of any kind. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="absent">
                  <xs:annotation>
                    <xs:documentation>passages not present in the reference edition.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="length" type="xs:nonNegativeInteger">
        <xs:annotation>
          <xs:documentation>specifies the fixed length of the reference component.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="delim">
        <xs:annotation>
          <xs:documentation>(delimiter) supplies a delimiting string following the reference component.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classDecl">
    <xs:annotation>
      <xs:documentation>(classification declarations) contains one or more taxonomies defining any classificatory
codes used elsewhere in the text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:taxonomy"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="taxonomy">
    <xs:annotation>
      <xs:documentation>defines a typology used to classify texts either implicitly, by means of a bibliographic
    citation, or explicitly by a structured taxonomy.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.glossLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:category"/>
        <xs:sequence>
          <xs:group ref="mathml:tei_model.biblLike"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:category"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="category">
    <xs:annotation>
      <xs:documentation>contains an individual descriptive category, possibly nested within a superordinate
    category, within a user-defined taxonomy.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element maxOccurs="unbounded" ref="ns1:catDesc"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.glossLike"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:category"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="catDesc">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.limitedPhrase"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="appInfo">
    <xs:annotation>
      <xs:documentation>(application information) records information about an application which has
  edited the TEI file. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="mathml:tei_model.applicationLike"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="application">
    <xs:annotation>
      <xs:documentation>provides information about an application which has acted upon the document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group maxOccurs="unbounded" ref="mathml:tei_model.labelLike"/>
        <xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.ptrLike"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.pLike"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.datable.attributes"/>
      <xs:attribute name="ident" use="required" type="xs:Name">
        <xs:annotation>
          <xs:documentation>Supplies an identifier for the application, independent of its version number or display
        name.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="version" use="required">
        <xs:annotation>
          <xs:documentation>Supplies a version number for the application, independent of its identifier or display
        name.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="profileDesc">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.profileDescPart"/>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="creation">
    <xs:annotation>
      <xs:documentation>contains information about the creation of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="langUsage">
    <xs:annotation>
      <xs:documentation>(language usage) describes the languages, sublanguages, registers, dialects, etc.
represented within a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:language"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="language">
    <xs:annotation>
      <xs:documentation>characterizes a single language or sublanguage used within a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="ident" use="required" type="xs:language">
            <xs:annotation>
              <xs:documentation>(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.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="usage">
            <xs:annotation>
              <xs:documentation>specifies the approximate percentage (by volume) of the text which uses this language. </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:maxInclusive value="100"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="textClass">
    <xs:annotation>
      <xs:documentation>(text classification) groups information which describes the nature or topic of a text in terms of a standard
    classification scheme, thesaurus, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:classCode"/>
        <xs:element ref="ns1:catRef"/>
        <xs:element ref="ns1:keywords"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="keywords">
    <xs:annotation>
      <xs:documentation>contains a list of keywords or phrases identifying the topic or nature of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element maxOccurs="unbounded" ref="ns1:term"/>
        <xs:element ref="ns1:list"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="scheme" use="required" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the controlled vocabulary within which the set of keywords concerned is
        defined. </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classCode">
    <xs:annotation>
      <xs:documentation>(classification code) contains the classification code used for this text in some standard classification system.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq.limited">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="scheme" use="required" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the classification system or taxonomy in use.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="catRef">
    <xs:annotation>
      <xs:documentation>(category reference) specifies one or more defined categories within some taxonomy or text typology.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.pointing.attributes"/>
      <xs:attribute name="scheme" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the classification scheme within which the set of categories concerned is
        defined </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="revisionDesc">
    <xs:annotation>
      <xs:documentation>(revision description) summarizes the revision history for a file.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element ref="ns1:list"/>
        <xs:element maxOccurs="unbounded" ref="ns1:change"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.docStatus.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="change">
    <xs:annotation>
      <xs:documentation>summarizes a particular change or correction made to a particular version of an electronic
    text which is shared between several researchers.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.limitedPhrase"/>
        <xs:group ref="mathml:tei_model.inter"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.ascribed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.datable.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.docStatus.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="geoDecl">
    <xs:annotation>
      <xs:documentation>(geographic coordinates declaration) documents the notation and the datum used for geographic coordinates expressed as content of
    the geo element elsewhere within the document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.declarable.attributes"/>
          <xs:attribute name="datum" default="WGS84">
            <xs:annotation>
              <xs: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) </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="WGS84">
                      <xs:annotation>
                        <xs:documentation>(World Geodetic System) a pair of numbers to be interpreted as latitude followed by longitude according to
            the World Geodetic System.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="MGRS">
                      <xs:annotation>
                        <xs:documentation>(Military Grid Reference System) the values supplied are geospatial entity object codes, based on</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="OSGB36">
                      <xs:annotation>
                        <xs:documentation>(ordnance survey great britain) the value supplied is to be interpreted as a British National Grid Reference.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="ED50">
                      <xs:annotation>
                        <xs:documentation>(European Datum coordinate system) the value supplied is to be interpreted as latitude followed by longitude according
            to the European Datum coordinate system.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="TEI">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:teiHeader"/>
        <xs:element ref="ns1:text"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="version">
        <xs:annotation>
          <xs:documentation>specifies the version number of the TEI Guidelines against
      which this document is valid.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\d]+(\.[\d]+){0,2}"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="text">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:front"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:body"/>
          <xs:element ref="ns1:group"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:back"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="body">
    <xs:annotation>
      <xs:documentation>(text body) contains the whole body of a single unitary text, excluding any front or back matter.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence minOccurs="0">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.global"/>
            <xs:group ref="mathml:tei_model.divTop"/>
          </xs:choice>
        </xs:sequence>
        <xs:sequence minOccurs="0">
          <xs:group ref="mathml:tei_model.divGenLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.global"/>
            <xs:group ref="mathml:tei_model.divGenLike"/>
          </xs:choice>
        </xs:sequence>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.global"/>
              <xs:group ref="mathml:tei_model.divGenLike"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.div1Like"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.global"/>
              <xs:group ref="mathml:tei_model.divGenLike"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:sequence maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.common"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:choice minOccurs="0">
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.divLike"/>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:group ref="mathml:tei_model.global"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
              </xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.div1Like"/>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:group ref="mathml:tei_model.global"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
              </xs:sequence>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="group">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence>
          <xs:choice>
            <xs:element ref="ns1:text"/>
            <xs:element ref="ns1:group"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:text"/>
            <xs:element ref="ns1:group"/>
            <xs:group ref="mathml:tei_model.global"/>
          </xs:choice>
        </xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.divBottom"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="floatingText">
    <xs:annotation>
      <xs:documentation>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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:front"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:body"/>
          <xs:element ref="ns1:group"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:back"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div">
    <xs:annotation>
      <xs:documentation>(text division) contains a subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.divLike"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.divLike"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div1">
    <xs:annotation>
      <xs:documentation>(level-1 text division) contains a first-level subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.div2Like"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.div2Like"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div2">
    <xs:annotation>
      <xs:documentation>(level-2 text division) contains a second-level subdivision of the front, body, or back of a
 text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.div3Like"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.div3Like"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div3">
    <xs:annotation>
      <xs:documentation>(level-3 text division) contains a third-level subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.div4Like"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.div4Like"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div4">
    <xs:annotation>
      <xs:documentation>(level-4 text division) contains a fourth-level subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.div5Like"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.div5Like"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div5">
    <xs:annotation>
      <xs:documentation>(level-5 text division) contains a fifth-level subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.div6Like"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.div6Like"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div6">
    <xs:annotation>
      <xs:documentation>(level-6 text division) contains a sixth-level subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="mathml:tei_model.div7Like"/>
                <xs:group ref="mathml:tei_model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="mathml:tei_model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="mathml:tei_model.div7Like"/>
                  <xs:group ref="mathml:tei_model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div7">
    <xs:annotation>
      <xs:documentation>(level-7 text division) contains the smallest possible subdivision of the front, body or back of a text, larger than
    a paragraph.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.divTop"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.common"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.divLike.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="trailer">
    <xs:annotation>
      <xs:documentation>contains a closing title or footer appearing at the end of a division of a text. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="byline">
    <xs:annotation>
      <xs:documentation>contains the primary statement of responsibility given for a work
on its title page or at the head or end of the work.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.phrase"/>
        <xs:element ref="ns1:docAuthor"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="dateline">
    <xs:annotation>
      <xs:documentation>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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="argument">
    <xs:annotation>
      <xs:documentation>A formal list or prose description of the topics addressed by
	a subdivision of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.global"/>
          <xs:group ref="mathml:tei_model.headLike"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="epigraph">
    <xs:annotation>
      <xs:documentation>contains a quotation, anonymous or attributed, appearing at the start of a section or
    chapter, or on a title page. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.common"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="opener">
    <xs:annotation>
      <xs:documentation>groups together dateline, byline, salutation, and similar phrases appearing as a preliminary
    group at the start of a division, especially of a letter.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.phrase"/>
        <xs:element ref="ns1:argument"/>
        <xs:element ref="ns1:byline"/>
        <xs:element ref="ns1:dateline"/>
        <xs:element ref="ns1:epigraph"/>
        <xs:element ref="ns1:salute"/>
        <xs:element ref="ns1:signed"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="closer">
    <xs:annotation>
      <xs:documentation>groups together salutations, datelines, and similar phrases appearing as a final group at
    the end of a division, especially of a letter.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:signed"/>
        <xs:element ref="ns1:dateline"/>
        <xs:element ref="ns1:salute"/>
        <xs:group ref="mathml:tei_model.phrase"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="salute">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="signed">
    <xs:annotation>
      <xs:documentation>(signature) contains the closing salutation, etc., appended to a foreword,
dedicatory epistle, or other division of a text. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="postscript">
    <xs:annotation>
      <xs:documentation>contains a postscript, e.g. to a letter.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.common"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="titlePage">
    <xs:annotation>
      <xs:documentation>(title page) contains the title page of a text, appearing within the front or back matter. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:group ref="mathml:tei_model.titlepagePart"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.titlepagePart"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="type" type="xs:Name">
        <xs:annotation>
          <xs:documentation>classifies the title page according to any convenient typology.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="docTitle">
    <xs:annotation>
      <xs:documentation>(document title) contains the title of a document, including all its
constituents, as given on a title page.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:element ref="ns1:titlePart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.canonical.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="titlePart">
    <xs:annotation>
      <xs:documentation>contains a subsection or division of the title of a work, as
indicated on a title page.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="type" default="main">
            <xs:annotation>
              <xs: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) </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="main">
                      <xs:annotation>
                        <xs:documentation>main title of the work
        </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="sub">
                      <xs:annotation>
                        <xs:documentation>(subordinate) subtitle  of the work
        </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="alt">
                      <xs:annotation>
                        <xs:documentation>(alternate) alternative title  of the work
        </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="short">
                      <xs:annotation>
                        <xs:documentation>abbreviated form of title</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="desc">
                      <xs:annotation>
                        <xs:documentation>(descriptive) descriptive paraphrase of the work 
   </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="docAuthor">
    <xs:annotation>
      <xs:documentation>(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).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="imprimatur">
    <xs:annotation>
      <xs:documentation>contains a formal statement authorizing the publication of a work, sometimes required to
    appear on a title page or its verso.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="docEdition">
    <xs:annotation>
      <xs:documentation>(document edition) contains an edition statement as presented on a title page of a
document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="docImprint">
    <xs:annotation>
      <xs:documentation>(document imprint) contains the imprint statement (place and date of publication,
publisher name), as given
(usually) at the foot of a title page.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.phrase"/>
        <xs:element ref="ns1:pubPlace"/>
        <xs:element ref="ns1:docDate"/>
        <xs:element ref="ns1:publisher"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="docDate">
    <xs:annotation>
      <xs:documentation>(document date) contains the date of a document, as given
(usually) on a title page.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.phraseSeq">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attribute name="when">
            <xs:annotation>
              <xs:documentation>gives the value of the date in standard form, i.e. YYYY-MM-DD.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="front">
    <xs:annotation>
      <xs:documentation>(front matter) contains any prefatory matter (headers,
title page, prefaces, dedications, etc.)
found  at the start of a document, before the main body.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.frontPart"/>
          <xs:group ref="mathml:tei_model.pLike.front"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:group ref="mathml:tei_model.div1Like"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.frontPart"/>
              <xs:group ref="mathml:tei_model.div1Like"/>
              <xs:group ref="mathml:tei_model.global"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:group ref="mathml:tei_model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.frontPart"/>
              <xs:group ref="mathml:tei_model.divLike"/>
              <xs:group ref="mathml:tei_model.global"/>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:group ref="mathml:tei_model.divBottomPart"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottomPart"/>
            <xs:group ref="mathml:tei_model.global"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="back">
    <xs:annotation>
      <xs:documentation>(back matter) contains any appendixes, etc. following the main part of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.frontPart"/>
          <xs:group ref="mathml:tei_model.pLike.front"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:group ref="mathml:tei_model.div1Like"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.frontPart"/>
              <xs:group ref="mathml:tei_model.div1Like"/>
              <xs:group ref="mathml:tei_model.global"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:group ref="mathml:tei_model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="mathml:tei_model.frontPart"/>
              <xs:group ref="mathml:tei_model.divLike"/>
              <xs:group ref="mathml:tei_model.global"/>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:group ref="mathml:tei_model.divBottomPart"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="mathml:tei_model.divBottomPart"/>
            <xs:group ref="mathml:tei_model.global"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="table">
    <xs:annotation>
      <xs:documentation>contains text displayed in tabular form, in rows and columns.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="mathml:tei_model.headLike"/>
          <xs:group ref="mathml:tei_model.global"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:element ref="ns1:row"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="mathml:tei_model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attribute name="rows" type="xs:nonNegativeInteger">
        <xs:annotation>
          <xs:documentation>indicates the number of rows in the table.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="cols" type="xs:nonNegativeInteger">
        <xs:annotation>
          <xs:documentation>(columns) indicates the number of columns in each row of the table.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="row">
    <xs:annotation>
      <xs:documentation>contains one row of a table. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:cell"/>
      </xs:sequence>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.tableDecoration.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cell">
    <xs:annotation>
      <xs:documentation>contains one cell of a table. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.paraContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
          <xs:attributeGroup ref="mathml:tei_att.tableDecoration.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="formula">
    <xs:annotation>
      <xs:documentation>contains a mathematical or other formula.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="mathml:math"/>
      </xs:sequence>
      <xs:attribute name="notation" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>supplies the name of a previously defined notation used for the content of the element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="figure">
    <xs:annotation>
      <xs:documentation>groups elements representing or containing graphic information such as an illustration or
    figure.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="mathml:tei_model.headLike"/>
        <xs:group ref="mathml:tei_model.pLike"/>
        <xs:element ref="ns1:figDesc"/>
        <xs:group ref="mathml:tei_model.graphicLike"/>
        <xs:element ref="ns1:floatingText"/>
        <xs:group ref="mathml:tei_model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.placement.attributes"/>
      <xs:attributeGroup ref="mathml:tei_att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="figDesc">
    <xs:annotation>
      <xs:documentation>(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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="mathml:tei_macro.limitedContent">
          <xs:attributeGroup ref="mathml:tei_att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:group name="local">
    <xs:sequence>
      <xs:any namespace="##other" processContents="skip"/>
    </xs:sequence>
  </xs:group>
</xs:schema>
