<?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:tei="http://www.tei-c.org/ns/1.0">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="tei_simplePrint_xml.xsd"/>
  <!--
    Schema generated from ODD source 2026-02-18T11:07:12Z. January 2017. 
    TEI Edition: P5 Version 4.11.0. Last updated on 18th February 2026, revision 358d2e48e 
    TEI Edition Location: https://www.tei-c.org/Vault/P5/4.11.0/ 
    
  -->
  <!---->
  <xs:complexType name="macro.abContent" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tei:model.paraPart"/>
      <xs:element ref="tei:ab"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.paraContent" mixed="true">
    <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.paraPart"/>
  </xs:complexType>
  <xs:complexType name="macro.limitedContent" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tei:model.limitedPhrase"/>
      <xs:group ref="tei:model.inter"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.phraseSeq" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tei:model.gLike"/>
      <xs:group ref="tei:model.attributable"/>
      <xs:group ref="tei:model.phrase"/>
      <xs:group ref="tei:model.global"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.phraseSeq.limited" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tei:model.limitedPhrase"/>
      <xs:group ref="tei:model.global"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.specialPara" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="tei:model.gLike"/>
      <xs:group ref="tei:model.phrase"/>
      <xs:group ref="tei:model.inter"/>
      <xs:group ref="tei:model.divPart"/>
      <xs:group ref="tei:model.global"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.xtext" mixed="true">
    <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.gLike"/>
  </xs:complexType>
  <xs:group name="anyElement_xenoData_1">
    <xs:choice>
      <xs:any namespace="##other" processContents="skip"/>
      <xs:any namespace="##local" processContents="skip"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.anchoring.attributes">
    <xs:attributeGroup ref="tei:att.anchoring.attribute.anchored"/>
    <xs:attributeGroup ref="tei:att.anchoring.attribute.targetEnd"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.anchoring.attribute.anchored">
    <xs:attribute name="anchored" default="true" type="xs:boolean">
      <xs:annotation>
        <xs:documentation>(anchored) indicates whether the copy text shows the exact place of reference for the note.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.anchoring.attribute.targetEnd">
    <xs:attribute name="targetEnd">
      <xs:annotation>
        <xs:documentation>(target end) 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:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ascribed.attributes">
    <xs:attributeGroup ref="tei:att.ascribed.attribute.who"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ascribed.attribute.who">
    <xs:attribute name="who">
      <xs:annotation>
        <xs:documentation>indicates the person, or group of people, to whom the element content is ascribed.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.breaking.attributes">
    <xs:attributeGroup ref="tei:att.breaking.attribute.break"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.breaking.attribute.break">
    <xs:attribute name="break">
      <xs:annotation>
        <xs:documentation>indicates whether or not the element bearing this attribute should be considered to mark the end of an orthographic token in the same way as whitespace.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.cReferencing.attributes">
    <xs:attributeGroup ref="tei:att.cReferencing.attribute.cRef"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.cReferencing.attribute.cRef">
    <xs:attribute name="cRef" type="xs:string"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.canonical.attributes">
    <xs:attributeGroup ref="tei:att.canonical.attribute.ref"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.canonical.attribute.ref">
    <xs:attribute name="ref">
      <xs:annotation>
        <xs:documentation>(reference) provides an explicit means of locating a full definition or identity for the entity being named by means of one or more URIs.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attributes">
    <xs:attributeGroup ref="tei:att.citing.attribute.unit"/>
    <xs:attributeGroup ref="tei:att.citing.attribute.from"/>
    <xs:attributeGroup ref="tei:att.citing.attribute.to"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attribute.unit">
    <xs:attribute name="unit">
      <xs:annotation>
        <xs:documentation>identifies the unit of information conveyed by the element.
Suggested values include: 1] volume (volume); 2] issue; 3] page (page); 4] line; 5] chapter (chapter); 6] part; 7] column; 8] entry</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="volume">
                <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="page">
                <xs:annotation>
                  <xs:documentation>(page) 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="line">
                <xs:annotation>
                  <xs:documentation>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="chapter">
                <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:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="column">
                <xs:annotation>
                  <xs:documentation>the element identifies a column.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="entry">
                <xs:annotation>
                  <xs:documentation>the element identifies an entry number or label in a list of entries.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="[^\p{C}\p{Z}]+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attribute.from">
    <xs:attribute name="from">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attribute.to">
    <xs:attribute name="to">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.cmc.attributes">
    <xs:attributeGroup ref="tei:att.cmc.attribute.generatedBy"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.cmc.attribute.generatedBy">
    <xs:attribute name="generatedBy">
      <xs:annotation>
        <xs:documentation>(generated by) categorizes how the content of an element was generated in a CMC environment.
Suggested values include: 1] human; 2] template; 3] system; 4] bot; 5] unspecified</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="human">
                <xs:annotation>
                  <xs:documentation>the content was naturally typed or spoken by a human user</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="template">
                <xs:annotation>
                  <xs:documentation>the content was generated after a human user activated a template for its insertion</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="system">
                <xs:annotation>
                  <xs:documentation>the content was generated by the system, i.e. the CMC environment</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="bot">
                <xs:annotation>
                  <xs:documentation>the content was generated by a bot, i.e. a non-human agent, typically one that is not part of the CMC environment itself</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="unspecified">
                <xs:annotation>
                  <xs:documentation>the content was generated by an unknown or unspecified process</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="[^\p{C}\p{Z}]+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attributes">
    <xs:attributeGroup ref="tei:att.datable.w3c.attribute.when"/>
    <xs:attributeGroup ref="tei:att.datable.w3c.attribute.notBefore"/>
    <xs:attributeGroup ref="tei:att.datable.w3c.attribute.notAfter"/>
    <xs:attributeGroup ref="tei:att.datable.w3c.attribute.from"/>
    <xs:attributeGroup ref="tei:att.datable.w3c.attribute.to"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.when">
    <xs:attribute name="when">
      <xs:annotation>
        <xs:documentation>supplies the value of the date or time in a standard form, e.g. 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:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.notBefore">
    <xs:attribute name="notBefore">
      <xs:annotation>
        <xs:documentation>specifies the earliest possible date for the event in standard form, e.g. 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:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.notAfter">
    <xs:attribute name="notAfter">
      <xs:annotation>
        <xs:documentation>specifies the latest possible date for the event in standard form, e.g. 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:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.from">
    <xs:attribute name="from">
      <xs:annotation>
        <xs:documentation>indicates the starting point of the period in standard form, e.g. 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:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.to">
    <xs:attribute name="to">
      <xs:annotation>
        <xs:documentation>indicates the ending point of the period in standard form, e.g. 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:attributeGroup>
  <xs:attributeGroup name="att.docStatus.attributes">
    <xs:attributeGroup ref="tei:att.docStatus.attribute.status"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.docStatus.attribute.status">
    <xs:attribute name="status" default="draft">
      <xs:annotation>
        <xs:documentation>describes the status of a document either currently or, when associated with a dated element, at the time indicated.
Sample values include: 1] approved; 2] candidate; 3] cleared; 4] deprecated; 5] draft; 6] embargoed; 7] expired; 8] frozen; 9] galley; 10] proposed; 11] published; 12] recommendation; 13] submitted; 14] unfinished; 15] withdrawn</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.edition.attributes">
    <xs:attributeGroup ref="tei:att.edition.attribute.ed"/>
    <xs:attributeGroup ref="tei:att.edition.attribute.edRef"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.edition.attribute.ed">
    <xs:attribute name="ed">
      <xs:annotation>
        <xs:documentation>(edition) supplies a sigil or other arbitrary identifier for the source edition in which the associated feature (for example, a page, column, or line beginning) occurs at this point in the text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="[^\p{C}\p{Z}]+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.edition.attribute.edRef">
    <xs:attribute name="edRef">
      <xs:annotation>
        <xs:documentation>(edition reference) provides a pointer to the source edition in which the associated feature (for example, a page, column, or line beginning) occurs at this point in the text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.fragmentable.attributes">
    <xs:attributeGroup ref="tei:att.fragmentable.attribute.part"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.fragmentable.attribute.part">
    <xs:attribute name="part" default="N">
      <xs:annotation>
        <xs:documentation>specifies whether or not its parent element is fragmented in some way, typically by some other overlapping structure: for example a speech which is divided between two or more verse stanzas, a paragraph which is split across a page division, a verse line which is divided between two speakers.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="Y">
            <xs:annotation>
              <xs:documentation>(yes) the element is fragmented in some (unspecified) respect</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="N">
            <xs:annotation>
              <xs:documentation>(no) the element is not fragmented, or no claim is made as to its completeness</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="I">
            <xs:annotation>
              <xs:documentation>(initial) this is the initial part of a fragmented element</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="M">
            <xs:annotation>
              <xs:documentation>(medial) this is a medial part of a fragmented element</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="F">
            <xs:annotation>
              <xs:documentation>(final) this is the final part of a fragmented element</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.rendition.attributes">
    <xs:attributeGroup ref="tei:att.global.rendition.attribute.rendition"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.rendition.attribute.rendition">
    <xs:attribute name="rendition">
      <xs:annotation>
        <xs:documentation>points to a description of the rendering or presentation used for this element in the source text.
Suggested values include: 1] simple:allcaps; 2] simple:blackletter; 3] simple:bold; 4] simple:bottombraced; 5] simple:boxed; 6] simple:centre; 7] simple:cursive; 8] simple:display; 9] simple:doublestrikethrough; 10] simple:doubleunderline; 11] simple:dropcap; 12] simple:float; 13] simple:hyphen; 14] simple:inline; 15] simple:justify; 16] simple:italic; 17] simple:larger; 18] simple:left; 19] simple:leftbraced; 20] simple:letterspace; 21] simple:literal; 22] simple:normalstyle; 23] simple:normalweight; 24] simple:right; 25] simple:rightbraced; 26] simple:rotateleft; 27] simple:rotateright; 28] simple:smallcaps; 29] simple:smaller; 30] simple:strikethrough; 31] simple:subscript; 32] simple:superscript; 33] simple:topbraced; 34] simple:typewriter; 35] simple:underline; 36] simple:wavyunderline</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:allcaps">
                        <xs:annotation>
                          <xs:documentation>all capitals</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:blackletter">
                        <xs:annotation>
                          <xs:documentation>black letter or gothic typeface</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:bold">
                        <xs:annotation>
                          <xs:documentation>bold typeface</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:bottombraced">
                        <xs:annotation>
                          <xs:documentation>marked with a brace under the bottom of the text</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:boxed">
                        <xs:annotation>
                          <xs:documentation>border around the text</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:centre">
                        <xs:annotation>
                          <xs:documentation>centred</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:cursive">
                        <xs:annotation>
                          <xs:documentation>cursive typeface</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:display">
                        <xs:annotation>
                          <xs:documentation>block display</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:doublestrikethrough">
                        <xs:annotation>
                          <xs:documentation>strikethrough with double line</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:doubleunderline">
                        <xs:annotation>
                          <xs:documentation>underlined with double line</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:dropcap">
                        <xs:annotation>
                          <xs:documentation>initial letter larger or decorated</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:float">
                        <xs:annotation>
                          <xs:documentation>floated out of main flow</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:hyphen">
                        <xs:annotation>
                          <xs:documentation>with a hyphen here (eg in line break)</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:inline">
                        <xs:annotation>
                          <xs:documentation>inline rendering</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:justify">
                        <xs:annotation>
                          <xs:documentation>justified text</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:italic">
                        <xs:annotation>
                          <xs:documentation>italic typeface</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:larger">
                        <xs:annotation>
                          <xs:documentation>larger type</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:left">
                        <xs:annotation>
                          <xs:documentation>aligned to the left or left-justified</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:leftbraced">
                        <xs:annotation>
                          <xs:documentation>marked with a brace on the left side of the text</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:letterspace">
                        <xs:annotation>
                          <xs:documentation>larger-than-normal spacing between letters, usually for emphasis</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:literal">
                        <xs:annotation>
                          <xs:documentation>fixed-width typeface, spacing preserved</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:normalstyle">
                        <xs:annotation>
                          <xs:documentation>upright shape and default weight of typeface</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:normalweight">
                        <xs:annotation>
                          <xs:documentation>normal typeface weight</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:right">
                        <xs:annotation>
                          <xs:documentation>aligned to the right or right-justified</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:rightbraced">
                        <xs:annotation>
                          <xs:documentation>marked with a brace to the right of the text</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:rotateleft">
                        <xs:annotation>
                          <xs:documentation>rotated to the left</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:rotateright">
                        <xs:annotation>
                          <xs:documentation>rotated to the right</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:smallcaps">
                        <xs:annotation>
                          <xs:documentation>small caps</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:smaller">
                        <xs:annotation>
                          <xs:documentation>smaller type</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:strikethrough">
                        <xs:annotation>
                          <xs:documentation>strike through</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:subscript">
                        <xs:annotation>
                          <xs:documentation>subscript</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:superscript">
                        <xs:annotation>
                          <xs:documentation>superscript</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:topbraced">
                        <xs:annotation>
                          <xs:documentation>marked with a brace above the text</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:typewriter">
                        <xs:annotation>
                          <xs:documentation>fixed-width typeface, like typewriter</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:underline">
                        <xs:annotation>
                          <xs:documentation>underlined with single line</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="simple:wavyunderline">
                        <xs:annotation>
                          <xs:documentation>underlined with wavy line</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:anyURI">
                      <xs:pattern value="\S+"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:union>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.responsibility.attributes">
    <xs:attributeGroup ref="tei:att.global.responsibility.attribute.cert"/>
    <xs:attributeGroup ref="tei:att.global.responsibility.attribute.resp"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.responsibility.attribute.cert">
    <xs:attribute name="cert">
      <xs:annotation>
        <xs:documentation>(certainty) signifies the degree of certainty associated with the intervention or interpretation.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:double">
              <xs:minInclusive value="0"/>
              <xs:maxInclusive value="1"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="high">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="medium">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="low">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="unknown">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.responsibility.attribute.resp">
    <xs:attribute name="resp">
      <xs:annotation>
        <xs:documentation>(responsible party) indicates the agency responsible for the intervention or interpretation, for example an editor or transcriber.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.source.attributes">
    <xs:attributeGroup ref="tei:att.global.source.attribute.source"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.source.attribute.source">
    <xs:attribute name="source">
      <xs:annotation>
        <xs:documentation>specifies the source from which some aspect of this element is drawn.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.internetMedia.attributes">
    <xs:attributeGroup ref="tei:att.internetMedia.attribute.mimeType"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.internetMedia.attribute.mimeType">
    <xs:attribute name="mimeType">
      <xs:annotation>
        <xs:documentation>(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="[^\p{C}\p{Z}]+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attributes">
    <xs:attributeGroup ref="tei:att.measurement.attribute.unit"/>
    <xs:attributeGroup ref="tei:att.measurement.attribute.unitRef"/>
    <xs:attributeGroup ref="tei:att.measurement.attribute.quantity"/>
    <xs:attributeGroup ref="tei:att.measurement.attribute.commodity"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.unit">
    <xs:attribute name="unit">
      <xs:annotation>
        <xs:documentation>(unit) indicates the units used for the measurement, usually using the standard symbol for the desired units.
Suggested values include: 1] m (metre); 2] kg (kilogram); 3] s (second); 4] Hz (hertz); 5] Pa (pascal); 6] Ω (ohm); 7] L (litre); 8] t (tonne); 9] ha (hectare); 10] Å (ångström); 11] mL (millilitre); 12] cm (centimetre); 13] dB (decibel); 14] kbit (kilobit); 15] Kibit (kibibit); 16] kB (kilobyte); 17] KiB (kibibyte); 18] MB (megabyte); 19] MiB (mebibyte)</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="m">
                <xs:annotation>
                  <xs:documentation>(metre) SI base unit of length</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="kg">
                <xs:annotation>
                  <xs:documentation>(kilogram) SI base unit of mass</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="s">
                <xs:annotation>
                  <xs:documentation>(second) SI base unit of time</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Hz">
                <xs:annotation>
                  <xs:documentation>(hertz) SI unit of frequency</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Pa">
                <xs:annotation>
                  <xs:documentation>(pascal) SI unit of pressure or stress</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Ω">
                <xs:annotation>
                  <xs:documentation>(ohm) SI unit of electric resistance</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="L">
                <xs:annotation>
                  <xs:documentation>(litre) 1 dm³</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="t">
                <xs:annotation>
                  <xs:documentation>(tonne) 10³ kg</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="ha">
                <xs:annotation>
                  <xs:documentation>(hectare) 1 hm²</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Å">
                <xs:annotation>
                  <xs:documentation>(ångström) 10⁻¹⁰ m</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="mL">
                <xs:annotation>
                  <xs:documentation>(millilitre) </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="cm">
                <xs:annotation>
                  <xs:documentation>(centimetre) </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="dB">
                <xs:annotation>
                  <xs:documentation>(decibel) see remarks, below</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="kbit">
                <xs:annotation>
                  <xs:documentation>(kilobit) 10³ or 1000 bits</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Kibit">
                <xs:annotation>
                  <xs:documentation>(kibibit) 2¹⁰ or 1024 bits</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="kB">
                <xs:annotation>
                  <xs:documentation>(kilobyte) 10³ or 1000 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="KiB">
                <xs:annotation>
                  <xs:documentation>(kibibyte) 2¹⁰ or 1024 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="MB">
                <xs:annotation>
                  <xs:documentation>(megabyte) 10⁶ or 1 000 000 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="MiB">
                <xs:annotation>
                  <xs:documentation>(mebibyte) 2²⁰ or 1 048 576 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="[^\p{C}\p{Z}]+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.unitRef">
    <xs:attribute name="unitRef">
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.quantity">
    <xs:attribute name="quantity">
      <xs:annotation>
        <xs:documentation>(quantity) specifies the number of the specified units that comprise the measurement</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:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.commodity">
    <xs:attribute name="commodity">
      <xs:annotation>
        <xs:documentation>(commodity) indicates the substance that is being measured</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="[^\p{C}\p{Z}]+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.notated.attributes">
    <xs:attributeGroup ref="tei:att.notated.attribute.notation"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.notated.attribute.notation">
    <xs:attribute name="notation">
      <xs:annotation>
        <xs:documentation>names the notation used for the content of the element.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.placement.attributes">
    <xs:attributeGroup ref="tei:att.placement.attribute.place"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.placement.attribute.place">
    <xs:attribute name="place">
      <xs:annotation>
        <xs:documentation>specifies where this item is placed.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:enumeration value="above">
                    <xs:annotation>
                      <xs:documentation>above the line</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="below">
                    <xs:annotation>
                      <xs:documentation>below the line</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="top">
                    <xs:annotation>
                      <xs:documentation>at the top of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="top-right">
                    <xs:annotation>
                      <xs:documentation>at the top right of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="top-left">
                    <xs:annotation>
                      <xs:documentation>at the top left of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="top-centre">
                    <xs:annotation>
                      <xs:documentation>at the top center of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="bottom-right">
                    <xs:annotation>
                      <xs:documentation>at the bottom right of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="bottom-left">
                    <xs:annotation>
                      <xs:documentation>at the bottom left of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="bottom-centre">
                    <xs:annotation>
                      <xs:documentation>at the bottom centre of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="bottom">
                    <xs:annotation>
                      <xs:documentation>at the foot of the page</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="tablebottom">
                    <xs:annotation>
                      <xs:documentation>underneath a table</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="margin-right">
                    <xs:annotation>
                      <xs:documentation>in the right-hand margin</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="margin">
                    <xs:annotation>
                      <xs:documentation>in the outer margin</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="margin-inner">
                    <xs:annotation>
                      <xs:documentation>in the inner margin</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="margin-left">
                    <xs:annotation>
                      <xs:documentation>in the left-hand margin</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="opposite">
                    <xs:annotation>
                      <xs:documentation>on the opposite, i.e. facing, page.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="overleaf">
                    <xs:annotation>
                      <xs:documentation>on the other side of the leaf.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="overstrike">
                    <xs:annotation>
                      <xs:documentation>superimposed on top of the current context</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="end">
                    <xs:annotation>
                      <xs:documentation>at the end of the volume.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="divend">
                    <xs:annotation>
                      <xs:documentation>at the end the current division.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="parend">
                    <xs:annotation>
                      <xs:documentation>at the end the current paragraph.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="inline">
                    <xs:annotation>
                      <xs:documentation>within the body of the text.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="inspace">
                    <xs:annotation>
                      <xs:documentation>in a predefined space, for example left by an earlier scribe.</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                  <xs:enumeration value="block">
                    <xs:annotation>
                      <xs:documentation>formatted as an indented paragraph</xs:documentation>
                    </xs:annotation>
                  </xs:enumeration>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attributes">
    <xs:attributeGroup ref="tei:att.pointing.attribute.targetLang"/>
    <xs:attributeGroup ref="tei:att.pointing.attribute.target"/>
    <xs:attributeGroup ref="tei:att.pointing.attribute.evaluate"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attribute.targetLang">
    <xs:attribute name="targetLang">
      <xs:simpleType>
        <xs:union memberTypes="xs:language">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attribute.target">
    <xs:attribute name="target">
      <xs:annotation>
        <xs:documentation>specifies the destination of the reference by supplying one or more URI References.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attribute.evaluate">
    <xs:attribute name="evaluate">
      <xs:annotation>
        <xs:documentation>(evaluate) specifies the intended meaning when the target of a pointer is itself a pointer.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="all">
            <xs:annotation>
              <xs:documentation>if the element pointed to is itself a pointer, then the target of that pointer will be taken, and so on, until an element is found which is not a pointer.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="one">
            <xs:annotation>
              <xs:documentation>if the element pointed to is itself a pointer, then its target (whether a pointer or not) is taken as the target of this pointer.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="none">
            <xs:annotation>
              <xs:documentation>no further evaluation of targets is carried out beyond that needed to find the element specified in the pointer's target.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.resourced.attributes">
    <xs:attributeGroup ref="tei:att.resourced.attribute.url"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.resourced.attribute.url">
    <xs:attribute name="url" use="required">
      <xs:annotation>
        <xs:documentation>(uniform resource locator) specifies the URL from which the media concerned may be obtained.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attributes">
    <xs:attributeGroup ref="tei:att.scope.attribute.scope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attribute.scope">
    <xs:attribute name="scope">
      <xs:annotation>
        <xs:documentation>indicates the scope of application of the element
