<?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_lite_xml.xsd"/>
  <!--
    Schema generated from ODD source 2026-02-18T11:07:03Z. August 2012. 
    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/ 
    
  -->
  <!--
    This material is dual-licensed.
    [http://creativecommons.org/licenses/by-sa/3.0/] Distributed under a Creative Commons Attribution-ShareAlike 3.0 Unported License  [http://www.opensource.org/licenses/BSD-2-Clause] Copyright 2013 TEI Consortium. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright holder or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. TEI material can be licensed differently depending on the use you intend to make of it. Hence it is made available under both the CC+BY and BSD-2 licences. The CC+BY licence is generally appropriate for usages which treat TEI content as data or documentation. The BSD-2 licence is generally appropriate for usage of TEI content in a software environment. For further information or clarification, please contact the  TEI Consortium .
  -->
  <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.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.phrase"/>
      <xs:group ref="tei:model.inter"/>
      <xs:group ref="tei:model.divPart"/>
      <xs:group ref="tei:model.global"/>
    </xs:choice>
  </xs:complexType>
  <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.key"/>
    <xs:attributeGroup ref="tei:att.canonical.attribute.ref"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.canonical.attribute.key">
    <xs:attribute name="key" type="xs:string">
      <xs:annotation>
        <xs:documentation>provides an externally-defined means of identifying the entity (or entities) being named, using a coded value of some kind.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </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>
  <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.datcat.attributes">
    <xs:attributeGroup ref="tei:att.datcat.attribute.datcat"/>
    <xs:attributeGroup ref="tei:att.datcat.attribute.valueDatcat"/>
    <xs:attributeGroup ref="tei:att.datcat.attribute.targetDatcat"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datcat.attribute.datcat">
    <xs:attribute name="datcat">
      <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.datcat.attribute.valueDatcat">
    <xs:attribute name="valueDatcat">
      <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.datcat.attribute.targetDatcat">
    <xs:attribute name="targetDatcat">
      <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.declarable.attributes">
    <xs:attributeGroup ref="tei:att.declarable.attribute.default"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.declarable.attribute.default">
    <xs:attribute name="default" default="false">
      <xs:annotation>
        <xs:documentation>indicates whether or not this element is selected by default when its parent is selected.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="true">
            <xs:annotation>
              <xs:documentation>This element is selected if its parent is selected</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="false">
            <xs:annotation>
              <xs:documentation>This element can only be selected explicitly, unless it is the only one of its kind, in which case it is selected if its parent is selected.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.declaring.attributes">
    <xs:attributeGroup ref="tei:att.declaring.attribute.decls"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.declaring.attribute.decls">
    <xs:attribute name="decls">
      <xs:annotation>
        <xs:documentation>(declarations) identifies one or more declarable elements within the header, which are understood to apply to the element bearing this attribute and its content.</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.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.editLike.attributes">
    <xs:attributeGroup ref="tei:att.editLike.attribute.evidence"/>
    <xs:attributeGroup ref="tei:att.editLike.attribute.instant"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.editLike.attribute.evidence">
    <xs:attribute name="evidence">
      <xs:annotation>
        <xs:documentation>indicates the nature of the evidence supporting the reliability or accuracy of the intervention or interpretation.
Suggested values include: 1] internal; 2] external; 3] conjecture</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="internal">
                        <xs:annotation>
                          <xs:documentation>there is internal evidence to support the intervention.</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="external">
                        <xs:annotation>
                          <xs:documentation>there is external evidence to support the intervention.</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="conjecture">
                        <xs:annotation>
                          <xs:documentation>the intervention or interpretation has been made by the editor, cataloguer, or scholar on the basis of their expertise.</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:attributeGroup>
  <xs:attributeGroup name="att.editLike.attribute.instant">
    <xs:attribute name="instant" default="false">
      <xs:annotation>
        <xs:documentation>indicates whether this is an instant revision or not.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:boolean">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="unknown">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
              <xs:enumeration value="inapplicable">
                <xs:annotation>
                  <xs:documentation/>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </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.rend"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.rendition.attribute.rend">
    <xs:attribute name="rend">
      <xs:annotation>
        <xs:documentation>(rendition) indicates how the element in question was rendered or presented in the source 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.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.interpLike.attributes">
    <xs:attributeGroup ref="tei:att.interpLike.attribute.type"/>
    <xs:attributeGroup ref="tei:att.interpLike.attribute.subtype"/>
    <xs:attributeGroup ref="tei:att.interpLike.attribute.inst"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.interpLike.attribute.type">
    <xs:attribute name="type">
      <xs:annotation>
        <xs:documentation>indicates what kind of phenomenon is being noted in the passage.