Suggested values include: 1] sole; 2] major; 3] minor</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="sole">
                <xs:annotation>
                  <xs:documentation>only this particular feature is used throughout the document</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="major">
                <xs:annotation>
                  <xs:documentation>this feature is used through most of the document</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="minor">
                <xs:annotation>
                  <xs:documentation>this feature is used occasionally through the document</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="[^\p{C}\p{Z}]+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.sortable.attributes">
    <xs:attributeGroup ref="tei:att.sortable.attribute.sortKey"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.sortable.attribute.sortKey">
    <xs:attribute name="sortKey">
      <xs:annotation>
        <xs:documentation>supplies the sort key for this element in an index, list or group which contains it.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.spanning.attributes">
    <xs:attributeGroup ref="tei:att.spanning.attribute.spanTo"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.spanning.attribute.spanTo">
    <xs:attribute name="spanTo">
      <xs:annotation>
        <xs:documentation>indicates the end of a span initiated by the element bearing this attribute.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.styleDef.attributes">
    <xs:attributeGroup ref="tei:att.styleDef.attribute.scheme"/>
    <xs:attributeGroup ref="tei:att.styleDef.attribute.schemeVersion"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.styleDef.attribute.scheme">
    <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:attributeGroup>
  <xs:attributeGroup name="att.styleDef.attribute.schemeVersion">
    <xs:attribute name="schemeVersion">
      <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:attributeGroup>
  <xs:attributeGroup name="att.typed.attributes">
    <xs:attributeGroup ref="tei:att.typed.attribute.type"/>
    <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.typed.attribute.type">
    <xs:attribute name="type">
      <xs:annotation>
        <xs:documentation>characterizes the element in some sense, using any convenient classification scheme or typology.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.typed.attribute.subtype">
    <xs:attribute name="subtype">
      <xs:annotation>
        <xs:documentation>(subtype) provides a sub-categorization of the element, if needed.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.written.attributes">
    <xs:attributeGroup ref="tei:att.written.attribute.hand"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.written.attribute.hand">
    <xs:attribute name="hand">
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ascribed.directed.attributes">
    <xs:attributeGroup ref="tei:att.ascribed.attributes"/>
    <xs:attributeGroup ref="tei:att.ascribed.directed.attribute.toWhom"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ascribed.directed.attribute.toWhom">
    <xs:attribute name="toWhom">
      <xs:annotation>
        <xs:documentation>indicates the person, or group of people, to whom a speech act or action is directed.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.attributes">
    <xs:attributeGroup ref="tei:att.datable.w3c.attributes"/>
    <xs:attributeGroup ref="tei:att.datable.attribute.period"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.attribute.period">
    <xs:attribute name="period">
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attributes">
    <xs:attributeGroup ref="tei:att.dimensions.attribute.unit"/>
    <xs:attributeGroup ref="tei:att.dimensions.attribute.quantity"/>
    <xs:attributeGroup ref="tei:att.dimensions.attribute.extent"/>
    <xs:attributeGroup ref="tei:att.dimensions.attribute.scope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.unit">
    <xs:attribute name="unit">
      <xs:annotation>
        <xs:documentation>names the unit used for the measurement</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="chars">
            <xs:annotation>
              <xs:documentation>characters</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="lines">
            <xs:annotation>
              <xs:documentation>lines</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="pages">
            <xs:annotation>
              <xs:documentation>pages</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="words">
            <xs:annotation>
              <xs:documentation>words</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="cm">
            <xs:annotation>
              <xs:documentation>centimetres</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="mm">
            <xs:annotation>
              <xs:documentation>millimetre</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="in">
            <xs:annotation>
              <xs:documentation>inches</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.quantity">
    <xs:attribute name="quantity">
      <xs:annotation>
        <xs:documentation>specifies the length in the units specified</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:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.extent">
    <xs:attribute name="extent" type="xs:string">
      <xs:annotation>
        <xs:documentation>indicates the size of the object concerned using a project-specific vocabulary combining quantity and units in a single string of words.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.scope">
    <xs:attribute name="scope">
      <xs:annotation>
        <xs:documentation>where the measurement summarizes more than one observation, specifies the applicability of this measurement.
Sample values include: 1] all; 2] most; 3] range</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attributes">
    <xs:attributeGroup ref="tei:att.global.analytic.attributes"/>
    <xs:attributeGroup ref="tei:att.global.facs.attributes"/>
    <xs:attributeGroup ref="tei:att.global.linking.attributes"/>
    <xs:attributeGroup ref="tei:att.global.rendition.attributes"/>
    <xs:attributeGroup ref="tei:att.global.responsibility.attributes"/>
    <xs:attributeGroup ref="tei:att.global.source.attributes"/>
    <xs:attributeGroup ref="tei:att.global.attribute.xmlid"/>
    <xs:attributeGroup ref="tei:att.global.attribute.n"/>
    <xs:attributeGroup ref="tei:att.global.attribute.xmllang"/>
    <xs:attributeGroup ref="tei:att.global.attribute.xmlbase"/>
    <xs:attributeGroup ref="tei:att.global.attribute.xmlspace"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmlid">
    <xs:attribute ref="xml:id"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.n">
    <xs:attribute name="n" type="xs:string">
      <xs:annotation>
        <xs:documentation>(number) gives a number (or other label) for an element, which is not necessarily unique within the document.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmllang">
    <xs:attribute ref="xml:lang"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmlbase">
    <xs:attribute ref="xml:base"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmlspace">
    <xs:attribute ref="xml:space"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attributes">
    <xs:attributeGroup ref="tei:att.internetMedia.attributes"/>
    <xs:attributeGroup ref="tei:att.media.attribute.width"/>
    <xs:attributeGroup ref="tei:att.media.attribute.height"/>
    <xs:attributeGroup ref="tei:att.media.attribute.scale"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attribute.width">
    <xs:attribute name="width">
      <xs:annotation>
        <xs:documentation>Where the media are displayed, indicates the display width.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|ch|rem|vw|vh|vmin|vmax)"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attribute.height">
    <xs:attribute name="height">
      <xs:annotation>
        <xs:documentation>Where the media are displayed, indicates the display height.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|ch|rem|vw|vh|vmin|vmax)"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attribute.scale">
    <xs:attribute name="scale">
      <xs:annotation>
        <xs:documentation>Where the media are displayed, indicates a scale factor to be applied when generating 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:attributeGroup>
  <xs:attributeGroup name="att.naming.attributes">
    <xs:attributeGroup ref="tei:att.canonical.attributes"/>
    <xs:attributeGroup ref="tei:att.naming.attribute.role"/>
    <xs:attributeGroup ref="tei:att.naming.attribute.nymRef"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.naming.attribute.role">
    <xs:attribute name="role">
      <xs:annotation>
        <xs:documentation>may be used to specify further information about the entity referenced by this name in the form of a set of whitespace-separated values, for example the occupation of a person, or the status of a place.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="[^\p{C}\p{Z}]+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.naming.attribute.nymRef">
    <xs:attribute name="nymRef">
      <xs:annotation>
        <xs:documentation>(reference to the canonical name) provides a means of locating the canonical form (nym) of the names associated with the object named by the element bearing it.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.segLike.attributes">
    <xs:attributeGroup ref="tei:att.fragmentable.attributes"/>
    <xs:attributeGroup ref="tei:att.metrical.attributes"/>
    <xs:attributeGroup ref="tei:att.segLike.attribute.function"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.segLike.attribute.function">
    <xs:attribute name="function">
      <xs:annotation>
        <xs:documentation>(function) characterizes the function of the segment.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attributes">
    <xs:attributeGroup ref="tei:att.placement.attributes"/>
    <xs:attributeGroup ref="tei:att.written.attributes"/>
    <xs:attributeGroup ref="tei:att.transcriptional.attribute.status"/>
    <xs:attributeGroup ref="tei:att.transcriptional.attribute.cause"/>
    <xs:attributeGroup ref="tei:att.transcriptional.attribute.seq"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attribute.status">
    <xs:attribute name="status" default="unremarkable">
      <xs:annotation>
        <xs:documentation>indicates the effect of the intervention, for example in the case of a deletion, strikeouts which include too much or too little text, or in the case of an addition, an insertion which duplicates some of the text already present.
Sample values include: 1] duplicate; 2] duplicate-partial; 3] excessStart; 4] excessEnd; 5] shortStart; 6] shortEnd; 7] partial; 8] unremarkable</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attribute.cause">
    <xs:attribute name="cause">
      <xs:annotation>
        <xs:documentation>documents the presumed cause for the intervention.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attribute.seq">
    <xs:attribute name="seq" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>(sequence) assigns a sequence number related to the order in which the encoded features carrying this attribute are believed to have occurred.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.timed.attributes">
    <xs:attributeGroup ref="tei:att.timed.attribute.start"/>
    <xs:attributeGroup ref="tei:att.timed.attribute.end"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.timed.attribute.start">
    <xs:attribute name="start">
      <xs:annotation>
        <xs:documentation>indicates the location within a temporal alignment at which this element begins.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.timed.attribute.end">
    <xs:attribute name="end">
      <xs:annotation>
        <xs:documentation>indicates the location within a temporal alignment at which this element ends.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.nameLike.agent">
    <xs:sequence>
      <xs:element ref="tei:name"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_alternation">
    <xs:sequence>
      <xs:element ref="tei:name"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequence">
    <xs:sequence>
      <xs:element ref="tei:name"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:name"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:name"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:name"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike">
    <xs:choice>
      <xs:element ref="tei:c"/>
      <xs:element ref="tei:pc"/>
      <xs:element ref="tei:s"/>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:w"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.segLike_alternation">
    <xs:choice>
      <xs:element ref="tei:c"/>
      <xs:element ref="tei:pc"/>
      <xs:element ref="tei:s"/>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:w"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.segLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:c"/>
      <xs:element ref="tei:pc"/>
      <xs:element ref="tei:s"/>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:w"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:c"/>
      <xs:element minOccurs="0" ref="tei:pc"/>
      <xs:element minOccurs="0" ref="tei:s"/>
      <xs:element minOccurs="0" ref="tei:seg"/>
      <xs:element minOccurs="0" ref="tei:w"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:c"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:pc"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:s"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:seg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:w"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:c"/>
      <xs:element maxOccurs="unbounded" ref="tei:pc"/>
      <xs:element maxOccurs="unbounded" ref="tei:s"/>
      <xs:element maxOccurs="unbounded" ref="tei:seg"/>
      <xs:element maxOccurs="unbounded" ref="tei:w"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike">
    <xs:choice>
      <xs:element ref="tei:hi"/>
      <xs:element ref="tei:q"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.hiLike_alternation">
    <xs:choice>
      <xs:element ref="tei:hi"/>
      <xs:element ref="tei:q"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.hiLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:hi"/>
      <xs:element ref="tei:q"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:hi"/>
      <xs:element minOccurs="0" ref="tei:q"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:hi"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:q"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:hi"/>
      <xs:element maxOccurs="unbounded" ref="tei:q"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike">
    <xs:choice>
      <xs:element ref="tei:code"/>
      <xs:element ref="tei:foreign"/>
      <xs:element ref="tei:term"/>
      <xs:element ref="tei:title"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.emphLike_alternation">
    <xs:choice>
      <xs:element ref="tei:code"/>
      <xs:element ref="tei:foreign"/>
      <xs:element ref="tei:term"/>
      <xs:element ref="tei:title"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.emphLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:code"/>
      <xs:element ref="tei:foreign"/>
      <xs:element ref="tei:term"/>
      <xs:element ref="tei:title"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:code"/>
      <xs:element minOccurs="0" ref="tei:foreign"/>
      <xs:element minOccurs="0" ref="tei:term"/>
      <xs:element minOccurs="0" ref="tei:title"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:code"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:foreign"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:term"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:title"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:code"/>
      <xs:element maxOccurs="unbounded" ref="tei:foreign"/>
      <xs:element maxOccurs="unbounded" ref="tei:term"/>
      <xs:element maxOccurs="unbounded" ref="tei:title"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.highlighted">
    <xs:choice>
      <xs:group ref="tei:model.hiLike"/>
      <xs:group ref="tei:model.emphLike"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.highlighted_alternation">
    <xs:choice>
      <xs:group ref="tei:model.hiLike_alternation"/>
      <xs:group ref="tei:model.emphLike_alternation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.highlighted_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.hiLike_sequence"/>
      <xs:group ref="tei:model.emphLike_sequence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.highlighted_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="tei:model.hiLike_sequenceOptional"/>
      <xs:group minOccurs="0" ref="tei:model.emphLike_sequenceOptional"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.highlighted_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.hiLike_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.emphLike_sequenceOptionalRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.highlighted_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="tei:model.hiLike_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="tei:model.emphLike_sequenceRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike">
    <xs:choice>
      <xs:element ref="tei:date"/>
      <xs:element ref="tei:time"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.dateLike_alternation">
    <xs:choice>
      <xs:element ref="tei:date"/>
      <xs:element ref="tei:time"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.dateLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:date"/>
      <xs:element ref="tei:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:date"/>
      <xs:element minOccurs="0" ref="tei:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:date"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:date"/>
      <xs:element maxOccurs="unbounded" ref="tei:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike">
    <xs:choice>
      <xs:element ref="tei:measure"/>
      <xs:element ref="tei:num"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.measureLike_alternation">
    <xs:choice>
      <xs:element ref="tei:measure"/>
      <xs:element ref="tei:num"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.measureLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:measure"/>
      <xs:element ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:measure"/>
      <xs:element minOccurs="0" ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:measure"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:measure"/>
      <xs:element maxOccurs="unbounded" ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike">
    <xs:choice>
      <xs:element ref="tei:formula"/>
      <xs:element ref="tei:graphic"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.graphicLike_alternation">
    <xs:choice>
      <xs:element ref="tei:formula"/>
      <xs:element ref="tei:graphic"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.graphicLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:formula"/>
      <xs:element ref="tei:graphic"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:formula"/>
      <xs:element minOccurs="0" ref="tei:graphic"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:formula"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:graphic"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:formula"/>
      <xs:element maxOccurs="unbounded" ref="tei:graphic"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial">
    <xs:choice>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:expan"/>
      <xs:element ref="tei:subst"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial_alternation">
    <xs:choice>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:expan"/>
      <xs:element ref="tei:subst"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequence">
    <xs:sequence>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:expan"/>
      <xs:element ref="tei:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:abbr"/>
      <xs:element minOccurs="0" ref="tei:choice"/>
      <xs:element minOccurs="0" ref="tei:expan"/>
      <xs:element minOccurs="0" ref="tei:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:abbr"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:choice"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:expan"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:abbr"/>
      <xs:element maxOccurs="unbounded" ref="tei:choice"/>
      <xs:element maxOccurs="unbounded" ref="tei:expan"/>
      <xs:element maxOccurs="unbounded" ref="tei:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional">
    <xs:choice>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:supplied"/>
      <xs:element ref="tei:unclear"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_alternation">
    <xs:choice>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:supplied"/>
      <xs:element ref="tei:unclear"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequence">
    <xs:sequence>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:supplied"/>
      <xs:element ref="tei:unclear"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:add"/>
      <xs:element minOccurs="0" ref="tei:corr"/>
      <xs:element minOccurs="0" ref="tei:del"/>
      <xs:element minOccurs="0" ref="tei:orig"/>
      <xs:element minOccurs="0" ref="tei:reg"/>
      <xs:element minOccurs="0" ref="tei:sic"/>
      <xs:element minOccurs="0" ref="tei:supplied"/>
      <xs:element minOccurs="0" ref="tei:unclear"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:add"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:corr"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:del"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:orig"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:reg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:sic"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:supplied"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:unclear"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:add"/>
      <xs:element maxOccurs="unbounded" ref="tei:corr"/>
      <xs:element maxOccurs="unbounded" ref="tei:del"/>
      <xs:element maxOccurs="unbounded" ref="tei:orig"/>
      <xs:element maxOccurs="unbounded" ref="tei:reg"/>
      <xs:element maxOccurs="unbounded" ref="tei:sic"/>
      <xs:element maxOccurs="unbounded" ref="tei:supplied"/>
      <xs:element maxOccurs="unbounded" ref="tei:unclear"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.edit">
    <xs:choice>
      <xs:group ref="tei:model.pPart.editorial"/>
      <xs:group ref="tei:model.pPart.transcriptional"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.edit_alternation">
    <xs:choice>
      <xs:group ref="tei:model.pPart.editorial_alternation"/>
      <xs:group ref="tei:model.pPart.transcriptional_alternation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.edit_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.pPart.editorial_sequence"/>
      <xs:group ref="tei:model.pPart.transcriptional_sequence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.edit_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="tei:model.pPart.editorial_sequenceOptional"/>
      <xs:group minOccurs="0" ref="tei:model.pPart.transcriptional_sequenceOptional"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.edit_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.pPart.editorial_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.pPart.transcriptional_sequenceOptionalRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.edit_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="tei:model.pPart.editorial_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="tei:model.pPart.transcriptional_sequenceRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.linePart">
    <xs:choice>
      <xs:group ref="tei:model.hiLike"/>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:c"/>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:pc"/>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:unclear"/>
      <xs:element ref="tei:w"/>
      <xs:element ref="tei:zone"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.ptrLike">
    <xs:sequence>
      <xs:element ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.ptrLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.ptrLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.ptrLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.ptrLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.ptrLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lPart">
    <xs:sequence>
      <xs:element ref="tei:rhyme"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lPart_alternation">
    <xs:sequence>
      <xs:element ref="tei:rhyme"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lPart_sequence">
    <xs:sequence>
      <xs:element ref="tei:rhyme"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lPart_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:rhyme"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lPart_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:rhyme"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lPart_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:rhyme"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike">
    <xs:choice>
      <xs:element ref="tei:anchor"/>
      <xs:element ref="tei:cb"/>
      <xs:element ref="tei:fw"/>
      <xs:element ref="tei:lb"/>
      <xs:element ref="tei:milestone"/>
      <xs:element ref="tei:pb"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.milestoneLike_alternation">
    <xs:choice>
      <xs:element ref="tei:anchor"/>
      <xs:element ref="tei:cb"/>
      <xs:element ref="tei:fw"/>
      <xs:element ref="tei:lb"/>
      <xs:element ref="tei:milestone"/>
      <xs:element ref="tei:pb"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.milestoneLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:anchor"/>
      <xs:element ref="tei:cb"/>
      <xs:element ref="tei:fw"/>
      <xs:element ref="tei:lb"/>
      <xs:element ref="tei:milestone"/>
      <xs:element ref="tei:pb"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:anchor"/>
      <xs:element minOccurs="0" ref="tei:cb"/>
      <xs:element minOccurs="0" ref="tei:fw"/>
      <xs:element minOccurs="0" ref="tei:lb"/>
      <xs:element minOccurs="0" ref="tei:milestone"/>
      <xs:element minOccurs="0" ref="tei:pb"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:anchor"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:cb"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:fw"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:lb"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:milestone"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:pb"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:anchor"/>
      <xs:element maxOccurs="unbounded" ref="tei:cb"/>
      <xs:element maxOccurs="unbounded" ref="tei:fw"/>
      <xs:element maxOccurs="unbounded" ref="tei:lb"/>
      <xs:element maxOccurs="unbounded" ref="tei:milestone"/>
      <xs:element maxOccurs="unbounded" ref="tei:pb"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.gLike">
    <xs:sequence>
      <xs:element ref="tei:g"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike">
    <xs:choice>
      <xs:element ref="tei:biblFull"/>
      <xs:element ref="tei:bibl"/>
      <xs:element ref="tei:listBibl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblLike_alternation">
    <xs:choice>
      <xs:element ref="tei:biblFull"/>
      <xs:element ref="tei:bibl"/>
      <xs:element ref="tei:listBibl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:biblFull"/>
      <xs:element ref="tei:bibl"/>
      <xs:element ref="tei:listBibl"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:biblFull"/>
      <xs:element minOccurs="0" ref="tei:bibl"/>
      <xs:element minOccurs="0" ref="tei:listBibl"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:biblFull"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:bibl"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:listBibl"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:biblFull"/>
      <xs:element maxOccurs="unbounded" ref="tei:bibl"/>
      <xs:element maxOccurs="unbounded" ref="tei:listBibl"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike">
    <xs:sequence>
      <xs:element ref="tei:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike">
    <xs:choice>
      <xs:element ref="tei:desc"/>
      <xs:element ref="tei:label"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.labelLike_alternation">
    <xs:choice>
      <xs:element ref="tei:desc"/>
      <xs:element ref="tei:label"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.labelLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:desc"/>
      <xs:element ref="tei:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:desc"/>
      <xs:element minOccurs="0" ref="tei:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:desc"/>
      <xs:element maxOccurs="unbounded" ref="tei:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike">
    <xs:choice>
      <xs:element ref="tei:list"/>
      <xs:element ref="tei:listPerson"/>
      <xs:element ref="tei:listPlace"/>
      <xs:element ref="tei:table"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.listLike_alternation">
    <xs:choice>
      <xs:element ref="tei:list"/>
      <xs:element ref="tei:listPerson"/>
      <xs:element ref="tei:listPlace"/>
      <xs:element ref="tei:table"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.listLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:list"/>
      <xs:element ref="tei:listPerson"/>
      <xs:element ref="tei:listPlace"/>
      <xs:element ref="tei:table"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:list"/>
      <xs:element minOccurs="0" ref="tei:listPerson"/>
      <xs:element minOccurs="0" ref="tei:listPlace"/>
      <xs:element minOccurs="0" ref="tei:table"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:list"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:listPerson"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:listPlace"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:table"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:list"/>
      <xs:element maxOccurs="unbounded" ref="tei:listPerson"/>
      <xs:element maxOccurs="unbounded" ref="tei:listPlace"/>
      <xs:element maxOccurs="unbounded" ref="tei:table"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike">
    <xs:sequence>
      <xs:element ref="tei:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike">
    <xs:sequence>
      <xs:element ref="tei:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike">
    <xs:choice>
      <xs:element ref="tei:ab"/>
      <xs:element ref="tei:p"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pLike_alternation">
    <xs:choice>
      <xs:element ref="tei:ab"/>
      <xs:element ref="tei:p"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:ab"/>
      <xs:element ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:ab"/>
      <xs:element minOccurs="0" ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:ab"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:ab"/>
      <xs:element maxOccurs="unbounded" ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike">
    <xs:sequence>
      <xs:element ref="tei:stage"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:stage"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:stage"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:stage"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:stage"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:stage"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit">
    <xs:sequence>
      <xs:element ref="tei:gap"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit_alternation">
    <xs:sequence>
      <xs:element ref="tei:gap"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit_sequence">
    <xs:sequence>
      <xs:element ref="tei:gap"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:gap"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:gap"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:gap"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divPart">
    <xs:choice>
      <xs:group ref="tei:model.lLike"/>
      <xs:group ref="tei:model.pLike"/>
      <xs:element ref="tei:lg"/>
      <xs:element ref="tei:sp"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.personLike">
    <xs:sequence>
      <xs:element ref="tei:person"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.personPart">
    <xs:choice>
      <xs:group ref="tei:model.biblLike"/>
      <xs:element ref="tei:idno"/>
      <xs:element ref="tei:name"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.publicationStmtPart.agency">
    <xs:choice>
      <xs:element ref="tei:distributor"/>
      <xs:element ref="tei:publisher"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.publicationStmtPart.detail">
    <xs:choice>
      <xs:group ref="tei:model.ptrLike"/>
      <xs:element ref="tei:idno"/>
      <xs:element ref="tei:availability"/>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:date"/>
      <xs:element ref="tei:pubPlace"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.availabilityPart">
    <xs:sequence>
      <xs:element ref="tei:licence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.descLike">
    <xs:sequence>
      <xs:element ref="tei:desc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike">
    <xs:choice>
      <xs:element ref="tei:cit"/>
      <xs:element ref="tei:quote"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.quoteLike_alternation">
    <xs:choice>
      <xs:element ref="tei:cit"/>
      <xs:element ref="tei:quote"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.quoteLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:cit"/>
      <xs:element ref="tei:quote"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:cit"/>
      <xs:element minOccurs="0" ref="tei:quote"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:cit"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:quote"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:cit"/>
      <xs:element maxOccurs="unbounded" ref="tei:quote"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable">
    <xs:choice>
      <xs:group ref="tei:model.quoteLike"/>
      <xs:element ref="tei:floatingText"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.attributable_alternation">
    <xs:choice>
      <xs:group ref="tei:model.quoteLike_alternation"/>
      <xs:element ref="tei:floatingText"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.attributable_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.quoteLike_sequence"/>
      <xs:element ref="tei:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="tei:model.quoteLike_sequenceOptional"/>
      <xs:element minOccurs="0" ref="tei:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.quoteLike_sequenceOptionalRepeatable"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="tei:model.quoteLike_sequenceRepeatable"/>
      <xs:element maxOccurs="unbounded" ref="tei:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.respLike">
    <xs:choice>
      <xs:element ref="tei:author"/>
      <xs:element ref="tei:editor"/>
      <xs:element ref="tei:respStmt"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divWrapper">
    <xs:choice>
      <xs:element ref="tei:argument"/>
      <xs:element ref="tei:byline"/>
      <xs:element ref="tei:dateline"/>
      <xs:element ref="tei:docAuthor"/>
      <xs:element ref="tei:docDate"/>
      <xs:element ref="tei:epigraph"/>
      <xs:element ref="tei:salute"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divTopPart">
    <xs:choice>
      <xs:group ref="tei:model.headLike"/>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:opener"/>
      <xs:element ref="tei:signed"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divTop">
    <xs:choice>
      <xs:group ref="tei:model.divWrapper"/>
      <xs:group ref="tei:model.divTopPart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.frontPart.drama">
    <xs:choice>
      <xs:element ref="tei:castList"/>
      <xs:element ref="tei:set"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pLike.front">
    <xs:choice>
      <xs:element ref="tei:argument"/>
      <xs:element ref="tei:byline"/>
      <xs:element ref="tei:dateline"/>
      <xs:element ref="tei:docAuthor"/>
      <xs:element ref="tei:docDate"/>
      <xs:element ref="tei:docEdition"/>
      <xs:element ref="tei:docImprint"/>
      <xs:element ref="tei:docTitle"/>
      <xs:element ref="tei:epigraph"/>
      <xs:element ref="tei:head"/>
      <xs:element ref="tei:titlePart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divBottomPart">
    <xs:choice>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:closer"/>
      <xs:element ref="tei:postscript"/>
      <xs:element ref="tei:signed"/>
      <xs:element ref="tei:trailer"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divBottom">
    <xs:choice>
      <xs:group ref="tei:model.divWrapper"/>
      <xs:group ref="tei:model.divBottomPart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.titlepagePart">
    <xs:choice>
      <xs:element ref="tei:argument"/>
      <xs:element ref="tei:byline"/>
      <xs:element ref="tei:docAuthor"/>
      <xs:element ref="tei:docDate"/>
      <xs:element ref="tei:docEdition"/>
      <xs:element ref="tei:docImprint"/>
      <xs:element ref="tei:docTitle"/>
      <xs:element ref="tei:epigraph"/>
      <xs:element ref="tei:graphic"/>
      <xs:element ref="tei:imprimatur"/>
      <xs:element ref="tei:titlePart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.choicePart">
    <xs:choice>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:expan"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:supplied"/>
      <xs:element ref="tei:unclear"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.imprintPart">
    <xs:choice>
      <xs:element ref="tei:distributor"/>
      <xs:element ref="tei:biblScope"/>
      <xs:element ref="tei:publisher"/>
      <xs:element ref="tei:pubPlace"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.castItemPart">
    <xs:choice>
      <xs:element ref="tei:actor"/>
      <xs:element ref="tei:role"/>
      <xs:element ref="tei:roleDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addressLike">
    <xs:choice>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:email"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addressLike_alternation">
    <xs:choice>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:email"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addressLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:email"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:address"/>
      <xs:element minOccurs="0" ref="tei:email"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:address"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:email"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:address"/>
      <xs:element maxOccurs="unbounded" ref="tei:email"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike">
    <xs:choice>
      <xs:group ref="tei:model.nameLike.agent"/>
      <xs:element ref="tei:idno"/>
      <xs:element ref="tei:rs"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike_alternation">
    <xs:choice>
      <xs:group ref="tei:model.nameLike.agent_alternation"/>
      <xs:element ref="tei:idno"/>
      <xs:element ref="tei:rs"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.nameLike.agent_sequence"/>
      <xs:element ref="tei:idno"/>
      <xs:element ref="tei:rs"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="tei:model.nameLike.agent_sequenceOptional"/>
      <xs:element minOccurs="0" ref="tei:idno"/>
      <xs:element minOccurs="0" ref="tei:rs"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.nameLike.agent_sequenceOptionalRepeatable"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:idno"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:rs"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="tei:model.nameLike.agent_sequenceRepeatable"/>
      <xs:element maxOccurs="unbounded" ref="tei:idno"/>
      <xs:element maxOccurs="unbounded" ref="tei:rs"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global">
    <xs:choice>
      <xs:group ref="tei:model.milestoneLike"/>
      <xs:group ref="tei:model.noteLike"/>
      <xs:group ref="tei:model.global.edit"/>
      <xs:element ref="tei:figure"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblPart">
    <xs:choice>
      <xs:group ref="tei:model.respLike"/>
      <xs:group ref="tei:model.imprintPart"/>
      <xs:element ref="tei:edition"/>
      <xs:element ref="tei:extent"/>
      <xs:element ref="tei:availability"/>
      <xs:element ref="tei:bibl"/>
      <xs:element ref="tei:quote"/>
      <xs:element ref="tei:relatedItem"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.frontPart">
    <xs:choice>
      <xs:group ref="tei:model.frontPart.drama"/>
      <xs:element ref="tei:listBibl"/>
      <xs:element ref="tei:titlePage"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addrPart">
    <xs:choice>
      <xs:group ref="tei:model.nameLike"/>
      <xs:element ref="tei:addrLine"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.data">
    <xs:choice>
      <xs:group ref="tei:model.dateLike"/>
      <xs:group ref="tei:model.measureLike"/>
      <xs:group ref="tei:model.addressLike"/>
      <xs:group ref="tei:model.nameLike"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.data_alternation">
    <xs:choice>
      <xs:group ref="tei:model.dateLike_alternation"/>
      <xs:group ref="tei:model.measureLike_alternation"/>
      <xs:group ref="tei:model.addressLike_alternation"/>
      <xs:group ref="tei:model.nameLike_alternation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.data_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.dateLike_sequence"/>
      <xs:group ref="tei:model.measureLike_sequence"/>
      <xs:group ref="tei:model.addressLike_sequence"/>
      <xs:group ref="tei:model.nameLike_sequence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.data_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="tei:model.dateLike_sequenceOptional"/>
      <xs:group minOccurs="0" ref="tei:model.measureLike_sequenceOptional"/>
      <xs:group minOccurs="0" ref="tei:model.addressLike_sequenceOptional"/>
      <xs:group minOccurs="0" ref="tei:model.nameLike_sequenceOptional"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.data_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.dateLike_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.measureLike_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.addressLike_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.nameLike_sequenceOptionalRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.data_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="tei:model.dateLike_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="tei:model.measureLike_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="tei:model.addressLike_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="tei:model.nameLike_sequenceRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.inter">
    <xs:choice>
      <xs:group ref="tei:model.biblLike"/>
      <xs:group ref="tei:model.labelLike"/>
      <xs:group ref="tei:model.listLike"/>
      <xs:group ref="tei:model.stageLike"/>
      <xs:group ref="tei:model.attributable"/>
      <xs:element ref="tei:castList"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.common">
    <xs:choice>
      <xs:group ref="tei:model.divPart"/>
      <xs:group ref="tei:model.inter"/>
      <xs:element ref="tei:q"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.phrase">
    <xs:choice>
      <xs:group ref="tei:model.segLike"/>
      <xs:group ref="tei:model.highlighted"/>
      <xs:group ref="tei:model.graphicLike"/>
      <xs:group ref="tei:model.pPart.edit"/>
      <xs:group ref="tei:model.ptrLike"/>
      <xs:group ref="tei:model.lPart"/>
      <xs:group ref="tei:model.pPart.data"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.paraPart">
    <xs:choice>
      <xs:group ref="tei:model.gLike"/>
      <xs:group ref="tei:model.lLike"/>
      <xs:group ref="tei:model.global"/>
      <xs:group ref="tei:model.inter"/>
      <xs:group ref="tei:model.phrase"/>
      <xs:element ref="tei:lg"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.limitedPhrase">
    <xs:choice>
      <xs:group ref="tei:model.hiLike"/>
      <xs:group ref="tei:model.emphLike"/>
      <xs:group ref="tei:model.pPart.editorial"/>
      <xs:group ref="tei:model.ptrLike"/>
      <xs:group ref="tei:model.pPart.data"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divLike">
    <xs:sequence>
      <xs:element ref="tei:div"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.teiHeaderPart">
    <xs:choice>
      <xs:element ref="tei:encodingDesc"/>
      <xs:element ref="tei:profileDesc"/>
      <xs:element ref="tei:xenoData"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.encodingDescPart">
    <xs:choice>
      <xs:element ref="tei:charDecl"/>
      <xs:element ref="tei:projectDesc"/>
      <xs:element ref="tei:samplingDecl"/>
      <xs:element ref="tei:editorialDecl"/>
      <xs:element ref="tei:tagsDecl"/>
      <xs:element ref="tei:refsDecl"/>
      <xs:element ref="tei:listPrefixDef"/>
      <xs:element ref="tei:classDecl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.profileDescPart">
    <xs:choice>
      <xs:element ref="tei:abstract"/>
      <xs:element ref="tei:creation"/>
      <xs:element ref="tei:langUsage"/>
      <xs:element ref="tei:textClass"/>
      <xs:element ref="tei:particDesc"/>
      <xs:element ref="tei:settingDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.resource">
    <xs:choice>
      <xs:element ref="tei:facsimile"/>
      <xs:element ref="tei:text"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.describedResource">
    <xs:choice>
      <xs:element ref="tei:TEI"/>
      <xs:element ref="tei:teiCorpus"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.personal.attributes">
    <xs:attributeGroup ref="tei:att.naming.attributes"/>
    <xs:attributeGroup ref="tei:att.personal.attribute.full"/>
    <xs:attributeGroup ref="tei:att.personal.attribute.sort"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.personal.attribute.full">
    <xs:attribute name="full" default="yes">
      <xs:annotation>
        <xs:documentation>indicates whether the name component is given in full, as an abbreviation or simply as an initial.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="yes">
            <xs:annotation>
              <xs:documentation>(yes) the name component is spelled out in full.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="abb">
            <xs:annotation>
              <xs:documentation>(abbreviated) the name component is given in an abbreviated form.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="init">
            <xs:annotation>
              <xs:documentation>(initial letter) the name component is indicated only by one initial.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.personal.attribute.sort">
    <xs:attribute name="sort" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>(sort) specifies the sort order of the name component in relation to others within the name.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.placeLike">
    <xs:sequence>
      <xs:element ref="tei:place"/>
    </xs:sequence>
  </xs:group>
  <xs:attributeGroup name="att.calendarSystem.attributes">
    <xs:attributeGroup ref="tei:att.calendarSystem.attribute.calendar"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.calendarSystem.attribute.calendar">
    <xs:attribute name="calendar">
      <xs:annotation>
        <xs:documentation>indicates one or more systems or calendars to which the date represented by the content of this element belongs.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.gaijiProp.attributes">
    <xs:attributeGroup ref="tei:att.datable.attributes"/>
    <xs:attributeGroup ref="tei:att.gaijiProp.attribute.name"/>
    <xs:attributeGroup ref="tei:att.gaijiProp.attribute.value"/>
    <xs:attributeGroup ref="tei:att.gaijiProp.attribute.version"/>
    <xs:attributeGroup ref="tei:att.gaijiProp.attribute.scheme"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.gaijiProp.attribute.name">
    <xs:attribute name="name" use="required" type="xs:NCName">
      <xs:annotation>
        <xs:documentation>provides the name of the character or glyph property being defined.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.gaijiProp.attribute.value">
    <xs:attribute name="value" use="required" type="xs:string">
      <xs:annotation>
        <xs:documentation>provides the value of the character or glyph property being defined.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.gaijiProp.attribute.version">
    <xs:attribute name="version">
      <xs:annotation>
        <xs:documentation>specifies the version number of the Unicode Standard in which this property name is defined.