Sample values include: 1] image; 2] character; 3] theme; 4] allusion</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.interpLike.attribute.subtype">
    <xs:attribute name="subtype">
      <xs:annotation>
        <xs:documentation>(subtype) provides a sub-categorization of the phenomenon is being noted in the passage, 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.interpLike.attribute.inst">
    <xs:attribute name="inst">
      <xs:annotation>
        <xs:documentation>(instances) points to instances of the analysis or interpretation represented by 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.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.
Suggested values include: 1] top; 2] bottom; 3] margin; 4] opposite; 5] overleaf; 6] above; 7] right; 8] below; 9] left; 10] end; 11] inline; 12] inspace</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="top">
                        <xs:annotation>
                          <xs:documentation>at the top of the page</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="bottom">
                        <xs:annotation>
                          <xs:documentation>at the foot of the page</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="margin">
                        <xs:annotation>
                          <xs:documentation>in the margin (left, right, or both)</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="opposite">
                        <xs:annotation>
                          <xs:documentation>on the opposite, i.e. facing, page</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="overleaf">
                        <xs:annotation>
                          <xs:documentation>on the other side of the leaf</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <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:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="right">
                        <xs:annotation>
                          <xs:documentation>to the right, e.g. to the right of a vertical line of text, or to the right of a figure</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="below">
                        <xs:annotation>
                          <xs:documentation>below the line</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="left">
                        <xs:annotation>
                          <xs:documentation>to the left, e.g. to the left of a vertical line of text, or to the left of a figure</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="end">
                        <xs:annotation>
                          <xs:documentation>at the end of e.g. chapter or volume.</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <xs:enumeration value="inline">
                        <xs:annotation>
                          <xs:documentation>within the body of the text.</xs:documentation>
                        </xs:annotation>
                      </xs:enumeration>
                    </xs:restriction>
                  </xs:simpleType>
                  <xs:simpleType>
                    <xs:restriction base="xs:token">
                      <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: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: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.ranging.attributes">
    <xs:attributeGroup ref="tei:att.ranging.attribute.atLeast"/>
    <xs:attributeGroup ref="tei:att.ranging.attribute.atMost"/>
    <xs:attributeGroup ref="tei:att.ranging.attribute.min"/>
    <xs:attributeGroup ref="tei:att.ranging.attribute.max"/>
    <xs:attributeGroup ref="tei:att.ranging.attribute.confidence"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.atLeast">
    <xs:attribute name="atLeast">
      <xs:annotation>
        <xs:documentation>gives a minimum estimated value for the approximate 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.ranging.attribute.atMost">
    <xs:attribute name="atMost">
      <xs:annotation>
        <xs:documentation>gives a maximum estimated value for the approximate 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.ranging.attribute.min">
    <xs:attribute name="min">
      <xs:annotation>
        <xs:documentation>where the measurement summarizes more than one observation or a range, supplies the minimum value observed.</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.ranging.attribute.max">
    <xs:attribute name="max">
      <xs:annotation>
        <xs:documentation>where the measurement summarizes more than one observation or a range, supplies the maximum value observed.</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.ranging.attribute.confidence">
    <xs:attribute name="confidence">
      <xs:simpleType>
        <xs:restriction base="xs:double">
          <xs:minInclusive value="0"/>
          <xs:maxInclusive value="1"/>
        </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.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.ranging.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.precision"/>
    <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
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="cm">
                <xs:annotation>
                  <xs:documentation>(centimetres) </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="mm">
                <xs:annotation>
                  <xs:documentation>(millimetres) </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="in">
                <xs:annotation>
                  <xs:documentation>(inches) </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>lines of text</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="char">
                <xs:annotation>
                  <xs:documentation>(characters) characters of text</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.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.precision">
    <xs:attribute name="precision">
      <xs:annotation>
        <xs:documentation>characterizes the precision of the values specified by the other attributes.</xs:documentation>
      </xs:annotation>
      <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: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.divLike.attributes">
    <xs:attributeGroup ref="tei:att.fragmentable.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.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.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.xmlspace">
    <xs:attribute ref="xml:space"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.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.datcat.attributes"/>
    <xs:attributeGroup ref="tei:att.fragmentable.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.editLike.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:seg"/>
      <xs:element ref="tei:s"/>
      <xs:element ref="tei:w"/>
      <xs:element ref="tei:pc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.segLike_alternation">
    <xs:choice>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:s"/>
      <xs:element ref="tei:w"/>
      <xs:element ref="tei:pc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.segLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:seg"/>
      <xs:element ref="tei:s"/>
      <xs:element ref="tei:w"/>
      <xs:element ref="tei:pc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:seg"/>
      <xs:element minOccurs="0" ref="tei:s"/>
      <xs:element minOccurs="0" ref="tei:w"/>
      <xs:element minOccurs="0" ref="tei:pc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:seg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:s"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:w"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:pc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:seg"/>
      <xs:element maxOccurs="unbounded" ref="tei:s"/>
      <xs:element maxOccurs="unbounded" ref="tei:w"/>
      <xs:element maxOccurs="unbounded" ref="tei:pc"/>
    </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:foreign"/>
      <xs:element ref="tei:emph"/>
      <xs:element ref="tei:mentioned"/>
      <xs:element ref="tei:soCalled"/>
      <xs:element ref="tei:gloss"/>
      <xs:element ref="tei:term"/>
      <xs:element ref="tei:title"/>
      <xs:element ref="tei:code"/>
      <xs:element ref="tei:ident"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.emphLike_alternation">
    <xs:choice>
      <xs:element ref="tei:foreign"/>
      <xs:element ref="tei:emph"/>
      <xs:element ref="tei:mentioned"/>
      <xs:element ref="tei:soCalled"/>
      <xs:element ref="tei:gloss"/>
      <xs:element ref="tei:term"/>
      <xs:element ref="tei:title"/>
      <xs:element ref="tei:code"/>
      <xs:element ref="tei:ident"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.emphLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:foreign"/>
      <xs:element ref="tei:emph"/>
      <xs:element ref="tei:mentioned"/>
      <xs:element ref="tei:soCalled"/>
      <xs:element ref="tei:gloss"/>
      <xs:element ref="tei:term"/>
      <xs:element ref="tei:title"/>
      <xs:element ref="tei:code"/>
      <xs:element ref="tei:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:foreign"/>
      <xs:element minOccurs="0" ref="tei:emph"/>
      <xs:element minOccurs="0" ref="tei:mentioned"/>
      <xs:element minOccurs="0" ref="tei:soCalled"/>
      <xs:element minOccurs="0" ref="tei:gloss"/>
      <xs:element minOccurs="0" ref="tei:term"/>
      <xs:element minOccurs="0" ref="tei:title"/>
      <xs:element minOccurs="0" ref="tei:code"/>
      <xs:element minOccurs="0" ref="tei:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:foreign"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:emph"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:mentioned"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:soCalled"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:gloss"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:term"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:title"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:code"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:foreign"/>
      <xs:element maxOccurs="unbounded" ref="tei:emph"/>
      <xs:element maxOccurs="unbounded" ref="tei:mentioned"/>
      <xs:element maxOccurs="unbounded" ref="tei:soCalled"/>
      <xs:element maxOccurs="unbounded" ref="tei:gloss"/>
      <xs:element maxOccurs="unbounded" ref="tei:term"/>
      <xs:element maxOccurs="unbounded" ref="tei:title"/>
      <xs:element maxOccurs="unbounded" ref="tei:code"/>
      <xs:element maxOccurs="unbounded" ref="tei:ident"/>
    </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:sequence>
      <xs:element ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceOptional">
    <xs:sequence>
      <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:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:num"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike">
    <xs:sequence>
      <xs:element ref="tei:eg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:eg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:eg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:eg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:eg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:eg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike">
    <xs:choice>
      <xs:element ref="tei:graphic"/>
      <xs:element ref="tei:formula"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.graphicLike_alternation">
    <xs:choice>
      <xs:element ref="tei:graphic"/>
      <xs:element ref="tei:formula"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.graphicLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:graphic"/>
      <xs:element ref="tei:formula"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:graphic"/>
      <xs:element minOccurs="0" ref="tei:formula"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:graphic"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:formula"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:graphic"/>
      <xs:element maxOccurs="unbounded" ref="tei:formula"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial">
    <xs:choice>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:expan"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial_alternation">
    <xs:choice>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:expan"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequence">
    <xs:sequence>
      <xs:element ref="tei:choice"/>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:expan"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:choice"/>
      <xs:element minOccurs="0" ref="tei:abbr"/>
      <xs:element minOccurs="0" ref="tei:expan"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:choice"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:abbr"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:expan"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:choice"/>
      <xs:element maxOccurs="unbounded" ref="tei:abbr"/>
      <xs:element maxOccurs="unbounded" ref="tei:expan"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional">
    <xs:choice>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:unclear"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_alternation">
    <xs:choice>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:unclear"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequence">
    <xs:sequence>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:add"/>
      <xs:element ref="tei:del"/>
      <xs:element ref="tei:unclear"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:sic"/>
      <xs:element minOccurs="0" ref="tei:corr"/>
      <xs:element minOccurs="0" ref="tei:reg"/>
      <xs:element minOccurs="0" ref="tei:orig"/>
      <xs:element minOccurs="0" ref="tei:add"/>
      <xs:element minOccurs="0" ref="tei:del"/>
      <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:sic"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:corr"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:reg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:orig"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:add"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:del"/>
      <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:sic"/>
      <xs:element maxOccurs="unbounded" ref="tei:corr"/>
      <xs:element maxOccurs="unbounded" ref="tei:reg"/>
      <xs:element maxOccurs="unbounded" ref="tei:orig"/>
      <xs:element maxOccurs="unbounded" ref="tei:add"/>
      <xs:element maxOccurs="unbounded" ref="tei:del"/>
      <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.ptrLike">
    <xs:choice>
      <xs:element ref="tei:ptr"/>
      <xs:element ref="tei:ref"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.ptrLike_alternation">
    <xs:choice>
      <xs:element ref="tei:ptr"/>
      <xs:element ref="tei:ref"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.ptrLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:ptr"/>
      <xs:element ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.ptrLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:ptr"/>
      <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:ptr"/>
      <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:ptr"/>
      <xs:element maxOccurs="unbounded" ref="tei:ref"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.meta">
    <xs:choice>
      <xs:element ref="tei:index"/>
      <xs:element ref="tei:interp"/>
      <xs:element ref="tei:interpGrp"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.global.meta_alternation">
    <xs:choice>
      <xs:element ref="tei:index"/>
      <xs:element ref="tei:interp"/>
      <xs:element ref="tei:interpGrp"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.global.meta_sequence">
    <xs:sequence>
      <xs:element ref="tei:index"/>
      <xs:element ref="tei:interp"/>
      <xs:element ref="tei:interpGrp"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.meta_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:index"/>
      <xs:element minOccurs="0" ref="tei:interp"/>
      <xs:element minOccurs="0" ref="tei:interpGrp"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.meta_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:index"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:interp"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:interpGrp"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.meta_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:index"/>
      <xs:element maxOccurs="unbounded" ref="tei:interp"/>
      <xs:element maxOccurs="unbounded" ref="tei:interpGrp"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike">
    <xs:choice>
      <xs:element ref="tei:milestone"/>
      <xs:element ref="tei:pb"/>
      <xs:element ref="tei:lb"/>
      <xs:element ref="tei:anchor"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.milestoneLike_alternation">
    <xs:choice>
      <xs:element ref="tei:milestone"/>
      <xs:element ref="tei:pb"/>
      <xs:element ref="tei:lb"/>
      <xs:element ref="tei:anchor"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.milestoneLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:milestone"/>
      <xs:element ref="tei:pb"/>
      <xs:element ref="tei:lb"/>
      <xs:element ref="tei:anchor"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:milestone"/>
      <xs:element minOccurs="0" ref="tei:pb"/>
      <xs:element minOccurs="0" ref="tei:lb"/>
      <xs:element minOccurs="0" ref="tei:anchor"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:milestone"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:pb"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:lb"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:anchor"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:milestone"/>
      <xs:element maxOccurs="unbounded" ref="tei:pb"/>
      <xs:element maxOccurs="unbounded" ref="tei:lb"/>
      <xs:element maxOccurs="unbounded" ref="tei:anchor"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.phrase.xml">
    <xs:choice>
      <xs:element ref="tei:att"/>
      <xs:element ref="tei:gi"/>
      <xs:element ref="tei:val"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.phrase.xml_alternation">
    <xs:choice>
      <xs:element ref="tei:att"/>
      <xs:element ref="tei:gi"/>
      <xs:element ref="tei:val"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.phrase.xml_sequence">
    <xs:sequence>
      <xs:element ref="tei:att"/>
      <xs:element ref="tei:gi"/>
      <xs:element ref="tei:val"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.phrase.xml_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:att"/>
      <xs:element minOccurs="0" ref="tei:gi"/>
      <xs:element minOccurs="0" ref="tei:val"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.phrase.xml_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:att"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:gi"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:val"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.phrase.xml_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:att"/>
      <xs:element maxOccurs="unbounded" ref="tei:gi"/>
      <xs:element maxOccurs="unbounded" ref="tei:val"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike">
    <xs:choice>
      <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:bibl"/>
      <xs:element ref="tei:listBibl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblLike_sequence">
    <xs:sequence>
      <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: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: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: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:table"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.listLike_alternation">
    <xs:choice>
      <xs:element ref="tei:list"/>
      <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: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: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: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: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:sequence>
      <xs:element ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceOptional">
    <xs:sequence>
      <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:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceRepeatable">
    <xs:sequence>
      <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.publicationStmtPart.agency">
    <xs:choice>
      <xs:element ref="tei:publisher"/>
      <xs:element ref="tei:distributor"/>
      <xs:element ref="tei:authority"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.publicationStmtPart.detail">
    <xs:choice>
      <xs:group ref="tei:model.ptrLike"/>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:date"/>
      <xs:element ref="tei:pubPlace"/>
      <xs:element ref="tei:idno"/>
      <xs:element ref="tei:availability"/>
    </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:sequence>
      <xs:element ref="tei:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable">
    <xs:sequence>
      <xs:group ref="tei:model.quoteLike"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_alternation">
    <xs:sequence>
      <xs:group ref="tei:model.quoteLike_alternation"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.quoteLike_sequence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="tei:model.quoteLike_sequenceOptional"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.quoteLike_sequenceOptionalRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.attributable_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="tei:model.quoteLike_sequenceRepeatable"/>
    </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:element ref="tei:sponsor"/>
      <xs:element ref="tei:funder"/>
      <xs:element ref="tei:principal"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divWrapper">
    <xs:choice>
      <xs:element ref="tei:byline"/>
      <xs:element ref="tei:dateline"/>
      <xs:element ref="tei:argument"/>
      <xs:element ref="tei:epigraph"/>
      <xs:element ref="tei:salute"/>
      <xs:element ref="tei:docAuthor"/>
      <xs:element ref="tei:docDate"/>
    </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.pLike.front">
    <xs:choice>
      <xs:element ref="tei:head"/>
      <xs:element ref="tei:byline"/>
      <xs:element ref="tei:dateline"/>
      <xs:element ref="tei:argument"/>
      <xs:element ref="tei:epigraph"/>
      <xs:element ref="tei:docTitle"/>
      <xs:element ref="tei:titlePart"/>
      <xs:element ref="tei:docAuthor"/>
      <xs:element ref="tei:docEdition"/>
      <xs:element ref="tei:docImprint"/>
      <xs:element ref="tei:docDate"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divBottomPart">
    <xs:choice>
      <xs:element ref="tei:address"/>
      <xs:element ref="tei:trailer"/>
      <xs:element ref="tei:closer"/>
      <xs:element ref="tei:signed"/>
      <xs:element ref="tei:postscript"/>
    </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:graphic"/>
      <xs:element ref="tei:byline"/>
      <xs:element ref="tei:argument"/>
      <xs:element ref="tei:epigraph"/>
      <xs:element ref="tei:docTitle"/>
      <xs:element ref="tei:titlePart"/>
      <xs:element ref="tei:docAuthor"/>
      <xs:element ref="tei:imprimatur"/>
      <xs:element ref="tei:docEdition"/>
      <xs:element ref="tei:docImprint"/>
      <xs:element ref="tei:docDate"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.choicePart">
    <xs:choice>
      <xs:element ref="tei:sic"/>
      <xs:element ref="tei:corr"/>
      <xs:element ref="tei:reg"/>
      <xs:element ref="tei:orig"/>
      <xs:element ref="tei:unclear"/>
      <xs:element ref="tei:abbr"/>
      <xs:element ref="tei:expan"/>
      <xs:element ref="tei:seg"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.imprintPart">
    <xs:choice>
      <xs:element ref="tei:publisher"/>
      <xs:element ref="tei:biblScope"/>
      <xs:element ref="tei:pubPlace"/>
      <xs:element ref="tei:distributor"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addressLike">
    <xs:sequence>
      <xs:element ref="tei:address"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_alternation">
    <xs:sequence>
      <xs:element ref="tei:address"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequence">
    <xs:sequence>
      <xs:element ref="tei:address"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="tei:address"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:address"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="tei:address"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike">
    <xs:choice>
      <xs:group ref="tei:model.nameLike.agent"/>
      <xs:element ref="tei:rs"/>
      <xs:element ref="tei:idno"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike_alternation">
    <xs:choice>
      <xs:group ref="tei:model.nameLike.agent_alternation"/>
      <xs:element ref="tei:rs"/>
      <xs:element ref="tei:idno"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike_sequence">
    <xs:sequence>
      <xs:group ref="tei:model.nameLike.agent_sequence"/>
      <xs:element ref="tei:rs"/>
      <xs:element ref="tei:idno"/>
    </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:rs"/>
      <xs:element minOccurs="0" ref="tei:idno"/>
    </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:rs"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:idno"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global">
    <xs:choice>
      <xs:group ref="tei:model.global.meta"/>
      <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:bibl"/>
      <xs:element ref="tei:relatedItem"/>
      <xs:element ref="tei:edition"/>
      <xs:element ref="tei:extent"/>
      <xs:element ref="tei:availability"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.frontPart">
    <xs:choice>
      <xs:element ref="tei:listBibl"/>
      <xs:element ref="tei:divGen"/>
      <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.inter">
    <xs:choice>
      <xs:group ref="tei:model.egLike"/>
      <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: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.phrase.xml"/>
      <xs:group ref="tei:model.pPart.data"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.paraPart">
    <xs:choice>
      <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.phrase.xml"/>
      <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.divGenLike">
    <xs:sequence>
      <xs:element ref="tei:divGen"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.teiHeaderPart">
    <xs:choice>
      <xs:element ref="tei:encodingDesc"/>
      <xs:element ref="tei:profileDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.encodingDescPart">
    <xs:choice>
      <xs:element ref="tei:projectDesc"/>
      <xs:element ref="tei:samplingDecl"/>
      <xs:element ref="tei:editorialDecl"/>
      <xs:element ref="tei:refsDecl"/>
      <xs:element ref="tei:classDecl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.profileDescPart">
    <xs:choice>
      <xs:element ref="tei:creation"/>
      <xs:element ref="tei:langUsage"/>
      <xs:element ref="tei:textClass"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.resource">
    <xs:sequence>
      <xs:element ref="tei:text"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.describedResource">
    <xs:choice>
      <xs:element ref="tei:teiCorpus"/>
      <xs:element ref="tei:TEI"/>
    </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: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: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.declaring.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="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="emph">
    <xs:annotation>
      <xs:documentation>(emphasized) marks words or phrases which are stressed or emphasized for linguistic or rhetorical effect. [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="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="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="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.egLike"/>
        <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="mentioned">
    <xs:annotation>
      <xs:documentation>marks words or phrases mentioned, not used. [3.3.3. Quotation]</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="soCalled">
    <xs:annotation>
      <xs:documentation>(so called) contains a word or phrase for which the author or narrator indicates a disclaiming of responsibility, for example by the use of scare quotes or italics. [3.3.3. Quotation]</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="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.translatable.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="gloss">
    <xs:annotation>
      <xs:documentation>(gloss) identifies a phrase or word used to provide a gloss or definition for some other word or phrase. [3.4.1. Terms and Glosses 23.4.1. Description of Components]</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.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.declaring.attributes"/>
          <xs:attributeGroup ref="tei:att.pointing.attributes"/>
          <xs:attributeGroup ref="tei:att.translatable.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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.declaring.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="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="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.editLike.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </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="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.editLike.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="orig">
    <xs:annotation>
      <xs:documentation>(original form) contains a reading which is marked as following the original, rather than being normalized or corrected. [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="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: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.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.editLike.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="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="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="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:attributeGroup ref="tei:att.editLike.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="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.editLike.attributes"/>
          <xs:attributeGroup ref="tei:att.personal.attributes"/>
          <xs:attributeGroup ref="tei:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="rs">
    <xs:annotation>
      <xs:documentation>(referencing string) contains a general purpose name or referring string. [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="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="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.ranging.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="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.phrase"/>
        <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.datable.attributes"/>
      <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.editLike.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.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.phrase"/>
        <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.datable.attributes"/>
      <xs:attributeGroup ref="tei:att.dimensions.attributes"/>
      <xs:attributeGroup ref="tei:att.editLike.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </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="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:attributeGroup ref="tei:att.editLike.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ptr">
    <xs:annotation>
      <xs:documentation>(pointer) defines a pointer to another location. [3.7. Simple Links and Cross-References 17.1. Links]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <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.declaring.attributes"/>
      <xs:attributeGroup ref="tei:att.pointing.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </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.declaring.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="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="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="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="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.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="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="index">
    <xs:annotation>
      <xs:documentation>(index entry) marks a location to be indexed for whatever purpose. [3.9.2. Index Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="tei:term"/>
        <xs:element minOccurs="0" ref="tei:index"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.spanning.attributes"/>
      <xs:attribute name="indexName" type="xs:Name">
        <xs:annotation>
          <xs:documentation>a single word which follows the rules defining a legal XML name (see ), supplying a name to specify which index (of several) the index entry belongs to.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="graphic">
    <xs:annotation>
      <xs:documentation>(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.declaring.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="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="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="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="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="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="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="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="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="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="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="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="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.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.declarable.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="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.declarable.attributes"/>
      <xs:attributeGroup ref="tei:att.sortable.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="relatedItem">
    <xs:annotation>
      <xs:documentation>contains or references some other bibliographic item which is related to the present one in some specified manner, for example as a constituent or alternative version of it. [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="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.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: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.declaring.attributes"/>
      <xs:attributeGroup ref="tei:att.divLike.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </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="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="divGen">
    <xs:annotation>
      <xs:documentation>(automatically generated text division) indicates the location at which a textual division generated automatically by a text-processing application is to appear. [3.9.2. Index Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.headLike"/>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attribute.subtype"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>specifies what type of generated text division (e.g. index, table of contents, etc.) is to appear.
Sample values include: 1] index; 2] toc; 3] figlist; 4] tablist</xs:documentation>
        </xs:annotation>
        <xs: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="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="sponsor">
    <xs:annotation>
      <xs:documentation>(sponsor) specifies the name of a sponsoring organization or institution. [2.2.1. The Title 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="funder">
    <xs:annotation>
      <xs:documentation>(funding body) specifies the name of an individual, institution, or organization responsible for the funding of a project or text. [2.2.1. The Title 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="principal">
    <xs:annotation>
      <xs:documentation>(principal researcher) supplies the name of the principal researcher responsible for the creation of an electronic text. [2.2.1. The Title 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="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="authority">
    <xs:annotation>
      <xs:documentation>(release authority) supplies the name of a person or other agency responsible for making a work available, other than a publisher or distributor. [2.2.4. Publication, Distribution, Licensing, etc.]</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: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:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:idno"/>
      </xs:sequence>
      <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:attributeGroup ref="tei:att.declarable.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:attributeGroup ref="tei:att.declarable.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:attributeGroup ref="tei:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="encodingDesc">
    <xs:annotation>
      <xs:documentation>(encoding description) documents the relationship between an electronic text and the source or sources from which it was derived. [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:attributeGroup ref="tei:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="samplingDecl">
    <xs:annotation>
      <xs:documentation>(sampling declaration) contains a prose description of the rationale and methods used in 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:attributeGroup ref="tei:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="editorialDecl">
    <xs:annotation>
      <xs:documentation>(editorial practice declaration) provides details of editorial principles and practices applied during the encoding of a text. [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:attributeGroup ref="tei:att.declarable.attributes"/>
    </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:attributeGroup ref="tei:att.declarable.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:choice maxOccurs="unbounded">
              <xs:group ref="tei:model.descLike"/>
              <xs:element ref="tei:gloss"/>
            </xs:choice>
            <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:attributeGroup ref="tei:att.datcat.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:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.descLike"/>
            <xs:element ref="tei:gloss"/>
          </xs:choice>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="tei:category"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.datcat.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="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:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.limitedPhrase"/>
      <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:attributeGroup ref="tei:att.declarable.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:attributeGroup ref="tei:att.declarable.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="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: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="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="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.declaring.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
      <xs:attributeGroup ref="tei:att.written.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="body">
    <xs:annotation>
      <xs:documentation>(text body) contains the whole body of a single unitary text, excluding any front or back matter. [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:sequence minOccurs="0">
          <xs:group ref="tei:model.divGenLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="tei:model.global"/>
            <xs:group ref="tei:model.divGenLike"/>
          </xs:choice>
        </xs:sequence>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="tei:model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="tei:model.global"/>
              <xs:group ref="tei:model.divGenLike"/>
            </xs:choice>
          </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:choice minOccurs="0" maxOccurs="unbounded">
                <xs:group ref="tei:model.global"/>
                <xs:group ref="tei:model.divGenLike"/>
              </xs:choice>
            </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:attributeGroup ref="tei:att.declaring.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.declaring.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div">
    <xs:annotation>
      <xs:documentation>(text division) contains a subdivision of the front, body, or back of a text. [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:choice>
                <xs:group ref="tei:model.divLike"/>
                <xs:group ref="tei:model.divGenLike"/>
              </xs:choice>
              <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:choice>
                  <xs:group ref="tei:model.divLike"/>
                  <xs:group ref="tei:model.divGenLike"/>
                </xs:choice>
                <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.declaring.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="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.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="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.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="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.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="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="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="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.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="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: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="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="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="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="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="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="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="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="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="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.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="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.cmc.attributes"/>
          <xs:attributeGroup ref="tei:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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:attributeGroup ref="tei:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="back">
    <xs:annotation>
      <xs:documentation>(back matter) contains any appendixes, etc. following the main part of a text. [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:attributeGroup ref="tei:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.tableDecoration.attributes">
    <xs:attributeGroup ref="tei:att.tableDecoration.attribute.role"/>
    <xs:attributeGroup ref="tei:att.tableDecoration.attribute.rows"/>
    <xs:attributeGroup ref="tei:att.tableDecoration.attribute.cols"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.tableDecoration.attribute.role">
    <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.
Suggested values include: 1] label; 2] data</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="label">
                <xs:annotation>
                  <xs:documentation>labelling or descriptive information only.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="data">
                <xs:annotation>
                  <xs:documentation>data values.</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.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: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="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.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.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:attributeGroup ref="tei:att.notated.attributes"/>
    </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="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: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: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="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:attributeGroup name="att.lexicographic.normalized.attributes">
    <xs:attributeGroup ref="tei:att.lexicographic.normalized.attribute.norm"/>
    <xs:attributeGroup ref="tei:att.lexicographic.normalized.attribute.orig"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.normalized.attribute.norm">
    <xs:attribute name="norm" type="xs:string">
      <xs:annotation>
        <xs:documentation>(normalized) provides the normalized/standardized form of information present in the source text in a non-normalized form.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.normalized.attribute.orig">
    <xs:attribute name="orig" type="xs:string">
      <xs:annotation>
        <xs:documentation>(original) gives the original string or is the empty string when the element does not appear in the source text.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.linguistic.attributes">
    <xs:attributeGroup ref="tei:att.lexicographic.normalized.attributes"/>
    <xs:attributeGroup ref="tei:att.linguistic.attribute.lemma"/>
    <xs:attributeGroup ref="tei:att.linguistic.attribute.lemmaRef"/>
    <xs:attributeGroup ref="tei:att.linguistic.attribute.pos"/>
    <xs:attributeGroup ref="tei:att.linguistic.attribute.msd"/>
    <xs:attributeGroup ref="tei:att.linguistic.attribute.join"/>
  </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:attributeGroup name="att.linguistic.attribute.pos">
    <xs:attribute name="pos" type="xs:string">
      <xs:annotation>
        <xs:documentation>(part of speech) indicates the part of speech assigned to a token (i.e. information on whether it is a noun, adjective, or verb), usually according to some official reference vocabulary (e.g. for German: STTS, for English: CLAWS, for Polish: NKJP, etc.).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.linguistic.attribute.msd">
    <xs:attribute name="msd" type="xs:string"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.linguistic.attribute.join">
    <xs:attribute name="join">
      <xs:annotation>
        <xs:documentation>when present, provides information on whether the token in question is adjacent to another, and if so, on which side.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="no">
            <xs:annotation>
              <xs:documentation>the token is not adjacent to another</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="left">
            <xs:annotation>
              <xs:documentation>there is no whitespace on the left side of the token</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="right">
            <xs:annotation>
              <xs:documentation>there is no whitespace on the right side of the token</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="both">
            <xs:annotation>
              <xs:documentation>there is no whitespace on either side of the token</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="overlap">
            <xs:annotation>
              <xs:documentation>the token overlaps with another; other devices (specifying the extent and the area of overlap) are needed to more precisely locate this token in the character stream</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <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: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="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:element ref="tei:seg"/>
        <xs:element ref="tei:w"/>
        <xs:element ref="tei:pc"/>
        <xs:group ref="tei:model.global"/>
        <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="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:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.pPart.edit"/>
      <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="interp">
    <xs:annotation>
      <xs:documentation>(interpretation) summarizes a specific interpretative annotation which can be linked to a span of text. [18.3. Spans and Interpretations]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <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.interpLike.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="interpGrp">
    <xs:annotation>
      <xs:documentation>(interpretation group) collects together a set of related interpretations which share responsibility or type. [18.3. Spans and Interpretations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="tei:model.descLike"/>
        <xs:element maxOccurs="unbounded" ref="tei:interp"/>
      </xs:sequence>
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.cmc.attributes"/>
      <xs:attributeGroup ref="tei:att.interpLike.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.translatable.attributes">
    <xs:attributeGroup ref="tei:att.translatable.attribute.versionDate"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.translatable.attribute.versionDate">
    <xs:attribute name="versionDate">
      <xs:annotation>
        <xs:documentation>specifies the date on which the source text was extracted and sent to the translator</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union>
          <xs:simpleType>
            <xs:restriction base="xs:date">
              <xs:pattern value="(19[789][0-9]|[2-9][0-9]{3}).*"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:dateTime">
              <xs:pattern value="(19[789][0-9]|[2-9][0-9]{3}).*"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="att">
    <xs:annotation>
      <xs:documentation>(attribute) contains the name of an attribute appearing within running text. [23. Documentation Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:Name">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attribute name="scheme" default="TEI">
            <xs:annotation>
              <xs:documentation>(scheme) supplies an identifier for the scheme in which this name is defined.
Sample values include: 1] TEI (Text Encoding Initiative); 2] DBK (Docbook); 3] XX (unknown); 4] imaginary (imaginary); 5] XHTML (XHTML); 6] XML (XML); 7] XI (XI)</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:simpleContent>
    </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="eg">
    <xs:annotation>
      <xs:documentation>(example) contains any kind of illustrative example. [23.5. Element Specifications 23.5.3. Attribute List Specification]</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="gi">
    <xs:annotation>
      <xs:documentation>(element name) contains the name (generic identifier) of an element. [23. Documentation Elements 23.5. Element Specifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:Name">
          <xs:attributeGroup ref="tei:att.global.attributes"/>
          <xs:attribute name="scheme" default="TEI">
            <xs:annotation>
              <xs:documentation>supplies the name of the scheme in which this name is defined.
Sample values include: 1] TEI; 2] DBK (docbook); 3] XX (unknown); 4] Schematron; 5] HTML</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:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ident">
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="tei:att.global.attributes"/>
      <xs:attributeGroup ref="tei:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="val">
    <xs:annotation>
      <xs:documentation>(value) contains a single attribute value. [23. Documentation Elements 23.5.3. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="tei:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <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:schema>