Suggested values include: 1] 1.0.1; 2] 1.1; 3] 2.0; 4] 2.1; 5] 3.0; 6] 3.1; 7] 3.2; 8] 4.0; 9] 4.1; 10] 5.0; 11] 5.1; 12] 5.2; 13] 6.0; 14] 6.1; 15] 6.2; 16] 6.3; 17] 7.0; 18] 8.0; 19] 9.0; 20] 10.0; 21] 11.0; 22] 12.0; 23] 12.1; 24] 13.0; 25] 14.0; 26] 15.0; 27] unassigned</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="1.0.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="1.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="2.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="2.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="3.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="3.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="3.2">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="4.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="4.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="5.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="5.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="5.2">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="6.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="6.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="6.2">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="6.3">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="7.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="8.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="9.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="10.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="11.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="12.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="12.1">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="13.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="14.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="15.0">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="unassigned">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="[^\p{C}\p{Z}]+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.gaijiProp.attribute.scheme">
    <xs:attribute name="scheme" default="Unicode">
      <xs:annotation>
        <xs:documentation>supplies the name of the character set system from which this property is drawn.
Sample values include: 1] Unicode (Unicode); 2] Bridwell (E. Nelson Bridwell); 3] Brewer (Georg Brewer); 4] Doyle (Darren Doyle); 5] Schreyer (Christine Schreyer)</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[^\p{C}\p{Z}]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="charDecl">
    <xs:annotation>
      <xs:documentation>(character declarations) provides information about nonstandard characters and glyphs. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="tei:desc"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="tei:char"/>
          <xs:element ref="tei:glyph"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="char">
    <xs:annotation>
      <xs:documentation>(character) provides descriptive information about a character. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="tei:unicodeProp"/>
        <xs:element ref="tei:unihanProp"/>
        <xs:element ref="tei:localProp"/>
        <xs:element ref="tei:mapping"/>
        <xs:element ref="tei:figure"/>
        <xs:group ref="tei:model.graphicLike"/>
        <xs:group ref="tei:model.noteLike"/>
        <xs:group ref="tei:model.descLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="glyph">
    <xs:annotation>
      <xs:documentation>(character glyph) provides descriptive information about a character glyph. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="tei:unicodeProp"/>
        <xs:element ref="tei:unihanProp"/>
        <xs:element ref="tei:localProp"/>
        <xs:element ref="tei:mapping"/>
        <xs:element ref="tei:figure"/>
        <xs:group ref="tei:model.graphicLike"/>
        <xs:group ref="tei:model.noteLike"/>
        <xs:group ref="tei:model.descLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="localProp">
    <xs:annotation>
      <xs:documentation>(locally defined property) provides a locally defined character (or glyph) property. [5.2.1. Character Properties]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.gaijiProp.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="mapping">
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.xtext">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="unihanProp">
    <xs:annotation>
      <xs:documentation>(unihan property) holds the name and value of a normative or informative Unihan character (or glyph) property as part of its attributes. [5.2.1. Character Properties]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.gaijiProp.attribute.version"/>
      <xs:attributeGroup ref="tei:att.gaijiProp.attribute.scheme"/>
      <xs:attributeGroup ref="tei:att.datable.attribute.period"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.when"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.notBefore"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.notAfter"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.from"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.to"/>
      <xs:attribute name="name" use="required">
        <xs:annotation>
          <xs:documentation>specifies the normalized name of a unicode han database (Unihan) property.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="kZVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kAccountingNumeric">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kBigFive">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCCCII">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCNS1986">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCNS1992">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCangjie">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCantonese">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCheungBauer">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCheungBauerIndex">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCihaiT">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCompatibilityVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCowles">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kDaeJaweon">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kDefinition">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kEACC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kFenn">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kFennIndex">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kFourCornerCode">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kFrequency">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGB0">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGB1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGB3">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGB5">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGB7">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGB8">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGSR">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kGradeLevel">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHDZRadBreak">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHKGlyph">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHKSCS">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHanYu">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHangul">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHanyuPinlu">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kHanyuPinyin">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIBMJapan">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIICore">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRGDaeJaweon">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRGDaiKanwaZiten">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRGHanyuDaZidian">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRGKangXi">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_GSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_HSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_JSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_KPSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_KSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_MSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_TSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_USource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_VSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJIS0213">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJa">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJapaneseKun">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJapaneseOn">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJinmeiyoKanji">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJis0">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJis1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kJoyoKanji">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKPS0">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKPS1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKSC0">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKSC1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKangXi">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKarlgren">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKorean">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKoreanEducationHanja">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kKoreanName">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kLau">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kMainlandTelegraph">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kMandarin">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kMatthews">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kMeyerWempe">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kMorohashi">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kNelson">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kOtherNumeric">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kPhonetic">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kPrimaryNumeric">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kPseudoGB1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSAdobe_Japan1_6">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSJapanese">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSKanWa">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSKangXi">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSKorean">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSUnicode">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kSBGY">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kSemanticVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kSimplifiedVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kSpecializedSemanticVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kTGH">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kTaiwanTelegraph">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kTang">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kTotalStrokes">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kTraditionalVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kVietnamese">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kXHC1983">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kXerox">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="value" use="required">
        <xs:annotation>
          <xs:documentation>specifies the value of a named Unihan property</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="unicodeProp">
    <xs:annotation>
      <xs:documentation>(unicode property) provides a Unicode property for a character (or glyph). [5.2.1. Character Properties]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.gaijiProp.attribute.version"/>
      <xs:attributeGroup ref="tei:att.gaijiProp.attribute.scheme"/>
      <xs:attributeGroup ref="tei:att.datable.attribute.period"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.when"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.notBefore"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.notAfter"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.from"/>
      <xs:attributeGroup ref="tei:att.datable.w3c.attribute.to"/>
      <xs:attribute name="name" use="required">
        <xs:annotation>
          <xs:documentation>specifies the normalized name of a Unicode property.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="Age">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="AHex">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Alpha">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Alphabetic">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ASCII_Hex_Digit">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="bc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_C">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_Class">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_Control">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_M">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_Mirrored">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_Mirroring_Glyph">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_Paired_Bracket">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Bidi_Paired_Bracket_Type">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="blk">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Block">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="bmg">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="bpb">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="bpt">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Canonical_Combining_Class">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Case_Folding">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Case_Ignorable">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Cased">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ccc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CE">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="cf">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Changes_When_Casefolded">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Changes_When_Casemapped">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Changes_When_Lowercased">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Changes_When_NFKC_Casefolded">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Changes_When_Titlecased">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Changes_When_Uppercased">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CI">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Comp_Ex">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Composition_Exclusion">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CWCF">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CWCM">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CWKCF">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CWL">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CWT">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="CWU">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Dash">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Decomposition_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Decomposition_Type">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Default_Ignorable_Code_Point">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Dep">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Deprecated">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="DI">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Dia">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Diacritic">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="dm">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="dt">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ea">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="East_Asian_Width">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="EqUIdeo">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Equivalent_Unified_Ideograph">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Expands_On_NFC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Expands_On_NFD">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Expands_On_NFKC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Expands_On_NFKD">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Ext">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Extender">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="FC_NFKC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="FC_NFKC_Closure">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Full_Composition_Exclusion">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="gc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="GCB">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="General_Category">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Gr_Base">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Gr_Ext">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Gr_Link">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Grapheme_Base">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Grapheme_Cluster_Break">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Grapheme_Extend">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Grapheme_Link">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Hangul_Syllable_Type">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Hex">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Hex_Digit">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="hst">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Hyphen">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ID_Continue">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ID_Start">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="IDC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Ideo">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Ideographic">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="IDS">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="IDS_Binary_Operator">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="IDS_Trinary_Operator">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="IDSB">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="IDST">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Indic_Positional_Category">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Indic_Syllabic_Category">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="InPC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="InSC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="isc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ISO_Comment">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Jamo_Short_Name">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="jg">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Join_C">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Join_Control">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Joining_Group">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Joining_Type">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="JSN">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="jt">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kAccountingNumeric">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kCompatibilityVariant">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIICore">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_GSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_HSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_JSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_KPSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_KSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_MSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_TSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_USource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kIRG_VSource">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kOtherNumeric">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kPrimaryNumeric">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="kRSUnicode">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="lb">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="lc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Line_Break">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="LOE">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Logical_Order_Exception">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Lower">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Lowercase">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Lowercase_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Math">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="na">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="na1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Name">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Name_Alias">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NChar">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFC_QC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFC_Quick_Check">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFD_QC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFD_Quick_Check">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFKC_Casefold">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFKC_CF">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFKC_QC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFKC_Quick_Check">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFKD_QC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="NFKD_Quick_Check">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Noncharacter_Code_Point">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="nt">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Numeric_Type">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Numeric_Value">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="nv">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OAlpha">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ODI">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OGr_Ext">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OIDC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OIDS">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OLower">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OMath">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_Alphabetic">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_Default_Ignorable_Code_Point">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_Grapheme_Extend">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_ID_Continue">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_ID_Start">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_Lowercase">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_Math">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Other_Uppercase">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="OUpper">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Pat_Syn">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Pat_WS">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Pattern_Syntax">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Pattern_White_Space">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="PCM">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Prepended_Concatenation_Mark">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="QMark">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Quotation_Mark">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Radical">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Regional_Indicator">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="RI">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="SB">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="sc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="scf">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Script">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Script_Extensions">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="scx">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="SD">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Sentence_Break">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Sentence_Terminal">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Simple_Case_Folding">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Simple_Lowercase_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Simple_Titlecase_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Simple_Uppercase_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="slc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Soft_Dotted">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="stc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="STerm">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="suc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="tc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Term">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Terminal_Punctuation">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Titlecase_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="uc">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="UIdeo">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Unicode_1_Name">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Unified_Ideograph">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Upper">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Uppercase">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Uppercase_Mapping">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Variation_Selector">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Vertical_Orientation">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="vo">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="VS">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="WB">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="White_Space">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="Word_Break">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="WSpace">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XID_Continue">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XID_Start">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XIDC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XIDS">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XO_NFC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XO_NFD">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XO_NFKC">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="XO_NFKD">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="value" use="required" type="xs:string">
        <xs:annotation>
          <xs:documentation>specifies the value of a named Unicode property.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.patternReplacement.attributes">
    <xs:attributeGroup ref="tei:att.patternReplacement.attribute.matchPattern"/>
    <xs:attributeGroup ref="tei:att.patternReplacement.attribute.replacementPattern"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.patternReplacement.attribute.matchPattern">
    <xs:attribute name="matchPattern" use="required" type="xs:token">
      <xs:annotation>
        <xs:documentation>specifies a regular expression against which the values of other attributes can be matched.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.patternReplacement.attribute.replacementPattern">
    <xs:attribute name="replacementPattern" use="required"/>
  </xs:attributeGroup>
  <xs:element name="teiHeader">
    <xs:annotation>
      <xs:documentation>(TEI header) supplies descriptive and declarative metadata associated with a digital resource or set of resources. [2.1.1. The TEI Header and Its Components 16.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tei:fileDesc"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.teiHeaderPart"/>
        <xs:element minOccurs="0" ref="tei:revisionDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fileDesc">
    <xs:annotation>
      <xs:documentation>(file description) contains a full bibliographic description of an electronic file. [2.2. The File Description 2.1.1. The TEI Header and Its Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence>
          <xs:element ref="tei:titleStmt"/>
          <xs:element minOccurs="0" ref="tei:editionStmt"/>
          <xs:element minOccurs="0" ref="tei:extent"/>
          <xs:element ref="tei:publicationStmt"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:seriesStmt"/>
          <xs:element minOccurs="0" ref="tei:notesStmt"/>
        </xs:sequence>
        <xs:element maxOccurs="unbounded" ref="tei:sourceDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="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 content. [2.2.1. The Title Statement 2.2. The File Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="tei:title"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.respLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="editionStmt">
    <xs:annotation>
      <xs:documentation>(edition statement) groups information relating to one edition of a text. [2.2.2. The Edition Statement 2.2. The File Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:sequence>
          <xs:element ref="tei:edition"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.respLike"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="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. [2.2.2. The Edition Statement]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="extent">
    <xs:annotation>
      <xs:documentation>(extent) describes the approximate size of a text stored on some carrier medium or of some other object, digital or non-digital, specified in any convenient units. [2.2.3. Type and Extent of File 2.2. The File Description 3.12.2.4. Imprint, Size of a Document, and Reprint Information 11.7.1. Object Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="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. [2.2.4. Publication, Distribution, Licensing, etc. 2.2. The File Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="tei:model.publicationStmtPart.agency"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.publicationStmtPart.detail"/>
        </xs:sequence>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="distributor">
    <xs:annotation>
      <xs:documentation>(distributor) supplies the name of a person or other agency responsible for the distribution of a text. [2.2.4. Publication, Distribution, Licensing, etc.]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.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. [14.3.1. Basic Principles 2.2.4. Publication, Distribution, Licensing, etc. 2.2.5. The Series Statement 3.12.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:element ref="tei:idno"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.datable.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>categorizes the identifier, for example as an ISBN, Social Security number, etc.
Suggested values include: 1] ISBN; 2] ISSN; 3] DOI; 4] URI; 5] VIAF; 6] ESTC; 7] OCLC</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ISBN"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ISSN">
                  <xs:annotation>
                    <xs:documentation>International Standard Serial Number: an eight-digit number to uniquely identify a serial publication.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="DOI">
                  <xs:annotation>
                    <xs:documentation>Digital Object Identifier: a unique string of letters and numbers assigned to an electronic document.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="URI"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="VIAF">
                  <xs:annotation>
                    <xs:documentation>A data number in the Virtual Internet Authority File assigned to link different names in catalogs around the world for the same entity.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ESTC">
                  <xs:annotation>
                    <xs:documentation>English Short-Title Catalogue number: an identifying number assigned to a document in English printed in the British Isles or North America before 1801.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="OCLC">
                  <xs:annotation>
                    <xs:documentation>OCLC control number (record number) for the union catalog record in WorldCat, a union catalog for member libraries in the Online Computer Library Center global cooperative.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="availability">
    <xs:annotation>
      <xs:documentation>(availability) supplies information about the availability of a text, for example any restrictions on its use or distribution, its copyright status, any licence applying to it, etc. [2.2.4. Publication, Distribution, Licensing, etc.]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="tei:model.availabilityPart"/>
        <xs:group ref="tei:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attribute name="status">
        <xs:annotation>
          <xs:documentation>(status) 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>(free) the text is freely available.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="unknown">
              <xs:annotation>
                <xs:documentation>(unknown) the status of the text is unknown.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="restricted">
              <xs:annotation>
                <xs:documentation>(restricted) 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="licence">
    <xs:annotation>
      <xs:documentation>contains information about a licence or other legal agreement applicable to the text. [2.2.4. Publication, Distribution, Licensing, etc.]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.pointing.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [2.2.5. The Series Statement 2.2. The File Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="tei:title"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="tei:editor"/>
            <xs:element ref="tei:respStmt"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="tei:idno"/>
            <xs:element ref="tei:biblScope"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="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. [2.2.6. The Notes Statement 2.2. The File Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="tei:model.noteLike"/>
        <xs:element ref="tei:relatedItem"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sourceDesc">
    <xs:annotation>
      <xs:documentation>(source description) describes the source(s) 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. [2.2.7. The Source Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="tei:model.biblLike"/>
          <xs:group ref="tei:model.listLike"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.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. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2. The File Description 2.2.7. The Source Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:sequence>
          <xs:sequence>
            <xs:element ref="tei:titleStmt"/>
            <xs:element minOccurs="0" ref="tei:editionStmt"/>
            <xs:element minOccurs="0" ref="tei:extent"/>
            <xs:element ref="tei:publicationStmt"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:seriesStmt"/>
            <xs:element minOccurs="0" ref="tei:notesStmt"/>
          </xs:sequence>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:sourceDesc"/>
        </xs:sequence>
        <xs:sequence>
          <xs:element ref="tei:fileDesc"/>
          <xs:element ref="tei:profileDesc"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.docStatus.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.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. [2.3. The Encoding Description 2.1.1. The TEI Header and Its Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="tei:model.encodingDescPart"/>
        <xs:group ref="tei:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="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. [2.3.1. The Project Description 2.3. The Encoding Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
      <xs:attributeGroup ref="tei:att.global.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 selecting texts, or parts of a text, for inclusion in the resource. [2.3.2. The Sampling Declaration 2.3. The Encoding Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
      <xs:attributeGroup ref="tei:att.global.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. [2.3.3. The Editorial Practices Declaration 2.3. The Encoding Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
      <xs:attributeGroup ref="tei:att.global.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. [2.3.4. The Tagging Declaration 2.3. The Encoding Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:rendition"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:namespace"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attribute name="partial" type="xs:boolean"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="tagUsage">
    <xs:annotation>
      <xs:documentation>(element usage) documents the usage of a specific element within a specified document. [2.3.4. The Tagging Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.limitedContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attribute name="gi" use="required" type="xs:Name"/>
          <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:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="namespace">
    <xs:annotation>
      <xs:documentation>(namespace) supplies the formal name of the namespace to which the elements documented by its children belong. [2.3.4. The Tagging Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="tei:tagUsage"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attribute name="name" use="required">
        <xs:annotation>
          <xs:documentation>specifies the full formal name of the namespace concerned.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union>
            <xs:simpleType>
              <xs:restriction base="xs:anyURI">
                <xs:pattern value="\S+"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:length value="0"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="rendition">
    <xs:annotation>
      <xs:documentation>(rendition) supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4. The Tagging Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.limitedContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.styleDef.attributes"/>
          <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.
Sample values include: 1] first-line; 2] first-letter; 3] before; 4] after</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="selector" type="xs:string"/>
        </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. [2.3.6.3. Milestone Method 2.3. The Encoding Description 2.3.6. The Reference System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="prefixDef">
    <xs:annotation>
      <xs:documentation>(prefix definition) defines a prefixing scheme used in teidata.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [17.2.3. Using Abbreviated Pointers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.pLike"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.patternReplacement.attributes"/>
      <xs:attribute name="ident" use="required">
        <xs:annotation>
          <xs:documentation>supplies a name which functions as the prefix for an abbreviated pointing scheme such as a private URI scheme. The prefix constitutes the text preceding the first colon.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[a-z][a-z0-9\+\.\-]*"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="listPrefixDef">
    <xs:annotation>
      <xs:documentation>(list of prefix definitions) contains a list of definitions of prefixing schemes used in teidata.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [17.2.3. Using Abbreviated Pointers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="tei:prefixDef"/>
          <xs:element ref="tei:listPrefixDef"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </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. [2.3.7. The Classification Declaration 2.3. The Encoding Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="tei:taxonomy"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="taxonomy">
    <xs:annotation>
      <xs:documentation>(taxonomy) defines a typology either implicitly, by means of a bibliographic citation, or explicitly by a structured taxonomy. [2.3.7. The Classification Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:choice>
          <xs:choice maxOccurs="unbounded">
            <xs:element ref="tei:category"/>
            <xs:element ref="tei:taxonomy"/>
          </xs:choice>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="tei:model.descLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="tei:category"/>
              <xs:element ref="tei:taxonomy"/>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:sequence>
          <xs:group ref="tei:model.biblLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="tei:category"/>
            <xs:element ref="tei:taxonomy"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="category">
    <xs:annotation>
      <xs:documentation>(category) contains an individual descriptive category, possibly nested within a superordinate category, within a user-defined taxonomy. [2.3.7. The Classification Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element maxOccurs="unbounded" ref="tei:catDesc"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.descLike"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:category"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="catDesc">
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.limitedPhrase"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
    </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. [2.4. The Profile Description 2.1.1. The TEI Header and Its Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.profileDescPart"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="abstract">
    <xs:annotation>
      <xs:documentation>contains a summary or formal abstract prefixed to an existing source document by the encoder. [2.4.4. Abstracts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="tei:model.pLike"/>
        <xs:group ref="tei:model.listLike"/>
        <xs:element ref="tei:listBibl"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="creation">
    <xs:annotation>
      <xs:documentation>(creation) contains information about the creation of a text. [2.4.1. Creation 2.4. The Profile Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.limitedPhrase"/>
        <xs:element ref="tei:listChange"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.datable.attributes"/>
    </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. [2.4.2. Language Usage 2.4. The Profile Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="tei:language"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="language">
    <xs:annotation>
      <xs:documentation>(language) characterizes a single language or sublanguage used within a text. [2.4.2. Language Usage]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq.limited">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.scope.attributes"/>
          <xs:attribute name="ident" use="required">
            <xs:simpleType>
              <xs:union memberTypes="xs:language">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="">
                      <xs:annotation>
                        <xs:documentation/>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="usage" type="xs:nonNegativeInteger">
            <xs:annotation>
              <xs:documentation>specifies the approximate percentage of the text which uses this language.</xs:documentation>
            </xs:annotation>
          </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. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="tei:classCode"/>
        <xs:element ref="tei:catRef"/>
        <xs:element ref="tei:keywords"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="keywords">
    <xs:annotation>
      <xs:documentation>(keywords) contains a list of keywords or phrases identifying the topic or nature of a text. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element maxOccurs="unbounded" ref="tei:term"/>
        <xs:element ref="tei:list"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attribute name="scheme">
        <xs:simpleType>
          <xs:restriction base="xs:anyURI">
            <xs:pattern value="\S+"/>
          </xs:restriction>
        </xs:simpleType>
      </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. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq.limited">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attribute name="scheme" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:anyURI">
                <xs:pattern value="\S+"/>
              </xs:restriction>
            </xs:simpleType>
          </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. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.pointing.attributes"/>
      <xs:attribute name="scheme">
        <xs:simpleType>
          <xs:restriction base="xs:anyURI">
            <xs:pattern value="\S+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="xenoData">
    <xs:annotation>
      <xs:documentation>(non-TEI metadata) provides a container element into which metadata in non-TEI formats may be placed. [2.5. Non-TEI Metadata]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:anyElement_xenoData_1"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="revisionDesc">
    <xs:annotation>
      <xs:documentation>(revision description) summarizes the revision history for a file. [2.6. The Revision Description 2.1.1. The TEI Header and Its Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element maxOccurs="unbounded" ref="tei:list"/>
        <xs:element maxOccurs="unbounded" ref="tei:listChange"/>
        <xs:element maxOccurs="unbounded" ref="tei:change"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.docStatus.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="change">
    <xs:annotation>
      <xs:documentation>(change) documents a change or set of changes made during the production of a source document, or during the revision of an electronic file. [2.6. The Revision Description 2.4.1. Creation 12.7. Identifying Changes and Revisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.ascribed.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.docStatus.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
          <xs:attribute name="target">
            <xs:annotation>
              <xs:documentation>(target) points to one or more elements that belong to this change.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:anyURI">
                        <xs:pattern value="\S+"/>
                      </xs:restriction>
                    </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="listChange">
    <xs:annotation>
      <xs:documentation>groups a number of change descriptions associated with either the creation of a source text or the revision of an encoded text. [2.6. The Revision Description 12.7. Identifying Changes and Revisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="tei:listChange"/>
          <xs:element ref="tei:change"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="ordered" default="true" type="xs:boolean"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="particDesc">
    <xs:annotation>
      <xs:documentation>(participation description) describes the identifiable speakers, voices, or other participants in any kind of text or other persons named or otherwise referred to in a text, edition, or metadata. [16.2. Contextual Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="tei:model.personLike"/>
          <xs:element ref="tei:listPerson"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="settingDesc">
    <xs:annotation>
      <xs:documentation>(setting description) describes the setting or settings within which a language interaction takes place, or other places otherwise referred to in a text, edition, or metadata. [16.2. Contextual Information 2.4. The Profile Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="tei:model.placeLike"/>
          <xs:element ref="tei:listPlace"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.global.analytic.attributes">
    <xs:attributeGroup ref="tei:att.global.analytic.attribute.ana"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.analytic.attribute.ana">
    <xs:attribute name="ana">
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.facs.attributes">
    <xs:attributeGroup ref="tei:att.global.facs.attribute.facs"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.facs.attribute.facs">
    <xs:attribute name="facs">
      <xs:annotation>
        <xs:documentation>(facsimile) points to one or more images, portions of an image, or surfaces which correspond to the current element.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.milestoneUnit.attributes">
    <xs:attributeGroup ref="tei:att.milestoneUnit.attribute.unit"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.milestoneUnit.attribute.unit">
    <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>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="page"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="column">
                <xs:annotation>
                  <xs:documentation>column beginnings.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="line"/>
            </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:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="[^\p{C}\p{Z}]+"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attributes">
    <xs:attributeGroup ref="tei:att.global.linking.attribute.corresp"/>
    <xs:attributeGroup ref="tei:att.global.linking.attribute.next"/>
    <xs:attributeGroup ref="tei:att.global.linking.attribute.prev"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.corresp">
    <xs:attribute name="corresp">
      <xs:annotation>
        <xs:documentation>(corresponds) points to elements that correspond to the current element in some way.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:anyURI">
                  <xs:pattern value="\S+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.next">
    <xs:attribute name="next">
      <xs:annotation>
        <xs:documentation>(next) points to the next element of a virtual aggregate of which the current element is part.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.prev">
    <xs:attribute name="prev">
      <xs:annotation>
        <xs:documentation>(previous) points to the previous element of a virtual aggregate of which the current element is part.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attributes">
    <xs:attributeGroup ref="tei:att.coordinated.attribute.start"/>
    <xs:attributeGroup ref="tei:att.coordinated.attribute.ulx"/>
    <xs:attributeGroup ref="tei:att.coordinated.attribute.uly"/>
    <xs:attributeGroup ref="tei:att.coordinated.attribute.lrx"/>
    <xs:attributeGroup ref="tei:att.coordinated.attribute.lry"/>
    <xs:attributeGroup ref="tei:att.coordinated.attribute.points"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.start">
    <xs:attribute name="start">
      <xs:annotation>
        <xs:documentation>indicates the element within a transcription of the text containing at least the start of the writing represented by this zone or surface.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.ulx">
    <xs:attribute name="ulx">
      <xs:annotation>
        <xs:documentation>gives the x coordinate value for the upper left corner of a rectangular space.</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:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.uly">
    <xs:attribute name="uly">
      <xs:annotation>
        <xs:documentation>gives the y coordinate value for the upper left corner of a rectangular space.</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:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.lrx">
    <xs:attribute name="lrx">
      <xs:annotation>
        <xs:documentation>gives the x coordinate value for the lower right corner of a rectangular space.</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:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.lry">
    <xs:attribute name="lry">
      <xs:annotation>
        <xs:documentation>gives the y coordinate value for the lower right corner of a rectangular space.</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:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.points">
    <xs:attribute name="points">
      <xs:annotation>
        <xs:documentation>identifies a two dimensional area by means of a series of pairs of numbers, each of which gives the x,y coordinates of a point on a line enclosing the area.</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="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:pattern value="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:pattern value="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:pattern value="(-?[0-9]+(\.[0-9]+)?,-?[0-9]+(\.[0-9]+)?)"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:union>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="3"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.tableDecoration.attribute.rows">
    <xs:attribute name="rows" default="1" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>(rows) indicates the number of rows occupied by this cell or row.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.tableDecoration.attribute.cols">
    <xs:attribute name="cols" default="1" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>(columns) indicates the number of columns occupied by this cell or row.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.metrical.attributes">
    <xs:attributeGroup ref="tei:att.metrical.attribute.rhyme"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.metrical.attribute.rhyme">
    <xs:attribute name="rhyme" type="xs:token">
      <xs:annotation>
        <xs:documentation>(rhyme scheme) specifies the rhyme scheme applicable to a group of verse lines.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.divLike.attributes">
    <xs:attributeGroup ref="tei:att.fragmentable.attributes"/>
    <xs:attributeGroup ref="tei:att.metrical.attributes"/>
    <xs:attributeGroup ref="tei:att.divLike.attribute.org"/>
    <xs:attributeGroup ref="tei:att.divLike.attribute.sample"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.divLike.attribute.org">
    <xs:attribute name="org" default="uniform">
      <xs:annotation>
        <xs:documentation>(organization) specifies how the content of the division is organized.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="composite">
            <xs:annotation>
              <xs:documentation>no claim is made about the sequence in which the immediate contents of this division are to be processed, or their inter-relationships.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="parallel">
            <xs:annotation>
              <xs:documentation>the contents of this element are intended to represent simultaneous or side-by-side delivery.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="uniform">
            <xs:annotation>
              <xs:documentation>the immediate contents of this element are regarded as forming a logical unit, to be processed in sequence.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.divLike.attribute.sample">
    <xs:attribute name="sample" default="complete">
      <xs:annotation>
        <xs:documentation>indicates whether this division is a sample of the original source and if so, from which part.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="initial">
            <xs:annotation>
              <xs:documentation>division lacks material present at end in source.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="medial">
            <xs:annotation>
              <xs:documentation>division lacks material at start and end.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="final">
            <xs:annotation>
              <xs:documentation>division lacks material at start.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="unknown">
            <xs:annotation>
              <xs:documentation>position of sampled material within original unknown.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="complete">
            <xs:annotation>
              <xs:documentation>division is not a sample.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.linguistic.attributes">
    <xs:attributeGroup ref="tei:att.linguistic.attribute.lemma"/>
    <xs:attributeGroup ref="tei:att.linguistic.attribute.lemmaRef"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.linguistic.attribute.lemma">
    <xs:attribute name="lemma" type="xs:string">
      <xs:annotation>
        <xs:documentation>provides a lemma (base form) for the word, typically uninflected and serving both as an identifier (e.g. in dictionary contexts, as a headword), and as a basis for potential inflections.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.linguistic.attribute.lemmaRef">
    <xs:attribute name="lemmaRef">
      <xs:annotation>
        <xs:documentation>provides a pointer to a definition of the lemma for the word, for example in an online lexicon.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:anyURI">
          <xs:pattern value="\S+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="ab">
    <xs:annotation>
      <xs:documentation>(anonymous block) contains any component-level unit of text, acting as a container for phrase or inter level elements analogous to, but without the same constraints as, a paragraph. [17.3. Blocks, Segments, and Anchors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.abContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.fragmentable.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="abbr">
    <xs:annotation>
      <xs:documentation>(abbreviation) contains an abbreviation of any sort. [3.6.5. Abbreviations and Their Expansions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>(type) allows the encoder to classify the abbreviation according to some convenient typology.
Sample values include: 1] suspension (suspension); 2] contraction (contraction); 3] brevigraph; 4] superscription (superscription); 5] acronym (acronym); 6] title (title); 7] organization (organization); 8] geographic (geographic)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="actor">
    <xs:annotation>
      <xs:documentation>contains the name of an actor appearing within a cast list. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.attributes"/>
          <xs:attribute name="sex">
            <xs:annotation>
              <xs:documentation>specifies the sex of the actor.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="[^\p{C}\p{Z}]+"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="gender">
            <xs:annotation>
              <xs:documentation>specifies the gender of the actor.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="[^\p{C}\p{Z}]+"/>
                      </xs:restriction>
                    </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="add">
    <xs:annotation>
      <xs:documentation>(addition) contains letters, words, or phrases inserted in the source text by an author, scribe, or a previous annotator or corrector. [3.5.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
          <xs:attributeGroup ref="tei:att.transcriptional.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="address">
    <xs:annotation>
      <xs:documentation>(address) contains a postal address, for example of a publisher, an organization, or an individual. [3.6.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.12.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="tei:model.addrPart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>characterizes the address in some sense, using any convenient classification scheme or typology.
Suggested values include: 1] billing; 2] delivery; 3] mailing; 4] military; 5] physical</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="billing">
                  <xs:annotation>
                    <xs:documentation>the address to which a bill for goods or services should be sent.</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>the address to which packages should be sent via a private delivery service.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="mailing">
                  <xs:annotation>
                    <xs:documentation>the address to which mail should be sent via a public postal service.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="military">
                  <xs:annotation>
                    <xs:documentation>the address to which mail to deployed military personnel should be sent.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="physical">
                  <xs:annotation>
                    <xs:documentation>the address of a building irrespective of where mail to its occupants should be sent (for example, for the fire department).</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="role">
        <xs:annotation>
          <xs:documentation>specifies further information about the purpose of the address.
Sample values include: 1] sender; 2] return; 3] recipient ; 4] work; 5] home; 6] start; 7] finish; 8] pickup; 9] dropOff</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="addrLine">
    <xs:annotation>
      <xs:documentation>(address line) contains one line of a postal address. [3.6.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.12.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="anchor">
    <xs:annotation>
      <xs:documentation>(anchor point) attaches an identifier to a point within a text, whether or not it corresponds with a textual element. [8.4.2. Synchronization and Overlap 17.5. Correspondence and Alignment]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="argument">
    <xs:annotation>
      <xs:documentation>(argument) contains a formal list or prose description of the topics addressed by a subdivision of a text. [4.2. Elements Common to All Divisions 4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.global"/>
          <xs:group ref="tei:model.headLike"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="tei:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="author">
    <xs:annotation>
      <xs:documentation>(author) in a bibliographic reference, contains the name(s) of an author, personal or corporate, of a work; for example in the same form as that provided by a recognized bibliographic name authority. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [4.7. Back Matter 4. Default Text Structure]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.frontPart"/>
          <xs:group ref="tei:model.pLike.front"/>
          <xs:group ref="tei:model.pLike"/>
          <xs:group ref="tei:model.listLike"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:group ref="tei:model.divLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.frontPart"/>
            <xs:group ref="tei:model.divLike"/>
            <xs:group ref="tei:model.global"/>
          </xs:choice>
        </xs:sequence>
        <xs:sequence minOccurs="0">
          <xs:group ref="tei:model.divBottomPart"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.divBottomPart"/>
            <xs:group ref="tei:model.global"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </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. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.highlighted"/>
        <xs:group ref="tei:model.pPart.data"/>
        <xs:group ref="tei:model.pPart.edit"/>
        <xs:group ref="tei:model.segLike"/>
        <xs:group ref="tei:model.ptrLike"/>
        <xs:group ref="tei:model.biblPart"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.docStatus.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="biblScope">
    <xs:annotation>
      <xs:documentation>(scope of bibliographic reference) defines the scope of a bibliographic reference, for example as a list of page numbers, or a named subdivision of a larger work. [3.12.2.5. Scopes and Ranges in Bibliographic Citations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.citing.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [4. Default Text Structure]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:group ref="tei:model.divTop"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.global"/>
            <xs:group ref="tei:model.divTop"/>
          </xs:choice>
        </xs:sequence>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="tei:model.divLike"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
          </xs:sequence>
          <xs:sequence>
            <xs:sequence maxOccurs="unbounded">
              <xs:group ref="tei:model.common"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
            </xs:sequence>
            <xs:sequence minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="tei:model.divLike"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
            </xs:sequence>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="byline">
    <xs:annotation>
      <xs:documentation>(byline) contains the primary statement of responsibility given for a work on its title page or at the head or end of the work. [4.2.2. Openers and Closers 4.5. Front Matter]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:element ref="tei:docAuthor"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="c">
    <xs:annotation>
      <xs:documentation>(character) represents a character. [18.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.xtext">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.notated.attributes"/>
          <xs:attributeGroup ref="tei:att.segLike.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="castGroup">
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.global"/>
          <xs:group ref="tei:model.headLike"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="tei:castItem"/>
            <xs:element ref="tei:castGroup"/>
            <xs:element ref="tei:roleDesc"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0">
          <xs:element ref="tei:trailer"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="castItem">
    <xs:annotation>
      <xs:documentation>(cast list item) contains a single entry within a cast list, describing either a single role or a list of non-speaking roles. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.castItemPart"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
      <xs:attribute name="type" default="role">
        <xs:annotation>
          <xs:documentation>characterizes the cast item.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="role">
              <xs:annotation>
                <xs:documentation>the item describes a single role.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="list">
              <xs:annotation>
                <xs:documentation>the item describes a list of non-speaking roles.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="castList">
    <xs:annotation>
      <xs:documentation>(cast list) contains a single cast list or dramatis personae. [7.1.4. Cast Lists 7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divTop"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="tei:castItem"/>
            <xs:element ref="tei:castGroup"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cb">
    <xs:annotation>
      <xs:documentation>(column beginning) marks the beginning of a new column of a text on a multi-column page. [3.11.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.breaking.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.edition.attributes"/>
      <xs:attributeGroup ref="tei:att.spanning.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cell">
    <xs:annotation>
      <xs:documentation>(cell) contains one cell of a table. [15.1.1. TEI Tables]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.tableDecoration.attribute.rows"/>
          <xs:attributeGroup ref="tei:att.tableDecoration.attribute.cols"/>
          <xs:attribute name="role" default="data">
            <xs:annotation>
              <xs:documentation>(role) indicates the kind of information held in this cell or in each cell of this row.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="data">
                  <xs:annotation>
                    <xs:documentation>data cell</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="label">
                  <xs:annotation>
                    <xs:documentation>label cell</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="sum">
                  <xs:annotation>
                    <xs:documentation>row or column sum data</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="total">
                  <xs:annotation>
                    <xs:documentation>table total data</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="choice">
    <xs:annotation>
      <xs:documentation>(choice) groups a number of alternative encodings for the same point in a text. [3.5. Simple Editorial Changes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:group ref="tei:model.choicePart"/>
          <xs:element ref="tei:choice"/>
        </xs:choice>
        <xs:choice>
          <xs:group ref="tei:model.choicePart"/>
          <xs:element ref="tei:choice"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.choicePart"/>
          <xs:element ref="tei:choice"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
    </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. [3.3.3. Quotation 4.3.1. Grouped Texts 10.3.5.1. Examples]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="tei:model.biblLike"/>
        <xs:group ref="tei:model.global"/>
        <xs:group ref="tei:model.graphicLike"/>
        <xs:group ref="tei:model.ptrLike"/>
        <xs:group ref="tei:model.attributable"/>
        <xs:element ref="tei:pc"/>
        <xs:element ref="tei:q"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="closer">
    <xs:annotation>
      <xs:documentation>(closer) groups together salutations, datelines, bylines, and similar phrases appearing as a final group at the end of a division, especially of a letter. [4.2.2. Openers and Closers 4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:element ref="tei:byline"/>
        <xs:element ref="tei:signed"/>
        <xs:element ref="tei:dateline"/>
        <xs:element ref="tei:salute"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="code">
    <xs:annotation>
      <xs:documentation>contains literal code from some formal language such as a programming language. [23.1.1. Phrase Level Terms]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attribute name="lang">
        <xs:annotation>
          <xs:documentation>(formal language) a name identifying the formal language in which the code is expressed.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </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. [3.5.1. Apparent Errors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="date">
    <xs:annotation>
      <xs:documentation>(date) contains a date in any format. [3.6.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.12.2.4. Imprint, Size of a Document, and Reprint Information 16.2.3. The Setting Description 14.4. Dates]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.calendarSystem.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.datable.attributes"/>
      <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="dateline">
    <xs:annotation>
      <xs:documentation>(dateline) 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. [4.2.2. Openers and Closers]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.global"/>
        <xs:element ref="tei:docDate"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </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, or a previous annotator or corrector. [3.5.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
          <xs:attributeGroup ref="tei:att.transcriptional.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="desc">
    <xs:annotation>
      <xs:documentation>(description) contains a short description of the purpose, function, or use of its parent element, or when the parent is a documentation element, describes or defines the object being documented.  [23.4.1. Description of Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.limitedContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>characterizes the element in some sense, using any convenient classification scheme or typology.
Suggested values include: 1] deprecationInfo (deprecation information)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="deprecationInfo">
                      <xs:annotation>
                        <xs:documentation>(deprecation information) This element describes why or how its parent element is being deprecated, typically including recommendations for alternate encoding.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </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. [4.1. Divisions of the Body]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divTop"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:group ref="tei:model.divLike"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="tei:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:group ref="tei:model.divLike"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.divLike.attributes"/>
      <xs:attributeGroup ref="tei:att.placement.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </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). [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="docDate">
    <xs:annotation>
      <xs:documentation>(document date) contains the date of a document, as given on a title page or in a dateline. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.calendarSystem.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.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. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="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. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:element ref="tei:pubPlace"/>
        <xs:element ref="tei:docDate"/>
        <xs:element ref="tei:publisher"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </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. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:element ref="tei:titlePart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="editor">
    <xs:annotation>
      <xs:documentation>contains a 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. [3.12.2.2. Titles, Authors, and Editors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="email">
    <xs:annotation>
      <xs:documentation>(electronic mail address) contains an email address identifying a location to which email messages can be delivered. [3.6.2. Addresses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="epigraph">
    <xs:annotation>
      <xs:documentation>(epigraph) contains a quotation, anonymous or attributed, appearing at the start or end of a section or on a title page. [4.2.3. Arguments, Epigraphs, and Postscripts 4.2. Elements Common to All Divisions 4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.common"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="expan">
    <xs:annotation>
      <xs:documentation>(expansion) contains the expansion of an abbreviation. [3.6.5. Abbreviations and Their Expansions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="facsimile">
    <xs:annotation>
      <xs:documentation>contains a representation of some written source in the form of a set of images rather than as transcribed or encoded text. [12.1. Digital Facsimiles]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="tei:front"/>
        <xs:choice>
          <xs:choice maxOccurs="unbounded">
            <xs:group ref="tei:model.graphicLike"/>
            <xs:element ref="tei:surface"/>
          </xs:choice>
          <xs:element maxOccurs="unbounded" ref="tei:facsimile"/>
        </xs:choice>
        <xs:element minOccurs="0" ref="tei:back"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.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. [15.4. Specific Elements for Graphic Images]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.limitedContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="figure">
    <xs:annotation>
      <xs:documentation>(figure) groups elements representing or containing graphic information such as an illustration, formula, or figure. [15.4. Specific Elements for Graphic Images]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.headLike"/>
        <xs:group ref="tei:model.common"/>
        <xs:element ref="tei:figDesc"/>
        <xs:group ref="tei:model.graphicLike"/>
        <xs:group ref="tei:model.global"/>
        <xs:group ref="tei:model.divBottom"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.placement.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="floatingText">
    <xs:annotation>
      <xs:documentation>(floating text) 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. [4.3.2. Floating Texts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="tei:front"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:element ref="tei:body"/>
          <xs:element ref="tei:group"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="tei:back"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </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. [3.3.2.1. Foreign Words or Expressions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="formula">
    <xs:annotation>
      <xs:documentation>(formula) contains a mathematical or other formula. [15.2. Formulæ and Mathematical Expressions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.graphicLike"/>
        <xs:group ref="tei:model.hiLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attribute name="notation">
        <xs:annotation>
          <xs:documentation>names the notation used for the content of the element.
Suggested values include: 1] TeX</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="TeX">
                  <xs:annotation>
                    <xs:documentation>Using TeX or LaTeX notation</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="front">
    <xs:annotation>
      <xs:documentation>(front matter) contains any prefatory matter (headers, abstracts, title page, prefaces, dedications, etc.) found at the start of a document, before the main body. [4.6. Title Pages 4. Default Text Structure]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.frontPart"/>
          <xs:group ref="tei:model.pLike"/>
          <xs:group ref="tei:model.pLike.front"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:sequence>
            <xs:group ref="tei:model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="tei:model.divLike"/>
              <xs:group ref="tei:model.frontPart"/>
              <xs:group ref="tei:model.global"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence minOccurs="0">
            <xs:group ref="tei:model.divBottom"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="tei:model.divBottom"/>
              <xs:group ref="tei:model.global"/>
            </xs:choice>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fw">
    <xs:annotation>
      <xs:documentation>(forme work) contains a running head (e.g. a header, footer), catchword, or similar material appearing on the current page. [12.6. Headers, Footers, and Similar Matter]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.placement.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>classifies the material encoded according to some useful typology.
Sample values include: 1] header; 2] footer; 3] pageNum (page number); 4] lineNum (line number); 5] sig (signature); 6] catch (catchword)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="g">
    <xs:annotation>
      <xs:documentation>(character or glyph) represents a glyph, or a non-standard character. [5. Characters, Glyphs, and Writing Modes]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="ref">
        <xs:annotation>
          <xs:documentation>points to a description of the character or glyph intended.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:anyURI">
            <xs:pattern value="\S+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </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. [3.5.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="tei:desc"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.timed.attributes"/>
      <xs:attribute name="reason">
        <xs:annotation>
          <xs:documentation>(reason) gives the reason for omission.
Suggested values include: 1] cancelled (cancelled); 2] deleted (deleted); 3] editorial (editorial); 4] illegible (illegible); 5] inaudible (inaudible); 6] irrelevant (irrelevant); 7] sampling (sampling)</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:union>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="cancelled">
                          <xs:annotation>
                            <xs:documentation>(cancelled) </xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="deleted">
                          <xs:annotation>
                            <xs:documentation>(deleted) </xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="editorial">
                          <xs:annotation>
                            <xs:documentation>(editorial) for features omitted from transcription due to editorial policy</xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="illegible">
                          <xs:annotation>
                            <xs:documentation>(illegible) </xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="inaudible">
                          <xs:annotation>
                            <xs:documentation>(inaudible) </xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="irrelevant">
                          <xs:annotation>
                            <xs:documentation>(irrelevant) </xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="sampling">
                          <xs:annotation>
                            <xs:documentation>(sampling) </xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="[^\p{C}\p{Z}]+"/>
                      </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="agent">
        <xs:annotation>
          <xs:documentation>(agent) 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 (rubbing); 2] mildew (mildew); 3] smoke (smoke)</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="graphic">
    <xs:annotation>
      <xs:documentation>(graphic) indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it. [3.10. Graphics and Other Non-textual Components 12.1. Digital Facsimiles]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.descLike"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.media.attributes"/>
      <xs:attributeGroup ref="tei:att.resourced.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="group">
    <xs:annotation>
      <xs:documentation>(group) 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. [4. Default Text Structure 4.3.1. Grouped Texts 16.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divTop"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:sequence>
          <xs:choice>
            <xs:element ref="tei:text"/>
            <xs:element ref="tei:group"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="tei:text"/>
            <xs:element ref="tei:group"/>
            <xs:group ref="tei:model.global"/>
          </xs:choice>
        </xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.divBottom"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </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. [4.2.1. Headings and Trailers]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="tei:lg"/>
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.inter"/>
        <xs:group ref="tei:model.lLike"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.placement.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </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. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="imprimatur">
    <xs:annotation>
      <xs:documentation>(imprimatur) contains a formal statement authorizing the publication of a work, sometimes required to appear on a title page or its verso. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="item">
    <xs:annotation>
      <xs:documentation>(item) contains one component of a list. [3.8. Lists 2.6. The Revision Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.sortable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="l">
    <xs:annotation>
      <xs:documentation>(verse line) contains a single, possibly incomplete, line of verse. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.6. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.inter"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.fragmentable.attributes"/>
      <xs:attributeGroup ref="tei:att.metrical.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="label">
    <xs:annotation>
      <xs:documentation>(label) contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary. [3.8. Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.placement.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="lb">
    <xs:annotation>
      <xs:documentation>(line beginning) marks the beginning of a topographic line in some edition or version of a text. [3.11.3. Milestone
Elements 7.2.6. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.breaking.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.edition.attributes"/>
      <xs:attributeGroup ref="tei:att.spanning.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lg">
    <xs:annotation>
      <xs:documentation>(line group) contains one or more verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.6. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divTop"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:group ref="tei:model.lLike"/>
          <xs:group ref="tei:model.stageLike"/>
          <xs:group ref="tei:model.labelLike"/>
          <xs:group ref="tei:model.pPart.transcriptional"/>
          <xs:element ref="tei:lg"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.lLike"/>
          <xs:group ref="tei:model.stageLike"/>
          <xs:group ref="tei:model.labelLike"/>
          <xs:group ref="tei:model.pPart.transcriptional"/>
          <xs:group ref="tei:model.global"/>
          <xs:element ref="tei:lg"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.divLike.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="list">
    <xs:annotation>
      <xs:documentation>(list) contains any sequence of items organized as a list. [3.8. Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divTop"/>
          <xs:group ref="tei:model.global"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:element ref="tei:item"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
          </xs:sequence>
          <xs:sequence maxOccurs="unbounded">
            <xs:element ref="tei:label"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
            <xs:element ref="tei:item"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>(type) describes the nature of the items in the list.
Suggested values include: 1] gloss (gloss); 2] index (index); 3] instructions (instructions); 4] litany (litany); 5] syllogism (syllogism)</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="gloss"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="index">
                  <xs:annotation>
                    <xs:documentation>(index) each list item is an entry in an index such as the alphabetical topical index at the back of a print volume.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="instructions">
                  <xs:annotation>
                    <xs:documentation>(instructions) each list item is a step in a sequence of instructions, as in a recipe.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="litany">
                  <xs:annotation>
                    <xs:documentation>(litany) each list item is one of a sequence of petitions, supplications or invocations, typically in a religious ritual.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="syllogism">
                  <xs:annotation>
                    <xs:documentation>(syllogism) each list item is part of an argument consisting of two or more propositions and a final conclusion derived from them.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="listBibl">
    <xs:annotation>
      <xs:documentation>(citation list) contains a list of bibliographic citations of any kind. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.headLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.milestoneLike"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:group maxOccurs="unbounded" ref="tei:model.biblLike"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.milestoneLike"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listPerson">
    <xs:annotation>
      <xs:documentation>(list of persons) contains a list of descriptions, each of which provides information about an identifiable person or a group of people, for example the participants in a language interaction, or the people referred to in a historical source. [14.3.2. The Person Element 16.2. Contextual Information 2.4. The Profile Description 16.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.headLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="tei:model.personLike"/>
          <xs:element ref="tei:listPerson"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listPlace">
    <xs:annotation>
      <xs:documentation>(list of places) contains a list of places, optionally followed by a list of relationships (other than containment) defined amongst them. [2.2.7. The Source Description 14.3.4. Places]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.headLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:desc"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="tei:model.placeLike"/>
          <xs:element ref="tei:listPlace"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="measure">
    <xs:annotation>
      <xs:documentation>(measure) contains a word or phrase referring to some quantity of an object or commodity, usually comprising a number, a unit, and a commodity name. [3.6.3. Numbers and
Measures]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.measurement.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>specifies the type of measurement in any convenient typology.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="milestone">
    <xs:annotation>
      <xs:documentation>(milestone) 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. [3.11.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.breaking.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.edition.attributes"/>
      <xs:attributeGroup ref="tei:att.milestoneUnit.attributes"/>
      <xs:attributeGroup ref="tei:att.spanning.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="name">
    <xs:annotation>
      <xs:documentation>(name, proper noun) contains a proper noun or noun phrase. [3.6.1. Referring Strings]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.personal.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>characterizes the element in some sense, using any convenient classification scheme or typology.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="person">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="forename">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="surname">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="personGenName">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="personRoleName">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="personAddName">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="nameLink">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="org">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="country">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="placeGeog">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="place">
                  <xs:annotation>
                    <xs:documentation/>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="note">
    <xs:annotation>
      <xs:documentation>(note) contains a note or annotation. [3.9.1. Notes and Simple Annotation 2.2.6. The Notes Statement 3.12.2.8. Notes and Statement of Language 10.3.5.4. Notes within Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.anchoring.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.placement.attributes"/>
          <xs:attributeGroup ref="tei:att.pointing.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="num">
    <xs:annotation>
      <xs:documentation>(number) contains a number, written in any form. [3.6.3. Numbers and
Measures]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <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>
                <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:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </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="opener">
    <xs:annotation>
      <xs:documentation>(opener) groups together dateline, byline, salutation, and similar phrases appearing as a preliminary group at the start of a division, especially of a letter. [4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:element ref="tei:argument"/>
        <xs:element ref="tei:byline"/>
        <xs:element ref="tei:dateline"/>
        <xs:element ref="tei:epigraph"/>
        <xs:element ref="tei:salute"/>
        <xs:element ref="tei:signed"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </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. [3.5.2. Regularization and
Normalization 13. Critical Apparatus]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="p">
    <xs:annotation>
      <xs:documentation>(paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.6. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.fragmentable.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="pb">
    <xs:annotation>
      <xs:documentation>(page beginning) marks the beginning of a new page in a paginated document. [3.11.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.breaking.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.edition.attributes"/>
      <xs:attributeGroup ref="tei:att.spanning.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="pc">
    <xs:annotation>
      <xs:documentation>(punctuation character) contains a character or string of characters regarded as constituting a single punctuation mark. [18.1.2. Below the Word Level 18.4.2. Lightweight Linguistic Annotation]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:element ref="tei:c"/>
        <xs:group ref="tei:model.pPart.edit"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.linguistic.attributes"/>
      <xs:attributeGroup ref="tei:att.segLike.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="force">
        <xs:annotation>
          <xs:documentation>indicates the extent to which this punctuation mark conventionally separates words or phrases.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="strong">
              <xs:annotation>
                <xs:documentation>the punctuation mark is a word separator</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="weak">
              <xs:annotation>
                <xs:documentation>the punctuation mark is not a word separator</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="inter">
              <xs:annotation>
                <xs:documentation>the punctuation mark may or may not be a word separator</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="unit">
        <xs:annotation>
          <xs:documentation>provides a name for the kind of unit delimited by this punctuation mark.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="pre" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>indicates whether this punctuation mark precedes or follows the unit it delimits.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="person">
    <xs:annotation>
      <xs:documentation>(person) provides information about an identifiable individual, for example a participant in a language interaction, or a person referred to in a historical source. [14.3.2. The Person Element 16.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="tei:model.pLike"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.personPart"/>
          <xs:group ref="tei:model.global"/>
          <xs:group ref="tei:model.ptrLike"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attribute name="role">
        <xs:annotation>
          <xs:documentation>specifies a primary role or classification for the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="sex">
        <xs:annotation>
          <xs:documentation>specifies the sex of the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="gender">
        <xs:annotation>
          <xs:documentation>specifies the gender of the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="age">
        <xs:annotation>
          <xs:documentation>specifies an age group for the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="place">
    <xs:annotation>
      <xs:documentation>(place) contains data about a geographic location. [14.3.4. Places]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.headLike"/>
        <xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.pLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.labelLike"/>
            <xs:element ref="tei:name"/>
          </xs:choice>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.noteLike"/>
          <xs:group ref="tei:model.biblLike"/>
          <xs:group ref="tei:model.ptrLike"/>
          <xs:element ref="tei:idno"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.placeLike"/>
          <xs:element ref="tei:listPlace"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="postscript">
    <xs:annotation>
      <xs:documentation>contains a postscript, e.g. to a letter. [4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.global"/>
          <xs:group ref="tei:model.divTopPart"/>
        </xs:choice>
        <xs:group ref="tei:model.common"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.global"/>
          <xs:group ref="tei:model.common"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divBottomPart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.placement.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="publisher">
    <xs:annotation>
      <xs:documentation>(publisher) provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.12.2.4. Imprint, Size of a Document, and Reprint Information 2.2.4. Publication, Distribution, Licensing, etc.]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.attributes"/>
        </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. [3.12.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="q">
    <xs:annotation>
      <xs:documentation>(quoted) contains material which is distinguished from the surrounding text using quotation marks or a similar method, 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. [3.3.3. Quotation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.ascribed.directed.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>(type) may be used to indicate whether the offset passage is spoken or thought, or to characterize it more finely.
Suggested values include: 1] spoken (spoken); 2] thought (thought); 3] written (written); 4] soCalled (so called); 5] foreign (foreign); 6] distinct (distinct); 7] term; 8] emph (emph); 9] mentioned (mentioned)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="spoken">
                      <xs:annotation>
                        <xs:documentation>(spoken) 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>(thought) 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>(written) 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>(so called) 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) 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>(distinct) 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>(emph) 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>(mentioned) refering to itself, not its normal referent</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </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. [3.3.3. Quotation 4.3.1. Grouped Texts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.notated.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [3.7. Simple Links and Cross-References 17.1. Links]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cReferencing.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.internetMedia.attributes"/>
          <xs:attributeGroup ref="tei:att.pointing.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [3.5.2. Regularization and
Normalization 13. Critical Apparatus]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [3.12.2.7. Related Items]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0">
        <xs:group ref="tei:model.biblLike"/>
        <xs:group ref="tei:model.ptrLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="target">
        <xs:annotation>
          <xs:documentation>points to the related bibliographic element by means of an absolute or relative URI reference.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:anyURI">
            <xs:pattern value="\S+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </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, or an organization's role in the production or distribution of a work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq.limited">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.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. May also be used to encode information about individuals or organizations which have played a role in the production or distribution of a bibliographic work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" ref="tei:resp"/>
            <xs:group maxOccurs="unbounded" ref="tei:model.nameLike.agent"/>
          </xs:sequence>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="tei:model.nameLike.agent"/>
            <xs:element maxOccurs="unbounded" ref="tei:resp"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:note"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="rhyme">
    <xs:annotation>
      <xs:documentation>marks the rhyming part of a metrical line. [6.5. Rhyme]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
          <xs:attribute name="label">
            <xs:annotation>
              <xs:documentation>provides a label (usually a single letter) to identify which part of a rhyme scheme this rhyming string instantiates.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="role">
    <xs:annotation>
      <xs:documentation>(role) contains the name of a dramatic role, as given in a cast list. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attribute name="gender">
            <xs:annotation>
              <xs:documentation>specifies the gender of the role.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="[^\p{C}\p{Z}]+"/>
                      </xs:restriction>
                    </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="roleDesc">
    <xs:annotation>
      <xs:documentation>(role description) describes a character's role in a drama. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="row">
    <xs:annotation>
      <xs:documentation>(row) contains one row of a table. [15.1.1. TEI Tables]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="tei:cell"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.tableDecoration.attribute.rows"/>
      <xs:attributeGroup ref="tei:att.tableDecoration.attribute.cols"/>
      <xs:attribute name="role" default="data">
        <xs:annotation>
          <xs:documentation>(role) indicates the kind of information held in this cell or in each cell of this row.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="data">
              <xs:annotation>
                <xs:documentation>data cell</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="label">
              <xs:annotation>
                <xs:documentation>label cell</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="sum">
              <xs:annotation>
                <xs:documentation>row or column sum data</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="total">
              <xs:annotation>
                <xs:documentation>table total data</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="rs">
    <xs:annotation>
      <xs:documentation>(referencing string) contains a general purpose name or referring string. [14.2.1. Personal Names 3.6.1. Referring Strings]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.naming.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="s">
    <xs:annotation>
      <xs:documentation>(s-unit) contains a sentence-like division of a text. [18.1. Linguistic Segment Categories 8.4.1. Segmentation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.notated.attributes"/>
          <xs:attributeGroup ref="tei:att.segLike.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [4.2.2. Openers and Closers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="seg">
    <xs:annotation>
      <xs:documentation>(arbitrary segment) represents any segmentation of text below the chunk level. [17.3. Blocks, Segments, and Anchors 6.2. Components of the Verse Line 7.2.6. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.notated.attributes"/>
          <xs:attributeGroup ref="tei:att.segLike.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="set">
    <xs:annotation>
      <xs:documentation>(setting) contains a description of the setting, time, locale, appearance, etc., of the action of a play, typically found in the front matter of a printed performance text (not a stage direction). [7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.headLike"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </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. [3.5.1. Apparent Errors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.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. [4.2.2. Openers and Closers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.written.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="sp">
    <xs:annotation>
      <xs:documentation>(speech) contains an individual speech in a performance text, or a passage presented as such in a prose or verse text. [3.13.2. Core Tags for Drama 3.13. Passages of Verse or Drama 7.2.2. Speeches and Speakers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.stageLike"/>
        <xs:group ref="tei:model.global"/>
        <xs:group ref="tei:model.lLike"/>
        <xs:group ref="tei:model.pLike"/>
        <xs:group ref="tei:model.listLike"/>
        <xs:group ref="tei:model.attributable"/>
        <xs:element ref="tei:speaker"/>
        <xs:element ref="tei:lg"/>
        <xs:element ref="tei:q"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.ascribed.directed.attributes"/>
      <xs:attributeGroup ref="tei:att.placement.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="speaker">
    <xs:annotation>
      <xs:documentation>contains a specialized form of heading or label, giving the name of one or more speakers in a dramatic text or fragment. [3.13.2. Core Tags for Drama]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.placement.attributes"/>
          <xs:attributeGroup ref="tei:att.written.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. [3.13.2. Core Tags for Drama 3.13. Passages of Verse or Drama 7.2.5. Stage Directions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.specialPara">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.ascribed.directed.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.placement.attributes"/>
          <xs:attributeGroup ref="tei:att.written.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:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union>
                        <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:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:pattern value="[^\p{C}\p{Z}]+"/>
                          </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="subst">
    <xs:annotation>
      <xs:documentation>(substitution) groups one or more deletions (or surplus text) with one or more additions when the combination is to be regarded as a single intervention in the text. [12.3.1.5. Substitutions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="tei:add"/>
        <xs:element ref="tei:del"/>
        <xs:group ref="tei:model.milestoneLike"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.transcriptional.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="supplied">
    <xs:annotation>
      <xs:documentation>(supplied) signifies text supplied by the transcriber or editor for any reason; for example because the original cannot be read due to physical damage, or because of an obvious omission by the author or scribe. [12.3.3.1. Damage, Illegibility, and Supplied Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>one or more words indicating why the text has had to be supplied, e.g. overbinding, faded-ink, lost-folio, omitted-in-original.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="[^\p{C}\p{Z}]+"/>
                      </xs:restriction>
                    </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="surface">
    <xs:annotation>
      <xs:documentation>defines a written surface as a two-dimensional coordinate space, optionally grouping one or more graphic representations of that space, zones of interest within that space, and, when using an embedded transcription approach, transcriptions of the writing within them. [12.1. Digital Facsimiles 12.2.2. Embedded Transcription]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.global"/>
          <xs:group ref="tei:model.labelLike"/>
          <xs:group ref="tei:model.graphicLike"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="tei:zone"/>
            <xs:element ref="tei:surface"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.coordinated.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="attachment">
        <xs:annotation>
          <xs:documentation>describes the method by which this surface is or was connected to the main surface.
Sample values include: 1] glued; 2] pinned; 3] sewn</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="flipping" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>indicates whether the surface is attached and folded in such a way as to provide two writing surfaces.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="table">
    <xs:annotation>
      <xs:documentation>(table) contains text displayed in tabular form, in rows and columns. [15.1.1. TEI Tables]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.headLike"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:element ref="tei:row"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
          </xs:sequence>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="tei:model.graphicLike"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="rows" type="xs:nonNegativeInteger">
        <xs:annotation>
          <xs:documentation>(rows) 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="TEI">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tei:teiHeader"/>
        <xs:choice>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="tei:model.resource"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:TEI"/>
          </xs:sequence>
          <xs:element maxOccurs="unbounded" ref="tei:TEI"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="teiCorpus">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="tei:teiHeader"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.resource"/>
        <xs:group maxOccurs="unbounded" ref="tei:model.describedResource"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attribute name="version">
        <xs:annotation>
          <xs:documentation>(version) 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="term">
    <xs:annotation>
      <xs:documentation>(term) contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.4.1. Terms and Glosses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.phraseSeq">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cReferencing.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.pointing.attributes"/>
          <xs:attributeGroup ref="tei:att.sortable.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="text">
    <xs:annotation>
      <xs:documentation>(text) 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. [4. Default Text Structure 16.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="tei:front"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:element ref="tei:body"/>
          <xs:element ref="tei:group"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="tei:back"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="time">
    <xs:annotation>
      <xs:documentation>(time) contains a phrase defining a time of day in any format. [3.6.4. Dates and Times]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.calendarSystem.attributes"/>
      <xs:attributeGroup ref="tei:att.canonical.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.datable.attributes"/>
      <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="title">
    <xs:annotation>
      <xs:documentation>(title) contains a title for any kind of work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.5. The Series Statement]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.canonical.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attribute name="type">
            <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:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <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) the title applies to an analytic item, such as an article, poem, or other work published as part of a larger item.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="m">
                  <xs:annotation>
                    <xs:documentation>(monographic) the title applies to a monograph such as a book or other item considered to be a distinct publication, including single volumes of multi-volume works</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="j">
                  <xs:annotation>
                    <xs:documentation>(journal) the title applies to any serial or periodical publication such as a journal, magazine, or newspaper</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="s">
                  <xs:annotation>
                    <xs:documentation>(series) the title applies to a series of otherwise distinct publications such as a collection</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="u">
                  <xs:annotation>
                    <xs:documentation>(unpublished) the title applies to any 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:extension>
      </xs:complexContent>
    </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. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.global"/>
        <xs:group ref="tei:model.titlepagePart"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="tei:model.titlepagePart"/>
          <xs:group ref="tei:model.global"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>classifies the title page according to any convenient typology.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[^\p{C}\p{Z}]+"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="titlePart">
    <xs:annotation>
      <xs:documentation>(title part) contains a subsection or division of the title of a work, as indicated on a title page. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
          <xs:attribute name="type" default="main">
            <xs:annotation>
              <xs:documentation>(type) specifies the role of this subdivision of the title.
Suggested values include: 1] main (main); 2] sub (subordinate); 3] alt (alternate); 4] short (short); 5] desc (descriptive)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="main">
                      <xs:annotation>
                        <xs:documentation>(main) 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>(short) 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:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="[^\p{C}\p{Z}]+"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </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. [4.2.4. Content of Textual Divisions 4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="tei:lg"/>
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.phrase"/>
        <xs:group ref="tei:model.inter"/>
        <xs:group ref="tei:model.lLike"/>
        <xs:group ref="tei:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.placement.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="unclear">
    <xs:annotation>
      <xs:documentation>(unclear) contains a word, phrase, or passage which cannot be transcribed with certainty because it is illegible or inaudible in the source. [12.3.3.1. Damage, Illegibility, and Supplied Text 3.5.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="tei:macro.paraContent">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attributeGroup ref="tei:att.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>indicates why the material is hard to transcribe.
Suggested values include: 1] illegible (illegible); 2] inaudible (inaudible); 3] faded (faded); 4] background_noise (background noise); 5] eccentric_ductus (eccentric ductus)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:enumeration value="illegible">
                              <xs:annotation>
                                <xs:documentation>(illegible) </xs:documentation>
                              </xs:annotation>
                            </xs:enumeration>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:enumeration value="inaudible">
                              <xs:annotation>
                                <xs:documentation>(inaudible) </xs:documentation>
                              </xs:annotation>
                            </xs:enumeration>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:enumeration value="faded">
                              <xs:annotation>
                                <xs:documentation>(faded) </xs:documentation>
                              </xs:annotation>
                            </xs:enumeration>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:enumeration value="background_noise">
                              <xs:annotation>
                                <xs:documentation>(background noise) </xs:documentation>
                              </xs:annotation>
                            </xs:enumeration>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:enumeration value="eccentric_ductus">
                              <xs:annotation>
                                <xs:documentation>(eccentric ductus) indicates illegibility due to an unusual, awkward, or incompetent execution of a glyph or glyphs </xs:documentation>
                              </xs:annotation>
                            </xs:enumeration>
                          </xs:restriction>
                        </xs:simpleType>
                        <xs:simpleType>
                          <xs:restriction base="xs:token">
                            <xs:pattern value="[^\p{C}\p{Z}]+"/>
                          </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="agent">
            <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:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="[^\p{C}\p{Z}]+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="w">
    <xs:annotation>
      <xs:documentation>(word) represents a grammatical (not necessarily orthographic) word. [18.1. Linguistic Segment Categories 18.4.2. Lightweight Linguistic Annotation]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:element ref="tei:seg"/>
        <xs:element ref="tei:w"/>
        <xs:element ref="tei:c"/>
        <xs:element ref="tei:pc"/>
        <xs:group ref="tei:model.global"/>
        <xs:group ref="tei:model.lPart"/>
        <xs:group ref="tei:model.hiLike"/>
        <xs:group ref="tei:model.pPart.edit"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.linguistic.attributes"/>
      <xs:attributeGroup ref="tei:att.notated.attributes"/>
      <xs:attributeGroup ref="tei:att.segLike.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="zone">
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="tei:model.gLike"/>
        <xs:group ref="tei:model.graphicLike"/>
        <xs:group ref="tei:model.global"/>
        <xs:element ref="tei:surface"/>
        <xs:group ref="tei:model.linePart"/>
      </xs:choice>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.coordinated.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
      <xs:attribute name="rotate" default="0">
        <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:complexType>
  </xs:element>
</xs:schema>
