<?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:dcr="http://www.isocat.org/ns/dcr" xmlns:ns1="http://www.tei-c.org/ns/1.0" xmlns:examples="http://www.tei-c.org/ns/Examples">
  <xs:import namespace="http://www.isocat.org/ns/dcr" schemaLocation="tei_all_dcr.xsd"/>
  <xs:import namespace="http://www.tei-c.org/ns/Examples" schemaLocation="tei_all_examples.xsd"/>
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="tei_all_xml.xsd"/>
  <!--
    Schema generated from ODD source 2015-10-15T19:58:23Z. .
    TEI Edition: Version 2.9.1. Last updated on
    	15th October 2015, revision 46ac023
    TEI Edition Location: http://www.tei-c.org/Vault/P5/Version 2.9.1/
    
  -->
  <!-- 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 (info@tei-c.org). -->
  <xs:complexType name="macro.paraContent" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ns1:model.gLike"/>
      <xs:group ref="ns1:model.phrase"/>
      <xs:group ref="ns1:model.inter"/>
      <xs:group ref="ns1:model.global"/>
      <xs:element ref="ns1:lg"/>
      <xs:group ref="ns1:model.lLike"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.limitedContent" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ns1:model.limitedPhrase"/>
      <xs:group ref="ns1:model.inter"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.phraseSeq" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ns1:model.gLike"/>
      <xs:group ref="ns1:model.phrase"/>
      <xs:group ref="ns1:model.global"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.phraseSeq.limited" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ns1:model.limitedPhrase"/>
      <xs:group ref="ns1:model.global"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.specialPara" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:group ref="ns1:model.gLike"/>
      <xs:group ref="ns1:model.phrase"/>
      <xs:group ref="ns1:model.inter"/>
      <xs:group ref="ns1:model.divPart"/>
      <xs:group ref="ns1:model.global"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="macro.xtext" mixed="true">
    <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.gLike"/>
  </xs:complexType>
  <xs:group name="macro.anyXML">
    <xs:choice>
      <xs:any namespace="##other" processContents="skip"/>
      <xs:any namespace="##local" processContents="skip"/>
    </xs:choice>
  </xs:group>
  <xs:simpleType name="data.certainty">
    <xs:restriction base="xs:token">
      <xs:enumeration value="high"/>
      <xs:enumeration value="medium"/>
      <xs:enumeration value="low"/>
      <xs:enumeration value="unknown"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.probability">
    <xs:restriction base="xs:double">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.numeric">
    <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:simpleType name="data.interval">
    <xs:union>
      <xs:simpleType>
        <xs:restriction base="xs:float">
          <xs:minExclusive value="0"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="regular"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="irregular"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="unknown"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
  <xs:simpleType name="data.count">
    <xs:restriction base="xs:nonNegativeInteger"/>
  </xs:simpleType>
  <xs:simpleType name="data.temporal.w3c">
    <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
  </xs:simpleType>
  <xs:simpleType name="data.duration.w3c">
    <xs:restriction base="xs:duration"/>
  </xs:simpleType>
  <xs:simpleType name="data.truthValue">
    <xs:restriction base="xs:boolean"/>
  </xs:simpleType>
  <xs:simpleType name="data.xTruthValue">
    <xs:union memberTypes="xs:boolean">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="unknown"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="inapplicable"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
  <xs:simpleType name="data.language">
    <xs:union memberTypes="xs:language">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value=""/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
  <xs:simpleType name="data.namespace">
    <xs:restriction base="xs:anyURI"/>
  </xs:simpleType>
  <xs:simpleType name="data.outputMeasurement">
    <xs:restriction base="xs:token">
      <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.pattern">
    <xs:restriction base="xs:token"/>
  </xs:simpleType>
  <xs:simpleType name="data.point">
    <xs:restriction base="xs:token">
      <xs:pattern value="(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.pointer">
    <xs:restriction base="xs:anyURI"/>
  </xs:simpleType>
  <xs:simpleType name="data.version">
    <xs:restriction base="xs:token">
      <xs:pattern value="[\d]+(\.[\d]+){0,2}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.versionNumber">
    <xs:restriction base="xs:token">
      <xs:pattern value="[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.word">
    <xs:restriction base="xs:token">
      <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="data.sex">
    <xs:restriction base="ns1:data.word"/>
  </xs:simpleType>
  <xs:simpleType name="data.text">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:simpleType name="data.name">
    <xs:restriction base="xs:Name"/>
  </xs:simpleType>
  <xs:simpleType name="data.xmlName">
    <xs:restriction base="xs:NCName"/>
  </xs:simpleType>
  <xs:simpleType name="data.enumerated">
    <xs:restriction base="ns1:data.word"/>
  </xs:simpleType>
  <xs:simpleType name="data.temporal.iso">
    <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="[0-9.,DHMPRSTWYZ/:+\-]+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
  <xs:simpleType name="data.duration.iso">
    <xs:restriction base="xs:token">
      <xs:pattern value="[0-9.,DHMPRSTWYZ/:+\-]+"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:group name="macro.schemaPattern">
    <xs:sequence>
      <xs:group ref="ns1:macro.anyXML"/>
    </xs:sequence>
  </xs:group>
  <xs:attributeGroup name="att.ascribed.attributes">
    <xs:attributeGroup ref="ns1: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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.canonical.attributes">
    <xs:attributeGroup ref="ns1:att.canonical.attribute.key"/>
    <xs:attributeGroup ref="ns1:att.canonical.attribute.ref"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.canonical.attribute.key">
    <xs:attribute name="key" type="ns1:data.text">
      <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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attributes">
    <xs:attributeGroup ref="ns1:att.ranging.attribute.atLeast"/>
    <xs:attributeGroup ref="ns1:att.ranging.attribute.atMost"/>
    <xs:attributeGroup ref="ns1:att.ranging.attribute.min"/>
    <xs:attributeGroup ref="ns1:att.ranging.attribute.max"/>
    <xs:attributeGroup ref="ns1:att.ranging.attribute.confidence"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.atLeast">
    <xs:attribute name="atLeast" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>gives a minimum estimated value for the approximate measurement.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.atMost">
    <xs:attribute name="atMost" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>gives a maximum estimated value for the approximate measurement.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.min">
    <xs:attribute name="min" type="ns1:data.numeric">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.max">
    <xs:attribute name="max" type="ns1:data.numeric">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.confidence">
    <xs:attribute name="confidence" type="ns1:data.probability">
      <xs:annotation>
        <xs:documentation>specifies the degree of statistical confidence (between zero and one) that a value falls within the range specified by min and max, or the proportion of observed values that fall within that range.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attributes">
    <xs:attributeGroup ref="ns1:att.ranging.attributes"/>
    <xs:attributeGroup ref="ns1:att.dimensions.attribute.unit"/>
    <xs:attributeGroup ref="ns1:att.dimensions.attribute.quantity"/>
    <xs:attributeGroup ref="ns1:att.dimensions.attribute.extent"/>
    <xs:attributeGroup ref="ns1:att.dimensions.attribute.precision"/>
    <xs:attributeGroup ref="ns1: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] lines; 5] chars(characters) </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:Name">
          <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="lines">
                <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="chars">
                <xs:annotation>
                  <xs:documentation>(characters) characters of text</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.quantity">
    <xs:attribute name="quantity" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>specifies the length in the units specified</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.extent">
    <xs:attribute name="extent" type="ns1:data.text">
      <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" type="ns1:data.certainty">
      <xs:annotation>
        <xs:documentation>characterizes the precision of the values specified by the other attributes.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.scope">
    <xs:attribute name="scope" type="ns1:data.enumerated">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attributes">
    <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
    <xs:attributeGroup ref="ns1:att.damaged.attribute.hand"/>
    <xs:attributeGroup ref="ns1:att.damaged.attribute.agent"/>
    <xs:attributeGroup ref="ns1:att.damaged.attribute.degree"/>
    <xs:attributeGroup ref="ns1:att.damaged.attribute.group"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attribute.hand">
    <xs:attribute name="hand" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>in the case of damage (deliberate defacement, inking out, etc.) assignable to a distinct hand, signifies the hand responsible for the damage by pointing to one of the hand identifiers declared in the document header (see section ).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attribute.agent">
    <xs:attribute name="agent" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attribute.degree">
    <xs:attribute name="degree">
      <xs:annotation>
        <xs:documentation>provides a coded representation of the degree of damage, either as a number between 0 (undamaged) and 1 (very extensively damaged), or as one of the codes high, medium, low, or unknown. The damage element with the degree attribute should only be used where the text may be read with some confidence; text supplied from other sources should be tagged as supplied.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="ns1:data.probability ns1:data.certainty"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attribute.group">
    <xs:attribute name="group" type="ns1:data.count">
      <xs:annotation>
        <xs:documentation>assigns an arbitrary number to each stretch of damage regarded as forming part of the same physical phenomenon.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.breaking.attributes">
    <xs:attributeGroup ref="ns1:att.breaking.attribute.break"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.breaking.attribute.break">
    <xs:attribute name="break" type="ns1:data.enumerated">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.cReferencing.attributes">
    <xs:attributeGroup ref="ns1:att.cReferencing.attribute.cRef"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.cReferencing.attribute.cRef">
    <xs:attribute name="cRef" type="ns1:data.text">
      <xs:annotation>
        <xs:documentation>(canonical reference) specifies the destination of the pointer by supplying a canonical reference expressed using the scheme defined in a refsDecl element in the TEI header</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attributes">
    <xs:attributeGroup ref="ns1:att.datable.w3c.attribute.when"/>
    <xs:attributeGroup ref="ns1:att.datable.w3c.attribute.notBefore"/>
    <xs:attributeGroup ref="ns1:att.datable.w3c.attribute.notAfter"/>
    <xs:attributeGroup ref="ns1:att.datable.w3c.attribute.from"/>
    <xs:attributeGroup ref="ns1:att.datable.w3c.attribute.to"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.when">
    <xs:attribute name="when" type="ns1:data.temporal.w3c">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.notBefore">
    <xs:attribute name="notBefore" type="ns1:data.temporal.w3c">
      <xs:annotation>
        <xs:documentation>specifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.notAfter">
    <xs:attribute name="notAfter" type="ns1:data.temporal.w3c">
      <xs:annotation>
        <xs:documentation>specifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.from">
    <xs:attribute name="from" type="ns1:data.temporal.w3c">
      <xs:annotation>
        <xs:documentation>indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.to">
    <xs:attribute name="to" type="ns1:data.temporal.w3c">
      <xs:annotation>
        <xs:documentation>indicates the ending point of the period in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.attributes">
    <xs:attributeGroup ref="ns1:att.datable.w3c.attributes"/>
    <xs:attributeGroup ref="ns1:att.datable.iso.attributes"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attributes"/>
    <xs:attributeGroup ref="ns1:att.datable.attribute.calendar"/>
    <xs:attributeGroup ref="ns1:att.datable.attribute.period"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.attribute.calendar">
    <xs:attribute name="calendar" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the system or calendar to which the date represented by the content of this element belongs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.attribute.period">
    <xs:attribute name="period" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>supplies a pointer to some location defining a named period of time within which the datable item is understood to have occurred.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datcat.attributes">
    <xs:attributeGroup ref="ns1:att.datcat.attribute.datcat"/>
    <xs:attributeGroup ref="ns1:att.datcat.attribute.valueDatcat"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datcat.attribute.datcat">
    <xs:attribute ref="dcr:datcat"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datcat.attribute.valueDatcat">
    <xs:attribute ref="dcr:valueDatcat"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.declarable.attributes">
    <xs:attributeGroup ref="ns1: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="ns1:att.declaring.attribute.decls"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.declaring.attribute.decls">
    <xs:attribute name="decls">
      <xs:annotation>
        <xs:documentation>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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.fragmentable.attributes">
    <xs:attributeGroup ref="ns1: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.divLike.attributes">
    <xs:attributeGroup ref="ns1:att.metrical.attributes"/>
    <xs:attributeGroup ref="ns1:att.fragmentable.attributes"/>
    <xs:attributeGroup ref="ns1:att.divLike.attribute.org"/>
    <xs:attributeGroup ref="ns1: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="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.docStatus.attributes">
    <xs:attributeGroup ref="ns1:att.docStatus.attribute.status"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.docStatus.attribute.status">
    <xs:attribute name="status" default="draft" type="ns1:data.enumerated">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.duration.w3c.attributes">
    <xs:attributeGroup ref="ns1:att.duration.w3c.attribute.dur"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.duration.w3c.attribute.dur">
    <xs:attribute name="dur" type="ns1:data.duration.w3c">
      <xs:annotation>
        <xs:documentation>(duration) indicates the length of this element in time.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.duration.iso.attributes">
    <xs:attributeGroup ref="ns1:att.duration.iso.attribute.dur-iso"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.duration.iso.attribute.dur-iso">
    <xs:attribute name="dur-iso" type="ns1:data.duration.iso">
      <xs:annotation>
        <xs:documentation>(duration) indicates the length of this element in time.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.responsibility.attributes">
    <xs:attributeGroup ref="ns1:att.global.responsibility.attribute.cert"/>
    <xs:attributeGroup ref="ns1:att.global.responsibility.attribute.resp"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.responsibility.attribute.cert">
    <xs:attribute name="cert" type="ns1:data.certainty">
      <xs:annotation>
        <xs:documentation>(certainty) signifies the degree of certainty associated with the intervention or interpretation.</xs:documentation>
      </xs:annotation>
    </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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.editLike.attributes">
    <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
    <xs:attributeGroup ref="ns1:att.source.attributes"/>
    <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
    <xs:attributeGroup ref="ns1: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 memberTypes="xs:Name">
                  <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: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" type="ns1:data.xTruthValue">
      <xs:annotation>
        <xs:documentation>indicates whether this is an instant revision or not.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.rendition.attributes">
    <xs:attributeGroup ref="ns1:att.global.rendition.attribute.rend"/>
    <xs:attributeGroup ref="ns1:att.global.rendition.attribute.style"/>
    <xs:attributeGroup ref="ns1:att.global.rendition.attribute.rendition"/>
  </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 itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.rendition.attribute.style">
    <xs:attribute name="style" type="ns1:data.text">
      <xs:annotation>
        <xs:documentation>contains an expression in some formal style definition language which defines the rendering or presentation used for this element in the source text</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.rendition.attribute.rendition">
    <xs:attribute name="rendition">
      <xs:annotation>
        <xs:documentation>points to a description of the rendering or presentation used for this element in the source text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attributes">
    <xs:attributeGroup ref="ns1:att.global.rendition.attributes"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attributes"/>
    <xs:attributeGroup ref="ns1:att.global.analytic.attributes"/>
    <xs:attributeGroup ref="ns1:att.global.facs.attributes"/>
    <xs:attributeGroup ref="ns1:att.global.change.attributes"/>
    <xs:attributeGroup ref="ns1:att.global.responsibility.attributes"/>
    <xs:attributeGroup ref="ns1:att.global.attribute.xmlid"/>
    <xs:attributeGroup ref="ns1:att.global.attribute.n"/>
    <xs:attributeGroup ref="ns1:att.global.attribute.xmllang"/>
    <xs:attributeGroup ref="ns1:att.global.attribute.xmlbase"/>
    <xs:attributeGroup ref="ns1: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="ns1:data.text">
      <xs:annotation>
        <xs:documentation>(number) gives a number (or other label) for an element, which is not necessarily unique within the document.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmllang">
    <xs:attribute ref="xml:lang"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmlbase">
    <xs:attribute ref="xml:base"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmlspace">
    <xs:attribute ref="xml:space"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attributes">
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.scribe"/>
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.scribeRef"/>
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.script"/>
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.scriptRef"/>
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.medium"/>
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.scope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attribute.scribe">
    <xs:attribute name="scribe" type="ns1:data.name">
      <xs:annotation>
        <xs:documentation>gives a name or other identifier for the scribe believed to be responsible for this hand.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attribute.scribeRef">
    <xs:attribute name="scribeRef">
      <xs:annotation>
        <xs:documentation>points to a full description of the scribe concerned, typically supplied by a person element elsewhere in the description.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attribute.script">
    <xs:attribute name="script">
      <xs:annotation>
        <xs:documentation>characterizes the particular script or writing style used by this hand, for example secretary, copperplate, Chancery, Italian, etc.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.name"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attribute.scriptRef">
    <xs:attribute name="scriptRef">
      <xs:annotation>
        <xs:documentation>points to a full description of the script or writing style used by this hand, typically supplied by a scriptNote element elsewhere in the description.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attribute.medium">
    <xs:attribute name="medium">
      <xs:annotation>
        <xs:documentation>describes the tint or type of ink, e.g. brown, or other writing medium, e.g. pencil</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.enumerated"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attribute.scope">
    <xs:attribute name="scope">
      <xs:annotation>
        <xs:documentation>specifies how widely this hand is used in the manuscript.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="sole">
            <xs:annotation>
              <xs:documentation>only this hand is used throughout the manuscript</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="major">
            <xs:annotation>
              <xs:documentation>this hand is used through most of the manuscript</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="minor">
            <xs:annotation>
              <xs:documentation>this hand is used occasionally in the manuscript</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.internetMedia.attributes">
    <xs:attributeGroup ref="ns1:att.internetMedia.attribute.mimeType"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.internetMedia.attribute.mimeType">
    <xs:attribute name="mimeType">
      <xs:annotation>
        <xs:documentation>(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attributes">
    <xs:attributeGroup ref="ns1:att.internetMedia.attributes"/>
    <xs:attributeGroup ref="ns1:att.media.attribute.width"/>
    <xs:attributeGroup ref="ns1:att.media.attribute.height"/>
    <xs:attributeGroup ref="ns1:att.media.attribute.scale"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attribute.width">
    <xs:attribute name="width" type="ns1:data.outputMeasurement">
      <xs:annotation>
        <xs:documentation>Where the media are displayed, indicates the display width</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attribute.height">
    <xs:attribute name="height" type="ns1:data.outputMeasurement">
      <xs:annotation>
        <xs:documentation>Where the media are displayed, indicates the display height</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.media.attribute.scale">
    <xs:attribute name="scale" type="ns1:data.numeric">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.resourced.attributes">
    <xs:attributeGroup ref="ns1:att.resourced.attribute.url"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.resourced.attribute.url">
    <xs:attribute name="url" use="required" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>(uniform resource locator) specifies the URL from which the media concerned may be obtained.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.interpLike.attributes">
    <xs:attributeGroup ref="ns1:att.source.attributes"/>
    <xs:attributeGroup ref="ns1:att.interpLike.attribute.type"/>
    <xs:attributeGroup ref="ns1:att.interpLike.attribute.inst"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.interpLike.attribute.type">
    <xs:attribute name="type" type="ns1:data.enumerated">
      <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: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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attributes">
    <xs:attributeGroup ref="ns1:att.measurement.attribute.unit"/>
    <xs:attributeGroup ref="ns1:att.measurement.attribute.quantity"/>
    <xs:attributeGroup ref="ns1:att.measurement.attribute.commodity"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.unit">
    <xs:attribute name="unit">
      <xs:annotation>
        <xs:documentation>indicates the units used for the measurement, usually using the standard symbol for the desired units.
Suggested values include: 1] m(metre) ; 2] kg(kilogram) ; 3] s(second) ; 4] Hz(hertz) ; 5] Pa(pascal) ; 6] Ω(ohm) ; 7] L(litre) ; 8] t(tonne) ; 9] ha(hectare) ; 10] Å(ångström) ; 11] mL(millilitre) ; 12] cm(centimetre) ; 13] dB(decibel) ; 14] kbit(kilobit) ; 15] Kibit(kibibit) ; 16] kB(kilobyte) ; 17] KiB(kibibyte) ; 18] MB(megabyte) ; 19] MiB(mebibyte) </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:Name">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="m">
                <xs:annotation>
                  <xs:documentation>(metre) SI base unit of length</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="kg">
                <xs:annotation>
                  <xs:documentation>(kilogram) SI base unit of mass</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="s">
                <xs:annotation>
                  <xs:documentation>(second) SI base unit of time</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Hz">
                <xs:annotation>
                  <xs:documentation>(hertz) SI unit of frequency</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Pa">
                <xs:annotation>
                  <xs:documentation>(pascal) SI unit of pressure or stress</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Ω">
                <xs:annotation>
                  <xs:documentation>(ohm) SI unit of electric resistance</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="L">
                <xs:annotation>
                  <xs:documentation>(litre) 1 dm³</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="t">
                <xs:annotation>
                  <xs:documentation>(tonne) 10³ kg</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="ha">
                <xs:annotation>
                  <xs:documentation>(hectare) 1 hm²</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Å">
                <xs:annotation>
                  <xs:documentation>(ångström) 10⁻¹⁰ m</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="mL">
                <xs:annotation>
                  <xs:documentation>(millilitre) </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="cm">
                <xs:annotation>
                  <xs:documentation>(centimetre) </xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="dB">
                <xs:annotation>
                  <xs:documentation>(decibel) see remarks, below</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="kbit">
                <xs:annotation>
                  <xs:documentation>(kilobit) 10³ or 1000 bits</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="Kibit">
                <xs:annotation>
                  <xs:documentation>(kibibit) 2¹⁰ or 1024 bits</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="kB">
                <xs:annotation>
                  <xs:documentation>(kilobyte) 10³ or 1000 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="KiB">
                <xs:annotation>
                  <xs:documentation>(kibibyte) 2¹⁰ or 1024 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="MB">
                <xs:annotation>
                  <xs:documentation>(megabyte) 10⁶ or 1 000 000 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="MiB">
                <xs:annotation>
                  <xs:documentation>(mebibyte) 2²⁰ or 1 048 576 bytes</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.quantity">
    <xs:attribute name="quantity" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>specifies the number of the specified units that comprise the measurement</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.measurement.attribute.commodity">
    <xs:attribute name="commodity">
      <xs:annotation>
        <xs:documentation>indicates the substance that is being measured</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.naming.attributes">
    <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
    <xs:attributeGroup ref="ns1:att.naming.attribute.role"/>
    <xs:attributeGroup ref="ns1: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 itemType="ns1:data.enumerated"/>
          </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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.placement.attributes">
    <xs:attributeGroup ref="ns1: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] below; 2] bottom; 3] margin; 4] top; 5] opposite; 6] overleaf; 7] above; 8] end; 9] inline; 10] inspace</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union memberTypes="xs:Name">
                  <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="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="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="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="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:union>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.typed.attributes">
    <xs:attributeGroup ref="ns1:att.typed.attribute.type"/>
    <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.typed.attribute.type">
    <xs:attribute name="type" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>characterizes the element in some sense, using any convenient classification scheme or typology.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.typed.attribute.subtype">
    <xs:attribute name="subtype" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>provides a sub-categorization of the element, if needed</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attributes">
    <xs:attributeGroup ref="ns1:att.pointing.attribute.targetLang"/>
    <xs:attributeGroup ref="ns1:att.pointing.attribute.target"/>
    <xs:attributeGroup ref="ns1:att.pointing.attribute.evaluate"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attribute.targetLang">
    <xs:attribute name="targetLang" type="ns1:data.language">
      <xs:annotation>
        <xs:documentation>specifies the language of the content to be found at the destination referenced by target, using a language tag generated according to BCP 47.</xs:documentation>
      </xs:annotation>
    </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 itemType="ns1:data.pointer"/>
          </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>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.pointing.group.attributes">
    <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
    <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    <xs:attributeGroup ref="ns1:att.pointing.group.attribute.domains"/>
    <xs:attributeGroup ref="ns1:att.pointing.group.attribute.targFunc"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.group.attribute.domains">
    <xs:attribute name="domains">
      <xs:annotation>
        <xs:documentation>optionally specifies the identifiers of the elements within which all elements indicated by the contents of this element lie.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union memberTypes="ns1:data.pointer ns1:data.pointer ns1:data.pointer"/>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="2"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.group.attribute.targFunc">
    <xs:attribute name="targFunc">
      <xs:annotation>
        <xs:documentation>(target function) describes the function of each of the values of the target attribute of the enclosed link, join, or alt tags.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union memberTypes="ns1:data.word ns1:data.word ns1:data.word"/>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="2"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.readFrom.attributes">
    <xs:attributeGroup ref="ns1:att.readFrom.attribute.source"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.readFrom.attribute.source">
    <xs:attribute name="source" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>specifies the source from which declarations and definitions for the components of the object being defined may be obtained.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scoping.attributes">
    <xs:attributeGroup ref="ns1:att.scoping.attribute.target"/>
    <xs:attributeGroup ref="ns1:att.scoping.attribute.match"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scoping.attribute.target">
    <xs:attribute name="target">
      <xs:annotation>
        <xs:documentation>points at one or several elements or sets of elements by means of one or more data pointers, using the URI syntax.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scoping.attribute.match">
    <xs:attribute name="match">
      <xs:annotation>
        <xs:documentation>supplies an arbitrary XPath expression using the syntax defined in  which identifies a set of nodes, selected within the context identified by the target attribute if this is supplied, or within the context of the element bearing this attribute if it is not.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.segLike.attributes">
    <xs:attributeGroup ref="ns1:att.metrical.attributes"/>
    <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
    <xs:attributeGroup ref="ns1:att.fragmentable.attributes"/>
    <xs:attributeGroup ref="ns1:att.segLike.attribute.function"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.segLike.attribute.function">
    <xs:attribute name="function" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>characterizes the function of the segment.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.sortable.attributes">
    <xs:attributeGroup ref="ns1:att.sortable.attribute.sortKey"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.sortable.attribute.sortKey">
    <xs:attribute name="sortKey" type="ns1:data.word">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.edition.attributes">
    <xs:attributeGroup ref="ns1:att.edition.attribute.ed"/>
    <xs:attributeGroup ref="ns1: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 break) occurs at this point in the text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </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 break) occurs at this point in the text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.spanning.attributes">
    <xs:attributeGroup ref="ns1:att.spanning.attribute.spanTo"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.spanning.attribute.spanTo">
    <xs:attribute name="spanTo" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the end of a span initiated by the element bearing this attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.styleDef.attributes">
    <xs:attributeGroup ref="ns1:att.styleDef.attribute.scheme"/>
    <xs:attributeGroup ref="ns1:att.styleDef.attribute.schemeVersion"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.styleDef.attribute.scheme">
    <xs:attribute name="scheme">
      <xs:annotation>
        <xs:documentation>identifies the language used to describe the rendition.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="css">
            <xs:annotation>
              <xs:documentation>Cascading Stylesheet Language</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="xslfo">
            <xs:annotation>
              <xs:documentation>Extensible Stylesheet Language Formatting Objects</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="free">
            <xs:annotation>
              <xs:documentation>Informal free text description</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="other">
            <xs:annotation>
              <xs:documentation>A user-defined rendition description language</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.styleDef.attribute.schemeVersion">
    <xs:attribute name="schemeVersion" type="ns1:data.versionNumber">
      <xs:annotation>
        <xs:documentation>supplies a version number for the style language provided in scheme.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.tableDecoration.attributes">
    <xs:attributeGroup ref="ns1:att.tableDecoration.attribute.role"/>
    <xs:attributeGroup ref="ns1:att.tableDecoration.attribute.rows"/>
    <xs:attributeGroup ref="ns1:att.tableDecoration.attribute.cols"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.tableDecoration.attribute.role">
    <xs:attribute name="role" default="data">
      <xs:annotation>
        <xs:documentation>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 memberTypes="xs:Name">
          <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:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.tableDecoration.attribute.rows">
    <xs:attribute name="rows" default="1" type="ns1:data.count">
      <xs:annotation>
        <xs:documentation>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="ns1:data.count">
      <xs:annotation>
        <xs:documentation>(columns) indicates the number of columns occupied by this cell or row.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.timed.attributes">
    <xs:attributeGroup ref="ns1:att.duration.attributes"/>
    <xs:attributeGroup ref="ns1:att.timed.attribute.start"/>
    <xs:attributeGroup ref="ns1:att.timed.attribute.end"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.timed.attribute.start">
    <xs:attribute name="start" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the location within a temporal alignment at which this element begins.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.timed.attribute.end">
    <xs:attribute name="end" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the location within a temporal alignment at which this element ends.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attributes">
    <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
    <xs:attributeGroup ref="ns1:att.transcriptional.attribute.hand"/>
    <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
    <xs:attributeGroup ref="ns1:att.transcriptional.attribute.cause"/>
    <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attribute.hand">
    <xs:attribute name="hand" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the hand of the agent which made the intervention.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attribute.status">
    <xs:attribute name="status" default="unremarkable" type="ns1:data.enumerated">
      <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: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:enumeration value="fix">
            <xs:annotation>
              <xs:documentation>repeated for the purpose of fixation</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="unclear">
            <xs:annotation>
              <xs:documentation>repeated to clarify a previously illegible or badly written text or mark</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.transcriptional.attribute.seq">
    <xs:attribute name="seq" type="ns1:data.count">
      <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.translatable.attributes">
    <xs:attributeGroup ref="ns1:att.translatable.attribute.versionDate"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.translatable.attribute.versionDate">
    <xs:attribute name="versionDate" type="ns1:data.temporal.w3c">
      <xs:annotation>
        <xs:documentation>specifies the date on which the source text was extracted and sent to the translator</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attributes">
    <xs:attributeGroup ref="ns1:att.citing.attribute.unit"/>
    <xs:attributeGroup ref="ns1:att.citing.attribute.from"/>
    <xs:attributeGroup ref="ns1: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, e.g. columns, pages, volume.
Suggested values include: 1] volume; 2] issue; 3] page; 4] line; 5] chapter; 6] part; 7] column</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:Name">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="volume">
                <xs:annotation>
                  <xs:documentation>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>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>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:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attribute.from">
    <xs:attribute name="from" type="ns1:data.word">
      <xs:annotation>
        <xs:documentation>specifies the starting point of the range of units indicated by the unit attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.citing.attribute.to">
    <xs:attribute name="to" type="ns1:data.word">
      <xs:annotation>
        <xs:documentation>specifies the end-point of the range of units indicated by the unit attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.nameLike.agent">
    <xs:choice>
      <xs:element ref="ns1:name"/>
      <xs:element ref="ns1:orgName"/>
      <xs:element ref="ns1:persName"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike.agent_alternation">
    <xs:choice>
      <xs:element ref="ns1:name"/>
      <xs:element ref="ns1:orgName"/>
      <xs:element ref="ns1:persName"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequence">
    <xs:sequence>
      <xs:element ref="ns1:name"/>
      <xs:element ref="ns1:orgName"/>
      <xs:element ref="ns1:persName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:name"/>
      <xs:element minOccurs="0" ref="ns1:orgName"/>
      <xs:element minOccurs="0" ref="ns1:persName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:name"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:orgName"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:persName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike.agent_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:name"/>
      <xs:element maxOccurs="unbounded" ref="ns1:orgName"/>
      <xs:element maxOccurs="unbounded" ref="ns1:persName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.segLike">
    <xs:choice>
      <xs:element ref="ns1:s"/>
      <xs:element ref="ns1:cl"/>
      <xs:element ref="ns1:phr"/>
      <xs:element ref="ns1:w"/>
      <xs:element ref="ns1:m"/>
      <xs:element ref="ns1:c"/>
      <xs:element ref="ns1:pc"/>
      <xs:element ref="ns1:seg"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.hiLike">
    <xs:sequence>
      <xs:element ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_alternation">
    <xs:sequence>
      <xs:element ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike">
    <xs:choice>
      <xs:element ref="ns1:foreign"/>
      <xs:element ref="ns1:emph"/>
      <xs:element ref="ns1:distinct"/>
      <xs:element ref="ns1:mentioned"/>
      <xs:element ref="ns1:soCalled"/>
      <xs:element ref="ns1:gloss"/>
      <xs:element ref="ns1:term"/>
      <xs:element ref="ns1:title"/>
      <xs:element ref="ns1:code"/>
      <xs:element ref="ns1:ident"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.emphLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:foreign"/>
      <xs:element ref="ns1:emph"/>
      <xs:element ref="ns1:distinct"/>
      <xs:element ref="ns1:mentioned"/>
      <xs:element ref="ns1:soCalled"/>
      <xs:element ref="ns1:gloss"/>
      <xs:element ref="ns1:term"/>
      <xs:element ref="ns1:title"/>
      <xs:element ref="ns1:code"/>
      <xs:element ref="ns1:ident"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.emphLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:foreign"/>
      <xs:element ref="ns1:emph"/>
      <xs:element ref="ns1:distinct"/>
      <xs:element ref="ns1:mentioned"/>
      <xs:element ref="ns1:soCalled"/>
      <xs:element ref="ns1:gloss"/>
      <xs:element ref="ns1:term"/>
      <xs:element ref="ns1:title"/>
      <xs:element ref="ns1:code"/>
      <xs:element ref="ns1:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:foreign"/>
      <xs:element minOccurs="0" ref="ns1:emph"/>
      <xs:element minOccurs="0" ref="ns1:distinct"/>
      <xs:element minOccurs="0" ref="ns1:mentioned"/>
      <xs:element minOccurs="0" ref="ns1:soCalled"/>
      <xs:element minOccurs="0" ref="ns1:gloss"/>
      <xs:element minOccurs="0" ref="ns1:term"/>
      <xs:element minOccurs="0" ref="ns1:title"/>
      <xs:element minOccurs="0" ref="ns1:code"/>
      <xs:element minOccurs="0" ref="ns1:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:foreign"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:emph"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:distinct"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mentioned"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:soCalled"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:gloss"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:term"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:title"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:code"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:foreign"/>
      <xs:element maxOccurs="unbounded" ref="ns1:emph"/>
      <xs:element maxOccurs="unbounded" ref="ns1:distinct"/>
      <xs:element maxOccurs="unbounded" ref="ns1:mentioned"/>
      <xs:element maxOccurs="unbounded" ref="ns1:soCalled"/>
      <xs:element maxOccurs="unbounded" ref="ns1:gloss"/>
      <xs:element maxOccurs="unbounded" ref="ns1:term"/>
      <xs:element maxOccurs="unbounded" ref="ns1:title"/>
      <xs:element maxOccurs="unbounded" ref="ns1:code"/>
      <xs:element maxOccurs="unbounded" ref="ns1:ident"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.highlighted">
    <xs:choice>
      <xs:group ref="ns1:model.hiLike"/>
      <xs:group ref="ns1:model.emphLike"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.dateLike">
    <xs:choice>
      <xs:element ref="ns1:date"/>
      <xs:element ref="ns1:time"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.dateLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:date"/>
      <xs:element ref="ns1:time"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.dateLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:date"/>
      <xs:element ref="ns1:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:date"/>
      <xs:element minOccurs="0" ref="ns1:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:date"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dateLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:date"/>
      <xs:element maxOccurs="unbounded" ref="ns1:time"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.dimLike">
    <xs:choice>
      <xs:element ref="ns1:height"/>
      <xs:element ref="ns1:depth"/>
      <xs:element ref="ns1:width"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.measureLike">
    <xs:choice>
      <xs:element ref="ns1:num"/>
      <xs:element ref="ns1:measure"/>
      <xs:element ref="ns1:measureGrp"/>
      <xs:element ref="ns1:dim"/>
      <xs:element ref="ns1:height"/>
      <xs:element ref="ns1:depth"/>
      <xs:element ref="ns1:width"/>
      <xs:element ref="ns1:geo"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.measureLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:num"/>
      <xs:element ref="ns1:measure"/>
      <xs:element ref="ns1:measureGrp"/>
      <xs:element ref="ns1:dim"/>
      <xs:element ref="ns1:height"/>
      <xs:element ref="ns1:depth"/>
      <xs:element ref="ns1:width"/>
      <xs:element ref="ns1:geo"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.measureLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:num"/>
      <xs:element ref="ns1:measure"/>
      <xs:element ref="ns1:measureGrp"/>
      <xs:element ref="ns1:dim"/>
      <xs:element ref="ns1:height"/>
      <xs:element ref="ns1:depth"/>
      <xs:element ref="ns1:width"/>
      <xs:element ref="ns1:geo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:num"/>
      <xs:element minOccurs="0" ref="ns1:measure"/>
      <xs:element minOccurs="0" ref="ns1:measureGrp"/>
      <xs:element minOccurs="0" ref="ns1:dim"/>
      <xs:element minOccurs="0" ref="ns1:height"/>
      <xs:element minOccurs="0" ref="ns1:depth"/>
      <xs:element minOccurs="0" ref="ns1:width"/>
      <xs:element minOccurs="0" ref="ns1:geo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:num"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:measure"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:measureGrp"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:dim"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:height"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:depth"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:width"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:geo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.measureLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:num"/>
      <xs:element maxOccurs="unbounded" ref="ns1:measure"/>
      <xs:element maxOccurs="unbounded" ref="ns1:measureGrp"/>
      <xs:element maxOccurs="unbounded" ref="ns1:dim"/>
      <xs:element maxOccurs="unbounded" ref="ns1:height"/>
      <xs:element maxOccurs="unbounded" ref="ns1:depth"/>
      <xs:element maxOccurs="unbounded" ref="ns1:width"/>
      <xs:element maxOccurs="unbounded" ref="ns1:geo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike">
    <xs:choice>
      <xs:element ref="ns1:eg"/>
      <xs:element ref="examples:egXML"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.egLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:eg"/>
      <xs:element ref="examples:egXML"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.egLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:eg"/>
      <xs:element ref="examples:egXML"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:eg"/>
      <xs:element minOccurs="0" ref="examples:egXML"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:eg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="examples:egXML"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.egLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:eg"/>
      <xs:element maxOccurs="unbounded" ref="examples:egXML"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.graphicLike">
    <xs:choice>
      <xs:element ref="ns1:media"/>
      <xs:element ref="ns1:graphic"/>
      <xs:element ref="ns1:binaryObject"/>
      <xs:element ref="ns1:formula"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.offsetLike">
    <xs:choice>
      <xs:element ref="ns1:offset"/>
      <xs:element ref="ns1:geogFeat"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.offsetLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:offset"/>
      <xs:element ref="ns1:geogFeat"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.offsetLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:offset"/>
      <xs:element ref="ns1:geogFeat"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.offsetLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:offset"/>
      <xs:element minOccurs="0" ref="ns1:geogFeat"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.offsetLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:offset"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:geogFeat"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.offsetLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:offset"/>
      <xs:element maxOccurs="unbounded" ref="ns1:geogFeat"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.msdesc">
    <xs:choice>
      <xs:element ref="ns1:catchwords"/>
      <xs:element ref="ns1:dimensions"/>
      <xs:element ref="ns1:heraldry"/>
      <xs:element ref="ns1:locus"/>
      <xs:element ref="ns1:locusGrp"/>
      <xs:element ref="ns1:material"/>
      <xs:element ref="ns1:objectType"/>
      <xs:element ref="ns1:origDate"/>
      <xs:element ref="ns1:origPlace"/>
      <xs:element ref="ns1:secFol"/>
      <xs:element ref="ns1:signatures"/>
      <xs:element ref="ns1:stamp"/>
      <xs:element ref="ns1:watermark"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial">
    <xs:choice>
      <xs:element ref="ns1:choice"/>
      <xs:element ref="ns1:abbr"/>
      <xs:element ref="ns1:expan"/>
      <xs:element ref="ns1:ex"/>
      <xs:element ref="ns1:am"/>
      <xs:element ref="ns1:subst"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial_alternation">
    <xs:choice>
      <xs:element ref="ns1:choice"/>
      <xs:element ref="ns1:abbr"/>
      <xs:element ref="ns1:expan"/>
      <xs:element ref="ns1:ex"/>
      <xs:element ref="ns1:am"/>
      <xs:element ref="ns1:subst"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequence">
    <xs:sequence>
      <xs:element ref="ns1:choice"/>
      <xs:element ref="ns1:abbr"/>
      <xs:element ref="ns1:expan"/>
      <xs:element ref="ns1:ex"/>
      <xs:element ref="ns1:am"/>
      <xs:element ref="ns1:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:choice"/>
      <xs:element minOccurs="0" ref="ns1:abbr"/>
      <xs:element minOccurs="0" ref="ns1:expan"/>
      <xs:element minOccurs="0" ref="ns1:ex"/>
      <xs:element minOccurs="0" ref="ns1:am"/>
      <xs:element minOccurs="0" ref="ns1:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:choice"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:abbr"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:expan"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:ex"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:am"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.editorial_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:choice"/>
      <xs:element maxOccurs="unbounded" ref="ns1:abbr"/>
      <xs:element maxOccurs="unbounded" ref="ns1:expan"/>
      <xs:element maxOccurs="unbounded" ref="ns1:ex"/>
      <xs:element maxOccurs="unbounded" ref="ns1:am"/>
      <xs:element maxOccurs="unbounded" ref="ns1:subst"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional">
    <xs:choice>
      <xs:element ref="ns1:sic"/>
      <xs:element ref="ns1:corr"/>
      <xs:element ref="ns1:reg"/>
      <xs:element ref="ns1:orig"/>
      <xs:element ref="ns1:add"/>
      <xs:element ref="ns1:del"/>
      <xs:element ref="ns1:unclear"/>
      <xs:element ref="ns1:damage"/>
      <xs:element ref="ns1:handShift"/>
      <xs:element ref="ns1:restore"/>
      <xs:element ref="ns1:supplied"/>
      <xs:element ref="ns1:surplus"/>
      <xs:element ref="ns1:secl"/>
      <xs:element ref="ns1:mod"/>
      <xs:element ref="ns1:redo"/>
      <xs:element ref="ns1:retrace"/>
      <xs:element ref="ns1:undo"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_alternation">
    <xs:choice>
      <xs:element ref="ns1:sic"/>
      <xs:element ref="ns1:corr"/>
      <xs:element ref="ns1:reg"/>
      <xs:element ref="ns1:orig"/>
      <xs:element ref="ns1:add"/>
      <xs:element ref="ns1:del"/>
      <xs:element ref="ns1:unclear"/>
      <xs:element ref="ns1:damage"/>
      <xs:element ref="ns1:handShift"/>
      <xs:element ref="ns1:restore"/>
      <xs:element ref="ns1:supplied"/>
      <xs:element ref="ns1:surplus"/>
      <xs:element ref="ns1:secl"/>
      <xs:element ref="ns1:mod"/>
      <xs:element ref="ns1:redo"/>
      <xs:element ref="ns1:retrace"/>
      <xs:element ref="ns1:undo"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequence">
    <xs:sequence>
      <xs:element ref="ns1:sic"/>
      <xs:element ref="ns1:corr"/>
      <xs:element ref="ns1:reg"/>
      <xs:element ref="ns1:orig"/>
      <xs:element ref="ns1:add"/>
      <xs:element ref="ns1:del"/>
      <xs:element ref="ns1:unclear"/>
      <xs:element ref="ns1:damage"/>
      <xs:element ref="ns1:handShift"/>
      <xs:element ref="ns1:restore"/>
      <xs:element ref="ns1:supplied"/>
      <xs:element ref="ns1:surplus"/>
      <xs:element ref="ns1:secl"/>
      <xs:element ref="ns1:mod"/>
      <xs:element ref="ns1:redo"/>
      <xs:element ref="ns1:retrace"/>
      <xs:element ref="ns1:undo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:sic"/>
      <xs:element minOccurs="0" ref="ns1:corr"/>
      <xs:element minOccurs="0" ref="ns1:reg"/>
      <xs:element minOccurs="0" ref="ns1:orig"/>
      <xs:element minOccurs="0" ref="ns1:add"/>
      <xs:element minOccurs="0" ref="ns1:del"/>
      <xs:element minOccurs="0" ref="ns1:unclear"/>
      <xs:element minOccurs="0" ref="ns1:damage"/>
      <xs:element minOccurs="0" ref="ns1:handShift"/>
      <xs:element minOccurs="0" ref="ns1:restore"/>
      <xs:element minOccurs="0" ref="ns1:supplied"/>
      <xs:element minOccurs="0" ref="ns1:surplus"/>
      <xs:element minOccurs="0" ref="ns1:secl"/>
      <xs:element minOccurs="0" ref="ns1:mod"/>
      <xs:element minOccurs="0" ref="ns1:redo"/>
      <xs:element minOccurs="0" ref="ns1:retrace"/>
      <xs:element minOccurs="0" ref="ns1:undo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:sic"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:corr"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:reg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:orig"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:add"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:del"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:unclear"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:damage"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:handShift"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:restore"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:supplied"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:surplus"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:secl"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mod"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:redo"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:retrace"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:undo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.transcriptional_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:sic"/>
      <xs:element maxOccurs="unbounded" ref="ns1:corr"/>
      <xs:element maxOccurs="unbounded" ref="ns1:reg"/>
      <xs:element maxOccurs="unbounded" ref="ns1:orig"/>
      <xs:element maxOccurs="unbounded" ref="ns1:add"/>
      <xs:element maxOccurs="unbounded" ref="ns1:del"/>
      <xs:element maxOccurs="unbounded" ref="ns1:unclear"/>
      <xs:element maxOccurs="unbounded" ref="ns1:damage"/>
      <xs:element maxOccurs="unbounded" ref="ns1:handShift"/>
      <xs:element maxOccurs="unbounded" ref="ns1:restore"/>
      <xs:element maxOccurs="unbounded" ref="ns1:supplied"/>
      <xs:element maxOccurs="unbounded" ref="ns1:surplus"/>
      <xs:element maxOccurs="unbounded" ref="ns1:secl"/>
      <xs:element maxOccurs="unbounded" ref="ns1:mod"/>
      <xs:element maxOccurs="unbounded" ref="ns1:redo"/>
      <xs:element maxOccurs="unbounded" ref="ns1:retrace"/>
      <xs:element maxOccurs="unbounded" ref="ns1:undo"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pPart.edit">
    <xs:choice>
      <xs:group ref="ns1:model.pPart.editorial"/>
      <xs:group ref="ns1:model.pPart.transcriptional"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.linePart">
    <xs:choice>
      <xs:group ref="ns1:model.segLike"/>
      <xs:group ref="ns1:model.hiLike"/>
      <xs:group ref="ns1:model.pPart.transcriptional"/>
      <xs:element ref="ns1:choice"/>
      <xs:element ref="ns1:zone"/>
      <xs:element ref="ns1:line"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.ptrLike">
    <xs:choice>
      <xs:element ref="ns1:ptr"/>
      <xs:element ref="ns1:ref"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.lPart">
    <xs:choice>
      <xs:element ref="ns1:caesura"/>
      <xs:element ref="ns1:rhyme"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.global.meta">
    <xs:choice>
      <xs:element ref="ns1:index"/>
      <xs:element ref="ns1:span"/>
      <xs:element ref="ns1:spanGrp"/>
      <xs:element ref="ns1:interp"/>
      <xs:element ref="ns1:interpGrp"/>
      <xs:element ref="ns1:precision"/>
      <xs:element ref="ns1:certainty"/>
      <xs:element ref="ns1:respons"/>
      <xs:element ref="ns1:fs"/>
      <xs:element ref="ns1:fLib"/>
      <xs:element ref="ns1:fvLib"/>
      <xs:element ref="ns1:link"/>
      <xs:element ref="ns1:linkGrp"/>
      <xs:element ref="ns1:timeline"/>
      <xs:element ref="ns1:join"/>
      <xs:element ref="ns1:joinGrp"/>
      <xs:element ref="ns1:alt"/>
      <xs:element ref="ns1:altGrp"/>
      <xs:element ref="ns1:substJoin"/>
      <xs:element ref="ns1:listTranspose"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.milestoneLike">
    <xs:choice>
      <xs:element ref="ns1:milestone"/>
      <xs:element ref="ns1:gb"/>
      <xs:element ref="ns1:pb"/>
      <xs:element ref="ns1:lb"/>
      <xs:element ref="ns1:cb"/>
      <xs:element ref="ns1:anchor"/>
      <xs:element ref="ns1:fw"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.gLike">
    <xs:sequence>
      <xs:element ref="ns1:g"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.oddDecl">
    <xs:choice>
      <xs:element ref="ns1:moduleSpec"/>
      <xs:element ref="ns1:specGrp"/>
      <xs:element ref="ns1:specGrpRef"/>
      <xs:element ref="ns1:elementSpec"/>
      <xs:element ref="ns1:classSpec"/>
      <xs:element ref="ns1:macroSpec"/>
      <xs:element ref="ns1:listRef"/>
      <xs:element ref="ns1:constraintSpec"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.oddDecl_alternation">
    <xs:choice>
      <xs:element ref="ns1:moduleSpec"/>
      <xs:element ref="ns1:specGrp"/>
      <xs:element ref="ns1:specGrpRef"/>
      <xs:element ref="ns1:elementSpec"/>
      <xs:element ref="ns1:classSpec"/>
      <xs:element ref="ns1:macroSpec"/>
      <xs:element ref="ns1:listRef"/>
      <xs:element ref="ns1:constraintSpec"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.oddDecl_sequence">
    <xs:sequence>
      <xs:element ref="ns1:moduleSpec"/>
      <xs:element ref="ns1:specGrp"/>
      <xs:element ref="ns1:specGrpRef"/>
      <xs:element ref="ns1:elementSpec"/>
      <xs:element ref="ns1:classSpec"/>
      <xs:element ref="ns1:macroSpec"/>
      <xs:element ref="ns1:listRef"/>
      <xs:element ref="ns1:constraintSpec"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.oddDecl_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:moduleSpec"/>
      <xs:element minOccurs="0" ref="ns1:specGrp"/>
      <xs:element minOccurs="0" ref="ns1:specGrpRef"/>
      <xs:element minOccurs="0" ref="ns1:elementSpec"/>
      <xs:element minOccurs="0" ref="ns1:classSpec"/>
      <xs:element minOccurs="0" ref="ns1:macroSpec"/>
      <xs:element minOccurs="0" ref="ns1:listRef"/>
      <xs:element minOccurs="0" ref="ns1:constraintSpec"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.oddDecl_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:moduleSpec"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:specGrp"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:specGrpRef"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:elementSpec"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:classSpec"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:macroSpec"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listRef"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:constraintSpec"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.oddDecl_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:moduleSpec"/>
      <xs:element maxOccurs="unbounded" ref="ns1:specGrp"/>
      <xs:element maxOccurs="unbounded" ref="ns1:specGrpRef"/>
      <xs:element maxOccurs="unbounded" ref="ns1:elementSpec"/>
      <xs:element maxOccurs="unbounded" ref="ns1:classSpec"/>
      <xs:element maxOccurs="unbounded" ref="ns1:macroSpec"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listRef"/>
      <xs:element maxOccurs="unbounded" ref="ns1:constraintSpec"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.oddRef">
    <xs:choice>
      <xs:element ref="ns1:classRef"/>
      <xs:element ref="ns1:elementRef"/>
      <xs:element ref="ns1:macroRef"/>
      <xs:element ref="ns1:moduleRef"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.phrase.xml">
    <xs:choice>
      <xs:element ref="ns1:att"/>
      <xs:element ref="ns1:gi"/>
      <xs:element ref="ns1:tag"/>
      <xs:element ref="ns1:val"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.specDescLike">
    <xs:choice>
      <xs:element ref="ns1:specList"/>
      <xs:element ref="ns1:specDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblLike">
    <xs:choice>
      <xs:element ref="ns1:bibl"/>
      <xs:element ref="ns1:biblStruct"/>
      <xs:element ref="ns1:listBibl"/>
      <xs:element ref="ns1:biblFull"/>
      <xs:element ref="ns1:msDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:bibl"/>
      <xs:element ref="ns1:biblStruct"/>
      <xs:element ref="ns1:listBibl"/>
      <xs:element ref="ns1:biblFull"/>
      <xs:element ref="ns1:msDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:bibl"/>
      <xs:element ref="ns1:biblStruct"/>
      <xs:element ref="ns1:listBibl"/>
      <xs:element ref="ns1:biblFull"/>
      <xs:element ref="ns1:msDesc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:bibl"/>
      <xs:element minOccurs="0" ref="ns1:biblStruct"/>
      <xs:element minOccurs="0" ref="ns1:listBibl"/>
      <xs:element minOccurs="0" ref="ns1:biblFull"/>
      <xs:element minOccurs="0" ref="ns1:msDesc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:bibl"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:biblStruct"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listBibl"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:biblFull"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:msDesc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.biblLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:bibl"/>
      <xs:element maxOccurs="unbounded" ref="ns1:biblStruct"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listBibl"/>
      <xs:element maxOccurs="unbounded" ref="ns1:biblFull"/>
      <xs:element maxOccurs="unbounded" ref="ns1:msDesc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike">
    <xs:sequence>
      <xs:element ref="ns1:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_alternation">
    <xs:sequence>
      <xs:element ref="ns1:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.headLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:head"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike">
    <xs:choice>
      <xs:element ref="ns1:desc"/>
      <xs:element ref="ns1:label"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.labelLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:desc"/>
      <xs:element ref="ns1:label"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.labelLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:desc"/>
      <xs:element ref="ns1:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:desc"/>
      <xs:element minOccurs="0" ref="ns1:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:desc"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.labelLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:desc"/>
      <xs:element maxOccurs="unbounded" ref="ns1:label"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike">
    <xs:choice>
      <xs:element ref="ns1:list"/>
      <xs:element ref="ns1:table"/>
      <xs:element ref="ns1:listOrg"/>
      <xs:element ref="ns1:listEvent"/>
      <xs:element ref="ns1:listPerson"/>
      <xs:element ref="ns1:listPlace"/>
      <xs:element ref="ns1:listNym"/>
      <xs:element ref="ns1:listApp"/>
      <xs:element ref="ns1:listWit"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.listLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:list"/>
      <xs:element ref="ns1:table"/>
      <xs:element ref="ns1:listOrg"/>
      <xs:element ref="ns1:listEvent"/>
      <xs:element ref="ns1:listPerson"/>
      <xs:element ref="ns1:listPlace"/>
      <xs:element ref="ns1:listNym"/>
      <xs:element ref="ns1:listApp"/>
      <xs:element ref="ns1:listWit"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.listLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:list"/>
      <xs:element ref="ns1:table"/>
      <xs:element ref="ns1:listOrg"/>
      <xs:element ref="ns1:listEvent"/>
      <xs:element ref="ns1:listPerson"/>
      <xs:element ref="ns1:listPlace"/>
      <xs:element ref="ns1:listNym"/>
      <xs:element ref="ns1:listApp"/>
      <xs:element ref="ns1:listWit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:list"/>
      <xs:element minOccurs="0" ref="ns1:table"/>
      <xs:element minOccurs="0" ref="ns1:listOrg"/>
      <xs:element minOccurs="0" ref="ns1:listEvent"/>
      <xs:element minOccurs="0" ref="ns1:listPerson"/>
      <xs:element minOccurs="0" ref="ns1:listPlace"/>
      <xs:element minOccurs="0" ref="ns1:listNym"/>
      <xs:element minOccurs="0" ref="ns1:listApp"/>
      <xs:element minOccurs="0" ref="ns1:listWit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:list"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:table"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listOrg"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listEvent"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listPerson"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listPlace"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listNym"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listApp"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listWit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.listLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:list"/>
      <xs:element maxOccurs="unbounded" ref="ns1:table"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listOrg"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listEvent"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listPerson"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listPlace"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listNym"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listApp"/>
      <xs:element maxOccurs="unbounded" ref="ns1:listWit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.noteLike">
    <xs:choice>
      <xs:element ref="ns1:note"/>
      <xs:element ref="ns1:witDetail"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.lLike">
    <xs:sequence>
      <xs:element ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_alternation">
    <xs:sequence>
      <xs:element ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike">
    <xs:choice>
      <xs:element ref="ns1:p"/>
      <xs:element ref="ns1:ab"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:p"/>
      <xs:element ref="ns1:ab"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:p"/>
      <xs:element ref="ns1:ab"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:p"/>
      <xs:element minOccurs="0" ref="ns1:ab"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:p"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:ab"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:p"/>
      <xs:element maxOccurs="unbounded" ref="ns1:ab"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike">
    <xs:choice>
      <xs:element ref="ns1:stage"/>
      <xs:element ref="ns1:move"/>
      <xs:element ref="ns1:view"/>
      <xs:element ref="ns1:camera"/>
      <xs:element ref="ns1:sound"/>
      <xs:element ref="ns1:caption"/>
      <xs:element ref="ns1:tech"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.stageLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:stage"/>
      <xs:element ref="ns1:move"/>
      <xs:element ref="ns1:view"/>
      <xs:element ref="ns1:camera"/>
      <xs:element ref="ns1:sound"/>
      <xs:element ref="ns1:caption"/>
      <xs:element ref="ns1:tech"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.stageLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:stage"/>
      <xs:element ref="ns1:move"/>
      <xs:element ref="ns1:view"/>
      <xs:element ref="ns1:camera"/>
      <xs:element ref="ns1:sound"/>
      <xs:element ref="ns1:caption"/>
      <xs:element ref="ns1:tech"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:stage"/>
      <xs:element minOccurs="0" ref="ns1:move"/>
      <xs:element minOccurs="0" ref="ns1:view"/>
      <xs:element minOccurs="0" ref="ns1:camera"/>
      <xs:element minOccurs="0" ref="ns1:sound"/>
      <xs:element minOccurs="0" ref="ns1:caption"/>
      <xs:element minOccurs="0" ref="ns1:tech"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:stage"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:move"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:view"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:camera"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:sound"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:caption"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:tech"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.stageLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:stage"/>
      <xs:element maxOccurs="unbounded" ref="ns1:move"/>
      <xs:element maxOccurs="unbounded" ref="ns1:view"/>
      <xs:element maxOccurs="unbounded" ref="ns1:camera"/>
      <xs:element maxOccurs="unbounded" ref="ns1:sound"/>
      <xs:element maxOccurs="unbounded" ref="ns1:caption"/>
      <xs:element maxOccurs="unbounded" ref="ns1:tech"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.featureVal.complex">
    <xs:choice>
      <xs:element ref="ns1:fs"/>
      <xs:element ref="ns1:vColl"/>
      <xs:element ref="ns1:vNot"/>
      <xs:element ref="ns1:vMerge"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.featureVal.single">
    <xs:choice>
      <xs:element ref="ns1:binary"/>
      <xs:element ref="ns1:symbol"/>
      <xs:element ref="ns1:numeric"/>
      <xs:element ref="ns1:string"/>
      <xs:element ref="ns1:vLabel"/>
      <xs:element ref="ns1:default"/>
      <xs:element ref="ns1:vAlt"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.entryPart">
    <xs:choice>
      <xs:element ref="ns1:superEntry"/>
      <xs:element ref="ns1:hom"/>
      <xs:element ref="ns1:sense"/>
      <xs:element ref="ns1:form"/>
      <xs:element ref="ns1:orth"/>
      <xs:element ref="ns1:pron"/>
      <xs:element ref="ns1:hyph"/>
      <xs:element ref="ns1:syll"/>
      <xs:element ref="ns1:gramGrp"/>
      <xs:element ref="ns1:pos"/>
      <xs:element ref="ns1:subc"/>
      <xs:element ref="ns1:colloc"/>
      <xs:element ref="ns1:def"/>
      <xs:element ref="ns1:etym"/>
      <xs:element ref="ns1:usg"/>
      <xs:element ref="ns1:lbl"/>
      <xs:element ref="ns1:xr"/>
      <xs:element ref="ns1:re"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.entryPart.top">
    <xs:choice>
      <xs:element ref="ns1:cit"/>
      <xs:element ref="ns1:dictScrap"/>
      <xs:element ref="ns1:form"/>
      <xs:element ref="ns1:gramGrp"/>
      <xs:element ref="ns1:def"/>
      <xs:element ref="ns1:etym"/>
      <xs:element ref="ns1:usg"/>
      <xs:element ref="ns1:xr"/>
      <xs:element ref="ns1:re"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.eventLike">
    <xs:choice>
      <xs:element ref="ns1:event"/>
      <xs:element ref="ns1:listEvent"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.global.edit">
    <xs:choice>
      <xs:element ref="ns1:gap"/>
      <xs:element ref="ns1:app"/>
      <xs:element ref="ns1:addSpan"/>
      <xs:element ref="ns1:damageSpan"/>
      <xs:element ref="ns1:delSpan"/>
      <xs:element ref="ns1:space"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divPart">
    <xs:choice>
      <xs:group ref="ns1:model.lLike"/>
      <xs:group ref="ns1:model.pLike"/>
      <xs:element ref="ns1:lg"/>
      <xs:element ref="ns1:sp"/>
      <xs:element ref="ns1:spGrp"/>
      <xs:element ref="ns1:graph"/>
      <xs:element ref="ns1:tree"/>
      <xs:element ref="ns1:eTree"/>
      <xs:element ref="ns1:forest"/>
      <xs:element ref="ns1:listForest"/>
      <xs:group ref="ns1:model.divPart.spoken"/>
      <xs:element ref="ns1:schemaSpec"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.persStateLike">
    <xs:choice>
      <xs:element ref="ns1:persName"/>
      <xs:element ref="ns1:affiliation"/>
      <xs:element ref="ns1:age"/>
      <xs:element ref="ns1:education"/>
      <xs:element ref="ns1:faith"/>
      <xs:element ref="ns1:floruit"/>
      <xs:element ref="ns1:langKnowledge"/>
      <xs:element ref="ns1:nationality"/>
      <xs:element ref="ns1:occupation"/>
      <xs:element ref="ns1:residence"/>
      <xs:element ref="ns1:sex"/>
      <xs:element ref="ns1:socecStatus"/>
      <xs:element ref="ns1:state"/>
      <xs:element ref="ns1:trait"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.personLike">
    <xs:choice>
      <xs:element ref="ns1:org"/>
      <xs:element ref="ns1:person"/>
      <xs:element ref="ns1:personGrp"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.personPart">
    <xs:choice>
      <xs:group ref="ns1:model.biblLike"/>
      <xs:group ref="ns1:model.eventLike"/>
      <xs:group ref="ns1:model.persStateLike"/>
      <xs:element ref="ns1:idno"/>
      <xs:element ref="ns1:birth"/>
      <xs:element ref="ns1:death"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.placeNamePart">
    <xs:choice>
      <xs:element ref="ns1:placeName"/>
      <xs:element ref="ns1:bloc"/>
      <xs:element ref="ns1:country"/>
      <xs:element ref="ns1:region"/>
      <xs:element ref="ns1:district"/>
      <xs:element ref="ns1:settlement"/>
      <xs:element ref="ns1:geogName"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.placeNamePart_alternation">
    <xs:choice>
      <xs:element ref="ns1:placeName"/>
      <xs:element ref="ns1:bloc"/>
      <xs:element ref="ns1:country"/>
      <xs:element ref="ns1:region"/>
      <xs:element ref="ns1:district"/>
      <xs:element ref="ns1:settlement"/>
      <xs:element ref="ns1:geogName"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.placeNamePart_sequence">
    <xs:sequence>
      <xs:element ref="ns1:placeName"/>
      <xs:element ref="ns1:bloc"/>
      <xs:element ref="ns1:country"/>
      <xs:element ref="ns1:region"/>
      <xs:element ref="ns1:district"/>
      <xs:element ref="ns1:settlement"/>
      <xs:element ref="ns1:geogName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeNamePart_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:placeName"/>
      <xs:element minOccurs="0" ref="ns1:bloc"/>
      <xs:element minOccurs="0" ref="ns1:country"/>
      <xs:element minOccurs="0" ref="ns1:region"/>
      <xs:element minOccurs="0" ref="ns1:district"/>
      <xs:element minOccurs="0" ref="ns1:settlement"/>
      <xs:element minOccurs="0" ref="ns1:geogName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeNamePart_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:placeName"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:bloc"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:country"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:region"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:district"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:settlement"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:geogName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeNamePart_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:placeName"/>
      <xs:element maxOccurs="unbounded" ref="ns1:bloc"/>
      <xs:element maxOccurs="unbounded" ref="ns1:country"/>
      <xs:element maxOccurs="unbounded" ref="ns1:region"/>
      <xs:element maxOccurs="unbounded" ref="ns1:district"/>
      <xs:element maxOccurs="unbounded" ref="ns1:settlement"/>
      <xs:element maxOccurs="unbounded" ref="ns1:geogName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeStateLike">
    <xs:choice>
      <xs:group ref="ns1:model.placeNamePart"/>
      <xs:element ref="ns1:climate"/>
      <xs:element ref="ns1:location"/>
      <xs:element ref="ns1:population"/>
      <xs:element ref="ns1:state"/>
      <xs:element ref="ns1:terrain"/>
      <xs:element ref="ns1:trait"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.placeStateLike_alternation">
    <xs:choice>
      <xs:group ref="ns1:model.placeNamePart_alternation"/>
      <xs:element ref="ns1:climate"/>
      <xs:element ref="ns1:location"/>
      <xs:element ref="ns1:population"/>
      <xs:element ref="ns1:state"/>
      <xs:element ref="ns1:terrain"/>
      <xs:element ref="ns1:trait"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.placeStateLike_sequence">
    <xs:sequence>
      <xs:group ref="ns1:model.placeNamePart_sequence"/>
      <xs:element ref="ns1:climate"/>
      <xs:element ref="ns1:location"/>
      <xs:element ref="ns1:population"/>
      <xs:element ref="ns1:state"/>
      <xs:element ref="ns1:terrain"/>
      <xs:element ref="ns1:trait"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeStateLike_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="ns1:model.placeNamePart_sequenceOptional"/>
      <xs:element minOccurs="0" ref="ns1:climate"/>
      <xs:element minOccurs="0" ref="ns1:location"/>
      <xs:element minOccurs="0" ref="ns1:population"/>
      <xs:element minOccurs="0" ref="ns1:state"/>
      <xs:element minOccurs="0" ref="ns1:terrain"/>
      <xs:element minOccurs="0" ref="ns1:trait"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeStateLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.placeNamePart_sequenceOptionalRepeatable"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:climate"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:location"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:population"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:state"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:terrain"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:trait"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeStateLike_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="ns1:model.placeNamePart_sequenceRepeatable"/>
      <xs:element maxOccurs="unbounded" ref="ns1:climate"/>
      <xs:element maxOccurs="unbounded" ref="ns1:location"/>
      <xs:element maxOccurs="unbounded" ref="ns1:population"/>
      <xs:element maxOccurs="unbounded" ref="ns1:state"/>
      <xs:element maxOccurs="unbounded" ref="ns1:terrain"/>
      <xs:element maxOccurs="unbounded" ref="ns1:trait"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.orgPart">
    <xs:choice>
      <xs:group ref="ns1:model.eventLike"/>
      <xs:element ref="ns1:listOrg"/>
      <xs:element ref="ns1:listPerson"/>
      <xs:element ref="ns1:listPlace"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.publicationStmtPart.agency">
    <xs:choice>
      <xs:element ref="ns1:publisher"/>
      <xs:element ref="ns1:distributor"/>
      <xs:element ref="ns1:authority"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.publicationStmtPart.detail">
    <xs:choice>
      <xs:element ref="ns1:address"/>
      <xs:element ref="ns1:date"/>
      <xs:element ref="ns1:pubPlace"/>
      <xs:element ref="ns1:idno"/>
      <xs:element ref="ns1:availability"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.availabilityPart">
    <xs:sequence>
      <xs:element ref="ns1:licence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.certLike">
    <xs:choice>
      <xs:element ref="ns1:precision"/>
      <xs:element ref="ns1:certainty"/>
      <xs:element ref="ns1:respons"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.descLike">
    <xs:sequence>
      <xs:element ref="ns1:desc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.glossLike">
    <xs:choice>
      <xs:element ref="ns1:gloss"/>
      <xs:element ref="ns1:equiv"/>
      <xs:element ref="ns1:altIdent"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.quoteLike">
    <xs:choice>
      <xs:element ref="ns1:quote"/>
      <xs:element ref="ns1:cit"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.quoteLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:quote"/>
      <xs:element ref="ns1:cit"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.quoteLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:quote"/>
      <xs:element ref="ns1:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:quote"/>
      <xs:element minOccurs="0" ref="ns1:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:quote"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.quoteLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:quote"/>
      <xs:element maxOccurs="unbounded" ref="ns1:cit"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.qLike">
    <xs:choice>
      <xs:group ref="ns1:model.quoteLike"/>
      <xs:element ref="ns1:said"/>
      <xs:element ref="ns1:q"/>
      <xs:element ref="ns1:floatingText"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.qLike_alternation">
    <xs:choice>
      <xs:group ref="ns1:model.quoteLike_alternation"/>
      <xs:element ref="ns1:said"/>
      <xs:element ref="ns1:q"/>
      <xs:element ref="ns1:floatingText"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.qLike_sequence">
    <xs:sequence>
      <xs:group ref="ns1:model.quoteLike_sequence"/>
      <xs:element ref="ns1:said"/>
      <xs:element ref="ns1:q"/>
      <xs:element ref="ns1:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.qLike_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="ns1:model.quoteLike_sequenceOptional"/>
      <xs:element minOccurs="0" ref="ns1:said"/>
      <xs:element minOccurs="0" ref="ns1:q"/>
      <xs:element minOccurs="0" ref="ns1:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.qLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.quoteLike_sequenceOptionalRepeatable"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:said"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:q"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.qLike_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="ns1:model.quoteLike_sequenceRepeatable"/>
      <xs:element maxOccurs="unbounded" ref="ns1:said"/>
      <xs:element maxOccurs="unbounded" ref="ns1:q"/>
      <xs:element maxOccurs="unbounded" ref="ns1:floatingText"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.respLike">
    <xs:choice>
      <xs:element ref="ns1:author"/>
      <xs:element ref="ns1:editor"/>
      <xs:element ref="ns1:respStmt"/>
      <xs:element ref="ns1:meeting"/>
      <xs:element ref="ns1:sponsor"/>
      <xs:element ref="ns1:funder"/>
      <xs:element ref="ns1:principal"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divWrapper">
    <xs:choice>
      <xs:element ref="ns1:meeting"/>
      <xs:element ref="ns1:byline"/>
      <xs:element ref="ns1:dateline"/>
      <xs:element ref="ns1:argument"/>
      <xs:element ref="ns1:epigraph"/>
      <xs:element ref="ns1:salute"/>
      <xs:element ref="ns1:docAuthor"/>
      <xs:element ref="ns1:docDate"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divTopPart">
    <xs:choice>
      <xs:group ref="ns1:model.headLike"/>
      <xs:element ref="ns1:opener"/>
      <xs:element ref="ns1:signed"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divTop">
    <xs:choice>
      <xs:group ref="ns1:model.divWrapper"/>
      <xs:group ref="ns1:model.divTopPart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.frontPart.drama">
    <xs:choice>
      <xs:element ref="ns1:set"/>
      <xs:element ref="ns1:prologue"/>
      <xs:element ref="ns1:epilogue"/>
      <xs:element ref="ns1:performance"/>
      <xs:element ref="ns1:castList"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pLike.front">
    <xs:choice>
      <xs:element ref="ns1:head"/>
      <xs:element ref="ns1:byline"/>
      <xs:element ref="ns1:argument"/>
      <xs:element ref="ns1:epigraph"/>
      <xs:element ref="ns1:docTitle"/>
      <xs:element ref="ns1:titlePart"/>
      <xs:element ref="ns1:docAuthor"/>
      <xs:element ref="ns1:docEdition"/>
      <xs:element ref="ns1:docImprint"/>
      <xs:element ref="ns1:docDate"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divBottomPart">
    <xs:choice>
      <xs:element ref="ns1:trailer"/>
      <xs:element ref="ns1:closer"/>
      <xs:element ref="ns1:signed"/>
      <xs:element ref="ns1:postscript"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divBottom">
    <xs:choice>
      <xs:group ref="ns1:model.divWrapper"/>
      <xs:group ref="ns1:model.divBottomPart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.titlepagePart">
    <xs:choice>
      <xs:element ref="ns1:graphic"/>
      <xs:element ref="ns1:binaryObject"/>
      <xs:element ref="ns1:byline"/>
      <xs:element ref="ns1:argument"/>
      <xs:element ref="ns1:epigraph"/>
      <xs:element ref="ns1:docTitle"/>
      <xs:element ref="ns1:titlePart"/>
      <xs:element ref="ns1:docAuthor"/>
      <xs:element ref="ns1:imprimatur"/>
      <xs:element ref="ns1:docEdition"/>
      <xs:element ref="ns1:docImprint"/>
      <xs:element ref="ns1:docDate"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.msQuoteLike">
    <xs:choice>
      <xs:element ref="ns1:title"/>
      <xs:element ref="ns1:colophon"/>
      <xs:element ref="ns1:explicit"/>
      <xs:element ref="ns1:finalRubric"/>
      <xs:element ref="ns1:incipit"/>
      <xs:element ref="ns1:rubric"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.msItemPart">
    <xs:choice>
      <xs:group ref="ns1:model.biblLike"/>
      <xs:group ref="ns1:model.quoteLike"/>
      <xs:group ref="ns1:model.respLike"/>
      <xs:group ref="ns1:model.msQuoteLike"/>
      <xs:element ref="ns1:textLang"/>
      <xs:element ref="ns1:idno"/>
      <xs:element ref="ns1:filiation"/>
      <xs:element ref="ns1:msItem"/>
      <xs:element ref="ns1:msItemStruct"/>
      <xs:element ref="ns1:decoNote"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.choicePart">
    <xs:choice>
      <xs:element ref="ns1:sic"/>
      <xs:element ref="ns1:corr"/>
      <xs:element ref="ns1:reg"/>
      <xs:element ref="ns1:orig"/>
      <xs:element ref="ns1:unclear"/>
      <xs:element ref="ns1:abbr"/>
      <xs:element ref="ns1:expan"/>
      <xs:element ref="ns1:seg"/>
      <xs:element ref="ns1:ex"/>
      <xs:element ref="ns1:am"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.imprintPart">
    <xs:choice>
      <xs:element ref="ns1:publisher"/>
      <xs:element ref="ns1:biblScope"/>
      <xs:element ref="ns1:pubPlace"/>
      <xs:element ref="ns1:distributor"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.catDescPart">
    <xs:sequence>
      <xs:element ref="ns1:textDesc"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.settingPart">
    <xs:choice>
      <xs:element ref="ns1:locale"/>
      <xs:element ref="ns1:activity"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.textDescPart_sequence">
    <xs:sequence>
      <xs:element ref="ns1:channel"/>
      <xs:element ref="ns1:constitution"/>
      <xs:element ref="ns1:derivation"/>
      <xs:element ref="ns1:domain"/>
      <xs:element ref="ns1:factuality"/>
      <xs:element ref="ns1:interaction"/>
      <xs:element ref="ns1:preparedness"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.castItemPart">
    <xs:choice>
      <xs:element ref="ns1:role"/>
      <xs:element ref="ns1:roleDesc"/>
      <xs:element ref="ns1:actor"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.physDescPart_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:objectDesc"/>
      <xs:element minOccurs="0" ref="ns1:handDesc"/>
      <xs:element minOccurs="0" ref="ns1:typeDesc"/>
      <xs:element minOccurs="0" ref="ns1:scriptDesc"/>
      <xs:element minOccurs="0" ref="ns1:musicNotation"/>
      <xs:element minOccurs="0" ref="ns1:decoDesc"/>
      <xs:element minOccurs="0" ref="ns1:additions"/>
      <xs:element minOccurs="0" ref="ns1:bindingDesc"/>
      <xs:element minOccurs="0" ref="ns1:sealDesc"/>
      <xs:element minOccurs="0" ref="ns1:accMat"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike">
    <xs:choice>
      <xs:element ref="ns1:email"/>
      <xs:element ref="ns1:address"/>
      <xs:element ref="ns1:affiliation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addressLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:email"/>
      <xs:element ref="ns1:address"/>
      <xs:element ref="ns1:affiliation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addressLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:email"/>
      <xs:element ref="ns1:address"/>
      <xs:element ref="ns1:affiliation"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:email"/>
      <xs:element minOccurs="0" ref="ns1:address"/>
      <xs:element minOccurs="0" ref="ns1:affiliation"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:email"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:address"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:affiliation"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.addressLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:email"/>
      <xs:element maxOccurs="unbounded" ref="ns1:address"/>
      <xs:element maxOccurs="unbounded" ref="ns1:affiliation"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike">
    <xs:choice>
      <xs:group ref="ns1:model.nameLike.agent"/>
      <xs:group ref="ns1:model.offsetLike"/>
      <xs:group ref="ns1:model.placeStateLike"/>
      <xs:element ref="ns1:rs"/>
      <xs:element ref="ns1:lang"/>
      <xs:element ref="ns1:idno"/>
      <xs:group ref="ns1:model.persNamePart"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike_alternation">
    <xs:choice>
      <xs:group ref="ns1:model.nameLike.agent_alternation"/>
      <xs:group ref="ns1:model.offsetLike_alternation"/>
      <xs:group ref="ns1:model.placeStateLike_alternation"/>
      <xs:element ref="ns1:rs"/>
      <xs:element ref="ns1:lang"/>
      <xs:element ref="ns1:idno"/>
      <xs:group ref="ns1:model.persNamePart_alternation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.nameLike_sequence">
    <xs:sequence>
      <xs:group ref="ns1:model.nameLike.agent_sequence"/>
      <xs:group ref="ns1:model.offsetLike_sequence"/>
      <xs:group ref="ns1:model.placeStateLike_sequence"/>
      <xs:element ref="ns1:rs"/>
      <xs:element ref="ns1:lang"/>
      <xs:element ref="ns1:idno"/>
      <xs:group ref="ns1:model.persNamePart_sequence"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike_sequenceOptional">
    <xs:sequence>
      <xs:group minOccurs="0" ref="ns1:model.nameLike.agent_sequenceOptional"/>
      <xs:group minOccurs="0" ref="ns1:model.offsetLike_sequenceOptional"/>
      <xs:group minOccurs="0" ref="ns1:model.placeStateLike_sequenceOptional"/>
      <xs:element minOccurs="0" ref="ns1:rs"/>
      <xs:element minOccurs="0" ref="ns1:lang"/>
      <xs:element minOccurs="0" ref="ns1:idno"/>
      <xs:group minOccurs="0" ref="ns1:model.persNamePart_sequenceOptional"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.nameLike.agent_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.offsetLike_sequenceOptionalRepeatable"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.placeStateLike_sequenceOptionalRepeatable"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:rs"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:lang"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:idno"/>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.persNamePart_sequenceOptionalRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.nameLike_sequenceRepeatable">
    <xs:sequence>
      <xs:group maxOccurs="unbounded" ref="ns1:model.nameLike.agent_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="ns1:model.offsetLike_sequenceRepeatable"/>
      <xs:group maxOccurs="unbounded" ref="ns1:model.placeStateLike_sequenceRepeatable"/>
      <xs:element maxOccurs="unbounded" ref="ns1:rs"/>
      <xs:element maxOccurs="unbounded" ref="ns1:lang"/>
      <xs:element maxOccurs="unbounded" ref="ns1:idno"/>
      <xs:group maxOccurs="unbounded" ref="ns1:model.persNamePart_sequenceRepeatable"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global">
    <xs:choice>
      <xs:group ref="ns1:model.global.meta"/>
      <xs:group ref="ns1:model.milestoneLike"/>
      <xs:group ref="ns1:model.noteLike"/>
      <xs:group ref="ns1:model.global.edit"/>
      <xs:element ref="ns1:notatedMusic"/>
      <xs:element ref="ns1:figure"/>
      <xs:group ref="ns1:model.global.spoken"/>
      <xs:element ref="ns1:metamark"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.featureVal">
    <xs:choice>
      <xs:group ref="ns1:model.featureVal.complex"/>
      <xs:group ref="ns1:model.featureVal.single"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.biblPart">
    <xs:choice>
      <xs:group ref="ns1:model.respLike"/>
      <xs:group ref="ns1:model.imprintPart"/>
      <xs:element ref="ns1:series"/>
      <xs:element ref="ns1:citedRange"/>
      <xs:element ref="ns1:bibl"/>
      <xs:element ref="ns1:relatedItem"/>
      <xs:element ref="ns1:textLang"/>
      <xs:element ref="ns1:edition"/>
      <xs:element ref="ns1:extent"/>
      <xs:element ref="ns1:availability"/>
      <xs:element ref="ns1:msIdentifier"/>
      <xs:element ref="ns1:listRelation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.frontPart">
    <xs:choice>
      <xs:group ref="ns1:model.frontPart.drama"/>
      <xs:element ref="ns1:divGen"/>
      <xs:element ref="ns1:titlePage"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.addrPart">
    <xs:choice>
      <xs:group ref="ns1:model.nameLike"/>
      <xs:element ref="ns1:addrLine"/>
      <xs:element ref="ns1:street"/>
      <xs:element ref="ns1:postCode"/>
      <xs:element ref="ns1:postBox"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.pPart.data">
    <xs:choice>
      <xs:group ref="ns1:model.dateLike"/>
      <xs:group ref="ns1:model.measureLike"/>
      <xs:group ref="ns1:model.addressLike"/>
      <xs:group ref="ns1:model.nameLike"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.inter">
    <xs:choice>
      <xs:group ref="ns1:model.egLike"/>
      <xs:group ref="ns1:model.oddDecl"/>
      <xs:group ref="ns1:model.biblLike"/>
      <xs:group ref="ns1:model.labelLike"/>
      <xs:group ref="ns1:model.listLike"/>
      <xs:group ref="ns1:model.stageLike"/>
      <xs:group ref="ns1:model.qLike"/>
      <xs:element ref="ns1:castList"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.common">
    <xs:choice>
      <xs:group ref="ns1:model.divPart"/>
      <xs:group ref="ns1:model.inter"/>
      <xs:group ref="ns1:model.entryLike"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.phrase">
    <xs:choice>
      <xs:group ref="ns1:model.segLike"/>
      <xs:group ref="ns1:model.highlighted"/>
      <xs:group ref="ns1:model.graphicLike"/>
      <xs:group ref="ns1:model.pPart.msdesc"/>
      <xs:group ref="ns1:model.pPart.edit"/>
      <xs:group ref="ns1:model.ptrLike"/>
      <xs:group ref="ns1:model.lPart"/>
      <xs:group ref="ns1:model.phrase.xml"/>
      <xs:group ref="ns1:model.specDescLike"/>
      <xs:group ref="ns1:model.pPart.data"/>
      <xs:group ref="ns1:model.ptrLike.form"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.limitedPhrase">
    <xs:choice>
      <xs:group ref="ns1:model.hiLike"/>
      <xs:group ref="ns1:model.emphLike"/>
      <xs:group ref="ns1:model.pPart.msdesc"/>
      <xs:group ref="ns1:model.pPart.editorial"/>
      <xs:group ref="ns1:model.ptrLike"/>
      <xs:group ref="ns1:model.phrase.xml"/>
      <xs:group ref="ns1:model.pPart.data"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divLike">
    <xs:sequence>
      <xs:element ref="ns1:div"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divGenLike">
    <xs:sequence>
      <xs:element ref="ns1:divGen"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div1Like">
    <xs:sequence>
      <xs:element ref="ns1:div1"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div2Like">
    <xs:sequence>
      <xs:element ref="ns1:div2"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div3Like">
    <xs:sequence>
      <xs:element ref="ns1:div3"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div4Like">
    <xs:sequence>
      <xs:element ref="ns1:div4"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div5Like">
    <xs:sequence>
      <xs:element ref="ns1:div5"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div6Like">
    <xs:sequence>
      <xs:element ref="ns1:div6"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.div7Like">
    <xs:sequence>
      <xs:element ref="ns1:div7"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.applicationLike">
    <xs:sequence>
      <xs:element ref="ns1:application"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.teiHeaderPart">
    <xs:choice>
      <xs:element ref="ns1:encodingDesc"/>
      <xs:element ref="ns1:profileDesc"/>
      <xs:element ref="ns1:xenoData"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.sourceDescPart">
    <xs:choice>
      <xs:element ref="ns1:scriptStmt"/>
      <xs:element ref="ns1:recordingStmt"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.encodingDescPart">
    <xs:choice>
      <xs:element ref="ns1:charDecl"/>
      <xs:element ref="ns1:projectDesc"/>
      <xs:element ref="ns1:samplingDecl"/>
      <xs:element ref="ns1:editorialDecl"/>
      <xs:element ref="ns1:tagsDecl"/>
      <xs:element ref="ns1:styleDefDecl"/>
      <xs:element ref="ns1:refsDecl"/>
      <xs:element ref="ns1:listPrefixDef"/>
      <xs:element ref="ns1:classDecl"/>
      <xs:element ref="ns1:geoDecl"/>
      <xs:element ref="ns1:appInfo"/>
      <xs:element ref="ns1:fsdDecl"/>
      <xs:element ref="ns1:variantEncoding"/>
      <xs:element ref="ns1:metDecl"/>
      <xs:element ref="ns1:schemaSpec"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.editorialDeclPart">
    <xs:choice>
      <xs:element ref="ns1:correction"/>
      <xs:element ref="ns1:normalization"/>
      <xs:element ref="ns1:quotation"/>
      <xs:element ref="ns1:hyphenation"/>
      <xs:element ref="ns1:segmentation"/>
      <xs:element ref="ns1:stdVals"/>
      <xs:element ref="ns1:interpretation"/>
      <xs:element ref="ns1:punctuation"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.profileDescPart">
    <xs:choice>
      <xs:element ref="ns1:textDesc"/>
      <xs:element ref="ns1:particDesc"/>
      <xs:element ref="ns1:settingDesc"/>
      <xs:element ref="ns1:abstract"/>
      <xs:element ref="ns1:creation"/>
      <xs:element ref="ns1:langUsage"/>
      <xs:element ref="ns1:textClass"/>
      <xs:element ref="ns1:calendarDesc"/>
      <xs:element ref="ns1:correspDesc"/>
      <xs:element ref="ns1:handNotes"/>
      <xs:element ref="ns1:listTranspose"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.correspActionPart">
    <xs:choice>
      <xs:group ref="ns1:model.dateLike"/>
      <xs:group ref="ns1:model.addressLike"/>
      <xs:group ref="ns1:model.nameLike"/>
      <xs:element ref="ns1:note"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.correspContextPart">
    <xs:choice>
      <xs:group ref="ns1:model.ptrLike"/>
      <xs:group ref="ns1:model.pLike"/>
      <xs:element ref="ns1:note"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.correspDescPart">
    <xs:choice>
      <xs:element ref="ns1:note"/>
      <xs:element ref="ns1:correspAction"/>
      <xs:element ref="ns1:correspContext"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.source.attributes">
    <xs:attributeGroup ref="ns1:att.source.attribute.source"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.source.attribute.source">
    <xs:attribute name="source">
      <xs:annotation>
        <xs:documentation>provides a pointer to the bibliographical source from which a quotation or citation is drawn.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.resourceLike">
    <xs:choice>
      <xs:element ref="ns1:fsdDecl"/>
      <xs:element ref="ns1:facsimile"/>
      <xs:element ref="ns1:sourceDoc"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.personal.attributes">
    <xs:attributeGroup ref="ns1:att.naming.attributes"/>
    <xs:attributeGroup ref="ns1:att.personal.attribute.full"/>
    <xs:attributeGroup ref="ns1: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>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="ns1:data.count">
      <xs:annotation>
        <xs:documentation>specifies the sort order of the name component in relation to others within the name.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.placeLike">
    <xs:sequence>
      <xs:element ref="ns1:place"/>
    </xs:sequence>
  </xs:group>
  <xs:attributeGroup name="att.milestoneUnit.attributes">
    <xs:attributeGroup ref="ns1: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 memberTypes="xs:Name">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="page">
                <xs:annotation>
                  <xs:documentation>physical page breaks (synonymous with the pb element).</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="column">
                <xs:annotation>
                  <xs:documentation>column breaks.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="line">
                <xs:annotation>
                  <xs:documentation>line breaks (synonymous with the lb element).</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="book">
                <xs:annotation>
                  <xs:documentation>any units termed book, liber, etc.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="poem">
                <xs:annotation>
                  <xs:documentation>individual poems in a collection.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="canto">
                <xs:annotation>
                  <xs:documentation>cantos or other major sections of a poem.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="speaker">
                <xs:annotation>
                  <xs:documentation>changes of speaker or narrator.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="stanza">
                <xs:annotation>
                  <xs:documentation>stanzas within a poem, book, or canto.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="act">
                <xs:annotation>
                  <xs:documentation>acts within a play.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="scene">
                <xs:annotation>
                  <xs:documentation>scenes within a play or act.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="section">
                <xs:annotation>
                  <xs:documentation>sections of any kind.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="absent">
                <xs:annotation>
                  <xs:documentation>passages not present in the reference edition.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="unnumbered">
                <xs:annotation>
                  <xs:documentation>passages present in the text, but not to be included as part of the reference.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="p">
    <xs:annotation>
      <xs:documentation>(paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.5. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
          <xs:attributeGroup ref="ns1:att.fragmentable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="foreign">
    <xs:annotation>
      <xs:documentation>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="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="emph">
    <xs:annotation>
      <xs:documentation>(emphasized) marks words or phrases which are stressed or emphasized for linguistic or rhetorical effect. [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="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="hi">
    <xs:annotation>
      <xs:documentation>(highlighted) marks a word or phrase as graphically distinct from the surrounding text, for reasons concerning which no claim is made. [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="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="distinct">
    <xs:annotation>
      <xs:documentation>identifies any word or phrase which is regarded as linguistically distinct, for example as archaic, technical, dialectal, non-preferred, etc., or as forming part of a sublanguage. [3.3.2.3. Other Linguistically Distinct Material]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>specifies the sublanguage or register to which the word or phrase is being assigned</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="time" type="ns1:data.text">
            <xs:annotation>
              <xs:documentation>specifies how the phrase is distinct diachronically</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="space" type="ns1:data.text">
            <xs:annotation>
              <xs:documentation>specifies how the phrase is distinct diatopically</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="social" type="ns1:data.text">
            <xs:annotation>
              <xs:documentation>specifies how the phrase is distinct diastatically</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="said">
    <xs:annotation>
      <xs:documentation>(speech or thought) indicates passages thought or spoken aloud, whether explicitly indicated in the source or not, whether directly or indirectly reported, whether by real people or fictional characters. [3.3.3. Quotation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
          <xs:attribute name="aloud" default="unknown" type="ns1:data.xTruthValue">
            <xs:annotation>
              <xs:documentation>may be used to indicate whether the quoted matter is regarded as having been vocalized or signed.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="direct" default="true" type="ns1:data.xTruthValue">
            <xs:annotation>
              <xs:documentation>may be used to indicate whether the quoted matter is regarded as direct or indirect speech.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="quote">
    <xs:annotation>
      <xs:documentation>(quotation) contains a phrase or passage attributed by the narrator or author to some agency external to the text. [3.3.3. Quotation 4.3.1. Grouped Texts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.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="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>may be used to indicate whether the offset passage is spoken or thought, or to characterize it more finely.
Suggested values include: 1] spoken; 2] thought; 3] written; 4] soCalled; 5] foreign; 6] distinct; 7] term; 8] emph; 9] mentioned</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="spoken">
                      <xs:annotation>
                        <xs:documentation>representation of speech</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="thought">
                      <xs:annotation>
                        <xs:documentation>representation of thought, e.g. internal monologue</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="written">
                      <xs:annotation>
                        <xs:documentation>quotation from a written source</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="soCalled">
                      <xs:annotation>
                        <xs:documentation>authorial distance</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="foreign"/>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="distinct">
                      <xs:annotation>
                        <xs:documentation>linguistically distinct</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="term">
                      <xs:annotation>
                        <xs:documentation>technical term</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="emph">
                      <xs:annotation>
                        <xs:documentation>rhetorically emphasized</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="mentioned">
                      <xs:annotation>
                        <xs:documentation>refering to itself, not its normal referent</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="cit">
    <xs:annotation>
      <xs:documentation>(cited quotation) contains a quotation from some other document, together with a bibliographic reference to its source. In a dictionary it may contain an example text with at least one occurrence of the word form, used in the sense being described, or a translation of the headword, or an example. [3.3.3. Quotation 4.3.1. Grouped Texts 9.3.5.1. Examples]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.qLike"/>
        <xs:group ref="ns1:model.egLike"/>
        <xs:group ref="ns1:model.biblLike"/>
        <xs:group ref="ns1:model.ptrLike"/>
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.entryPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="soCalled">
    <xs:annotation>
      <xs:documentation>contains a word or phrase for which the author or narrator indicates a disclaiming of responsibility, for example by the use of scare quotes or italics. [3.3.3. Quotation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="desc">
    <xs:annotation>
      <xs:documentation>(description) contains a brief description of the object documented by its parent element, including its intended usage, purpose, or application where this is appropriate. [22.4.1. Description of Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.translatable.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gloss">
    <xs:annotation>
      <xs:documentation>identifies a phrase or word used to provide a gloss or definition for some other word or phrase. [3.3.4. Terms, Glosses, Equivalents, and Descriptions 22.4.1. Description of Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
          <xs:attributeGroup ref="ns1:att.translatable.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1:att.cReferencing.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="term">
    <xs:annotation>
      <xs:documentation>contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.3.4. Terms, Glosses, Equivalents, and Descriptions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
          <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
          <xs:attributeGroup ref="ns1:att.cReferencing.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.4.1. Apparent Errors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.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.4.1. Apparent Errors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="choice">
    <xs:annotation>
      <xs:documentation>groups a number of alternative encodings for the same point in a text. [3.4. Simple Editorial Changes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.choicePart"/>
        <xs:element ref="ns1:choice"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="reg">
    <xs:annotation>
      <xs:documentation>(regularization) contains a reading which has been regularized or normalized in some sense. [3.4.2. Regularization and
Normalization 12. Critical Apparatus]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1: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.4.2. Regularization and
Normalization 12. Critical Apparatus]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gap">
    <xs:annotation>
      <xs:documentation>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.4.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.duration.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attribute name="reason">
        <xs:annotation>
          <xs:documentation>gives the reason for omission. Sample values include sampling, inaudible, irrelevant, cancelled.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.word"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="hand" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>in the case of text omitted from the transcription because of deliberate deletion by an identifiable hand, indicates the hand which made the deletion.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="agent" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>in the case of text omitted because of damage, categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="add">
    <xs:annotation>
      <xs:documentation>(addition) contains letters, words, or phrases inserted in the source text by an author, scribe, or a previous annotator or corrector. [3.4.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.attributes"/>
          <xs:attributeGroup ref="ns1: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.4.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="unclear">
    <xs:annotation>
      <xs:documentation>contains a word, phrase, or passage which cannot be transcribed with certainty because it is illegible or inaudible in the source. [11.3.3.1. Damage, Illegibility, and Supplied Text 3.4.3. Additions, Deletions, and Omissions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>indicates why the material is hard to transcribe.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.word"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="hand" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>Where the difficulty in transcription arises from action (partial deletion, etc.) assignable to an identifiable hand, signifies the hand responsible for the action.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="agent" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>Where the difficulty in transcription arises from damage, categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="name">
    <xs:annotation>
      <xs:documentation>(name, proper noun) contains a proper noun or noun phrase. [3.5.1. Referring Strings]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1: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. [13.2.1. Personal Names 3.5.1. Referring Strings]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="email">
    <xs:annotation>
      <xs:documentation>(electronic mail address) contains an email address identifying a location to which email messages can be delivered. [3.5.2. Addresses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="address">
    <xs:annotation>
      <xs:documentation>contains a postal address, for example of a publisher, an organization, or an individual. [3.5.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.11.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="ns1:model.global"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="ns1:model.addrPart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="addrLine">
    <xs:annotation>
      <xs:documentation>(address line) contains one line of a postal address. [3.5.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.11.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="street">
    <xs:annotation>
      <xs:documentation>contains a full street address including any name or number identifying a building as well as the name of the street or route on which it is located. [3.5.2. Addresses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="postCode">
    <xs:annotation>
      <xs:documentation>(postal code) contains a numerical or alphanumeric code used as part of a postal address to simplify sorting or delivery of mail. [3.5.2. Addresses]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="postBox">
    <xs:annotation>
      <xs:documentation>(postal box or post office box) contains a number or other identifier for some postal delivery point other than a street address. [3.5.2. Addresses]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="num">
    <xs:annotation>
      <xs:documentation>(number) contains a number, written in any form. [3.5.3. Numbers and
Measures]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.ranging.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>indicates the type of numeric value.
Suggested values include: 1] cardinal; 2] ordinal; 3] fraction; 4] percentage</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="cardinal">
                      <xs:annotation>
                        <xs:documentation>absolute number, e.g. 21, 21.5</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="ordinal">
                      <xs:annotation>
                        <xs:documentation>ordinal number, e.g. 21st</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="fraction">
                      <xs:annotation>
                        <xs:documentation>fraction, e.g. one half or three-quarters</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="percentage">
                      <xs:annotation>
                        <xs:documentation>a percentage</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="value" type="ns1:data.numeric">
            <xs:annotation>
              <xs:documentation>supplies the value of the number in standard form.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="measure">
    <xs:annotation>
      <xs:documentation>contains a word or phrase referring to some quantity of an object or commodity, usually comprising a number, a unit, and a commodity name. [3.5.3. Numbers and
Measures]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.measurement.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>specifies the type of measurement in any convenient typology.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="measureGrp">
    <xs:annotation>
      <xs:documentation>(measure group) contains a group of dimensional specifications which relate to the same object, for example the height and width of a manuscript page. [10.3.4. Dimensions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.measureLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.measurement.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="date">
    <xs:annotation>
      <xs:documentation>contains a date in any format. [3.5.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.11.2.4. Imprint, Size of a Document, and Reprint Information 15.2.3. The Setting Description 13.3.6. Dates and Times]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.duration.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="time">
    <xs:annotation>
      <xs:documentation>contains a phrase defining a time of day in any format. [3.5.4. Dates and Times]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.duration.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="abbr">
    <xs:annotation>
      <xs:documentation>(abbreviation) contains an abbreviation of any sort. [3.5.5. Abbreviations and Their Expansions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>allows the encoder to classify the abbreviation according to some convenient typology.
Sample values include: 1] suspension; 2] contraction; 3] brevigraph; 4] superscription; 5] acronym; 6] title; 7] organization; 8] geographic</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="expan">
    <xs:annotation>
      <xs:documentation>(expansion) contains the expansion of an abbreviation. [3.5.5. Abbreviations and Their Expansions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1: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.6. Simple Links and Cross-References 16.1. Links]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.internetMedia.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.cReferencing.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.6. Simple Links and Cross-References 16.1. Links]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1:att.internetMedia.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
          <xs:attributeGroup ref="ns1:att.cReferencing.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="list">
    <xs:annotation>
      <xs:documentation>contains any sequence of items organized as a list. [3.7. Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:element ref="ns1:item"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
          <xs:sequence>
            <xs:element minOccurs="0" ref="ns1:headLabel"/>
            <xs:element minOccurs="0" ref="ns1:headItem"/>
            <xs:sequence maxOccurs="unbounded">
              <xs:element ref="ns1:label"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              <xs:element ref="ns1:item"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>describes the nature of the items in the list.
Suggested values include: 1] gloss; 2] index; 3] instructions; 4] litany; 5] syllogism</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="gloss">
                  <xs:annotation>
                    <xs:documentation>each list item glosses some term or concept, which is given by a label element preceding the list item.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="index">
                  <xs:annotation>
                    <xs:documentation>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>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>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>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:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="item">
    <xs:annotation>
      <xs:documentation>contains one component of a list. [3.7. Lists 2.6. The Revision Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="label">
    <xs:annotation>
      <xs:documentation>contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary. [3.7. Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.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="ns1:lg"/>
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.lLike"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="headLabel">
    <xs:annotation>
      <xs:documentation>(heading for list labels) contains the heading for the label or term column in a glossary list or similar structured list. [3.7. Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="headItem">
    <xs:annotation>
      <xs:documentation>(heading for list items) contains the heading for the item or gloss column in a glossary list or similar structured list. [3.7. Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="note">
    <xs:annotation>
      <xs:documentation>contains a note or annotation. [3.8.1. Notes and Simple Annotation 2.2.6. The Notes Statement 3.11.2.8. Notes and Statement of Language 9.3.5.4. Notes within Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attribute name="anchored" default="true" type="ns1:data.truthValue">
            <xs:annotation>
              <xs:documentation>indicates whether the copy text shows the exact place of reference for the note.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="targetEnd">
            <xs:annotation>
              <xs:documentation>points to the end of the span to which the note is attached, if the note is not embedded in the text at that point.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.pointer"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="index">
    <xs:annotation>
      <xs:documentation>(index entry) marks a location to be indexed for whatever purpose. [3.8.2. Index Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:term"/>
        <xs:element minOccurs="0" ref="ns1:index"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attribute name="indexName" type="ns1:data.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="media">
    <xs:annotation>
      <xs:documentation>indicates the location of any form of external media such as an audio or video clip etc. [3.9. Graphics and Other Non-textual Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.media.attribute.width"/>
      <xs:attributeGroup ref="ns1:att.media.attribute.height"/>
      <xs:attributeGroup ref="ns1:att.media.attribute.scale"/>
      <xs:attributeGroup ref="ns1:att.resourced.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attribute name="mimeType" use="required">
        <xs:annotation>
          <xs:documentation>(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.word"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="graphic">
    <xs:annotation>
      <xs:documentation>indicates the location of an inline graphic, illustration, or figure. [3.9. Graphics and Other Non-textual Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.media.attributes"/>
      <xs:attributeGroup ref="ns1:att.resourced.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="binaryObject">
    <xs:annotation>
      <xs:documentation>provides encoded binary data representing an inline graphic, audio, video or other object. [3.9. Graphics and Other Non-textual Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.media.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="encoding">
        <xs:annotation>
          <xs:documentation>The encoding used to encode the binary data. If not specified, this is assumed to be Base64.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.word"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="milestone">
    <xs:annotation>
      <xs:documentation>marks a boundary point separating any kind of section of a text, typically but not necessarily indicating a point at which some part of a standard reference system changes, where the change is not represented by a structural element. [3.10.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.milestoneUnit.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.edition.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.breaking.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="gb">
    <xs:annotation>
      <xs:documentation>(gathering begins) marks the point in a transcribed codex at which a new gathering or quire begins. [3.10.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.breaking.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="pb">
    <xs:annotation>
      <xs:documentation>(page break) marks the start of a new page in a paginated document. [3.10.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.edition.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.breaking.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lb">
    <xs:annotation>
      <xs:documentation>(line break) marks the start of a new (typographic) line in some edition or version of a text. [3.10.3. Milestone
Elements 7.2.5. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.edition.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.breaking.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cb">
    <xs:annotation>
      <xs:documentation>(column break) marks the beginning of a new column of a text on a multi-column page. [3.10.3. Milestone
Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.edition.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.breaking.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="analytic">
    <xs:annotation>
      <xs:documentation>(analytic level) contains bibliographic elements describing an item (e.g. an article or poem) published within a monograph or journal and not as an independent publication. [3.11.2.1. Analytic, Monographic, and Series Levels]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:author"/>
        <xs:element ref="ns1:editor"/>
        <xs:element ref="ns1:respStmt"/>
        <xs:element ref="ns1:title"/>
        <xs:group ref="ns1:model.ptrLike"/>
        <xs:element ref="ns1:date"/>
        <xs:element ref="ns1:textLang"/>
        <xs:element ref="ns1:idno"/>
        <xs:element ref="ns1:availability"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="monogr">
    <xs:annotation>
      <xs:documentation>(monographic level) contains bibliographic elements describing an item (e.g. a book or journal) published as an independent item (i.e. as a separate physical object). [3.11.2.1. Analytic, Monographic, and Series Levels]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:choice>
              <xs:element ref="ns1:author"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:meeting"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:author"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:meeting"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
            <xs:element maxOccurs="unbounded" ref="ns1:title"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.ptrLike"/>
              <xs:element ref="ns1:idno"/>
              <xs:element ref="ns1:textLang"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:choice maxOccurs="unbounded">
              <xs:element ref="ns1:title"/>
              <xs:group ref="ns1:model.ptrLike"/>
              <xs:element ref="ns1:idno"/>
            </xs:choice>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:textLang"/>
              <xs:element ref="ns1:author"/>
              <xs:element ref="ns1:editor"/>
              <xs:element ref="ns1:meeting"/>
              <xs:element ref="ns1:respStmt"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:element ref="ns1:authority"/>
            <xs:element ref="ns1:idno"/>
          </xs:sequence>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:availability"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.noteLike"/>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:edition"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:idno"/>
            <xs:group ref="ns1:model.ptrLike"/>
            <xs:element ref="ns1:editor"/>
            <xs:element ref="ns1:sponsor"/>
            <xs:element ref="ns1:funder"/>
            <xs:element ref="ns1:respStmt"/>
          </xs:choice>
        </xs:sequence>
        <xs:element ref="ns1:imprint"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:imprint"/>
          <xs:element ref="ns1:extent"/>
          <xs:element ref="ns1:biblScope"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="series">
    <xs:annotation>
      <xs:documentation>(series information) contains information about the series in which a book or other bibliographic item has appeared. [3.11.2.1. Analytic, Monographic, and Series Levels]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:title"/>
        <xs:group ref="ns1:model.ptrLike"/>
        <xs:element ref="ns1:editor"/>
        <xs:element ref="ns1:respStmt"/>
        <xs:element ref="ns1:biblScope"/>
        <xs:element ref="ns1:idno"/>
        <xs:element ref="ns1:textLang"/>
        <xs:group ref="ns1:model.global"/>
        <xs:element ref="ns1:availability"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="author">
    <xs:annotation>
      <xs:documentation>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.11.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1: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.11.2.2. Titles, Authors, and Editors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1: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.11.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:choice>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="ns1:resp"/>
          <xs:group maxOccurs="unbounded" ref="ns1:model.nameLike.agent"/>
        </xs:sequence>
        <xs:sequence>
          <xs:group maxOccurs="unbounded" ref="ns1:model.nameLike.agent"/>
          <xs:element maxOccurs="unbounded" ref="ns1:resp"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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.11.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="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="title">
    <xs:annotation>
      <xs:documentation>contains a title for any kind of work. [3.11.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="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>classifies the title according to some convenient typology.
Sample values include: 1] main; 2] sub(subordinate) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs: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="meeting">
    <xs:annotation>
      <xs:documentation>contains the formalized descriptive title for a meeting or conference, for use in a bibliographic description for an item derived from such a meeting, or as a heading or preamble to publications emanating from it. [3.11.2.2. Titles, Authors, and Editors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="imprint">
    <xs:annotation>
      <xs:documentation>groups information relating to the publication or distribution of a bibliographic item. [3.11.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:classCode"/>
          <xs:element ref="ns1:catRef"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:group ref="ns1:model.imprintPart"/>
            <xs:group ref="ns1:model.dateLike"/>
          </xs:choice>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:respStmt"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="publisher">
    <xs:annotation>
      <xs:documentation>provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.11.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="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.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.11.2.5. Scopes and Ranges in Bibliographic Citations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.citing.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="citedRange">
    <xs:annotation>
      <xs:documentation>(cited range) defines the range of cited content, often represented by pages or other units [3.11.2.5. Scopes and Ranges in Bibliographic Citations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1: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.11.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1: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.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.highlighted"/>
        <xs:group ref="ns1:model.pPart.data"/>
        <xs:group ref="ns1:model.pPart.edit"/>
        <xs:group ref="ns1:model.segLike"/>
        <xs:group ref="ns1:model.ptrLike"/>
        <xs:group ref="ns1:model.biblPart"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.docStatus.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="biblStruct">
    <xs:annotation>
      <xs:documentation>(structured bibliographic citation) contains a structured bibliographic citation, in which only bibliographic sub-elements appear and in a specified order. [3.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:analytic"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:element ref="ns1:monogr"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:series"/>
        </xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:element ref="ns1:idno"/>
          <xs:group ref="ns1:model.ptrLike"/>
          <xs:element ref="ns1:relatedItem"/>
          <xs:element ref="ns1:citedRange"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.docStatus.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.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.biblLike"/>
          <xs:group ref="ns1:model.milestoneLike"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:relation"/>
          <xs:element ref="ns1:listRelation"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1: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.11.2.7. Related Items]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0">
        <xs:group ref="ns1:model.biblLike"/>
        <xs:group ref="ns1:model.ptrLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="target" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>points to the related bibliographic element by means of an absolute or relative URI reference</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="l">
    <xs:annotation>
      <xs:documentation>(verse line) contains a single, possibly incomplete, line of verse. [3.12.1. Core Tags for Verse 3.12. Passages of Verse or Drama 7.2.5. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.metrical.attributes"/>
      <xs:attributeGroup ref="ns1:att.enjamb.attributes"/>
      <xs:attributeGroup ref="ns1: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.12.1. Core Tags for Verse 3.12. Passages of Verse or Drama 7.2.5. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:group ref="ns1:model.lLike"/>
          <xs:group ref="ns1:model.stageLike"/>
          <xs:group ref="ns1:model.labelLike"/>
          <xs:element ref="ns1:lg"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.lLike"/>
          <xs:group ref="ns1:model.stageLike"/>
          <xs:group ref="ns1:model.labelLike"/>
          <xs:group ref="ns1:model.global"/>
          <xs:element ref="ns1:lg"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.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.12.2. Core Tags for Drama 3.12. Passages of Verse or Drama 7.2.2. Speeches and Speakers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:speaker"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="ns1:lg"/>
            <xs:group ref="ns1:model.lLike"/>
            <xs:group ref="ns1:model.pLike"/>
            <xs:group ref="ns1:model.listLike"/>
            <xs:group ref="ns1:model.stageLike"/>
            <xs:group ref="ns1:model.qLike"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.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.12.2. Core Tags for Drama]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="stage">
    <xs:annotation>
      <xs:documentation>(stage direction) contains any kind of stage direction within a dramatic text or fragment. [3.12.2. Core Tags for Drama 3.12. Passages of Verse or Drama 7.2.4. Stage Directions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>indicates the kind of stage direction.
Suggested values include: 1] setting; 2] entrance; 3] exit; 4] business; 5] novelistic; 6] delivery; 7] modifier; 8] location; 9] mixed</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="setting">
                      <xs:annotation>
                        <xs:documentation>describes a setting.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="entrance">
                      <xs:annotation>
                        <xs:documentation>describes an entrance.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="exit">
                      <xs:annotation>
                        <xs:documentation>describes an exit.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="business">
                      <xs:annotation>
                        <xs:documentation>describes stage business.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="novelistic">
                      <xs:annotation>
                        <xs:documentation>is a narrative, motivating stage direction.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="delivery">
                      <xs:annotation>
                        <xs:documentation>describes how a character speaks.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="modifier">
                      <xs:annotation>
                        <xs:documentation>gives some detail about a character.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="location">
                      <xs:annotation>
                        <xs:documentation>describes a location.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="mixed">
                      <xs:annotation>
                        <xs:documentation>more than one of the above</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="teiCorpus">
    <xs:annotation>
      <xs:documentation>contains the whole of a TEI encoded corpus, comprising a single corpus header and one or more TEI elements, each containing a single text header and a text. [4. Default Text Structure 15.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:teiHeader"/>
        <xs:choice>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="ns1:model.resourceLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:TEI"/>
              <xs:element ref="ns1:teiCorpus"/>
            </xs:choice>
          </xs:sequence>
          <xs:choice maxOccurs="unbounded">
            <xs:element ref="ns1:TEI"/>
            <xs:element ref="ns1:teiCorpus"/>
          </xs:choice>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="version" default="5.0" type="ns1:data.version">
        <xs:annotation>
          <xs:documentation>The version of the TEI scheme</xs:documentation>
        </xs:annotation>
      </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.8.2. Index Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies what type of generated text division (e.g. index, table of contents, etc.) is to appear.
Sample values include: 1] index; 2] toc; 3] figlist; 4] tablist</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="textLang">
    <xs:annotation>
      <xs:documentation>(text language) describes the languages and writing systems identified within the bibliographic work being described, rather than its description. [3.11.2.4. Imprint, Size of a Document, and Reprint Information 10.6.6. Languages and Writing Systems]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="mainLang" type="ns1:data.language">
            <xs:annotation>
              <xs:documentation>(main language) supplies a code which identifies the chief language used in the bibliographic work.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="otherLangs">
            <xs:annotation>
              <xs:documentation>(other languages) one or more codes identifying any other languages used in the bibliographic work.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:list itemType="ns1:data.language"/>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.global.analytic.attributes">
    <xs:attributeGroup ref="ns1:att.global.analytic.attribute.ana"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.analytic.attribute.ana">
    <xs:attribute name="ana">
      <xs:annotation>
        <xs:documentation>(analysis) indicates one or more elements containing interpretations of the element on which the ana attribute appears.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </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. [17.1. Linguistic Segment Categories 8.4.1. Segmentation]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.global"/>
        <xs:element ref="ns1:binaryObject"/>
        <xs:element ref="ns1:formula"/>
        <xs:element ref="ns1:graphic"/>
        <xs:element ref="ns1:media"/>
        <xs:element ref="ns1:code"/>
        <xs:element ref="ns1:distinct"/>
        <xs:element ref="ns1:emph"/>
        <xs:element ref="ns1:foreign"/>
        <xs:element ref="ns1:gloss"/>
        <xs:element ref="ns1:ident"/>
        <xs:element ref="ns1:mentioned"/>
        <xs:element ref="ns1:soCalled"/>
        <xs:element ref="ns1:term"/>
        <xs:element ref="ns1:title"/>
        <xs:element ref="ns1:hi"/>
        <xs:element ref="ns1:caesura"/>
        <xs:element ref="ns1:rhyme"/>
        <xs:element ref="ns1:address"/>
        <xs:element ref="ns1:affiliation"/>
        <xs:element ref="ns1:email"/>
        <xs:element ref="ns1:date"/>
        <xs:element ref="ns1:time"/>
        <xs:element ref="ns1:depth"/>
        <xs:element ref="ns1:dim"/>
        <xs:element ref="ns1:geo"/>
        <xs:element ref="ns1:height"/>
        <xs:element ref="ns1:measure"/>
        <xs:element ref="ns1:measureGrp"/>
        <xs:element ref="ns1:num"/>
        <xs:element ref="ns1:width"/>
        <xs:element ref="ns1:name"/>
        <xs:element ref="ns1:orgName"/>
        <xs:element ref="ns1:persName"/>
        <xs:element ref="ns1:geogFeat"/>
        <xs:element ref="ns1:offset"/>
        <xs:element ref="ns1:addName"/>
        <xs:element ref="ns1:forename"/>
        <xs:element ref="ns1:genName"/>
        <xs:element ref="ns1:nameLink"/>
        <xs:element ref="ns1:roleName"/>
        <xs:element ref="ns1:surname"/>
        <xs:element ref="ns1:bloc"/>
        <xs:element ref="ns1:country"/>
        <xs:element ref="ns1:district"/>
        <xs:element ref="ns1:geogName"/>
        <xs:element ref="ns1:placeName"/>
        <xs:element ref="ns1:region"/>
        <xs:element ref="ns1:settlement"/>
        <xs:element ref="ns1:climate"/>
        <xs:element ref="ns1:location"/>
        <xs:element ref="ns1:population"/>
        <xs:element ref="ns1:state"/>
        <xs:element ref="ns1:terrain"/>
        <xs:element ref="ns1:trait"/>
        <xs:element ref="ns1:idno"/>
        <xs:element ref="ns1:lang"/>
        <xs:element ref="ns1:rs"/>
        <xs:element ref="ns1:abbr"/>
        <xs:element ref="ns1:am"/>
        <xs:element ref="ns1:choice"/>
        <xs:element ref="ns1:ex"/>
        <xs:element ref="ns1:expan"/>
        <xs:element ref="ns1:subst"/>
        <xs:element ref="ns1:add"/>
        <xs:element ref="ns1:corr"/>
        <xs:element ref="ns1:damage"/>
        <xs:element ref="ns1:del"/>
        <xs:element ref="ns1:handShift"/>
        <xs:element ref="ns1:mod"/>
        <xs:element ref="ns1:orig"/>
        <xs:element ref="ns1:redo"/>
        <xs:element ref="ns1:reg"/>
        <xs:element ref="ns1:restore"/>
        <xs:element ref="ns1:retrace"/>
        <xs:element ref="ns1:secl"/>
        <xs:element ref="ns1:sic"/>
        <xs:element ref="ns1:supplied"/>
        <xs:element ref="ns1:surplus"/>
        <xs:element ref="ns1:unclear"/>
        <xs:element ref="ns1:undo"/>
        <xs:element ref="ns1:catchwords"/>
        <xs:element ref="ns1:dimensions"/>
        <xs:element ref="ns1:heraldry"/>
        <xs:element ref="ns1:locus"/>
        <xs:element ref="ns1:locusGrp"/>
        <xs:element ref="ns1:material"/>
        <xs:element ref="ns1:objectType"/>
        <xs:element ref="ns1:origDate"/>
        <xs:element ref="ns1:origPlace"/>
        <xs:element ref="ns1:secFol"/>
        <xs:element ref="ns1:signatures"/>
        <xs:element ref="ns1:stamp"/>
        <xs:element ref="ns1:watermark"/>
        <xs:element ref="ns1:att"/>
        <xs:element ref="ns1:gi"/>
        <xs:element ref="ns1:tag"/>
        <xs:element ref="ns1:val"/>
        <xs:element ref="ns1:ptr"/>
        <xs:element ref="ns1:ref"/>
        <xs:element ref="ns1:oRef"/>
        <xs:element ref="ns1:oVar"/>
        <xs:element ref="ns1:pRef"/>
        <xs:element ref="ns1:pVar"/>
        <xs:element ref="ns1:c"/>
        <xs:element ref="ns1:cl"/>
        <xs:element ref="ns1:m"/>
        <xs:element ref="ns1:pc"/>
        <xs:element ref="ns1:phr"/>
        <xs:element ref="ns1:seg"/>
        <xs:element ref="ns1:w"/>
        <xs:element ref="ns1:specDesc"/>
        <xs:element ref="ns1:specList"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cl">
    <xs:annotation>
      <xs:documentation>(clause) represents a grammatical clause. [17.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="phr">
    <xs:annotation>
      <xs:documentation>(phrase) represents a grammatical phrase. [17.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
          <xs:attributeGroup ref="ns1: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. [17.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:seg"/>
        <xs:element ref="ns1:w"/>
        <xs:element ref="ns1:m"/>
        <xs:element ref="ns1:c"/>
        <xs:element ref="ns1:pc"/>
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.lPart"/>
        <xs:group ref="ns1:model.hiLike"/>
        <xs:group ref="ns1:model.pPart.edit"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="lemma" type="ns1:data.text">
        <xs:annotation>
          <xs:documentation>provides a lemma for the word, such as an uninflected dictionary entry form.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="lemmaRef" type="ns1:data.pointer">
        <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:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="m">
    <xs:annotation>
      <xs:documentation>(morpheme) represents a grammatical morpheme. [17.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.hiLike"/>
        <xs:element ref="ns1:seg"/>
        <xs:element ref="ns1:m"/>
        <xs:element ref="ns1:c"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="baseForm" type="ns1:data.word">
        <xs:annotation>
          <xs:documentation>supplies the morpheme's base form.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="c">
    <xs:annotation>
      <xs:documentation>(character) represents a character. [17.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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. [17.1. Linguistic Segment Categories]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:c"/>
        <xs:group ref="ns1:model.pPart.edit"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
      <xs:attributeGroup ref="ns1: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" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>provides a name for the kind of unit delimited by this punctuation mark.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="pre" type="ns1:data.truthValue">
        <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="span">
    <xs:annotation>
      <xs:documentation>associates an interpretative annotation directly with a span of text. [17.3. Spans and Interpretations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.interpLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attribute name="from" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>gives the identifier of the node which is the starting point of the span of text being annotated; if not accompanied by a to attribute, gives the identifier of the node of the entire span of text being annotated.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="to" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>gives the identifier of the node which is the end-point of the span of text being annotated.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="spanGrp">
    <xs:annotation>
      <xs:documentation>(span group) collects together span tags. [17.3. Spans and Interpretations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:span"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.interpLike.attributes"/>
    </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. [17.3. Spans and Interpretations]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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. [17.3. Spans and Interpretations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:interp"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.interpLike.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="precision">
    <xs:annotation>
      <xs:documentation>indicates the numerical accuracy or precision associated with some aspect of the text markup. [21.2. Indications of Precision]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.scoping.attributes"/>
      <xs:attributeGroup ref="ns1:att.ranging.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attribute name="precision" type="ns1:data.certainty">
        <xs:annotation>
          <xs:documentation>characterizes the precision of the element or attribute pointed to by the precision element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="stdDeviation" type="ns1:data.numeric">
        <xs:annotation>
          <xs:documentation>supplies a standard deviation associated with the value in question</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="certainty">
    <xs:annotation>
      <xs:documentation>indicates the degree of certainty associated with some aspect of the text markup. [21.1.2. Structured Indications of Uncertainty]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlid"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.n"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmllang"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlbase"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlspace"/>
      <xs:attributeGroup ref="ns1:att.global.rendition.attribute.rend"/>
      <xs:attributeGroup ref="ns1:att.global.rendition.attribute.style"/>
      <xs:attributeGroup ref="ns1:att.global.rendition.attribute.rendition"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.corresp"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.synch"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.sameAs"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.copyOf"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.next"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.prev"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.exclude"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.select"/>
      <xs:attributeGroup ref="ns1:att.global.analytic.attribute.ana"/>
      <xs:attributeGroup ref="ns1:att.global.facs.attribute.facs"/>
      <xs:attributeGroup ref="ns1:att.global.change.attribute.change"/>
      <xs:attributeGroup ref="ns1:att.global.responsibility.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.scoping.attributes"/>
      <xs:attribute name="cert" type="ns1:data.certainty">
        <xs:annotation>
          <xs:documentation>(certainty) signifies the degree of certainty associated with the object pointed to by the certainty element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="locus" use="required">
        <xs:annotation>
          <xs:documentation>indicates more exactly the aspect concerning which certainty is being expressed: specifically, whether the markup is correctly located, whether the correct element or attribute name has been used, or whether the content of the element or attribute is correct, etc.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="name">
              <xs:annotation>
                <xs:documentation>uncertainty concerns whether the name of the element or attribute used is correctly applied.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="start">
              <xs:annotation>
                <xs:documentation>uncertainty concerns whether the start of the element is correctly identified.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="end">
              <xs:annotation>
                <xs:documentation>uncertainty concerns whether the end of the element is correctly identified.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="location">
              <xs:annotation>
                <xs:documentation>uncertainty concerns both the start and the end of the element.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="value">
              <xs:annotation>
                <xs:documentation>uncertainty concerns the content (for an element) or the value (for an attribute)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="assertedValue">
        <xs:annotation>
          <xs:documentation>provides an alternative value for the aspect of the markup in question—an alternative generic identifier, transcription, or attribute value, or the identifier of an anchor element (to indicate an alternative starting or ending location). If an assertedValue is given, the confidence level specified by degree applies to the alternative markup specified by assertedValue; if none is given, it applies to the markup in the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="ns1:data.pointer ns1:data.name ns1:data.word"/>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="given">
        <xs:annotation>
          <xs:documentation>indicates one or more element(s) characterizing the conditions which are assumed in the assignment of a degree of confidenceconditions assumed in the assignment of a degree of confidence.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="degree" type="ns1:data.probability">
        <xs:annotation>
          <xs:documentation>indicates the degree of confidence assigned to the aspect of the markup named by the locus attribute.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="respons">
    <xs:annotation>
      <xs:documentation>(responsibility) identifies the individual(s) responsible for some aspect of the content or markup of particular element(s). [21.3. Attribution of Responsibility]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.scoping.attributes"/>
      <xs:attributeGroup ref="ns1:att.source.attributes"/>
      <xs:attribute name="locus" use="required">
        <xs:annotation>
          <xs:documentation>indicates the specific aspect of the encoding (markup or content) for which responsibility is being assigned.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="name">
                      <xs:annotation>
                        <xs:documentation>responsibility is being assigned concerning the name of the element or attribute used.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="start">
                      <xs:annotation>
                        <xs:documentation>responsibility is being assigned concerning the start of the element concerned.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="end">
                      <xs:annotation>
                        <xs:documentation>responsibility is being assigned concerning the end of the element concerned.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="location">
                      <xs:annotation>
                        <xs:documentation>responsibility is being assigned concerning the location of the element concerned.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="value">
                      <xs:annotation>
                        <xs:documentation>responsibility is being assigned concerning the content (for an element) or the value (for an attribute)</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="textDesc">
    <xs:annotation>
      <xs:documentation>(text description) provides a description of a text in terms of its situational parameters. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="ns1:model.textDescPart_sequence"/>
        <xs:element maxOccurs="unbounded" ref="ns1:purpose"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="particDesc">
    <xs:annotation>
      <xs:documentation>(participation description) describes the identifiable speakers, voices, or other participants in any kind of text or other persons named or otherwise referred to in a text, edition, or metadata. [15.2. Contextual Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.personLike"/>
          <xs:element ref="ns1:listPerson"/>
          <xs:element ref="ns1:listOrg"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="settingDesc">
    <xs:annotation>
      <xs:documentation>(setting description) describes the setting or settings within which a language interaction takes place, or other places otherwise referred to in a text, edition, or metadata. [15.2. Contextual Information 2.4. The Profile Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:setting"/>
          <xs:group ref="ns1:model.placeLike"/>
          <xs:element ref="ns1:listPlace"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="channel">
    <xs:annotation>
      <xs:documentation>(primary channel) describes the medium or channel by which a text is delivered or experienced. For a written text, this might be print, manuscript, email, etc.; for a spoken one, radio, telephone, face-to-face, etc. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="mode" default="x">
            <xs:annotation>
              <xs:documentation>specifies the mode of this channel with respect to speech and writing.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="s">
                  <xs:annotation>
                    <xs:documentation>(spoken) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="w">
                  <xs:annotation>
                    <xs:documentation>(written) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="sw">
                  <xs:annotation>
                    <xs:documentation>(spoken to be written) e.g. dictation</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="ws">
                  <xs:annotation>
                    <xs:documentation>(written to be spoken) e.g. a script</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="m">
                  <xs:annotation>
                    <xs:documentation>(mixed) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="x">
                  <xs:annotation>
                    <xs:documentation>(unknown or inapplicable) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="constitution">
    <xs:annotation>
      <xs:documentation>describes the internal composition of a text or text sample, for example as fragmentary, complete, etc. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" default="single">
            <xs:annotation>
              <xs:documentation>specifies how the text was constituted.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="single">
                  <xs:annotation>
                    <xs:documentation>a single complete text</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="composite">
                  <xs:annotation>
                    <xs:documentation>a text made by combining several smaller items, each individually complete</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="frags">
                  <xs:annotation>
                    <xs:documentation>(fragments) a text made by combining several smaller, not necessarily complete, items</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="unknown">
                  <xs:annotation>
                    <xs:documentation>composition unknown or unspecified</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="derivation">
    <xs:annotation>
      <xs:documentation>describes the nature and extent of originality of this text. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>categorizes the derivation of the text.
Sample values include: 1] original; 2] revision; 3] translation; 4] abridgment; 5] plagiarism; 6] traditional</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="domain">
    <xs:annotation>
      <xs:documentation>(domain of use) describes the most important social context in which the text was realized or for which it is intended, for example private vs. public, education, religion, etc. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>categorizes the domain of use.
Sample values include: 1] art; 2] domestic; 3] religious; 4] business; 5] education; 6] govt(government) ; 7] public</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="factuality">
    <xs:annotation>
      <xs:documentation>describes the extent to which the text may be regarded as imaginative or non-imaginative, that is, as describing a fictional or a non-fictional world. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>categorizes the factuality of the text.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="fiction">
                  <xs:annotation>
                    <xs:documentation>the text is to be regarded as entirely imaginative</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="fact">
                  <xs:annotation>
                    <xs:documentation>the text is to be regarded as entirely informative or factual</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="mixed">
                  <xs:annotation>
                    <xs:documentation>the text contains a mixture of fact and fiction</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="inapplicable">
                  <xs:annotation>
                    <xs:documentation>the fiction/fact distinction is not regarded as helpful or appropriate to this text</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="interaction">
    <xs:annotation>
      <xs:documentation>describes the extent, cardinality and nature of any interaction among those producing and experiencing the text, for example in the form of response or interjection, commentary, etc. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>specifies the degree of interaction between active and passive participants in the text.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="none">
                  <xs:annotation>
                    <xs:documentation>no interaction of any kind, e.g. a monologue</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="partial">
                  <xs:annotation>
                    <xs:documentation>some degree of interaction, e.g. a monologue with set responses</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="complete">
                  <xs:annotation>
                    <xs:documentation>complete interaction, e.g. a face to face conversation</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="inapplicable">
                  <xs:annotation>
                    <xs:documentation>this parameter is inappropriate or inapplicable in this case</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="active">
            <xs:annotation>
              <xs:documentation>specifies the number of active participants (or addressors) producing parts of the text.
Suggested values include: 1] singular; 2] plural; 3] corporate; 4] unknown</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="singular">
                      <xs:annotation>
                        <xs:documentation>a single addressor</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="plural">
                      <xs:annotation>
                        <xs:documentation>many addressors</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="corporate">
                      <xs:annotation>
                        <xs:documentation>a corporate addressor</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="unknown">
                      <xs:annotation>
                        <xs:documentation>number of addressors unknown or unspecifiable</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="passive">
            <xs:annotation>
              <xs:documentation>specifies the number of passive participants (or addressees) to whom a text is directed or in whose presence it is created or performed.
Suggested values include: 1] self; 2] single; 3] many; 4] group; 5] world</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="self">
                      <xs:annotation>
                        <xs:documentation>text is addressed to the originator e.g. a diary</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="single">
                      <xs:annotation>
                        <xs:documentation>text is addressed to one other person e.g. a personal letter</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="many">
                      <xs:annotation>
                        <xs:documentation>text is addressed to a countable number of others e.g. a conversation in which all participants are identified</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="group">
                      <xs:annotation>
                        <xs:documentation>text is addressed to an undefined but fixed number of participants e.g. a lecture</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="world">
                      <xs:annotation>
                        <xs:documentation>text is addressed to an undefined and indeterminately large number e.g. a published book</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="preparedness">
    <xs:annotation>
      <xs:documentation>describes the extent to which a text may be regarded as prepared or spontaneous. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>a keyword characterizing the type of preparedness.
Sample values include: 1] none; 2] scripted; 3] formulaic; 4] revised</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="purpose">
    <xs:annotation>
      <xs:documentation>characterizes a single purpose or communicative function of the text. [15.2.1. The Text Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>specifies a particular kind of purpose.
Suggested values include: 1] persuade; 2] express; 3] inform; 4] entertain</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="persuade">
                      <xs:annotation>
                        <xs:documentation>didactic, advertising, propaganda, etc.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="express">
                      <xs:annotation>
                        <xs:documentation>self expression, confessional, etc.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="inform">
                      <xs:annotation>
                        <xs:documentation>convey information, educate, etc.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="entertain">
                      <xs:annotation>
                        <xs:documentation>amuse, entertain, etc.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="degree" type="ns1:data.certainty">
            <xs:annotation>
              <xs:documentation>specifies the extent to which this purpose predominates.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="setting">
    <xs:annotation>
      <xs:documentation>describes one particular setting in which a language interaction takes place. [15.2.3. The Setting Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.nameLike.agent"/>
          <xs:group ref="ns1:model.dateLike"/>
          <xs:group ref="ns1:model.settingPart"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="locale">
    <xs:annotation>
      <xs:documentation>contains a brief informal description of the kind of place concerned, for example: a room, a restaurant, a park bench, etc. [15.2.3. The Setting Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="activity">
    <xs:annotation>
      <xs:documentation>contains a brief informal description of what a participant in a language interaction is doing other than speaking, if anything. [15.2.3. The Setting Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:group name="model.entryLike">
    <xs:choice>
      <xs:element ref="ns1:superEntry"/>
      <xs:element ref="ns1:entry"/>
      <xs:element ref="ns1:entryFree"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.entryLike.attributes">
    <xs:attributeGroup ref="ns1:att.entryLike.attribute.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.entryLike.attribute.type">
    <xs:attribute name="type" default="main">
      <xs:annotation>
        <xs:documentation>indicates type of entry, in dictionaries with multiple types.
Suggested values include: 1] main; 2] hom(homograph) ; 3] xref(cross reference) ; 4] affix; 5] abbr(abbreviation) ; 6] supplemental; 7] foreign</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:Name">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="main">
                <xs:annotation>
                  <xs:documentation>a main entry (default).</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="hom">
                <xs:annotation>
                  <xs:documentation>(homograph) groups information relating to one homograph within an entry.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="xref">
                <xs:annotation>
                  <xs:documentation>(cross reference) a reduced entry whose only function is to point to another main entry (e.g. for forms of an irregular verb or for variant spellings: was pointing to be, or esthete to aesthete).</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="affix">
                <xs:annotation>
                  <xs:documentation>an entry for a prefix, infix, or suffix.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="abbr">
                <xs:annotation>
                  <xs:documentation>(abbreviation) an entry for an abbreviation.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="supplemental">
                <xs:annotation>
                  <xs:documentation>a supplemental entry (for use in dictionaries which issue supplements to their main work in which they include updated information about entries).</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>an entry for a foreign word in a monolingual dictionary.</xs:documentation>
                </xs:annotation>
              </xs:enumeration>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attributes">
    <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.expand"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.norm"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.split"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.value"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.orig"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.location"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.mergedIn"/>
    <xs:attributeGroup ref="ns1:att.lexicographic.attribute.opt"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.expand">
    <xs:attribute name="expand">
      <xs:annotation>
        <xs:documentation>gives an expanded form of information presented more concisely in the dictionary</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.norm">
    <xs:attribute name="norm" type="ns1:data.text">
      <xs:annotation>
        <xs:documentation>(normalized) gives a normalized form of information given by the source text in a non-normalized form</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.split">
    <xs:attribute name="split" type="ns1:data.text">
      <xs:annotation>
        <xs:documentation>gives the list of split values for a merged form</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.value">
    <xs:attribute name="value" type="ns1:data.text">
      <xs:annotation>
        <xs:documentation>gives a value which lacks any realization in the printed source text.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.orig">
    <xs:attribute name="orig" type="ns1:data.text">
      <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.lexicographic.attribute.location">
    <xs:attribute name="location" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates an anchor element typically elsewhere in the document, but possibly in another document, which is the original location of this component.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.mergedIn">
    <xs:attribute name="mergedIn" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>gives a reference to another element, where the original appears as a merged form.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.lexicographic.attribute.opt">
    <xs:attribute name="opt" default="false" type="ns1:data.truthValue">
      <xs:annotation>
        <xs:documentation>(optional) indicates whether the element is optional or not</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.morphLike">
    <xs:choice>
      <xs:element ref="ns1:gram"/>
      <xs:element ref="ns1:gen"/>
      <xs:element ref="ns1:number"/>
      <xs:element ref="ns1:case"/>
      <xs:element ref="ns1:per"/>
      <xs:element ref="ns1:tns"/>
      <xs:element ref="ns1:mood"/>
      <xs:element ref="ns1:iType"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.morphLike_alternation">
    <xs:choice>
      <xs:element ref="ns1:gram"/>
      <xs:element ref="ns1:gen"/>
      <xs:element ref="ns1:number"/>
      <xs:element ref="ns1:case"/>
      <xs:element ref="ns1:per"/>
      <xs:element ref="ns1:tns"/>
      <xs:element ref="ns1:mood"/>
      <xs:element ref="ns1:iType"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.morphLike_sequence">
    <xs:sequence>
      <xs:element ref="ns1:gram"/>
      <xs:element ref="ns1:gen"/>
      <xs:element ref="ns1:number"/>
      <xs:element ref="ns1:case"/>
      <xs:element ref="ns1:per"/>
      <xs:element ref="ns1:tns"/>
      <xs:element ref="ns1:mood"/>
      <xs:element ref="ns1:iType"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.morphLike_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:gram"/>
      <xs:element minOccurs="0" ref="ns1:gen"/>
      <xs:element minOccurs="0" ref="ns1:number"/>
      <xs:element minOccurs="0" ref="ns1:case"/>
      <xs:element minOccurs="0" ref="ns1:per"/>
      <xs:element minOccurs="0" ref="ns1:tns"/>
      <xs:element minOccurs="0" ref="ns1:mood"/>
      <xs:element minOccurs="0" ref="ns1:iType"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.morphLike_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:gram"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:gen"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:number"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:case"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:per"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:tns"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mood"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:iType"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.morphLike_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:gram"/>
      <xs:element maxOccurs="unbounded" ref="ns1:gen"/>
      <xs:element maxOccurs="unbounded" ref="ns1:number"/>
      <xs:element maxOccurs="unbounded" ref="ns1:case"/>
      <xs:element maxOccurs="unbounded" ref="ns1:per"/>
      <xs:element maxOccurs="unbounded" ref="ns1:tns"/>
      <xs:element maxOccurs="unbounded" ref="ns1:mood"/>
      <xs:element maxOccurs="unbounded" ref="ns1:iType"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.gramPart">
    <xs:choice>
      <xs:group ref="ns1:model.morphLike"/>
      <xs:element ref="ns1:gramGrp"/>
      <xs:element ref="ns1:pos"/>
      <xs:element ref="ns1:subc"/>
      <xs:element ref="ns1:colloc"/>
      <xs:element ref="ns1:usg"/>
      <xs:element ref="ns1:lbl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.formPart">
    <xs:choice>
      <xs:group ref="ns1:model.gramPart"/>
      <xs:element ref="ns1:form"/>
      <xs:element ref="ns1:orth"/>
      <xs:element ref="ns1:pron"/>
      <xs:element ref="ns1:hyph"/>
      <xs:element ref="ns1:syll"/>
      <xs:element ref="ns1:stress"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.ptrLike.form">
    <xs:choice>
      <xs:element ref="ns1:oRef"/>
      <xs:element ref="ns1:oVar"/>
      <xs:element ref="ns1:pRef"/>
      <xs:element ref="ns1:pVar"/>
    </xs:choice>
  </xs:group>
  <xs:element name="superEntry">
    <xs:annotation>
      <xs:documentation>groups a sequence of entries within any kind of lexical resource, such as a dictionary or lexicon which function as a single unit, for example a set of homographs. [9.1. Dictionary Body and Overall Structure]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:form"/>
          <xs:element maxOccurs="unbounded" ref="ns1:entry"/>
        </xs:sequence>
        <xs:element ref="ns1:dictScrap"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.entryLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="entry">
    <xs:annotation>
      <xs:documentation>contains a single structured entry in any kind of lexical resource, such as a dictionary or lexicon. [9.1. Dictionary Body and Overall Structure 9.2. The Structure of Dictionary Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:hom"/>
        <xs:element ref="ns1:sense"/>
        <xs:group ref="ns1:model.entryPart.top"/>
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.ptrLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.entryLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="entryFree">
    <xs:annotation>
      <xs:documentation>(unstructured entry) contains a single unstructured entry in any kind of lexical resource, such as a dictionary or lexicon. [9.1. Dictionary Body and Overall Structure 9.2. The Structure of Dictionary Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.entryPart"/>
        <xs:group ref="ns1:model.morphLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.entryLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="hom">
    <xs:annotation>
      <xs:documentation>(homograph) groups information relating to one homograph within an entry. [9.2. The Structure of Dictionary Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:sense"/>
        <xs:group ref="ns1:model.entryPart.top"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sense">
    <xs:annotation>
      <xs:documentation>groups together all information relating to one word sense in a dictionary entry, for example definitions, examples, and translation equivalents. [9.2. The Structure of Dictionary Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:sense"/>
        <xs:group ref="ns1:model.entryPart.top"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attribute name="level" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the nesting depth of this sense.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="dictScrap">
    <xs:annotation>
      <xs:documentation>(dictionary scrap) encloses a part of a dictionary entry in which other phrase-level dictionary elements are freely combined. [9.1. Dictionary Body and Overall Structure 9.2. The Structure of Dictionary Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.entryPart"/>
        <xs:group ref="ns1:model.morphLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="form">
    <xs:annotation>
      <xs:documentation>(form information group) groups all the information on the written and spoken forms of one headword. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.formPart"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>classifies form as simple, compound, etc.
Suggested values include: 1] simple; 2] lemma; 3] variant; 4] compound; 5] derivative; 6] inflected; 7] phrase</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="simple">
                  <xs:annotation>
                    <xs:documentation>single free lexical item</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="lemma">
                  <xs:annotation>
                    <xs:documentation>the headword itself</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="variant">
                  <xs:annotation>
                    <xs:documentation>a variant form</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="compound">
                  <xs:annotation>
                    <xs:documentation>word formed from simple lexical items</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="derivative">
                  <xs:annotation>
                    <xs:documentation>word derived from headword</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="inflected">
                  <xs:annotation>
                    <xs:documentation>word in other than usual dictionary form</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="phrase">
                  <xs:annotation>
                    <xs:documentation>multiple-word lexical item</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="orth">
    <xs:annotation>
      <xs:documentation>(orthographic form) gives the orthographic form of a dictionary headword. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>gives the type of spelling.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="extent" default="full" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>gives the extent of the orthographic information provided.
Sample values include: 1] full(full form) ; 2] pref(prefix) ; 3] suff(suffix) ; 4] part(partial) </xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="pron">
    <xs:annotation>
      <xs:documentation>(pronunciation) contains the pronunciation(s) of the word. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attribute name="extent" default="full" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>indicates whether the pronunciation is for whole word or part.
Sample values include: 1] full(full form) ; 2] pref(prefix) ; 3] suff(suffix) ; 4] part(partial) </xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="notation" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>indicates what notation is used for the pronunciation, if more than one occurs in the machine-readable dictionary.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="hyph">
    <xs:annotation>
      <xs:documentation>(hyphenation) contains a hyphenated form of a dictionary headword, or hyphenation information in some other form. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="syll">
    <xs:annotation>
      <xs:documentation>(syllabification) contains the syllabification of the headword. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="stress">
    <xs:annotation>
      <xs:documentation>contains the stress pattern for a dictionary headword, if given separately. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gram">
    <xs:annotation>
      <xs:documentation>(grammatical information) within an entry in a dictionary or a terminological data file, contains grammatical information relating to a term, word, or form. [9.3.2. Grammatical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>classifies the grammatical information given according to some convenient typology—in the case of terminological information, preferably the dictionary of data element types specified in ISO 12620.
Sample values include: 1] pos(part of speech) ; 2] gen(gender) ; 3] num(number) ; 4] animate; 5] proper</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gen">
    <xs:annotation>
      <xs:documentation>(gender) identifies the morphological gender of a lexical item, as given in the dictionary. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="number">
    <xs:annotation>
      <xs:documentation>indicates grammatical number associated with a form, as given in a dictionary. [9.3.1. Information on Written and Spoken Forms 9.3.2. Grammatical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="case">
    <xs:annotation>
      <xs:documentation>contains grammatical case information given by a dictionary for a given form. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="per">
    <xs:annotation>
      <xs:documentation>(person) contains an indication of the grammatical person (1st, 2nd, 3rd, etc.) associated with a given inflected form in a dictionary. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="tns">
    <xs:annotation>
      <xs:documentation>(tense) indicates the grammatical tense associated with a given inflected form in a dictionary. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="mood">
    <xs:annotation>
      <xs:documentation>contains information about the grammatical mood of verbs (e.g. indicative, subjunctive, imperative). [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="iType">
    <xs:annotation>
      <xs:documentation>(inflectional class) indicates the inflectional class associated with a lexical item. [9.3.1. Information on Written and Spoken Forms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>indicates the type of indicator used to specify the inflection class, when it is necessary to distinguish between the usual abbreviated indications (e.g. inv) and other kinds of indicators, such as special codes referring to conjugation patterns, etc.
Sample values include: 1] abbrev; 2] verbTable</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gramGrp">
    <xs:annotation>
      <xs:documentation>(grammatical information group) groups morpho-syntactic information about a lexical item, e.g. pos, gen, number, case, or iType (inflectional class). [9.3.2. Grammatical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.gramPart"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="pos">
    <xs:annotation>
      <xs:documentation>(part of speech) indicates the part of speech assigned to a dictionary headword such as noun, verb, or adjective. [9.3.2. Grammatical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="subc">
    <xs:annotation>
      <xs:documentation>(subcategorization) contains subcategorization information (transitive/intransitive, countable/non-countable, etc.) [9.3.2. Grammatical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="colloc">
    <xs:annotation>
      <xs:documentation>(collocate) contains any sequence of words that co-occur with the headword with significant frequency. [9.3.2. Grammatical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="def">
    <xs:annotation>
      <xs:documentation>(definition) contains definition text in a dictionary entry. [9.3.3.1. Definitions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="etym">
    <xs:annotation>
      <xs:documentation>(etymology) encloses the etymological information in a dictionary entry. [9.3.4. Etymological Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:element ref="ns1:usg"/>
        <xs:element ref="ns1:lbl"/>
        <xs:element ref="ns1:def"/>
        <xs:group ref="ns1:model.morphLike"/>
        <xs:element ref="ns1:xr"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lang">
    <xs:annotation>
      <xs:documentation>(language name) contains the name of a language mentioned in etymological or other linguistic discussion. [9.3.4. Etymological Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="usg">
    <xs:annotation>
      <xs:documentation>(usage) contains usage information in a dictionary entry. [9.3.5.2. Usage Information and Other Labels]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>classifies the usage information using any convenient typology.
Sample values include: 1] geo(geographic) ; 2] time; 3] dom(domain) ; 4] register; 5] style; 6] plev(preference level) ; 7] lang(language) ; 8] gram(grammatical) ; 9] syn(synonym) ; 10] hyper(hypernym) ; 11] colloc(collocation) ; 12] comp(complement) ; 13] obj(object) ; 14] subj(subject) ; 15] verb; 16] hint</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="lbl">
    <xs:annotation>
      <xs:documentation>(label) contains a label for a form, example, translation, or other piece of information, e.g. abbreviation for, contraction of, literally, approximately, synonyms:, etc. [9.3.1. Information on Written and Spoken Forms 9.3.3.2. Translation Equivalents 9.3.5.3. Cross-References to Other Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>classifies the label using any convenient typology.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="xr">
    <xs:annotation>
      <xs:documentation>(cross-reference phrase) contains a phrase, sentence, or icon referring the reader to some other location in this or another text. [9.3.5.3. Cross-References to Other Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:element ref="ns1:usg"/>
        <xs:element ref="ns1:lbl"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>indicates the type of cross reference, using any convenient typology.
Sample values include: 1] syn(synonym) ; 2] etym(etymological) ; 3] cf(compare or consult) ; 4] illus(illustration) </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="re">
    <xs:annotation>
      <xs:documentation>(related entry) contains a dictionary entry for a lexical item related to the headword, such as a compound phrase or derived form, embedded inside a larger entry. [9.3.6. Related Entries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:sense"/>
        <xs:group ref="ns1:model.entryPart.top"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="oRef">
    <xs:annotation>
      <xs:documentation>(orthographic-form reference) in a dictionary example, indicates a reference to the orthographic form(s) of the headword. [9.4. Headword and Pronunciation References]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>indicates the kind of typographic modification made to the headword in the reference.
Sample values include: 1] cap(capital) ; 2] noHyph(no hyphen) </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="oVar">
    <xs:annotation>
      <xs:documentation>(orthographic-variant reference) in a dictionary example, indicates a reference to variant orthographic form(s) of the headword. [9. Dictionaries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:oRef"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>indicates the kind of variant involved.
Sample values include: 1] pt(past tense) ; 2] pp(past participle) ; 3] prp(present participle) ; 4] f(feminine) ; 5] pl(plural) </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="pRef">
    <xs:annotation>
      <xs:documentation>(pronunciation reference) in a dictionary example, indicates a reference to the pronunciation(s) of the headword. [9.4. Headword and Pronunciation References]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="pVar">
    <xs:annotation>
      <xs:documentation>(pronunciation-variant reference) in a dictionary example, indicates a reference to variant pronunciation(s) of the headword. [9. Dictionaries]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:pRef"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.lexicographic.attributes"/>
      <xs:attribute name="notation" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>indicates what notation is used for the pronunciation, if more than one occurs in the machine-readable dictionary.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="set">
    <xs:annotation>
      <xs:documentation>(setting) contains a description of the setting, time, locale, appearance, etc., of the action of a play, typically found in the front matter of a printed performance text (not a stage direction). [7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.headLike"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="prologue">
    <xs:annotation>
      <xs:documentation>contains the prologue to a drama, typically spoken by an actor out of character, possibly in association with a particular performance or venue. [7.1.2. Prologues and Epilogues 7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="epilogue">
    <xs:annotation>
      <xs:documentation>contains the epilogue to a drama, typically spoken by an actor out of character, possibly in association with a particular performance or venue. [7.1.2. Prologues and Epilogues 7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="performance">
    <xs:annotation>
      <xs:documentation>contains a section of front or back matter describing how a dramatic piece is to be performed in general or how it was performed on some specific occasion. [7.1.3. Records of Performances 7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="castList">
    <xs:annotation>
      <xs:documentation>(cast list) contains a single cast list or dramatis personae. [7.1.4. Cast Lists 7.1. Front and Back Matter
 ]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="ns1:castItem"/>
            <xs:element ref="ns1:castGroup"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="castGroup">
    <xs:annotation>
      <xs:documentation>(cast list grouping) groups one or more individual castItem elements within a cast list. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.global"/>
          <xs:group ref="ns1:model.headLike"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="ns1:castItem"/>
            <xs:element ref="ns1:castGroup"/>
            <xs:element ref="ns1:roleDesc"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:trailer"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="castItem">
    <xs:annotation>
      <xs:documentation>(cast list item) contains a single entry within a cast list, describing either a single role or a list of non-speaking roles. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.castItemPart"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" default="role">
        <xs:annotation>
          <xs:documentation>characterizes the cast item.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="role">
              <xs:annotation>
                <xs:documentation>the item describes a single role.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="list">
              <xs:annotation>
                <xs:documentation>the item describes a list of non-speaking roles.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="role">
    <xs:annotation>
      <xs:documentation>contains the name of a dramatic role, as given in a cast list. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="roleDesc">
    <xs:annotation>
      <xs:documentation>(role description) describes a character's role in a drama. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="actor">
    <xs:annotation>
      <xs:documentation>contains the name of an actor appearing within a cast list. [7.1.4. Cast Lists]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="spGrp">
    <xs:annotation>
      <xs:documentation>(speech group) contains a group of speeches or songs in a performance text presented in a source as constituting a single unit or number. [7.2.3. Grouped Speeches]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.global"/>
          <xs:element ref="ns1:sp"/>
          <xs:group ref="ns1:model.stageLike"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="move">
    <xs:annotation>
      <xs:documentation>(movement) marks the actual entrance or exit of one or more characters on stage. [7.2.4. Stage Directions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>characterizes the movement, for example as an entrance or exit.
Suggested values include: 1] entrance; 2] exit; 3] onStage</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="entrance">
                  <xs:annotation>
                    <xs:documentation>character is entering the stage.</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>character is exiting the stage.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="onStage">
                  <xs:annotation>
                    <xs:documentation>character moves on stage</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="where">
        <xs:annotation>
          <xs:documentation>specifies the direction of a stage movement.
Sample values include: 1] L(left) ; 2] R(right) ; 3] C(center) </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.enumerated"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="perf">
        <xs:annotation>
          <xs:documentation>(performance) identifies the performance or performances in which this movement occurred as specified by pointing to one or more performance elements.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="view">
    <xs:annotation>
      <xs:documentation>describes the visual context of some part of a screen play in terms of what the spectator sees, generally independent of any dialogue. [7.3.1. Technical Information 7.3. Other Types of Performance Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="camera">
    <xs:annotation>
      <xs:documentation>describes a particular camera angle or viewpoint in a screen play. [7.3.1. Technical Information 7.3. Other Types of Performance Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="sound">
    <xs:annotation>
      <xs:documentation>describes a sound effect or musical sequence specified within a screen play or radio script. [7.3.1. Technical Information 7.3. Other Types of Performance Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>categorizes the sound in some respect, e.g. as music, special effect, etc.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="discrete" default="unknown" type="ns1:data.xTruthValue">
            <xs:annotation>
              <xs:documentation>indicates whether the sound overlaps the surrounding speeches or interrupts them.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="caption">
    <xs:annotation>
      <xs:documentation>contains the text of a caption or other text displayed as part of a film script or screenplay. [7.3.1. Technical Information 7.3. Other Types of Performance Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="tech">
    <xs:annotation>
      <xs:documentation>(technical stage direction) describes a special-purpose stage direction that is not meant for the actors. [7.3.1. Technical Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>categorizes the technical stage direction.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="light">
                  <xs:annotation>
                    <xs:documentation>a lighting cue</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="sound">
                  <xs:annotation>
                    <xs:documentation>a sound cue</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="prop">
                  <xs:annotation>
                    <xs:documentation>a prop cue</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="block">
                  <xs:annotation>
                    <xs:documentation>a blocking instruction</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="perf">
            <xs:annotation>
              <xs:documentation>(performance) points to one or more performance elements documenting the performance or performances to which this technical direction applies.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.pointer"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="table">
    <xs:annotation>
      <xs:documentation>contains text displayed in tabular form, in rows and columns. [14.1.1. TEI Tables]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.headLike"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:element ref="ns1:row"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="ns1:model.graphicLike"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="rows" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>indicates the number of rows in the table.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="cols" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>(columns) indicates the number of columns in each row of the table.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="row">
    <xs:annotation>
      <xs:documentation>contains one row of a table. [14.1.1. TEI Tables]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:cell"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.tableDecoration.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cell">
    <xs:annotation>
      <xs:documentation>contains one cell of a table. [14.1.1. TEI Tables]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.tableDecoration.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="formula">
    <xs:annotation>
      <xs:documentation>contains a mathematical or other formula. [14.2. Formulæ and
Mathematical Expressions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.graphicLike"/>
        <xs:group ref="ns1:model.hiLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="notation" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>names the notation used for the content of the element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="notatedMusic">
    <xs:annotation>
      <xs:documentation>encodes the presence of music notation in a text [14.3. Notated Music in Written Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.labelLike"/>
        <xs:group ref="ns1:model.ptrLike"/>
        <xs:element ref="ns1:graphic"/>
        <xs:element ref="ns1:binaryObject"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.placement.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="figure">
    <xs:annotation>
      <xs:documentation>groups elements representing or containing graphic information such as an illustration, formula, or figure. [14.4. Specific Elements for Graphic Images]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.headLike"/>
        <xs:group ref="ns1:model.common"/>
        <xs:element ref="ns1:figDesc"/>
        <xs:group ref="ns1:model.graphicLike"/>
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.divBottom"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.placement.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="figDesc">
    <xs:annotation>
      <xs:documentation>(description of figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it. [14.4. Specific Elements for Graphic Images]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="g">
    <xs:annotation>
      <xs:documentation>(character or glyph) represents a glyph, or a non-standard character. [5. Characters, Glyphs, and Writing Modes]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="ref" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>points to a description of the character or glyph intended.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="char">
    <xs:annotation>
      <xs:documentation>(character) provides descriptive information about a character. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:charName"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:charProp"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mapping"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:figure"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.graphicLike"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.noteLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="charName">
    <xs:annotation>
      <xs:documentation>(character name) contains the name of a character, expressed following Unicode conventions. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="charProp">
    <xs:annotation>
      <xs:documentation>(character property) provides a name and value for some property of the parent character or glyph. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:unicodeName"/>
          <xs:element ref="ns1:localName"/>
        </xs:choice>
        <xs:element ref="ns1:value"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="charDecl">
    <xs:annotation>
      <xs:documentation>(character declarations) provides information about nonstandard characters and glyphs. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:desc"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:char"/>
          <xs:element ref="ns1:glyph"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="glyph">
    <xs:annotation>
      <xs:documentation>(character glyph) provides descriptive information about a character glyph. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:glyphName"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:charProp"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mapping"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:figure"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.graphicLike"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.noteLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="glyphName">
    <xs:annotation>
      <xs:documentation>(character glyph name) contains the name of a glyph, expressed following Unicode conventions for character names. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="localName">
    <xs:annotation>
      <xs:documentation>(locally-defined property name) contains a locally defined name for some property. [5.2.1. Character Properties]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="mapping">
    <xs:annotation>
      <xs:documentation>(character mapping) contains one or more characters which are related to the parent character or glyph in some respect, as specified by the type attribute. [5.2. Markup Constructs for Representation of Characters and Glyphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="unicodeName">
    <xs:annotation>
      <xs:documentation>(unicode property name) contains the name of a registered Unicode normative or informative property. [5.2.1. Character Properties]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="version" type="ns1:data.version">
        <xs:annotation>
          <xs:documentation>specifies the version number of the Unicode Standard in which this property name is defined.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="value">
    <xs:annotation>
      <xs:documentation>contains a single value for some property, attribute, or other analysis. [5.2.1. Character Properties]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.patternReplacement.attributes">
    <xs:attributeGroup ref="ns1:att.patternReplacement.attribute.matchPattern"/>
    <xs:attributeGroup ref="ns1:att.patternReplacement.attribute.replacementPattern"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.patternReplacement.attribute.matchPattern">
    <xs:attribute name="matchPattern" use="required" type="ns1:data.pattern">
      <xs:annotation>
        <xs:documentation>specifies a regular expression against which the values of other attributes can be matched.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.patternReplacement.attribute.replacementPattern">
    <xs:attribute name="replacementPattern" use="required">
      <xs:annotation>
        <xs:documentation>specifies a replacement pattern, that is, the skeleton of a relative or absolute URI containing references to groups in the matchPattern which, once subpattern substitution has been performed, complete the URI.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="teiHeader">
    <xs:annotation>
      <xs:documentation>(TEI header) supplies the descriptive and declarative information making up an electronic title page for every TEI-conformant document. [2.1.1. The TEI Header and Its Components 15.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:fileDesc"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.teiHeaderPart"/>
        <xs:element minOccurs="0" ref="ns1:revisionDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" default="text" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies the kind of document to which the header is attached, for example whether it is a corpus or individual text.
Sample values include: 1] text; 2] corpus</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fileDesc">
    <xs:annotation>
      <xs:documentation>(file description) contains a full bibliographic description of an electronic file. [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="ns1:titleStmt"/>
          <xs:element minOccurs="0" ref="ns1:editionStmt"/>
          <xs:element minOccurs="0" ref="ns1:extent"/>
          <xs:element ref="ns1:publicationStmt"/>
          <xs:element minOccurs="0" ref="ns1:seriesStmt"/>
          <xs:element minOccurs="0" ref="ns1:notesStmt"/>
        </xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:sourceDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1: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="ns1:title"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.respLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sponsor">
    <xs:annotation>
      <xs:documentation>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="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.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="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.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="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.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="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element ref="ns1:edition"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.respLike"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="edition">
    <xs:annotation>
      <xs:documentation>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="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="extent">
    <xs:annotation>
      <xs:documentation>describes the approximate size of a text 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.11.2.4. Imprint, Size of a Document, and Reprint Information 10.7.1. Object Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1: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="ns1:model.publicationStmtPart.agency"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.publicationStmtPart.detail"/>
        </xs:sequence>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="distributor">
    <xs:annotation>
      <xs:documentation>supplies the name of a person or other agency responsible for the distribution of a text. [2.2.4. Publication, Distribution, Licensing, etc.]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="authority">
    <xs:annotation>
      <xs:documentation>(release authority) supplies the name of a person or other agency responsible for making 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="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="idno">
    <xs:annotation>
      <xs:documentation>(identifier) supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way. [2.2.4. Publication, Distribution, Licensing, etc. 2.2.5. The Series Statement 3.11.2.4. Imprint, Size of a Document, and Reprint Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:idno"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>categorizes the identifier, for example as an ISBN, Social Security number, etc.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="availability">
    <xs:annotation>
      <xs:documentation>supplies information about the availability of a text, for example any restrictions on its use or distribution, its copyright status, 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="ns1:model.availabilityPart"/>
        <xs:group ref="ns1:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attribute name="status" default="unknown">
        <xs:annotation>
          <xs:documentation>supplies a code identifying the current availability of the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="free">
              <xs:annotation>
                <xs:documentation>the text is freely available.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="unknown">
              <xs:annotation>
                <xs:documentation>the status of the text is unknown.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="restricted">
              <xs:annotation>
                <xs:documentation>the text is not freely available.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="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="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.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="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="ns1:title"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:editor"/>
            <xs:element ref="ns1:respStmt"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:idno"/>
            <xs:element ref="ns1:biblScope"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="notesStmt">
    <xs:annotation>
      <xs:documentation>(notes statement) collects together any notes providing information about a text additional to that recorded in other parts of the bibliographic description. [2.2.6. The Notes Statement 2.2. The File Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.noteLike"/>
        <xs:element ref="ns1:relatedItem"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sourceDesc">
    <xs:annotation>
      <xs:documentation>(source description) describes the source from which an electronic text was derived or generated, typically a bibliographic description in the case of a digitized text, or a phrase such as "born digital" for a text which has no previous existence. [2.2.7. The Source Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.biblLike"/>
          <xs:group ref="ns1:model.sourceDescPart"/>
          <xs:group ref="ns1:model.listLike"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="biblFull">
    <xs:annotation>
      <xs:documentation>(fully-structured bibliographic citation) contains a fully-structured bibliographic citation, in which all components of the TEI file description are present. [3.11.1. Methods of Encoding Bibliographic References and Lists of References 2.2. The File Description 2.2.7. The Source Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence>
          <xs:element ref="ns1:titleStmt"/>
          <xs:element minOccurs="0" ref="ns1:editionStmt"/>
          <xs:element minOccurs="0" ref="ns1:extent"/>
          <xs:element ref="ns1:publicationStmt"/>
          <xs:element minOccurs="0" ref="ns1:seriesStmt"/>
          <xs:element minOccurs="0" ref="ns1:notesStmt"/>
        </xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:sourceDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.docStatus.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="ns1:model.encodingDescPart"/>
        <xs:group ref="ns1:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1: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 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="samplingDecl">
    <xs:annotation>
      <xs:documentation>(sampling declaration) contains a prose description of the rationale and methods used in sampling texts in the creation of a corpus or collection. [2.3.2. The Sampling Declaration 2.3. The Encoding Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.pLike"/>
        <xs:group ref="ns1:model.editorialDeclPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="correction">
    <xs:annotation>
      <xs:documentation>(correction principles) states how and under what circumstances corrections have been made in the text. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attribute name="status" default="unknown">
        <xs:annotation>
          <xs:documentation>indicates the degree of correction applied to the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="high">
              <xs:annotation>
                <xs:documentation>the text has been thoroughly checked and proofread.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="medium">
              <xs:annotation>
                <xs:documentation>the text has been checked at least once.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="low">
              <xs:annotation>
                <xs:documentation>the text has not been checked.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="unknown">
              <xs:annotation>
                <xs:documentation>the correction status of the text is unknown.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="method" default="silent">
        <xs:annotation>
          <xs:documentation>indicates the method adopted to indicate corrections within the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="silent">
              <xs:annotation>
                <xs:documentation>corrections have been made silently</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="markup">
              <xs:annotation>
                <xs:documentation>corrections have been represented using markup</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="normalization">
    <xs:annotation>
      <xs:documentation>indicates the extent of normalization or regularization of the original source carried out in converting it to electronic form. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attribute name="source" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>indicates a bibliographic description or other resource documenting the principles underlying the normalization carried out.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="method" default="silent">
        <xs:annotation>
          <xs:documentation>indicates the method adopted to indicate normalizations within the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="silent">
              <xs:annotation>
                <xs:documentation>normalization made silently</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="markup">
              <xs:annotation>
                <xs:documentation>normalization represented using markup</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="quotation">
    <xs:annotation>
      <xs:documentation>specifies editorial practice adopted with respect to quotation marks in the original. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attribute name="marks">
        <xs:annotation>
          <xs:documentation>(quotation marks) indicates whether or not quotation marks have been retained as content within the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="none">
              <xs:annotation>
                <xs:documentation>no quotation marks have been retained</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="some">
              <xs:annotation>
                <xs:documentation>some quotation marks have been retained</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="all">
              <xs:annotation>
                <xs:documentation>all quotation marks have been retained</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="hyphenation">
    <xs:annotation>
      <xs:documentation>summarizes the way in which hyphenation in a source text has been treated in an encoded version of it. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attribute name="eol" default="some">
        <xs:annotation>
          <xs:documentation>(end-of-line) indicates whether or not end-of-line hyphenation has been retained in a text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="all">
              <xs:annotation>
                <xs:documentation>all end-of-line hyphenation has been retained, even though the lineation of the original may not have been.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="some">
              <xs:annotation>
                <xs:documentation>end-of-line hyphenation has been retained in some cases.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="hard">
              <xs:annotation>
                <xs:documentation>all soft end-of-line hyphenation has been removed: any remaining end-of-line hyphenation should be retained.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="none">
              <xs:annotation>
                <xs:documentation>all end-of-line hyphenation has been removed: any remaining hyphenation occurred within the line.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="segmentation">
    <xs:annotation>
      <xs:documentation>describes the principles according to which the text has been segmented, for example into sentences, tone-units, graphemic strata, etc. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="stdVals">
    <xs:annotation>
      <xs:documentation>(standard values) specifies the format used when standardized date or number values are supplied. [2.3.3. The Editorial Practices Declaration 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="interpretation">
    <xs:annotation>
      <xs:documentation>describes the scope of any analytic or interpretive information added to the text in addition to the transcription. [2.3.3. The Editorial Practices Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="punctuation">
    <xs:annotation>
      <xs:documentation>specifies editorial practice adopted with respect to punctuation marks in the original. [2.3.3. The Editorial Practices Declaration 3.2. Treatment of Punctuation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="marks">
        <xs:annotation>
          <xs:documentation>indicates whether or not punctation marks have been retained as content within the text.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="none">
              <xs:annotation>
                <xs:documentation>no punctuation marks have been retained</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="some">
              <xs:annotation>
                <xs:documentation>some punctuation marks have been retained</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="all">
              <xs:annotation>
                <xs:documentation>all punctuation marks have been retained</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="placement">
        <xs:annotation>
          <xs:documentation>indicates whether punctation marks have been captured inside or outside of an adjacent element.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="internal">
              <xs:annotation>
                <xs:documentation>punctuation marks are captured inside adjacent elements</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="external">
              <xs:annotation>
                <xs:documentation>punctuation marks are captured outside adjacent elements</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="tagsDecl">
    <xs:annotation>
      <xs:documentation>(tagging declaration) provides detailed information about the tagging applied to a document. [2.3.4. The Tagging Declaration 2.3. The Encoding Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:rendition"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:namespace"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="partial" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>indicates whether the element types listed exhaustively include all those found within text, or represent only a subset.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="tagUsage">
    <xs:annotation>
      <xs:documentation>supplies information about the usage of a specific element within a text. [2.3.4. The Tagging Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="gi" use="required" type="ns1:data.name">
            <xs:annotation>
              <xs:documentation>(generic identifier) specifies the name (generic identifier) of the element indicated by the tag, within the namespace indicated by the parent namespace element.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="occurs" type="ns1:data.count">
            <xs:annotation>
              <xs:documentation>specifies the number of occurrences of this element within the text.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="withId" type="ns1:data.count">
            <xs:annotation>
              <xs:documentation>(with unique identifier) specifies the number of occurrences of this element within the text which bear a distinct value for the global xml:id attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="render">
            <xs:annotation>
              <xs:documentation>specifies the identifier of a rendition element which defines how this element was rendered in the source text.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.pointer"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="namespace">
    <xs:annotation>
      <xs:documentation>supplies the formal name of the namespace to which the elements documented by its children belong. [2.3.4. The Tagging Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:tagUsage"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="name" use="required" type="ns1:data.namespace">
        <xs:annotation>
          <xs:documentation>specifies the full formal name of the namespace concerned.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="rendition">
    <xs:annotation>
      <xs:documentation>supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4. The Tagging Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.styleDef.attributes"/>
          <xs:attribute name="scope" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>where CSS is used, provides a way of defining pseudo-elements, that is, styling rules applicable to specific sub-portions of an element.
Sample values include: 1] first-line; 2] first-letter; 3] before; 4] after</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="selector" type="ns1:data.text">
            <xs:annotation>
              <xs:documentation>contains a selector or series of selectors specifying the elements to which the contained style description applies, expressed in the language specified in the scheme attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="styleDefDecl">
    <xs:annotation>
      <xs:documentation>(style definition language declaration) specifies the name of the formal language in which style or renditional information is supplied elsewhere in the document. The specific version of the scheme may also be supplied. [2.3.5. The Default Style Definition Language Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.styleDef.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:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:cRefPattern"/>
        <xs:element maxOccurs="unbounded" ref="ns1:refState"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cRefPattern">
    <xs:annotation>
      <xs:documentation>(canonical reference pattern) specifies an expression and replacement pattern for transforming a canonical reference into a URI. [2.3.6.3. Milestone Method 2.3.6. The Reference System Declaration 2.3.6.2. Search-and-Replace Method]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.patternReplacement.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="prefixDef">
    <xs:annotation>
      <xs:documentation>(prefixing scheme used in data.pointer values) defines a prefixing scheme used in data.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.patternReplacement.attributes"/>
      <xs:attribute name="ident" use="required" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>supplies a name which functions as the prefix for an abbreviated pointing scheme such as a private URI scheme. The prefix constitutes the text preceding the first colon.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="listPrefixDef">
    <xs:annotation>
      <xs:documentation>(list of prefix definitions) contains a list of definitions of prefixing schemes used in data.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:prefixDef"/>
        <xs:element ref="ns1:listPrefixDef"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="refState">
    <xs:annotation>
      <xs:documentation>(reference state) specifies one component of a canonical reference defined by the milestone method. [2.3.6.3. Milestone Method 2.3.6. The Reference System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.milestoneUnit.attributes"/>
      <xs:attributeGroup ref="ns1:att.edition.attributes"/>
      <xs:attribute name="length" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>specifies the fixed length of the reference component.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="delim" type="ns1:data.text">
        <xs:annotation>
          <xs:documentation>(delimiter) supplies a delimiting string following the reference component.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classDecl">
    <xs:annotation>
      <xs:documentation>(classification declarations) contains one or more taxonomies defining any classificatory codes used elsewhere in the text. [2.3.7. The Classification Declaration 2.3. The Encoding Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:taxonomy"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="taxonomy">
    <xs:annotation>
      <xs:documentation>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 minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:element maxOccurs="unbounded" ref="ns1:category"/>
        <xs:sequence>
          <xs:group ref="ns1:model.biblLike"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:category"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="category">
    <xs:annotation>
      <xs:documentation>contains an individual descriptive category, possibly nested within a superordinate category, within a user-defined taxonomy. [2.3.7. The Classification Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element maxOccurs="unbounded" ref="ns1:catDesc"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.descLike"/>
            <xs:group ref="ns1:model.glossLike"/>
          </xs:choice>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:category"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="catDesc">
    <xs:annotation>
      <xs:documentation>(category description) describes some category within a taxonomy or text typology, either in the form of a brief prose description or in terms of the situational parameters used by the TEI formal textDesc. [2.3.7. The Classification Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.limitedPhrase"/>
        <xs:group ref="ns1:model.catDescPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="geoDecl">
    <xs:annotation>
      <xs:documentation>(geographic coordinates declaration) documents the notation and the datum used for geographic coordinates expressed as content of the geo element elsewhere within the document. [2.3.8. The Geographic Coordinates Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
          <xs:attribute name="datum" default="WGS84">
            <xs:annotation>
              <xs:documentation>supplies a commonly used code name for the datum employed.
Suggested values include: 1] WGS84(World Geodetic System) ; 2] MGRS(Military Grid Reference System) ; 3] OSGB36(ordnance survey great britain) ; 4] ED50(European Datum coordinate system) </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="WGS84">
                      <xs:annotation>
                        <xs:documentation>(World Geodetic System) a pair of numbers to be interpreted as latitude followed by longitude according to the World Geodetic System.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="MGRS">
                      <xs:annotation>
                        <xs:documentation>(Military Grid Reference System) the values supplied are geospatial entity object codes, based on</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="OSGB36">
                      <xs:annotation>
                        <xs:documentation>(ordnance survey great britain) the value supplied is to be interpreted as a British National Grid Reference.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="ED50">
                      <xs:annotation>
                        <xs:documentation>(European Datum coordinate system) the value supplied is to be interpreted as latitude followed by longitude according to the European Datum coordinate system.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="appInfo">
    <xs:annotation>
      <xs:documentation>(application information) records information about an application which has edited the TEI file. [2.3.10. The Application Information Element]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.applicationLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="application">
    <xs:annotation>
      <xs:documentation>provides information about an application which has acted upon the document. [2.3.10. The Application Information Element]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group maxOccurs="unbounded" ref="ns1:model.labelLike"/>
        <xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.ptrLike"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attribute name="ident" use="required" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>supplies an identifier for the application, independent of its version number or display name.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="version" use="required" type="ns1:data.versionNumber">
        <xs:annotation>
          <xs:documentation>supplies a version number for the application, independent of its identifier or display name.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="profileDesc">
    <xs:annotation>
      <xs:documentation>(text-profile description) provides a detailed description of non-bibliographic aspects of a text, specifically the languages and sublanguages used, the situation in which it was produced, the participants and their setting. [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="ns1:model.profileDescPart"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="handNote">
    <xs:annotation>
      <xs:documentation>(note on hand) describes a particular style or hand distinguished within a manuscript. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.handFeatures.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="abstract">
    <xs:annotation>
      <xs:documentation>contains a summary or formal abstract prefixed to an existing source document by the encoder. [2.4.4. Abstracts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.pLike"/>
        <xs:group ref="ns1:model.listLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.source.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="creation">
    <xs:annotation>
      <xs:documentation>contains information about the creation of a text. [2.4.1. Creation 2.4. The Profile Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.limitedPhrase"/>
        <xs:element ref="ns1:listChange"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:language"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="language">
    <xs:annotation>
      <xs:documentation>characterizes a single language or sublanguage used within a text. [2.4.2. Language Usage]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="ident" use="required" type="ns1:data.language">
            <xs:annotation>
              <xs:documentation>(identifier) Supplies a language code constructed as defined in BCP 47 which is used to identify the language documented by this element, and which is referenced by the global xml:lang attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="usage">
            <xs:annotation>
              <xs:documentation>specifies the approximate percentage (by volume) of the text which uses this language.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:maxInclusive value="100"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="textClass">
    <xs:annotation>
      <xs:documentation>(text classification) groups information which describes the nature or topic of a text in terms of a standard classification scheme, thesaurus, etc. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:classCode"/>
        <xs:element ref="ns1:catRef"/>
        <xs:element ref="ns1:keywords"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="keywords">
    <xs:annotation>
      <xs:documentation>contains a list of keywords or phrases identifying the topic or nature of a text. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element maxOccurs="unbounded" ref="ns1:term"/>
        <xs:element ref="ns1:list"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="scheme" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the controlled vocabulary within which the set of keywords concerned is defined identifies the classification scheme within which the set of categories concerned is defined, for example by a taxonomy element, or by some other resource.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classCode">
    <xs:annotation>
      <xs:documentation>(classification code) contains the classification code used for this text in some standard classification system. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="scheme" use="required" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>identifies the classification system in use, as defined by for example by a taxonomy element, or some other resource.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="catRef">
    <xs:annotation>
      <xs:documentation>(category reference) specifies one or more defined categories within some taxonomy or text typology. [2.4.3. The Text Classification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attribute name="scheme" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the classification scheme within which the set of categories concerned is defined, for example by a taxonomy element, or by some other resource.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="calendarDesc">
    <xs:annotation>
      <xs:documentation>(calendar description) contains a description of the calendar system used in any dating expression found in the text. [2.4. The Profile Description 2.4.5. Calendar Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:calendar"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="calendar">
    <xs:annotation>
      <xs:documentation>describes a calendar or dating system used in a dating formula in the text. [2.4.5. Calendar Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="correspDesc">
    <xs:annotation>
      <xs:documentation>(correspondence
    description) contains a description of the actions related to one act of correspondence [2.4.6. Correspondence Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.correspDescPart"/>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="correspAction">
    <xs:annotation>
      <xs:documentation>contains a structured description of the place, the name of a person/organization and the date related to the sending/receiving of a message or any other action related to the correspondence [2.4.6. Correspondence Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.correspActionPart"/>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>describes the nature of the action
Suggested values include: 1] sent; 2] received; 3] transmitted; 4] redirected; 5] forwarded</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="sent">
                  <xs:annotation>
                    <xs:documentation>information concerning the sending or dispatch of a message</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="received">
                  <xs:annotation>
                    <xs:documentation>information concerning the receipt of a message</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="transmitted">
                  <xs:annotation>
                    <xs:documentation>information concerning the transmission of a message, i.e. between the dispatch and the next receipt, redirect or forwarding</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="redirected">
                  <xs:annotation>
                    <xs:documentation>information concerning the redirection of an unread message </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="forwarded">
                  <xs:annotation>
                    <xs:documentation>information concerning the forwarding of a message </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="correspContext">
    <xs:annotation>
      <xs:documentation>(correspondence context) provides references to preceding or following correspondence related to this piece of correspondence [2.4.6. Correspondence Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.correspContextPart"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="xenoData">
    <xs:annotation>
      <xs:documentation>(outside metadata) provides a container element into which metadata in non-TEI formats may be placed. [2.5. Non-TEI Metadata]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:macro.anyXML"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="revisionDesc">
    <xs:annotation>
      <xs:documentation>(revision description) summarizes the revision history for a file. [2.6. The Revision Description 2.1.1. The TEI Header and Its Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element ref="ns1:list"/>
        <xs:element ref="ns1:listChange"/>
        <xs:element maxOccurs="unbounded" ref="ns1:change"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.docStatus.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="change">
    <xs:annotation>
      <xs:documentation>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 11.7. Changes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.docStatus.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attribute name="target">
            <xs:annotation>
              <xs:documentation>points to one or more elements that belong to this change.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.pointer"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="typeNote">
    <xs:annotation>
      <xs:documentation>describes a particular font or other significant typographic feature distinguished within the description of a printed resource. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.handFeatures.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="scriptNote">
    <xs:annotation>
      <xs:documentation>describes a particular script distinguished within the description of a manuscript or similar resource. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.handFeatures.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="listChange">
    <xs:annotation>
      <xs:documentation>groups a number of change descriptions associated with either the creation of a source text or the revision of an encoded text. [2.6. The Revision Description 11.7. Changes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:listChange"/>
        <xs:element ref="ns1:change"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="ordered" default="true" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>indicates whether the ordering of its child change elements is to be considered significant or not</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fsdDecl">
    <xs:annotation>
      <xs:documentation>(feature system declaration) provides a feature system declaration comprising one or more feature structure declarations or feature structure declaration links. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:fsDecl"/>
        <xs:element ref="ns1:fsdLink"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fsDecl">
    <xs:annotation>
      <xs:documentation>(feature structure declaration) declares one type of feature structure. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:fsDescr"/>
        <xs:element maxOccurs="unbounded" ref="ns1:fDecl"/>
        <xs:element minOccurs="0" ref="ns1:fsConstraints"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" use="required" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>gives a name for the type of feature structure being declared.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="baseTypes">
        <xs:annotation>
          <xs:documentation>gives the name of one or more typed feature structures from which this type inherits feature specifications and constraints; if this type includes a feature specification with the same name as that of any of those specified by this attribute, or if more than one specification of the same name is inherited, then the set of possible values is defined by unification. Similarly, the set of constraints applicable is derived by combining those specified explicitly within this element with those implied by the baseTypes attribute. When no baseTypes attribute is specified, no feature specification or constraint is inherited.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.name"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fsDescr">
    <xs:annotation>
      <xs:documentation>(feature system description (in FSD)) describes in prose what is represented by the type of feature structure declared in the enclosing fsDecl. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="fsdLink">
    <xs:annotation>
      <xs:documentation>(feature structure declaration link) associates the name of a typed feature structure with a feature structure declaration for it. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" use="required" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>identifies the type of feature structure to be documented; this will be the value of the type attribute on at least one feature structure.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="target" use="required" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>supplies a pointer to a feature structure declaration (fsDecl) element within the current document or elsewhere.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fDecl">
    <xs:annotation>
      <xs:documentation>(feature declaration) declares a single feature, specifying its name, organization, range of allowed values, and optionally its default value. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:fDescr"/>
        <xs:element ref="ns1:vRange"/>
        <xs:element minOccurs="0" ref="ns1:vDefault"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="name" use="required" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>a single word which follows the rules defining a legal XML name (see ), indicating the name of the feature being declared; matches the name attribute of f elements in the text.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="optional" default="true" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>indicates whether or not the value of this feature may be present.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fDescr">
    <xs:annotation>
      <xs:documentation>(feature description (in FSD)) describes in prose what is represented by the feature being declared and its values. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="vRange">
    <xs:annotation>
      <xs:documentation>(value range) defines the range of allowed values for a feature, in the form of an fs, vAlt, or primitive value; for the value of an f to be valid, it must be subsumed by the specified range; if the f contains multiple values (as sanctioned by the org attribute), then each value must be subsumed by the vRange. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group ref="ns1:model.featureVal"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="vDefault">
    <xs:annotation>
      <xs:documentation>(value default) declares the default value to be supplied when a feature structure does not contain an instance of f for this name; if unconditional, it is specified as one (or, depending on the value of the org attribute of the enclosing fDecl) more fs elements or primitive values; if conditional, it is specified as one or more if elements; if no default is specified, or no condition matches, the value none is assumed. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.featureVal"/>
        <xs:element maxOccurs="unbounded" ref="ns1:if"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="if">
    <xs:annotation>
      <xs:documentation>defines a conditional default value for a feature; the condition is specified as a feature structure, and is met if it subsumes the feature structure in the text for which a default value is sought. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:fs"/>
          <xs:element ref="ns1:f"/>
        </xs:choice>
        <xs:element ref="ns1:then"/>
        <xs:group ref="ns1:model.featureVal"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="then">
    <xs:annotation>
      <xs:documentation>separates the condition from the default in an if, or the antecedent and the consequent in a cond element. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fsConstraints">
    <xs:annotation>
      <xs:documentation>(feature-structure constraints) specifies constraints on the content of valid feature structures. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:cond"/>
        <xs:element ref="ns1:bicond"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cond">
    <xs:annotation>
      <xs:documentation>(conditional feature-structure constraint) defines a conditional feature-structure constraint; the consequent and the antecedent are specified as feature structures or feature-structure collections; the constraint is satisfied if both the antecedent and the consequent subsume a given feature structure, or if the antecedent does not. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:fs"/>
          <xs:element ref="ns1:f"/>
        </xs:choice>
        <xs:element ref="ns1:then"/>
        <xs:choice>
          <xs:element ref="ns1:fs"/>
          <xs:element ref="ns1:f"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="bicond">
    <xs:annotation>
      <xs:documentation>(bi-conditional feature-structure constraint) defines a biconditional feature-structure constraint; both consequent and antecedent are specified as feature structures or groups of feature structures; the constraint is satisfied if both subsume a given feature structure, or if both do not. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:fs"/>
          <xs:element ref="ns1:f"/>
        </xs:choice>
        <xs:element ref="ns1:iff"/>
        <xs:choice>
          <xs:element ref="ns1:fs"/>
          <xs:element ref="ns1:f"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="iff">
    <xs:annotation>
      <xs:documentation>(if and only if) separates the condition from the consequence in a bicond element. [18.11. Feature System Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fs">
    <xs:annotation>
      <xs:documentation>(feature structure) represents a feature structure, that is, a collection of feature-value pairs organized as a structural unit. [18.2. Elementary Feature Structures and the Binary
Feature Value]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:f"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies the type of the feature structure.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="feats">
        <xs:annotation>
          <xs:documentation>(features) references the feature-value specifications making up this feature structure.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="f">
    <xs:annotation>
      <xs:documentation>(feature) represents a feature value specification, that is, the association of a name with a value of any of several different types. [18.2. Elementary Feature Structures and the Binary
Feature Value]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.featureVal"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
      <xs:attribute name="name" use="required" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>a single word which follows the rules defining a legal XML name (see ), providing a name for the feature.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="fVal" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>(feature value) references any element which can be used to represent the value of a feature.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="binary">
    <xs:annotation>
      <xs:documentation>(binary value) represents the value part of a feature-value specification which can contain either of exactly two possible values. [18.2. Elementary Feature Structures and the Binary
Feature Value]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
      <xs:attribute name="value" use="required" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>supplies a binary value.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="symbol">
    <xs:annotation>
      <xs:documentation>(symbolic value) represents the value part of a feature-value specification which contains one of a finite list of symbols. [18.3. Other Atomic Feature Values]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
      <xs:attribute name="value" use="required" type="ns1:data.word">
        <xs:annotation>
          <xs:documentation>supplies a symbolic value for the feature, one of a finite list that may be specified in a feature declaration.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="numeric">
    <xs:annotation>
      <xs:documentation>(numeric value) represents the value part of a feature-value specification which contains a numeric value or range. [18.3. Other Atomic Feature Values]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
      <xs:attribute name="value" use="required" type="ns1:data.numeric">
        <xs:annotation>
          <xs:documentation>supplies a lower bound for the numeric value represented, and also (if max is not supplied) its upper bound.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="max" type="ns1:data.numeric">
        <xs:annotation>
          <xs:documentation>supplies an upper bound for the numeric value represented.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="trunc" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>specifies whether the value represented should be truncated to give an integer value.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="string">
    <xs:annotation>
      <xs:documentation>(string value) represents the value part of a feature-value specification which contains a string. [18.3. Other Atomic Feature Values]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datcat.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="vLabel">
    <xs:annotation>
      <xs:documentation>(value label) represents the value part of a feature-value specification which appears at more than one point in a feature structure. [18.6. Re-entrant Feature Structures]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" ref="ns1:model.featureVal"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="name" use="required" type="ns1:data.word">
        <xs:annotation>
          <xs:documentation>supplies a name identifying the sharing point.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="vColl">
    <xs:annotation>
      <xs:documentation>(collection of values) represents the value part of a feature-value specification which contains multiple values organized as a set, bag, or list. [18.7. Collections as Complex Feature Values]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:fs"/>
        <xs:group ref="ns1:model.featureVal.single"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="org">
        <xs:annotation>
          <xs:documentation>(organization) indicates organization of given value or values as set, bag or list.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="set">
              <xs:annotation>
                <xs:documentation>indicates that the given values are organized as a set.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="bag">
              <xs:annotation>
                <xs:documentation>indicates that the given values are organized as a bag (multiset).</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="list">
              <xs:annotation>
                <xs:documentation>indicates that the given values are organized as a list.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="default">
    <xs:annotation>
      <xs:documentation>(default feature value) represents the value part of a feature-value specification which contains a defaulted value. [18.9. Default Values]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="vAlt">
    <xs:annotation>
      <xs:documentation>(value alternation) represents the value part of a feature-value specification which contains a set of values, only one of which can be valid. [18.8.1. Alternation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="ns1:model.featureVal"/>
        <xs:group maxOccurs="unbounded" ref="ns1:model.featureVal"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="vNot">
    <xs:annotation>
      <xs:documentation>(value negation) represents a feature value which is the negation of its content. [18.8.2. Negation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group ref="ns1:model.featureVal"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="vMerge">
    <xs:annotation>
      <xs:documentation>(merged collection of values) represents a feature value which is the result of merging together the feature values contained by its children, using the organization specified by the org attribute. [18.8.3. Collection of Values]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.featureVal"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="org">
        <xs:annotation>
          <xs:documentation>indicates the organization of the resulting merged values as set, bag or list.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="set">
              <xs:annotation>
                <xs:documentation>indicates that the resulting values are organized as a set.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="bag">
              <xs:annotation>
                <xs:documentation>indicates that the resulting values are organized as a bag (multiset).</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="list">
              <xs:annotation>
                <xs:documentation>indicates that the resulting values are organized as a list.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fLib">
    <xs:annotation>
      <xs:documentation>(feature library) assembles a library of feature elements. [18.4. Feature Libraries and Feature-Value Libraries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:f"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="fvLib">
    <xs:annotation>
      <xs:documentation>(feature-value library) assembles a library of reusable feature value elements (including complete feature structures). [18.4. Feature Libraries and Feature-Value Libraries]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.featureVal"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.global.linking.attributes">
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.corresp"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.synch"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.sameAs"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.copyOf"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.next"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.prev"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.exclude"/>
    <xs:attributeGroup ref="ns1:att.global.linking.attribute.select"/>
  </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 itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.synch">
    <xs:attribute name="synch">
      <xs:annotation>
        <xs:documentation>(synchronous) points to elements that are synchronous with the current element.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.sameAs">
    <xs:attribute name="sameAs" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>points to an element that is the same as the current element.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.copyOf">
    <xs:attribute name="copyOf" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>points to an element of which the current element is a copy.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.next">
    <xs:attribute name="next" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>points to the next element of a virtual aggregate of which the current element is part.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.prev">
    <xs:attribute name="prev" type="ns1:data.pointer">
      <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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.exclude">
    <xs:attribute name="exclude">
      <xs:annotation>
        <xs:documentation>points to elements that are in exclusive alternation with the current element.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.linking.attribute.select">
    <xs:attribute name="select">
      <xs:annotation>
        <xs:documentation>selects one or more alternants; if one alternant is selected, the ambiguity or uncertainty is marked as resolved. If more than one alternant is selected, the degree of ambiguity or uncertainty is marked as reduced by the number of alternants not selected.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="link">
    <xs:annotation>
      <xs:documentation>defines an association or hypertextual link among elements or passages, of some type not more precisely specifiable by other elements. [16.1. Links]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="linkGrp">
    <xs:annotation>
      <xs:documentation>(link group) defines a collection of associations or hypertextual links. [16.1. Links]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:link"/>
        <xs:element ref="ns1:ptr"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.group.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="ab">
    <xs:annotation>
      <xs:documentation>(anonymous block) contains any arbitrary component-level unit of text, acting as an anonymous container for phrase or inter level elements analogous to, but without the semantic baggage of, a paragraph. [16.3. Blocks, Segments, and Anchors]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
          <xs:attributeGroup ref="ns1:att.fragmentable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="anchor">
    <xs:annotation>
      <xs:documentation>(anchor point) attaches an identifier to a point within a text, whether or not it corresponds with a textual element. [8.4.2. Synchronization and Overlap 16.4. Correspondence and Alignment]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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. [16.3. Blocks, Segments, and Anchors 6.2. Components of the Verse Line 7.2.5. Speech Contents]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.segLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="when">
    <xs:annotation>
      <xs:documentation>indicates a point in time either relative to other elements in the same timeline tag, or absolutely. [16.5.2. Placing Synchronous Events in Time]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="absolute" type="ns1:data.temporal.w3c">
        <xs:annotation>
          <xs:documentation>supplies an absolute value for the time.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="unit">
        <xs:annotation>
          <xs:documentation>specifies the unit of time in which the interval value is expressed, if this is not inherited from the parent timeline.
Suggested values include: 1] d(days) ; 2] h(hours) ; 3] min(minutes) ; 4] s(seconds) ; 5] ms(milliseconds) </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="d">
                  <xs:annotation>
                    <xs:documentation>(days) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="h">
                  <xs:annotation>
                    <xs:documentation>(hours) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="min">
                  <xs:annotation>
                    <xs:documentation>(minutes) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="s">
                  <xs:annotation>
                    <xs:documentation>(seconds) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ms">
                  <xs:annotation>
                    <xs:documentation>(milliseconds) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="interval" type="ns1:data.interval">
        <xs:annotation>
          <xs:documentation>specifies a time interval either as a number or as one of the keywords defined by the datatype data.interval</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="since" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the reference point for determining the time of the current when element, which is obtained by adding the interval to the time of the reference point.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="timeline">
    <xs:annotation>
      <xs:documentation>provides a set of ordered points in time which can be linked to elements of a spoken text to create a temporal alignment of that text. [16.5.2. Placing Synchronous Events in Time]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:when"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="origin" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>designates the origin of the timeline, i.e. the time at which it begins.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="unit">
        <xs:annotation>
          <xs:documentation>specifies the unit of time corresponding to the interval value of the timeline or of its constituent points in time.
Suggested values include: 1] d(days) ; 2] h(hours) ; 3] min(minutes) ; 4] s(seconds) ; 5] ms(milliseconds) </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="d">
                  <xs:annotation>
                    <xs:documentation>(days) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="h">
                  <xs:annotation>
                    <xs:documentation>(hours) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="min">
                  <xs:annotation>
                    <xs:documentation>(minutes) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="s">
                  <xs:annotation>
                    <xs:documentation>(seconds) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ms">
                  <xs:annotation>
                    <xs:documentation>(milliseconds) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="interval" type="ns1:data.interval">
        <xs:annotation>
          <xs:documentation>specifies a time interval either as a positive integral value or using one of a set of predefined codes.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="join">
    <xs:annotation>
      <xs:documentation>identifies a possibly fragmented segment of text, by pointing at the possibly discontiguous elements which compose it. [16.7. Aggregation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="result" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>specifies the name of an element which this aggregation may be understood to represent.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="scope" default="root">
        <xs:annotation>
          <xs:documentation>indicates whether the targets to be joined include the entire element indicated (the entire subtree including its root), or just the children of the target (the branches of the subtree).</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="root">
              <xs:annotation>
                <xs:documentation>the rooted subtrees indicated by the target attribute are joined, each subtree become a child of the virtual element created by the join</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="branches">
              <xs:annotation>
                <xs:documentation>the children of the subtrees indicated by the target attribute become the children of the virtual element (i.e. the roots of the subtrees are discarded)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="joinGrp">
    <xs:annotation>
      <xs:documentation>(join group) groups a collection of join elements and possibly pointers. [16.7. Aggregation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:join"/>
          <xs:element ref="ns1:ptr"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.group.attributes"/>
      <xs:attribute name="result" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>supplies the default value for the result on each join included within the group.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="alt">
    <xs:annotation>
      <xs:documentation>(alternation) identifies an alternation or a set of choices among elements or passages. [16.8. Alternation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attribute.targetLang"/>
      <xs:attributeGroup ref="ns1:att.pointing.attribute.evaluate"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <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:union memberTypes="ns1:data.pointer ns1:data.pointer ns1:data.pointer"/>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="2"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="mode">
        <xs:annotation>
          <xs:documentation>states whether the alternations gathered in this collection are exclusive or inclusive.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="excl">
              <xs:annotation>
                <xs:documentation>(exclusive) indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="incl">
              <xs:annotation>
                <xs:documentation>(inclusive) indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="weights">
        <xs:annotation>
          <xs:documentation>If mode is , each weight states the probability that the corresponding alternative occurs. If mode is incl each weight states the probability that the corresponding alternative occurs given that at least one of the other alternatives occurs.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:union memberTypes="ns1:data.probability ns1:data.probability ns1:data.probability"/>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="2"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="altGrp">
    <xs:annotation>
      <xs:documentation>(alternation group) groups a collection of alt elements and possibly pointers. [16.8. Alternation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:alt"/>
        <xs:element ref="ns1:ptr"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.group.attributes"/>
      <xs:attribute name="mode" default="excl">
        <xs:annotation>
          <xs:documentation>states whether the alternations gathered in this collection are exclusive or inclusive.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="excl">
              <xs:annotation>
                <xs:documentation>(exclusive) indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="incl">
              <xs:annotation>
                <xs:documentation>(inclusive) indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.msExcerpt.attributes">
    <xs:attributeGroup ref="ns1:att.msExcerpt.attribute.defective"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.msExcerpt.attribute.defective">
    <xs:attribute name="defective" default="false" type="ns1:data.xTruthValue">
      <xs:annotation>
        <xs:documentation>indicates whether the passage being quoted is defective, i.e. incomplete through loss or damage.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="msDesc">
    <xs:annotation>
      <xs:documentation>(manuscript description) contains a description of a single identifiable manuscript or other text-bearing object. [10.1. Overview]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:msIdentifier"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:sequence>
            <xs:element minOccurs="0" ref="ns1:msContents"/>
            <xs:element minOccurs="0" ref="ns1:physDesc"/>
            <xs:element minOccurs="0" ref="ns1:history"/>
            <xs:element minOccurs="0" ref="ns1:additional"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:msPart"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="catchwords">
    <xs:annotation>
      <xs:documentation>describes the system used to ensure correct ordering of the quires making up a codex or incunable, typically by means of annotations at the foot of the page. [10.3.7. Catchwords, Signatures, Secundo Folio]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="dimensions">
    <xs:annotation>
      <xs:documentation>contains a dimensional specification. [10.3.4. Dimensions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:dim"/>
        <xs:group ref="ns1:model.dimLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>indicates which aspect of the object is being measured.
Sample values include: 1] leaves; 2] ruled; 3] pricked; 4] written; 5] miniatures; 6] binding; 7] box</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="dim">
    <xs:annotation>
      <xs:documentation>contains any single measurement forming part of a dimensional specification of some sort. [10.3.4. Dimensions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="height">
    <xs:annotation>
      <xs:documentation>contains a measurement measured along the axis at right angles to the bottom of the written surface, i.e. parallel to the spine for a codex or book. [10.3.4. Dimensions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="depth">
    <xs:annotation>
      <xs:documentation>contains a measurement measured across the spine of a book or codex, or (for other text-bearing objects) perpendicular to the measurement given by the width element. [10.3.4. Dimensions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="width">
    <xs:annotation>
      <xs:documentation>contains a measurement measured along the axis parallel to the bottom of the written surface, i.e. perpendicular to the spine of a book or codex. [10.3.4. Dimensions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="heraldry">
    <xs:annotation>
      <xs:documentation>contains a heraldic formula or phrase, typically found as part of a blazon, coat of arms, etc.  [10.3.8. Heraldry]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="locus">
    <xs:annotation>
      <xs:documentation>defines a location within a manuscript or manuscript part, usually as a (possibly discontinuous) sequence of folio references. [10.3.5. References to Locations within a Manuscript]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attribute name="scheme" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>identifies the foliation scheme in terms of which the location is being specified by pointing to some foliation element defining it, or to some other equivalent resource.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="from" type="ns1:data.word">
            <xs:annotation>
              <xs:documentation>specifies the starting point of the location in a normalized form, typically a page number.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="to" type="ns1:data.word">
            <xs:annotation>
              <xs:documentation>specifies the end-point of the location in a normalized form, typically as a page number.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="locusGrp">
    <xs:annotation>
      <xs:documentation>groups a number of locations which together form a distinct but discontinuous item within a manuscript or manuscript part, according to a specific foliation. [10.3.5. References to Locations within a Manuscript]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:locus"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="scheme" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the foliation scheme in terms of which all the locations contained by the group are specified by pointing to some foliation element defining it, or to some other equivalent resource.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="material">
    <xs:annotation>
      <xs:documentation>contains a word or phrase describing the material of which the object being described is composed. [10.3.2. Material and Object Type]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="objectType">
    <xs:annotation>
      <xs:documentation>contains a word or phrase describing the type of object being referred to. [10.3.2. Material and Object Type]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="origDate">
    <xs:annotation>
      <xs:documentation>(origin date) contains any form of date, used to identify the date of origin for a manuscript or manuscript part. [10.3.1. Origination]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="origPlace">
    <xs:annotation>
      <xs:documentation>(origin place) contains any form of place name, used to identify the place of origin for a manuscript or manuscript part. [10.3.1. Origination]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="secFol">
    <xs:annotation>
      <xs:documentation>(second folio) marks the word or words taken from a fixed point in a codex (typically the beginning of the second leaf) in order to provide a unique identifier for it.  [10.3.7. Catchwords, Signatures, Secundo Folio]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="signatures">
    <xs:annotation>
      <xs:documentation>contains discussion of the leaf or quire signatures found within a codex. [10.3.7. Catchwords, Signatures, Secundo Folio]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="stamp">
    <xs:annotation>
      <xs:documentation>contains a word or phrase describing a stamp or similar device. [10.3.3. Watermarks and Stamps]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="watermark">
    <xs:annotation>
      <xs:documentation>contains a word or phrase describing a watermark or similar device. [10.3.3. Watermarks and Stamps]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="msIdentifier">
    <xs:annotation>
      <xs:documentation>(manuscript identifier) contains the information required to identify the manuscript being described. [10.4. The Manuscript Identifier]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence>
          <xs:group ref="ns1:model.placeNamePart_sequenceOptional"/>
          <xs:element minOccurs="0" ref="ns1:institution"/>
          <xs:element minOccurs="0" ref="ns1:repository"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:collection"/>
          <xs:element minOccurs="0" ref="ns1:idno"/>
        </xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:msName"/>
          <xs:element ref="ns1:altIdentifier"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="institution">
    <xs:annotation>
      <xs:documentation>contains the name of an organization such as a university or library, with which a manuscript is identified, generally its holding institution. [10.4. The Manuscript Identifier]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="repository">
    <xs:annotation>
      <xs:documentation>contains the name of a repository within which manuscripts are stored, possibly forming part of an institution. [10.4. The Manuscript Identifier]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="collection">
    <xs:annotation>
      <xs:documentation>contains the name of a collection of manuscripts, not necessarily located within a single repository. [10.4. The Manuscript Identifier]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="altIdentifier">
    <xs:annotation>
      <xs:documentation>(alternative identifier) contains an alternative or former structured identifier used for a manuscript, such as a former catalogue number. [10.4. The Manuscript Identifier]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="ns1:model.placeNamePart_sequenceOptional"/>
        <xs:element minOccurs="0" ref="ns1:institution"/>
        <xs:element minOccurs="0" ref="ns1:repository"/>
        <xs:element minOccurs="0" ref="ns1:collection"/>
        <xs:element ref="ns1:idno"/>
        <xs:element minOccurs="0" ref="ns1:note"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="msName">
    <xs:annotation>
      <xs:documentation>(alternative name) contains any form of unstructured alternative name used for a manuscript, such as an ocellus nominum, or nickname. [10.4. The Manuscript Identifier]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="colophon">
    <xs:annotation>
      <xs:documentation>contains the colophon of a manuscript item: that is, a statement providing information regarding the date, place, agency, or reason for production of the manuscript. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="explicit">
    <xs:annotation>
      <xs:documentation>contains the explicit of a manuscript item, that is, the closing words of the text proper, exclusive of any rubric or colophon which might follow it. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="filiation">
    <xs:annotation>
      <xs:documentation>contains information concerning the manuscript's filiation, i.e. its relationship to other surviving manuscripts of the same text, its protographs, antigraphs and apographs. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="finalRubric">
    <xs:annotation>
      <xs:documentation>contains the string of words that denotes the end of a text division, often with an assertion as to its author and title, usually set off from the text itself by red ink, by a different size or type of script, or by some other such visual device. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="incipit">
    <xs:annotation>
      <xs:documentation>contains the incipit of a manuscript item, that is the opening words of the text proper, exclusive of any rubric which might precede it, of sufficient length to identify the work uniquely; such incipits were, in former times, frequently used a means of reference to a work, in place of a title. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="msContents">
    <xs:annotation>
      <xs:documentation>(manuscript contents) describes the intellectual content of a manuscript or manuscript part, either as a series of paragraphs or as a series of structured manuscript items. [10.6. Intellectual Content]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element minOccurs="0" ref="ns1:textLang"/>
          <xs:element minOccurs="0" ref="ns1:titlePage"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:msItem"/>
            <xs:element ref="ns1:msItemStruct"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
      <xs:attribute name="class">
        <xs:annotation>
          <xs:documentation>identifies the text types or classifications applicable to this object by pointing to other elements or resources defining the classification concerned. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="msItem">
    <xs:annotation>
      <xs:documentation>(manuscript item) describes an individual work or item within the intellectual content of a manuscript or manuscript part. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:locus"/>
          <xs:element ref="ns1:locusGrp"/>
        </xs:choice>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:choice maxOccurs="unbounded">
            <xs:group ref="ns1:model.titlepagePart"/>
            <xs:group ref="ns1:model.msItemPart"/>
            <xs:group ref="ns1:model.global"/>
          </xs:choice>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
      <xs:attribute name="class">
        <xs:annotation>
          <xs:documentation>identifies the text types or classifications applicable to this item by pointing to other elements or resources defining the classification concerned. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="msItemStruct">
    <xs:annotation>
      <xs:documentation>(structured manuscript item) contains a structured description for an individual work or item within the intellectual content of a manuscript or manuscript part. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0">
          <xs:element ref="ns1:locus"/>
          <xs:element ref="ns1:locusGrp"/>
        </xs:choice>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:sequence>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:author"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:respStmt"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:title"/>
            <xs:element minOccurs="0" ref="ns1:rubric"/>
            <xs:element minOccurs="0" ref="ns1:incipit"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:msItemStruct"/>
            <xs:element minOccurs="0" ref="ns1:explicit"/>
            <xs:element minOccurs="0" ref="ns1:finalRubric"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:colophon"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:decoNote"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listBibl"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:bibl"/>
              <xs:element ref="ns1:biblStruct"/>
            </xs:choice>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.noteLike"/>
            <xs:element minOccurs="0" ref="ns1:textLang"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
      <xs:attribute name="class">
        <xs:annotation>
          <xs:documentation>identifies the text types or classifications applicable to this item by pointing to other elements or resources defining the classification concerned.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="rubric">
    <xs:annotation>
      <xs:documentation>contains the text of any rubric or heading attached to a particular manuscript item, that is, a string of words through which a manuscript signals the beginning of a text division, often with an assertion as to its author and title, which is in some way set off from the text itself, usually in red ink, or by use of different size or type of script, or some other such visual device. [10.6.1. The msItem and msItemStruct Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="summary">
    <xs:annotation>
      <xs:documentation>contains an overview of the available information concerning some aspect of an item (for example, its intellectual content, history, layout, typography etc.) as a complement or alternative to the more detailed information carried by more specific elements. [10.6. Intellectual Content]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="physDesc">
    <xs:annotation>
      <xs:documentation>(physical description) contains a full physical description of a manuscript or manuscript part, optionally subdivided using more specialized elements from the model.physDescPart class. [10.7. Physical Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:group ref="ns1:model.physDescPart_sequenceOptional"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="objectDesc">
    <xs:annotation>
      <xs:documentation>contains a description of the physical components making up the object which is being described. [10.7.1. Object Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:supportDesc"/>
          <xs:element minOccurs="0" ref="ns1:layoutDesc"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="form" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>a short project-specific name identifying the physical form of the carrier, for example as a codex, roll, fragment, partial leaf, cutting etc.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="supportDesc">
    <xs:annotation>
      <xs:documentation>(support description) groups elements describing the physical support for the written part of a manuscript. [10.7.1. Object Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:support"/>
          <xs:element minOccurs="0" ref="ns1:extent"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:foliation"/>
          <xs:element minOccurs="0" ref="ns1:collation"/>
          <xs:element minOccurs="0" ref="ns1:condition"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="material">
        <xs:annotation>
          <xs:documentation>a short project-defined name for the material composing the majority of the support
Suggested values include: 1] paper; 2] parch(parchment) ; 3] mixed</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="paper"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="parch">
                  <xs:annotation>
                    <xs:documentation>(parchment) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="mixed"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="support">
    <xs:annotation>
      <xs:documentation>contains a description of the materials etc. which make up the physical support for the written part of a manuscript. [10.7.1. Object Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="collation">
    <xs:annotation>
      <xs:documentation>contains a description of how the leaves or bifolia are physically arranged. [10.7.1. Object Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="foliation">
    <xs:annotation>
      <xs:documentation>describes the numbering system or systems used to count the leaves or pages in a codex. [10.7.1.4. Foliation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="condition">
    <xs:annotation>
      <xs:documentation>contains a description of the physical condition of the manuscript. [10.7.1.5. Condition]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="layoutDesc">
    <xs:annotation>
      <xs:documentation>(layout description) collects the set of layout descriptions applicable to a manuscript. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element maxOccurs="unbounded" ref="ns1:layout"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="layout">
    <xs:annotation>
      <xs:documentation>describes how text is laid out on the page, including information about any ruling, pricking, or other evidence of page-preparation techniques. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="columns">
            <xs:annotation>
              <xs:documentation>specifies the number of columns per page</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union memberTypes="ns1:data.count ns1:data.count"/>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
                <xs:maxLength value="2"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="ruledLines">
            <xs:annotation>
              <xs:documentation>specifies the number of ruled lines per column</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union memberTypes="ns1:data.count ns1:data.count"/>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
                <xs:maxLength value="2"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="writtenLines">
            <xs:annotation>
              <xs:documentation>specifies the number of written lines per column</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union memberTypes="ns1:data.count ns1:data.count"/>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
                <xs:maxLength value="2"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="handDesc">
    <xs:annotation>
      <xs:documentation>(description of hands) contains a description of all the different kinds of writing used in a manuscript. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element maxOccurs="unbounded" ref="ns1:handNote"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="hands" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>specifies the number of distinct hands identified within the manuscript</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="typeDesc">
    <xs:annotation>
      <xs:documentation>contains a description of the typefaces or other aspects of the printing of an incunable or other printed source. [10.7.2.1. Writing]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element maxOccurs="unbounded" ref="ns1:typeNote"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="scriptDesc">
    <xs:annotation>
      <xs:documentation>contains a description of the scripts used in a manuscript or similar source. [10.7.2.1. Writing]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element maxOccurs="unbounded" ref="ns1:scriptNote"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="musicNotation">
    <xs:annotation>
      <xs:documentation>contains description of type of musical notation. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="decoDesc">
    <xs:annotation>
      <xs:documentation>(decoration description) contains a description of the decoration of a manuscript, either as a sequence of paragraphs, or as a sequence of topically organized decoNote elements. [10.7.3. Bindings, Seals, and Additional Material]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element maxOccurs="unbounded" ref="ns1:decoNote"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="decoNote">
    <xs:annotation>
      <xs:documentation>(note on decoration) contains a note describing either a decorative component of a manuscript, or a fairly homogenous class of such components. [10.7.3. Bindings, Seals, and Additional Material]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="additions">
    <xs:annotation>
      <xs:documentation>contains a description of any significant additions found within a manuscript, such as marginalia or other annotations. [10.7.2. Writing, Decoration, and Other Notations]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="bindingDesc">
    <xs:annotation>
      <xs:documentation>(binding description) describes the present and former bindings of a manuscript, either as a series of paragraphs or as a series of distinct binding elements, one for each binding of the manuscript. [10.7.3.1. Binding Descriptions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.pLike"/>
          <xs:element ref="ns1:decoNote"/>
          <xs:element ref="ns1:condition"/>
        </xs:choice>
        <xs:element maxOccurs="unbounded" ref="ns1:binding"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="binding">
    <xs:annotation>
      <xs:documentation>contains a description of one binding, i.e. type of covering, boards, etc. applied to a manuscript. [10.7.3.1. Binding Descriptions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.pLike"/>
        <xs:element ref="ns1:condition"/>
        <xs:element ref="ns1:decoNote"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attribute name="contemporary" type="ns1:data.xTruthValue">
        <xs:annotation>
          <xs:documentation>specifies whether or not the binding is contemporary with the majority of its contents</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="sealDesc">
    <xs:annotation>
      <xs:documentation>(seal description) describes the seals or other external items attached to a manuscript, either as a series of paragraphs or as a series of distinct seal elements, possibly with additional decoNotes. [10.7.3.2. Seals]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:choice maxOccurs="unbounded">
            <xs:element ref="ns1:decoNote"/>
            <xs:element ref="ns1:seal"/>
            <xs:element ref="ns1:condition"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="seal">
    <xs:annotation>
      <xs:documentation>contains a description of one seal or similar attachment applied to a manuscript. [10.7.3.2. Seals]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.pLike"/>
        <xs:element ref="ns1:decoNote"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attribute name="contemporary" type="ns1:data.xTruthValue">
        <xs:annotation>
          <xs:documentation>specifies whether or not the seal is contemporary with the item to which it is affixed</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="accMat">
    <xs:annotation>
      <xs:documentation>(accompanying material) contains details of any significant additional material which may be closely associated with the manuscript being described, such as non-contemporaneous documents or fragments bound in with the manuscript at some earlier historical period. [10.7.3.3. Accompanying Material]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="history">
    <xs:annotation>
      <xs:documentation>groups elements describing the full history of a manuscript or manuscript part. [10.8. History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element minOccurs="0" ref="ns1:summary"/>
          <xs:element minOccurs="0" ref="ns1:origin"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:provenance"/>
          <xs:element minOccurs="0" ref="ns1:acquisition"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="origin">
    <xs:annotation>
      <xs:documentation>contains any descriptive or other information concerning the origin of a manuscript or manuscript part. [10.8. History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="provenance">
    <xs:annotation>
      <xs:documentation>contains any descriptive or other information concerning a single identifiable episode during the history of a manuscript or manuscript part, after its creation but before its acquisition. [10.8. History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="acquisition">
    <xs:annotation>
      <xs:documentation>contains any descriptive or other information concerning the process by which a manuscript or manuscript part entered the holding institution. [10.8. History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="additional">
    <xs:annotation>
      <xs:documentation>groups additional information, combining bibliographic information about a manuscript, or surrogate copies of it with curatorial or administrative information. [10.9. Additional Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:adminInfo"/>
        <xs:element minOccurs="0" ref="ns1:surrogates"/>
        <xs:element minOccurs="0" ref="ns1:listBibl"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="adminInfo">
    <xs:annotation>
      <xs:documentation>(administrative information) contains information about the present custody and availability of the manuscript, and also about the record description itself. [10.9.1. Administrative Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:recordHist"/>
        <xs:element minOccurs="0" ref="ns1:availability"/>
        <xs:element minOccurs="0" ref="ns1:custodialHist"/>
        <xs:group minOccurs="0" ref="ns1:model.noteLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="recordHist">
    <xs:annotation>
      <xs:documentation>(recorded history) provides information about the source and revision status of the parent manuscript description itself. [10.9.1. Administrative Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element ref="ns1:source"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:change"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="source">
    <xs:annotation>
      <xs:documentation>describes the original source for the information contained with a manuscript description. [10.9.1.1. Record History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="custodialHist">
    <xs:annotation>
      <xs:documentation>(custodial history) contains a description of a manuscript's custodial history, either as running prose or as a series of dated custodial events. [10.9.1.2. Availability and Custodial History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:custEvent"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="custEvent">
    <xs:annotation>
      <xs:documentation>(custodial event) describes a single event during the custodial history of a manuscript. [10.9.1.2. Availability and Custodial History]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="surrogates">
    <xs:annotation>
      <xs:documentation>contains information about any representations of the manuscript being described which may exist in the holding institution or elsewhere. [10.9. Additional Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="msPart">
    <xs:annotation>
      <xs:documentation>(manuscript part) contains information about an originally distinct manuscript or part of a manuscript, now forming part of a composite manuscript. [10.10. Manuscript Parts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:altIdentifier"/>
          <xs:element ref="ns1:msIdentifier"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:sequence>
            <xs:element minOccurs="0" ref="ns1:msContents"/>
            <xs:element minOccurs="0" ref="ns1:physDesc"/>
            <xs:element minOccurs="0" ref="ns1:history"/>
            <xs:element minOccurs="0" ref="ns1:additional"/>
            <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:msPart"/>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.datable.custom.attributes">
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.when-custom"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.notBefore-custom"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.notAfter-custom"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.from-custom"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.to-custom"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.datingPoint"/>
    <xs:attributeGroup ref="ns1:att.datable.custom.attribute.datingMethod"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.when-custom">
    <xs:attribute name="when-custom">
      <xs:annotation>
        <xs:documentation>supplies the value of a date or time in some custom standard form.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.notBefore-custom">
    <xs:attribute name="notBefore-custom">
      <xs:annotation>
        <xs:documentation>specifies the earliest possible date for the event in some custom standard form.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.notAfter-custom">
    <xs:attribute name="notAfter-custom">
      <xs:annotation>
        <xs:documentation>specifies the latest possible date for the event in some custom standard form.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.from-custom">
    <xs:attribute name="from-custom">
      <xs:annotation>
        <xs:documentation>indicates the starting point of the period in some custom standard form.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.to-custom">
    <xs:attribute name="to-custom">
      <xs:annotation>
        <xs:documentation>indicates the ending point of the period in some custom standard form.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.word"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.datingPoint">
    <xs:attribute name="datingPoint" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>supplies a pointer to some location defining a named point in time with reference to which the datable item is understood to have occurred</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.custom.attribute.datingMethod">
    <xs:attribute name="datingMethod" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>supplies a pointer to a calendar element or other means of interpreting the values of the custom dating attributes.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.persNamePart">
    <xs:choice>
      <xs:element ref="ns1:surname"/>
      <xs:element ref="ns1:forename"/>
      <xs:element ref="ns1:genName"/>
      <xs:element ref="ns1:nameLink"/>
      <xs:element ref="ns1:addName"/>
      <xs:element ref="ns1:roleName"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.persNamePart_alternation">
    <xs:choice>
      <xs:element ref="ns1:surname"/>
      <xs:element ref="ns1:forename"/>
      <xs:element ref="ns1:genName"/>
      <xs:element ref="ns1:nameLink"/>
      <xs:element ref="ns1:addName"/>
      <xs:element ref="ns1:roleName"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.persNamePart_sequence">
    <xs:sequence>
      <xs:element ref="ns1:surname"/>
      <xs:element ref="ns1:forename"/>
      <xs:element ref="ns1:genName"/>
      <xs:element ref="ns1:nameLink"/>
      <xs:element ref="ns1:addName"/>
      <xs:element ref="ns1:roleName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.persNamePart_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:surname"/>
      <xs:element minOccurs="0" ref="ns1:forename"/>
      <xs:element minOccurs="0" ref="ns1:genName"/>
      <xs:element minOccurs="0" ref="ns1:nameLink"/>
      <xs:element minOccurs="0" ref="ns1:addName"/>
      <xs:element minOccurs="0" ref="ns1:roleName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.persNamePart_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:surname"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:forename"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:genName"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:nameLink"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:addName"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:roleName"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.persNamePart_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:surname"/>
      <xs:element maxOccurs="unbounded" ref="ns1:forename"/>
      <xs:element maxOccurs="unbounded" ref="ns1:genName"/>
      <xs:element maxOccurs="unbounded" ref="ns1:nameLink"/>
      <xs:element maxOccurs="unbounded" ref="ns1:addName"/>
      <xs:element maxOccurs="unbounded" ref="ns1:roleName"/>
    </xs:sequence>
  </xs:group>
  <xs:attributeGroup name="att.datable.iso.attributes">
    <xs:attributeGroup ref="ns1:att.datable.iso.attribute.when-iso"/>
    <xs:attributeGroup ref="ns1:att.datable.iso.attribute.notBefore-iso"/>
    <xs:attributeGroup ref="ns1:att.datable.iso.attribute.notAfter-iso"/>
    <xs:attributeGroup ref="ns1:att.datable.iso.attribute.from-iso"/>
    <xs:attributeGroup ref="ns1:att.datable.iso.attribute.to-iso"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.iso.attribute.when-iso">
    <xs:attribute name="when-iso" type="ns1:data.temporal.iso">
      <xs:annotation>
        <xs:documentation>supplies the value of a date or time in a standard form.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.iso.attribute.notBefore-iso">
    <xs:attribute name="notBefore-iso" type="ns1:data.temporal.iso">
      <xs:annotation>
        <xs:documentation>specifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.iso.attribute.notAfter-iso">
    <xs:attribute name="notAfter-iso" type="ns1:data.temporal.iso">
      <xs:annotation>
        <xs:documentation>specifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.iso.attribute.from-iso">
    <xs:attribute name="from-iso" type="ns1:data.temporal.iso">
      <xs:annotation>
        <xs:documentation>indicates the starting point of the period in standard form.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.iso.attribute.to-iso">
    <xs:attribute name="to-iso" type="ns1:data.temporal.iso">
      <xs:annotation>
        <xs:documentation>indicates the ending point of the period in standard form.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="orgName">
    <xs:annotation>
      <xs:documentation>(organization name) contains an organizational name. [13.2.2. Organizational Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="persName">
    <xs:annotation>
      <xs:documentation>(personal name) contains a proper noun or proper-noun phrase referring to a person, possibly including one or more of the person's forenames, surnames, honorifics, added names, etc. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="surname">
    <xs:annotation>
      <xs:documentation>contains a family (inherited) name, as opposed to a given, baptismal, or nick name. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="forename">
    <xs:annotation>
      <xs:documentation>contains a forename, given or baptismal name. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="genName">
    <xs:annotation>
      <xs:documentation>(generational name component) contains a name component used to distinguish otherwise similar names on the basis of the relative ages or generations of the persons named. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="nameLink">
    <xs:annotation>
      <xs:documentation>(name link) contains a connecting phrase or link used within a name but not regarded as part of it, such as van der or of. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="addName">
    <xs:annotation>
      <xs:documentation>(additional name) contains an additional name component, such as a nickname, epithet, or alias, or any other descriptive phrase used within a personal name. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="roleName">
    <xs:annotation>
      <xs:documentation>contains a name component which indicates that the referent has a particular role or position in society, such as an official title or rank. [13.2.1. Personal Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="placeName">
    <xs:annotation>
      <xs:documentation>contains an absolute or relative place name. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.personal.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="bloc">
    <xs:annotation>
      <xs:documentation>contains the name of a geo-political unit consisting of two or more nation states or countries. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="country">
    <xs:annotation>
      <xs:documentation>contains the name of a geo-political unit, such as a nation, country, colony, or commonwealth, larger than or administratively superior to a region and smaller than a bloc. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="region">
    <xs:annotation>
      <xs:documentation>contains the name of an administrative unit such as a state, province, or county, larger than a settlement, but smaller than a country. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="district">
    <xs:annotation>
      <xs:documentation>contains the name of any kind of subdivision of a settlement, such as a parish, ward, or other administrative or geographic unit. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="settlement">
    <xs:annotation>
      <xs:documentation>contains the name of a settlement such as a city, town, or village identified as a single geo-political or administrative unit. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="offset">
    <xs:annotation>
      <xs:documentation>marks that part of a relative temporal or spatial expression which indicates the direction of the offset between the two place names, dates, or times involved in the expression. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="geogName">
    <xs:annotation>
      <xs:documentation>(geographical name) identifies a name associated with some geographical feature such as Windrush Valley or Mount Sinai. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="geogFeat">
    <xs:annotation>
      <xs:documentation>(geographical feature name) contains a common noun identifying some geographical feature contained within a geographic name, such as valley, mount, etc. [13.2.3. Place Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="affiliation">
    <xs:annotation>
      <xs:documentation>contains an informal description of a person's present or past affiliation with some organization, for example an employer or sponsor. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="age">
    <xs:annotation>
      <xs:documentation>specifies the age of a person. [13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attribute name="value" type="ns1:data.count">
            <xs:annotation>
              <xs:documentation>supplies a numeric code representing the age or age group</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="birth">
    <xs:annotation>
      <xs:documentation>contains information about a person's birth, such as its date and place. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="climate">
    <xs:annotation>
      <xs:documentation>contains information about the physical climate of a place. [13.3.4.3. States, Traits, and Events]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:precision"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:group maxOccurs="unbounded" ref="ns1:model.labelLike"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:climate"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="death">
    <xs:annotation>
      <xs:documentation>contains information about a person's death, such as its date and place. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="education">
    <xs:annotation>
      <xs:documentation>contains a description of the educational experience of a person. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="event">
    <xs:annotation>
      <xs:documentation>contains data relating to any kind of significant event associated with a person, place, or organization. [13.3.1. Basic Principles]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:group maxOccurs="unbounded" ref="ns1:model.labelLike"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
          <xs:element ref="ns1:linkGrp"/>
          <xs:element ref="ns1:link"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:event"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="where" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>indicates the location of an event by pointing to a place element</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="faith">
    <xs:annotation>
      <xs:documentation>specifies the faith, religion, or belief set of a person. [13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="floruit">
    <xs:annotation>
      <xs:documentation>contains information about a person's period of activity. [13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="geo">
    <xs:annotation>
      <xs:documentation>(geographical coordinates) contains any expression of a set of geographic coordinates, representing a point, line, or area on the surface of the earth in some notation. [13.3.4.1. Varieties of Location]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="langKnowledge">
    <xs:annotation>
      <xs:documentation>(language knowledge) summarizes the state of a person's linguistic knowledge, either as prose or by a list of langKnown elements. [13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:precision"/>
        <xs:choice>
          <xs:group ref="ns1:model.pLike"/>
          <xs:element maxOccurs="unbounded" ref="ns1:langKnown"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attribute name="tags">
        <xs:annotation>
          <xs:documentation>supplies one or more valid language tags for the languages specified</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.language"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="langKnown">
    <xs:annotation>
      <xs:documentation>(language known) summarizes the state of a person's linguistic competence, i.e., knowledge of a single language. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attribute name="tag" use="required" type="ns1:data.language">
            <xs:annotation>
              <xs:documentation>supplies a valid language tag for the language concerned.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="level" type="ns1:data.word">
            <xs:annotation>
              <xs:documentation>a code indicating the person's level of knowledge for this language</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="listOrg">
    <xs:annotation>
      <xs:documentation>(list of organizations) contains a list of elements, each of which provides information about an identifiable organization. [13.2.2. Organizational Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:org"/>
          <xs:element ref="ns1:listOrg"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:relation"/>
          <xs:element ref="ns1:listRelation"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listEvent">
    <xs:annotation>
      <xs:documentation>(list of events) contains a list of descriptions, each of which provides information about an identifiable event. [13.3.1. Basic Principles]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:event"/>
          <xs:element ref="ns1:listEvent"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:relation"/>
          <xs:element ref="ns1:listRelation"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listPerson">
    <xs:annotation>
      <xs:documentation>(list of persons) contains a list of descriptions, each of which provides information about an identifiable person or a group of people, for example the participants in a language interaction, or the people referred to in a historical source. [13.3.2. The Person Element 15.2. Contextual Information 2.4. The Profile Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.personLike"/>
          <xs:element ref="ns1:listPerson"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:relation"/>
          <xs:element ref="ns1:listRelation"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listPlace">
    <xs:annotation>
      <xs:documentation>(list of places) contains a list of places, optionally followed by a list of relationships (other than containment) defined amongst them. [2.2.7. The Source Description 13.3.4. Places]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.placeLike"/>
          <xs:element ref="ns1:listPlace"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:relation"/>
          <xs:element ref="ns1:listRelation"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="location">
    <xs:annotation>
      <xs:documentation>defines the location of a place as a set of geographical coordinates, in terms of other named geo-political entities, or as an address. [13.3.4. Places]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:precision"/>
        <xs:group ref="ns1:model.labelLike"/>
        <xs:group ref="ns1:model.placeNamePart"/>
        <xs:group ref="ns1:model.offsetLike"/>
        <xs:group ref="ns1:model.measureLike"/>
        <xs:group ref="ns1:model.addressLike"/>
        <xs:group ref="ns1:model.noteLike"/>
        <xs:group ref="ns1:model.biblLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="nationality">
    <xs:annotation>
      <xs:documentation>contains an informal description of a person's present or past nationality or citizenship. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="occupation">
    <xs:annotation>
      <xs:documentation>contains an informal description of a person's trade, profession or occupation. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attribute name="scheme" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>indicates the classification system or taxonomy in use, for example by supplying the identifier of a taxonomy element, or pointing to some other resource.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="code" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>identifies an occupation code defined within the classification system or taxonomy defined by the scheme attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="org">
    <xs:annotation>
      <xs:documentation>(organization) provides information about an identifiable organization such as a business, a tribe, or any other grouping of people. [13.2.2. Organizational Names]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.labelLike"/>
            <xs:group ref="ns1:model.nameLike"/>
            <xs:group ref="ns1:model.placeLike"/>
            <xs:group ref="ns1:model.orgPart"/>
            <xs:group ref="ns1:model.milestoneLike"/>
          </xs:choice>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
          <xs:element ref="ns1:linkGrp"/>
          <xs:element ref="ns1:link"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.personLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="role">
        <xs:annotation>
          <xs:documentation>specifies a primary role or classification for the organization.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.word"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="listRelation">
    <xs:annotation>
      <xs:documentation>provides information about relationships identified amongst people, places, and organizations, either informally as prose or as formally expressed relation links. [13.3.2.3. Personal Relationships]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group ref="ns1:model.pLike"/>
          <xs:choice maxOccurs="unbounded">
            <xs:element ref="ns1:relation"/>
            <xs:element ref="ns1:listRelation"/>
          </xs:choice>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="person">
    <xs:annotation>
      <xs:documentation>provides information about an identifiable individual, for example a participant in a language interaction, or a person referred to in a historical source. [13.3.2. The Person Element 15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.personPart"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="role">
        <xs:annotation>
          <xs:documentation>specifies a primary role or classification for the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.enumerated"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="sex">
        <xs:annotation>
          <xs:documentation>specifies the sex of the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.sex"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="age" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies an age group for the person.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="personGrp">
    <xs:annotation>
      <xs:documentation>(personal group) describes a group of individuals treated as a single person for analytic purposes. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.personPart"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="role" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies the role of this group of participants in the interaction.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="sex">
        <xs:annotation>
          <xs:documentation>specifies the sex of the participant group.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.sex"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="age" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies the age group of the participants.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="size">
        <xs:annotation>
          <xs:documentation>describes informally the size or approximate size of the group for example by means of a number and an indication of accuracy e.g. approx 200.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.word"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="place">
    <xs:annotation>
      <xs:documentation>contains data about a geographic location [13.3.4. Places]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.labelLike"/>
            <xs:group ref="ns1:model.placeStateLike"/>
            <xs:group ref="ns1:model.eventLike"/>
          </xs:choice>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
          <xs:element ref="ns1:idno"/>
          <xs:element ref="ns1:linkGrp"/>
          <xs:element ref="ns1:link"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.placeLike"/>
          <xs:element ref="ns1:listPlace"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="population">
    <xs:annotation>
      <xs:documentation>contains information about the population of a place. [13.3.4.3. States, Traits, and Events]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:precision"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
            <xs:group maxOccurs="unbounded" ref="ns1:model.labelLike"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.noteLike"/>
            <xs:group ref="ns1:model.biblLike"/>
          </xs:choice>
        </xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:population"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="relation">
    <xs:annotation>
      <xs:documentation>(relationship) describes any kind of relationship or linkage amongst a specified group of places, events, persons, objects or other items. [13.3.2.3. Personal Relationships]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:desc"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="name" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>supplies a name for the kind of relationship of which this is an instance.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="active">
        <xs:annotation>
          <xs:documentation>identifies the active participants in a non-mutual relationship, or all the participants in a mutual one.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="mutual">
        <xs:annotation>
          <xs:documentation>supplies a list of participants amongst all of whom the relationship holds equally.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="passive">
        <xs:annotation>
          <xs:documentation>identifies the passive participants in a non-mutual relationship.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="residence">
    <xs:annotation>
      <xs:documentation>describes a person's present or past places of residence. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="sex">
    <xs:annotation>
      <xs:documentation>specifies the sex of a person. [13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attribute name="value">
            <xs:annotation>
              <xs:documentation>supplies a coded value for sex</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.sex"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="socecStatus">
    <xs:annotation>
      <xs:documentation>(socio-economic status) contains an informal description of a person's perceived social or economic status. [15.2.2. The Participant Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attribute name="scheme" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>identifies the classification system or taxonomy in use, for example by pointing to a locally-defined taxonomy element or by supplying a URI for an externally-defined system.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="code" type="ns1:data.pointer">
            <xs:annotation>
              <xs:documentation>identifies a status code defined within the classification system or taxonomy defined by the scheme attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="state">
    <xs:annotation>
      <xs:documentation>contains a description of some status or quality attributed to a person, place, or organization often at some specific time or for a specific date range. [13.3.1. Basic Principles 13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:precision"/>
        <xs:choice>
          <xs:element maxOccurs="unbounded" ref="ns1:state"/>
          <xs:sequence>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
            <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.noteLike"/>
              <xs:group ref="ns1:model.biblLike"/>
            </xs:choice>
          </xs:sequence>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.labelLike"/>
            <xs:group ref="ns1:model.noteLike"/>
            <xs:group ref="ns1:model.biblLike"/>
          </xs:choice>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="terrain">
    <xs:annotation>
      <xs:documentation>contains information about the physical terrain of a place. [13.3.4.3. States, Traits, and Events]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:precision"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice>
          <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
          <xs:group maxOccurs="unbounded" ref="ns1:model.labelLike"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:terrain"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="trait">
    <xs:annotation>
      <xs:documentation>contains a description of some status or quality attributed to a person, place, or organization typically, but not necessarily, independent of the volition or action of the holder and usually not at some specific time or for a specific date range. [13.3.1. Basic Principles 13.3.2.1. Personal Characteristics]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:precision"/>
        <xs:choice>
          <xs:element maxOccurs="unbounded" ref="ns1:trait"/>
          <xs:sequence>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
            <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.noteLike"/>
              <xs:group ref="ns1:model.biblLike"/>
            </xs:choice>
          </xs:sequence>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.labelLike"/>
            <xs:group ref="ns1:model.noteLike"/>
            <xs:group ref="ns1:model.biblLike"/>
          </xs:choice>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="nym">
    <xs:annotation>
      <xs:documentation>(canonical name) contains the definition for a canonical name or name component of any kind. [13.3.5. Names and Nyms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.entryPart"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:nym"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attribute name="parts">
        <xs:annotation>
          <xs:documentation>points to constituent nyms</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="listNym">
    <xs:annotation>
      <xs:documentation>(list of canonical names) contains a list of nyms, that is, standardized names for any thing. [13.3.5. Names and Nyms]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:nym"/>
          <xs:element ref="ns1:listNym"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:relation"/>
          <xs:element ref="ns1:listRelation"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="graph">
    <xs:annotation>
      <xs:documentation>encodes a graph, which is a collection of nodes, and arcs which connect the nodes. [19.1. Graphs and Digraphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:label"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:sequence>
            <xs:sequence maxOccurs="unbounded">
              <xs:element ref="ns1:node"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence minOccurs="0" maxOccurs="unbounded">
              <xs:element ref="ns1:arc"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
          </xs:sequence>
          <xs:sequence>
            <xs:sequence maxOccurs="unbounded">
              <xs:element ref="ns1:arc"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence maxOccurs="unbounded">
              <xs:element ref="ns1:node"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>describes the type of graph.
Suggested values include: 1] undirected; 2] directed; 3] transitionNetwork; 4] transducer</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="undirected">
                  <xs:annotation>
                    <xs:documentation>undirected graph</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="directed">
                  <xs:annotation>
                    <xs:documentation>directed graph</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="transitionNetwork">
                  <xs:annotation>
                    <xs:documentation>a directed graph with distinguished initial and final nodes</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="transducer">
                  <xs:annotation>
                    <xs:documentation>a transition network with up to two labels on each arc</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="order" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>states the order of the graph, i.e., the number of its nodes.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="size" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>states the size of the graph, i.e., the number of its arcs.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="node">
    <xs:annotation>
      <xs:documentation>encodes a node, a possibly labeled point in a graph. [19.1. Graphs and Digraphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence minOccurs="0">
        <xs:element ref="ns1:label"/>
        <xs:element minOccurs="0" ref="ns1:label"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides the value of a node, which is a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>provides a type for a node.
Suggested values include: 1] initial; 2] final</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="initial">
                  <xs:annotation>
                    <xs:documentation>initial node in a transition network</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="final">
                  <xs:annotation>
                    <xs:documentation>final node in a transition network</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="adjTo">
        <xs:annotation>
          <xs:documentation>(adjacent to) gives the identifiers of the nodes which are adjacent to the current node.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="adjFrom">
        <xs:annotation>
          <xs:documentation>(adjacent from) gives the identifiers of the nodes which are adjacent from the current node.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="adj">
        <xs:annotation>
          <xs:documentation>(adjacent) gives the identifiers of the nodes which are both adjacent to and adjacent from the current node.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="inDegree" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the in degree of the node, the number of nodes which are adjacent from the given node.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="outDegree" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the out degree of the node, the number of nodes which are adjacent to the given node.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="degree" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the degree of the node, the number of arcs with which the node is incident.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="arc">
    <xs:annotation>
      <xs:documentation>encodes an arc, the connection from one node to another in a graph. [19.1. Graphs and Digraphs]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence minOccurs="0">
        <xs:element ref="ns1:label"/>
        <xs:element minOccurs="0" ref="ns1:label"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="from" use="required" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>gives the identifier of the node which is adjacent from this arc.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="to" use="required" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>gives the identifier of the node which is adjacent to this arc.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="tree">
    <xs:annotation>
      <xs:documentation>encodes a tree, which is made up of a root, internal nodes, leaves, and arcs from root to leaves. [19.2. Trees]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
        <xs:sequence>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:leaf"/>
            <xs:element ref="ns1:iNode"/>
          </xs:choice>
          <xs:element ref="ns1:root"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:leaf"/>
            <xs:element ref="ns1:iNode"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="arity" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the maximum number of children of the root and internal nodes of the tree.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ord" use="required">
        <xs:annotation>
          <xs:documentation>(ordered) indicates whether or not the tree is ordered, or if it is partially ordered.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="true">
              <xs:annotation>
                <xs:documentation>indicates that all of the branching nodes of the tree are ordered.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="partial">
              <xs:annotation>
                <xs:documentation>indicates that some of the branching nodes of the tree are ordered and some are unordered.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="false">
              <xs:annotation>
                <xs:documentation>indicates that all of the branching nodes of the tree are unordered.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="order" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the order of the tree, i.e., the number of its nodes.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="root">
    <xs:annotation>
      <xs:documentation>(root node) represents the root node of a tree. [19.2. Trees]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the root node of the network by pointing to a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="children" use="required">
        <xs:annotation>
          <xs:documentation>identifies the elements which are the children of the root node.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="ord" type="ns1:data.xTruthValue">
        <xs:annotation>
          <xs:documentation>(ordered) indicates whether or not the root is ordered.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="outDegree" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the out degree of the root, the number of its children.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="iNode">
    <xs:annotation>
      <xs:documentation>(intermediate (or internal) node) represents an intermediate (or internal) node of a tree. [19.2. Trees]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>indicates an intermediate node, which is a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="children" use="required">
        <xs:annotation>
          <xs:documentation>provides a list of identifiers of the elements which are the children of the intermediate node.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="parent" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides the identifier of the element which is the parent of this node.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="ord" type="ns1:data.xTruthValue">
        <xs:annotation>
          <xs:documentation>(ordered) indicates whether or not the internal node is ordered.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="follow" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides the identifier of an element which this node follows.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="outDegree" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>gives the out degree of an intermediate node, the number of its children.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="leaf">
    <xs:annotation>
      <xs:documentation>encodes the leaves (terminal nodes) of a tree. [19.2. Trees]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides a pointer to a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="parent" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides the identifier of parent of a leaf.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="follow" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides an identifier of an element which this leaf follows.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="eTree">
    <xs:annotation>
      <xs:documentation>(embedding tree) provides an alternative to tree element for representing ordered rooted tree structures. [19.3. Another Tree Notation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:eTree"/>
          <xs:element ref="ns1:triangle"/>
          <xs:element ref="ns1:eLeaf"/>
          <xs:group ref="ns1:model.ptrLike"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>provides the value of an embedding tree, which is a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="triangle">
    <xs:annotation>
      <xs:documentation>(underspecified embedding tree, so called because of its
  characteristic shape when drawn) provides for an underspecified eTree, that is, an eTree with information left out. [19.3. Another Tree Notation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:eTree"/>
          <xs:element ref="ns1:triangle"/>
          <xs:element ref="ns1:eLeaf"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>supplies a value for the triangle, in the form of the identifier of a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="eLeaf">
    <xs:annotation>
      <xs:documentation>(leaf or terminal node of an embedding tree) provides explicitly for a leaf of an embedding tree, which may also be encoded with the eTree element. [19.3. Another Tree Notation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:label"/>
        <xs:group minOccurs="0" ref="ns1:model.ptrLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="value" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>indicates the value of an embedding leaf, which is a feature structure or other analytic element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="forest">
    <xs:annotation>
      <xs:documentation>provides for groups of rooted trees. [19.3. Another Tree Notation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:tree"/>
        <xs:element ref="ns1:eTree"/>
        <xs:element ref="ns1:triangle"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listForest">
    <xs:annotation>
      <xs:documentation>provides for lists of forests. [19.3. Another Tree Notation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:forest"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>identifies the type of the forest group.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.duration.attributes">
    <xs:attributeGroup ref="ns1:att.duration.w3c.attributes"/>
    <xs:attributeGroup ref="ns1:att.duration.iso.attributes"/>
  </xs:attributeGroup>
  <xs:group name="model.global.spoken">
    <xs:choice>
      <xs:element ref="ns1:pause"/>
      <xs:element ref="ns1:vocal"/>
      <xs:element ref="ns1:kinesic"/>
      <xs:element ref="ns1:incident"/>
      <xs:element ref="ns1:writing"/>
      <xs:element ref="ns1:shift"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.recordingPart">
    <xs:choice>
      <xs:group ref="ns1:model.dateLike"/>
      <xs:element ref="ns1:media"/>
      <xs:element ref="ns1:respStmt"/>
      <xs:element ref="ns1:equipment"/>
      <xs:element ref="ns1:broadcast"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divPart.spoken">
    <xs:sequence>
      <xs:element ref="ns1:u"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divPart.spoken_alternation">
    <xs:sequence>
      <xs:element ref="ns1:u"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divPart.spoken_sequence">
    <xs:sequence>
      <xs:element ref="ns1:u"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divPart.spoken_sequenceOptional">
    <xs:sequence>
      <xs:element minOccurs="0" ref="ns1:u"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divPart.spoken_sequenceOptionalRepeatable">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:u"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divPart.spoken_sequenceRepeatable">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="ns1:u"/>
    </xs:sequence>
  </xs:group>
  <xs:element name="scriptStmt">
    <xs:annotation>
      <xs:documentation>(script statement) contains a citation giving details of the script used for a spoken text. [8.2. Documenting the Source of Transcribed Speech 2.2.7. The Source Description 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:group ref="ns1:model.biblLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="recordingStmt">
    <xs:annotation>
      <xs:documentation>(recording statement) describes a set of recordings used as the basis for transcription of a spoken text. [8.2. Documenting the Source of Transcribed Speech 2.2.7. The Source Description]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:recording"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="recording">
    <xs:annotation>
      <xs:documentation>(recording event) provides details of an audio or video recording event used as the source of a spoken text, either directly or from a public broadcast. [8.2. Documenting the Source of Transcribed Speech 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.recordingPart"/>
        <xs:group ref="ns1:model.pLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.duration.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
      <xs:attribute name="type" default="audio">
        <xs:annotation>
          <xs:documentation>the kind of recording.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="audio">
              <xs:annotation>
                <xs:documentation>audio recording</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="video">
              <xs:annotation>
                <xs:documentation>audio and video recording</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="equipment">
    <xs:annotation>
      <xs:documentation>provides technical details of the equipment and media used for an audio or video recording used as the source for a spoken text. [8.2. Documenting the Source of Transcribed Speech 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="broadcast">
    <xs:annotation>
      <xs:documentation>describes a broadcast used as the source of a spoken text. [8.2. Documenting the Source of Transcribed Speech 15.3.2. Declarable Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:group ref="ns1:model.biblLike"/>
        <xs:element ref="ns1:recording"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="u">
    <xs:annotation>
      <xs:documentation>(utterance) contains a stretch of speech usually preceded and followed by silence or by a change of speaker. [8.3.1. Utterances]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
      <xs:attribute name="trans" default="smooth">
        <xs:annotation>
          <xs:documentation>(transition) indicates the nature of the transition between this utterance and the previous one.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="smooth">
              <xs:annotation>
                <xs:documentation>this utterance begins without unusual pause or rapidity.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="latching">
              <xs:annotation>
                <xs:documentation>this utterance begins with a markedly shorter pause than normal.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="overlap">
              <xs:annotation>
                <xs:documentation>this utterance begins before the previous one has finished.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="pause">
              <xs:annotation>
                <xs:documentation>this utterance begins after a noticeable pause.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="pause">
    <xs:annotation>
      <xs:documentation>marks a pause either between or within utterances. [8.3.2. Pausing]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="vocal">
    <xs:annotation>
      <xs:documentation>marks any vocalized but not necessarily lexical phenomenon, for example voiced pauses, non-lexical backchannels, etc. [8.3.3. Vocal, Kinesic, Incident]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="iterated" default="false" type="ns1:data.xTruthValue">
        <xs:annotation>
          <xs:documentation>indicates whether or not the phenomenon is repeated.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="kinesic">
    <xs:annotation>
      <xs:documentation>marks any communicative phenomenon, not necessarily vocalized, for example a gesture, frown, etc. [8.3.3. Vocal, Kinesic, Incident]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
      <xs:attribute name="iterated" default="false" type="ns1:data.xTruthValue">
        <xs:annotation>
          <xs:documentation>indicates whether or not the phenomenon is repeated.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="incident">
    <xs:annotation>
      <xs:documentation>marks any phenomenon or occurrence, not necessarily vocalized or communicative, for example incidental noises or other events affecting communication. [8.3.3. Vocal, Kinesic, Incident]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.descLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.timed.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="writing">
    <xs:annotation>
      <xs:documentation>contains a passage of written text revealed to participants in the course of a spoken text. [8.3.4. Writing]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.timed.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
          <xs:attribute name="gradual" type="ns1:data.xTruthValue">
            <xs:annotation>
              <xs:documentation>indicates whether the writing is revealed all at once or gradually.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="shift">
    <xs:annotation>
      <xs:documentation>marks the point at which some paralinguistic feature of a series of utterances by any one speaker changes. [8.3.6. Shifts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
      <xs:attribute name="feature">
        <xs:annotation>
          <xs:documentation>a paralinguistic feature.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="tempo">
              <xs:annotation>
                <xs:documentation>speed of utterance.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="loud">
              <xs:annotation>
                <xs:documentation>loudness.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="pitch">
              <xs:annotation>
                <xs:documentation>pitch range.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="tension">
              <xs:annotation>
                <xs:documentation>tension or stress pattern.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="rhythm">
              <xs:annotation>
                <xs:documentation>rhythmic qualities.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="voice">
              <xs:annotation>
                <xs:documentation>voice quality.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="new" default="normal" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>specifies the new state of the paralinguistic feature specified.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:group name="model.rdgLike">
    <xs:sequence>
      <xs:element ref="ns1:rdg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.rdgPart">
    <xs:choice>
      <xs:element ref="ns1:wit"/>
      <xs:element ref="ns1:witStart"/>
      <xs:element ref="ns1:witEnd"/>
      <xs:element ref="ns1:lacunaStart"/>
      <xs:element ref="ns1:lacunaEnd"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.rdgPart.attributes">
    <xs:attributeGroup ref="ns1:att.rdgPart.attribute.wit"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.rdgPart.attribute.wit">
    <xs:attribute name="wit">
      <xs:annotation>
        <xs:documentation>(witness or witnesses) contains a space-delimited list of one or more sigla indicating the witnesses to this reading beginning or ending at this point.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.witnessed.attributes">
    <xs:attributeGroup ref="ns1:att.witnessed.attribute.wit"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.witnessed.attribute.wit">
    <xs:attribute name="wit">
      <xs:annotation>
        <xs:documentation>(witness or witnesses) contains a space-delimited list of one or more pointers indicating the witnesses which attest to a given reading.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.textCritical.attributes">
    <xs:attributeGroup ref="ns1:att.source.attributes"/>
    <xs:attributeGroup ref="ns1:att.textCritical.attribute.type"/>
    <xs:attributeGroup ref="ns1:att.textCritical.attribute.cause"/>
    <xs:attributeGroup ref="ns1:att.textCritical.attribute.varSeq"/>
    <xs:attributeGroup ref="ns1:att.textCritical.attribute.hand"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.textCritical.attribute.type">
    <xs:attribute name="type" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>classifies the reading according to some useful typology.
Sample values include: 1] substantive; 2] orthographic</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.textCritical.attribute.cause">
    <xs:attribute name="cause" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>classifies the cause for the variant reading, according to any appropriate typology of possible origins.
Sample values include: 1] homeoteleuton; 2] homeoarchy; 3] paleographicConfusion; 4] haplography; 5] dittography; 6] falseEmendation</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.textCritical.attribute.varSeq">
    <xs:attribute name="varSeq" type="ns1:data.count">
      <xs:annotation>
        <xs:documentation>(variant sequence) provides a number indicating the position of this reading in a sequence, when there is reason to presume a sequence to the variants. </xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.textCritical.attribute.hand">
    <xs:attribute name="hand" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the hand responsible for a particular reading in the witness.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="app">
    <xs:annotation>
      <xs:documentation>(apparatus entry) contains one entry in a critical apparatus, with an optional lemma and usually one or more readings or notes on the relevant passage. [12.1.1. The Apparatus Entry]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.global.meta"/>
          <xs:group ref="ns1:model.global.spoken"/>
          <xs:group ref="ns1:model.milestoneLike"/>
          <xs:group ref="ns1:model.noteLike"/>
          <xs:element ref="ns1:addSpan"/>
          <xs:element ref="ns1:damageSpan"/>
          <xs:element ref="ns1:delSpan"/>
          <xs:element ref="ns1:gap"/>
          <xs:element ref="ns1:space"/>
          <xs:element ref="ns1:figure"/>
          <xs:element ref="ns1:metamark"/>
          <xs:element ref="ns1:notatedMusic"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:lem"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.global.meta"/>
            <xs:group ref="ns1:model.global.spoken"/>
            <xs:group ref="ns1:model.milestoneLike"/>
            <xs:group ref="ns1:model.noteLike"/>
            <xs:element ref="ns1:addSpan"/>
            <xs:element ref="ns1:damageSpan"/>
            <xs:element ref="ns1:delSpan"/>
            <xs:element ref="ns1:gap"/>
            <xs:element ref="ns1:space"/>
            <xs:element ref="ns1:figure"/>
            <xs:element ref="ns1:metamark"/>
            <xs:element ref="ns1:notatedMusic"/>
          </xs:choice>
          <xs:sequence minOccurs="0">
            <xs:element ref="ns1:wit"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.global.meta"/>
              <xs:group ref="ns1:model.global.spoken"/>
              <xs:group ref="ns1:model.milestoneLike"/>
              <xs:group ref="ns1:model.noteLike"/>
              <xs:element ref="ns1:addSpan"/>
              <xs:element ref="ns1:damageSpan"/>
              <xs:element ref="ns1:delSpan"/>
              <xs:element ref="ns1:gap"/>
              <xs:element ref="ns1:space"/>
              <xs:element ref="ns1:figure"/>
              <xs:element ref="ns1:metamark"/>
              <xs:element ref="ns1:notatedMusic"/>
            </xs:choice>
          </xs:sequence>
        </xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:sequence>
            <xs:group ref="ns1:model.rdgLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.global.meta"/>
              <xs:group ref="ns1:model.global.spoken"/>
              <xs:group ref="ns1:model.milestoneLike"/>
              <xs:group ref="ns1:model.noteLike"/>
              <xs:element ref="ns1:addSpan"/>
              <xs:element ref="ns1:damageSpan"/>
              <xs:element ref="ns1:delSpan"/>
              <xs:element ref="ns1:gap"/>
              <xs:element ref="ns1:space"/>
              <xs:element ref="ns1:figure"/>
              <xs:element ref="ns1:metamark"/>
              <xs:element ref="ns1:notatedMusic"/>
            </xs:choice>
            <xs:sequence minOccurs="0">
              <xs:element ref="ns1:wit"/>
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:group ref="ns1:model.global.meta"/>
                <xs:group ref="ns1:model.global.spoken"/>
                <xs:group ref="ns1:model.milestoneLike"/>
                <xs:group ref="ns1:model.noteLike"/>
                <xs:element ref="ns1:addSpan"/>
                <xs:element ref="ns1:damageSpan"/>
                <xs:element ref="ns1:delSpan"/>
                <xs:element ref="ns1:gap"/>
                <xs:element ref="ns1:space"/>
                <xs:element ref="ns1:figure"/>
                <xs:element ref="ns1:metamark"/>
                <xs:element ref="ns1:notatedMusic"/>
              </xs:choice>
            </xs:sequence>
          </xs:sequence>
          <xs:sequence>
            <xs:element ref="ns1:rdgGrp"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.global.meta"/>
              <xs:group ref="ns1:model.global.spoken"/>
              <xs:group ref="ns1:model.milestoneLike"/>
              <xs:group ref="ns1:model.noteLike"/>
              <xs:element ref="ns1:addSpan"/>
              <xs:element ref="ns1:damageSpan"/>
              <xs:element ref="ns1:delSpan"/>
              <xs:element ref="ns1:gap"/>
              <xs:element ref="ns1:space"/>
              <xs:element ref="ns1:figure"/>
              <xs:element ref="ns1:metamark"/>
              <xs:element ref="ns1:notatedMusic"/>
            </xs:choice>
            <xs:sequence minOccurs="0">
              <xs:element ref="ns1:wit"/>
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:group ref="ns1:model.global.meta"/>
                <xs:group ref="ns1:model.global.spoken"/>
                <xs:group ref="ns1:model.milestoneLike"/>
                <xs:group ref="ns1:model.noteLike"/>
                <xs:element ref="ns1:addSpan"/>
                <xs:element ref="ns1:damageSpan"/>
                <xs:element ref="ns1:delSpan"/>
                <xs:element ref="ns1:gap"/>
                <xs:element ref="ns1:space"/>
                <xs:element ref="ns1:figure"/>
                <xs:element ref="ns1:metamark"/>
                <xs:element ref="ns1:notatedMusic"/>
              </xs:choice>
            </xs:sequence>
          </xs:sequence>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>classifies the variation contained in this element according to some convenient typology.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="from" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the beginning of the lemma in the base text.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="to" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>identifies the endpoint of the lemma in the base text.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="loc">
        <xs:annotation>
          <xs:documentation>(location) indicates the location of the variation, when the location-referenced method of apparatus markup is used.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.word"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="listApp">
    <xs:annotation>
      <xs:documentation>(list of apparatus entries) contains a list of apparatus entries. [12.2. Linking the Apparatus to the Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:app"/>
          <xs:element ref="ns1:listApp"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lem">
    <xs:annotation>
      <xs:documentation>(lemma) contains the lemma, or base text, of a textual variation. [12.1. The Apparatus Entry, Readings, and Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.divLike"/>
        <xs:group ref="ns1:model.divPart"/>
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.rdgPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.textCritical.attributes"/>
      <xs:attributeGroup ref="ns1:att.witnessed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="rdg">
    <xs:annotation>
      <xs:documentation>(reading) contains a single reading within a textual variation. [12.1. The Apparatus Entry, Readings, and Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.divLike"/>
        <xs:group ref="ns1:model.divPart"/>
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.rdgPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.textCritical.attributes"/>
      <xs:attributeGroup ref="ns1:att.witnessed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="rdgGrp">
    <xs:annotation>
      <xs:documentation>(reading group) within a textual variation, groups two or more readings perceived to have a genetic relationship or other affinity. [12.1. The Apparatus Entry, Readings, and Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:sequence>
          <xs:element ref="ns1:rdgGrp"/>
          <xs:element minOccurs="0" ref="ns1:wit"/>
        </xs:sequence>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:sequence minOccurs="0">
            <xs:element ref="ns1:lem"/>
            <xs:element minOccurs="0" ref="ns1:wit"/>
          </xs:sequence>
          <xs:sequence>
            <xs:group ref="ns1:model.rdgLike"/>
            <xs:element minOccurs="0" ref="ns1:wit"/>
          </xs:sequence>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.textCritical.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="witDetail">
    <xs:annotation>
      <xs:documentation>(witness detail) gives further information about a particular witness, or witnesses, to a particular reading. [12.1. The Apparatus Entry, Readings, and Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.attributes"/>
          <xs:attributeGroup ref="ns1:att.source.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attribute name="wit" use="required">
            <xs:annotation>
              <xs:documentation>(witnesses) indicates the sigil or sigla identifying the witness or witnesses to which the detail refers.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.pointer"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>describes the type of information given about the witness.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="wit">
    <xs:annotation>
      <xs:documentation>contains a list of one or more sigla of witnesses attesting a given reading, in a textual variation. [12.1.4. Witness Information]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.rdgPart.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="listWit">
    <xs:annotation>
      <xs:documentation>(witness list) lists definitions for all the witnesses referred to by a critical apparatus, optionally grouped hierarchically. [12.1. The Apparatus Entry, Readings, and Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:witness"/>
          <xs:element ref="ns1:listWit"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="witness">
    <xs:annotation>
      <xs:documentation>contains either a description of a single witness referred to within the critical apparatus, or a list of witnesses which is to be referred to by a single sigil. [12.1. The Apparatus Entry, Readings, and Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.sortable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="witStart">
    <xs:annotation>
      <xs:documentation>(fragmented witness start) indicates the beginning, or resumption, of the text of a fragmentary witness. [12.1.5. Fragmentary Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.rdgPart.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="witEnd">
    <xs:annotation>
      <xs:documentation>(fragmented witness end) indicates the end, or suspension, of the text of a fragmentary witness. [12.1.5. Fragmentary Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.rdgPart.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lacunaStart">
    <xs:annotation>
      <xs:documentation>indicates the beginning of a lacuna in the text of a mostly complete textual witness. [12.1.5. Fragmentary Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.rdgPart.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lacunaEnd">
    <xs:annotation>
      <xs:documentation>indicates the end of a lacuna in a mostly complete textual witness. [12.1.5. Fragmentary Witnesses]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.rdgPart.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="variantEncoding">
    <xs:annotation>
      <xs:documentation>declares the method used to encode text-critical variants. [12.1.1. The Apparatus Entry]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="method" use="required">
        <xs:annotation>
          <xs:documentation>indicates which method is used to encode the apparatus of variants.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="location-referenced">
              <xs:annotation>
                <xs:documentation>apparatus uses line numbers or other canonical reference scheme referenced in a base text.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="double-end-point">
              <xs:annotation>
                <xs:documentation>apparatus indicates the precise locations of the beginning and ending of each lemma relative to a base text.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="parallel-segmentation">
              <xs:annotation>
                <xs:documentation>alternate readings of a passage are given in parallel in the text; no notion of a base text is necessary.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="location" use="required">
        <xs:annotation>
          <xs:documentation>indicates whether the apparatus appears within the running text or external to it.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="internal">
              <xs:annotation>
                <xs:documentation>apparatus appears within the running text.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="external">
              <xs:annotation>
                <xs:documentation>apparatus appears outside the base text.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="TEI">
    <xs:annotation>
      <xs:documentation>(TEI document) contains a single TEI-conformant document, containing a single TEI header, a single text, one or more members of the model.resourceLike class, or a combination of these. A series of TEI elements may be combined together to form a teiCorpus element. [4. Default Text Structure 15.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:teiHeader"/>
        <xs:choice>
          <xs:sequence>
            <xs:group maxOccurs="unbounded" ref="ns1:model.resourceLike"/>
            <xs:element minOccurs="0" ref="ns1:text"/>
          </xs:sequence>
          <xs:element ref="ns1:text"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="version" type="ns1:data.version">
        <xs:annotation>
          <xs:documentation>specifies the major version number of the TEI Guidelines against which this document is valid.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="text">
    <xs:annotation>
      <xs:documentation>contains a single text of any kind, whether unitary or composite, for example a poem or drama, a collection of essays, a novel, a dictionary, or a corpus sample. [4. Default Text Structure 15.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:front"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:body"/>
          <xs:element ref="ns1:group"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:back"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="body">
    <xs:annotation>
      <xs:documentation>(text body) contains the whole body of a single unitary text, excluding any front or back matter. [4. Default Text Structure]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:group ref="ns1:model.divTop"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.global"/>
            <xs:group ref="ns1:model.divTop"/>
          </xs:choice>
        </xs:sequence>
        <xs:sequence minOccurs="0">
          <xs:group ref="ns1:model.divGenLike"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.global"/>
            <xs:group ref="ns1:model.divGenLike"/>
          </xs:choice>
        </xs:sequence>
        <xs:choice>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="ns1:model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.global"/>
              <xs:group ref="ns1:model.divGenLike"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="ns1:model.div1Like"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.global"/>
              <xs:group ref="ns1:model.divGenLike"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:sequence maxOccurs="unbounded">
              <xs:group ref="ns1:model.common"/>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:choice minOccurs="0">
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.divLike"/>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:group ref="ns1:model.global"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
              </xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.div1Like"/>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                  <xs:group ref="ns1:model.global"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
              </xs:sequence>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottom"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="group">
    <xs:annotation>
      <xs:documentation>contains the body of a composite text, grouping together a sequence of distinct texts (or groups of such texts) which are regarded as a unit for some purpose, for example the collected works of an author, a sequence of prose essays, etc. [4. Default Text Structure 4.3.1. Grouped Texts 15.1. Varieties of Composite Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence>
          <xs:choice>
            <xs:element ref="ns1:text"/>
            <xs:element ref="ns1:group"/>
          </xs:choice>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:text"/>
            <xs:element ref="ns1:group"/>
            <xs:group ref="ns1:model.global"/>
          </xs:choice>
        </xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.divBottom"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="floatingText">
    <xs:annotation>
      <xs:documentation>contains a single text of any kind, whether unitary or composite, which interrupts the text containing it at any point and after which the surrounding text resumes. [4.3.2. Floating Texts]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:front"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:body"/>
          <xs:element ref="ns1:group"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence minOccurs="0">
          <xs:element ref="ns1:back"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1: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="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.divLike"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.divLike"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div1">
    <xs:annotation>
      <xs:documentation>(level-1 text division) contains a first-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.div2Like"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.div2Like"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div2">
    <xs:annotation>
      <xs:documentation>(level-2 text division) contains a second-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.div3Like"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.div3Like"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div3">
    <xs:annotation>
      <xs:documentation>(level-3 text division) contains a third-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.div4Like"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.div4Like"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div4">
    <xs:annotation>
      <xs:documentation>(level-4 text division) contains a fourth-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.div5Like"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.div5Like"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div5">
    <xs:annotation>
      <xs:documentation>(level-5 text division) contains a fifth-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.div6Like"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.div6Like"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div6">
    <xs:annotation>
      <xs:documentation>(level-6 text division) contains a sixth-level subdivision of the front, body, or back of a text. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence maxOccurs="unbounded">
              <xs:choice>
                <xs:group ref="ns1:model.div7Like"/>
                <xs:group ref="ns1:model.divGenLike"/>
              </xs:choice>
              <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
            </xs:sequence>
            <xs:sequence>
              <xs:sequence maxOccurs="unbounded">
                <xs:group ref="ns1:model.common"/>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
              <xs:sequence minOccurs="0" maxOccurs="unbounded">
                <xs:choice>
                  <xs:group ref="ns1:model.div7Like"/>
                  <xs:group ref="ns1:model.divGenLike"/>
                </xs:choice>
                <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
              </xs:sequence>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="div7">
    <xs:annotation>
      <xs:documentation>(level-7 text division) contains the smallest possible subdivision of the front, body or back of a text, larger than a paragraph. [4.1.2. Numbered Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:sequence maxOccurs="unbounded">
            <xs:group ref="ns1:model.common"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
          <xs:sequence minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.divLike.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="trailer">
    <xs:annotation>
      <xs:documentation>contains a closing title or footer appearing at the end of a division of a text. [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="ns1:lg"/>
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.inter"/>
        <xs:group ref="ns1:model.lLike"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="byline">
    <xs:annotation>
      <xs:documentation>contains the primary statement of responsibility given for a work on its title page or at the head or end of the work. [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="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:element ref="ns1:docAuthor"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="dateline">
    <xs:annotation>
      <xs:documentation>contains a brief description of the place, date, time, etc. of production of a letter, newspaper story, or other work, prefixed or suffixed to it as a kind of heading or trailer. [4.2.2. Openers and Closers]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
        <xs:element ref="ns1:docDate"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="argument">
    <xs:annotation>
      <xs:documentation>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="ns1:model.global"/>
          <xs:group ref="ns1:model.headLike"/>
        </xs:choice>
        <xs:sequence maxOccurs="unbounded">
          <xs:group ref="ns1:model.common"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="epigraph">
    <xs:annotation>
      <xs:documentation>contains a quotation, anonymous or attributed, appearing at the start 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="ns1:model.common"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="opener">
    <xs:annotation>
      <xs:documentation>groups together dateline, byline, salutation, and similar phrases appearing as a preliminary group at the start of a division, especially of a letter. [4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:element ref="ns1:argument"/>
        <xs:element ref="ns1:byline"/>
        <xs:element ref="ns1:dateline"/>
        <xs:element ref="ns1:epigraph"/>
        <xs:element ref="ns1:salute"/>
        <xs:element ref="ns1:signed"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="closer">
    <xs:annotation>
      <xs:documentation>groups together salutations, datelines, and similar phrases appearing as a final group at the end of a division, especially of a letter. [4.2.2. Openers and Closers 4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:element ref="ns1:signed"/>
        <xs:element ref="ns1:dateline"/>
        <xs:element ref="ns1:salute"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="salute">
    <xs:annotation>
      <xs:documentation>(salutation) contains a salutation or greeting prefixed to a foreword, dedicatory epistle, or other division of a text, or the salutation in the closing of a letter, preface, etc. [4.2.2. Openers and Closers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="signed">
    <xs:annotation>
      <xs:documentation>(signature) contains the closing salutation, etc., appended to a foreword, dedicatory epistle, or other division of a text. [4.2.2. Openers and Closers]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="postscript">
    <xs:annotation>
      <xs:documentation>contains a postscript, e.g. to a letter. [4.2. Elements Common to All Divisions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.global"/>
          <xs:group ref="ns1:model.divTopPart"/>
        </xs:choice>
        <xs:group ref="ns1:model.common"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.global"/>
          <xs:group ref="ns1:model.common"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divBottomPart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="titlePage">
    <xs:annotation>
      <xs:documentation>(title page) contains the title page of a text, appearing within the front or back matter. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:group ref="ns1:model.titlepagePart"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.titlepagePart"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>classifies the title page according to any convenient typology.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="docTitle">
    <xs:annotation>
      <xs:documentation>(document title) contains the title of a document, including all its constituents, as given on a title page. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        <xs:sequence maxOccurs="unbounded">
          <xs:element ref="ns1:titlePart"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="titlePart">
    <xs:annotation>
      <xs:documentation>contains a subsection or division of the title of a work, as indicated on a title page. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" default="main">
            <xs:annotation>
              <xs:documentation>specifies the role of this subdivision of the title.
Suggested values include: 1] main; 2] sub(subordinate) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="main">
                      <xs:annotation>
                        <xs:documentation>main title of the work</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="sub">
                      <xs:annotation>
                        <xs:documentation>(subordinate) subtitle of the work</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="alt">
                      <xs:annotation>
                        <xs:documentation>(alternate) alternative title of the work</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="short">
                      <xs:annotation>
                        <xs:documentation>abbreviated form of title</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="desc">
                      <xs:annotation>
                        <xs:documentation>(descriptive) descriptive paraphrase of the work</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="docAuthor">
    <xs:annotation>
      <xs:documentation>(document author) contains the name of the author of the document, as given on the title page (often but not always contained in a byline). [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="imprimatur">
    <xs:annotation>
      <xs:documentation>contains a formal statement authorizing the publication of a work, sometimes required to appear on a title page or its verso. [4.6. Title Pages]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1: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="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1: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="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:element ref="ns1:pubPlace"/>
        <xs:element ref="ns1:docDate"/>
        <xs:element ref="ns1:publisher"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1: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="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="when" type="ns1:data.temporal.w3c">
            <xs:annotation>
              <xs:documentation>gives the value of the date in standard form, i.e. YYYY-MM-DD.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="front">
    <xs:annotation>
      <xs:documentation>(front matter) contains any prefatory matter (headers, title page, prefaces, dedications, etc.) found at the start of a document, before the main body. [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="ns1:model.frontPart"/>
          <xs:group ref="ns1:model.pLike"/>
          <xs:group ref="ns1:model.pLike.front"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:choice>
            <xs:sequence>
              <xs:group ref="ns1:model.div1Like"/>
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:group ref="ns1:model.div1Like"/>
                <xs:group ref="ns1:model.frontPart"/>
                <xs:group ref="ns1:model.global"/>
              </xs:choice>
            </xs:sequence>
            <xs:sequence>
              <xs:group ref="ns1:model.divLike"/>
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:group ref="ns1:model.divLike"/>
                <xs:group ref="ns1:model.frontPart"/>
                <xs:group ref="ns1:model.global"/>
              </xs:choice>
            </xs:sequence>
          </xs:choice>
          <xs:sequence minOccurs="0">
            <xs:group ref="ns1:model.divBottom"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.divBottom"/>
              <xs:group ref="ns1:model.global"/>
            </xs:choice>
          </xs:sequence>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1: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="ns1:model.frontPart"/>
          <xs:group ref="ns1:model.pLike.front"/>
          <xs:group ref="ns1:model.pLike"/>
          <xs:group ref="ns1:model.listLike"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:choice minOccurs="0">
          <xs:sequence>
            <xs:group ref="ns1:model.div1Like"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.frontPart"/>
              <xs:group ref="ns1:model.div1Like"/>
              <xs:group ref="ns1:model.global"/>
            </xs:choice>
          </xs:sequence>
          <xs:sequence>
            <xs:group ref="ns1:model.divLike"/>
            <xs:choice minOccurs="0" maxOccurs="unbounded">
              <xs:group ref="ns1:model.frontPart"/>
              <xs:group ref="ns1:model.divLike"/>
              <xs:group ref="ns1:model.global"/>
            </xs:choice>
          </xs:sequence>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <xs:group ref="ns1:model.divBottomPart"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:group ref="ns1:model.divBottomPart"/>
            <xs:group ref="ns1:model.global"/>
          </xs:choice>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.global.facs.attributes">
    <xs:attributeGroup ref="ns1: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 all or part of an image which corresponds with the content of the element.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.change.attributes">
    <xs:attributeGroup ref="ns1:att.global.change.attribute.change"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.change.attribute.change">
    <xs:attribute name="change">
      <xs:annotation>
        <xs:documentation>points to one or more change elements documenting a state or revision campaign to which the element bearing this attribute and its children have been assigned by the encoder.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="ns1:data.pointer"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attributes">
    <xs:attributeGroup ref="ns1:att.coordinated.attribute.start"/>
    <xs:attributeGroup ref="ns1:att.coordinated.attribute.ulx"/>
    <xs:attributeGroup ref="ns1:att.coordinated.attribute.uly"/>
    <xs:attributeGroup ref="ns1:att.coordinated.attribute.lrx"/>
    <xs:attributeGroup ref="ns1:att.coordinated.attribute.lry"/>
    <xs:attributeGroup ref="ns1:att.coordinated.attribute.points"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.start">
    <xs:attribute name="start" type="ns1:data.pointer">
      <xs:annotation>
        <xs:documentation>indicates the element within a transcription of the text containing at least the start of the writing represented by this zone or surface.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.ulx">
    <xs:attribute name="ulx" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>gives the x coordinate value for the upper left corner of a rectangular space.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.uly">
    <xs:attribute name="uly" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>gives the y coordinate value for the upper left corner of a rectangular space.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.lrx">
    <xs:attribute name="lrx" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>gives the x coordinate value for the lower right corner of a rectangular space.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.lry">
    <xs:attribute name="lry" type="ns1:data.numeric">
      <xs:annotation>
        <xs:documentation>gives the y coordinate value for the lower right corner of a rectangular space.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.points">
    <xs:attribute name="points">
      <xs:annotation>
        <xs:documentation>identifies a two dimensional area within the bounding box specified by the other attributes by means of a series of pairs of numbers, each of which gives the x,y coordinates of a point on a line enclosing the area.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:union memberTypes="ns1:data.point ns1:data.point ns1:data.point ns1:data.point"/>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="3"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="facsimile">
    <xs:annotation>
      <xs:documentation>contains a representation of some written source in the form of a set of images rather than as transcribed or encoded text. [11.1. Digital Facsimiles]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:front"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.graphicLike"/>
          <xs:element ref="ns1:surface"/>
          <xs:element ref="ns1:surfaceGrp"/>
        </xs:choice>
        <xs:element minOccurs="0" ref="ns1:back"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="sourceDoc">
    <xs:annotation>
      <xs:documentation>contains a transcription or other representation of a single source document potentially forming part of a dossier génétique or collection of sources. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.graphicLike"/>
        <xs:element ref="ns1:surface"/>
        <xs:element ref="ns1:surfaceGrp"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="surface">
    <xs:annotation>
      <xs:documentation>defines a written surface as a two-dimensional coordinate space, optionally grouping one or more graphic representations of that space, zones of interest within that space, and transcriptions of the writing within them. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.global"/>
          <xs:group ref="ns1:model.labelLike"/>
          <xs:group ref="ns1:model.graphicLike"/>
        </xs:choice>
        <xs:sequence minOccurs="0" maxOccurs="unbounded">
          <xs:choice>
            <xs:element ref="ns1:zone"/>
            <xs:element ref="ns1:line"/>
            <xs:element ref="ns1:surface"/>
            <xs:element ref="ns1:surfaceGrp"/>
          </xs:choice>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.global"/>
        </xs:sequence>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.coordinated.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="attachment" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>describes the method by which this surface is or was connected to the main surface
Sample values include: 1] glued; 2] pinned; 3] sewn</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="flipping" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>indicates whether the surface is attached and folded in such a way as to provide two writing surfaces</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="surfaceGrp">
    <xs:annotation>
      <xs:documentation>defines any kind of useful grouping of written surfaces, for example the recto and verso of a single leaf, which the encoder wishes to treat as a single unit. [11.1. Digital Facsimiles]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.global"/>
        <xs:element ref="ns1:surface"/>
        <xs:element ref="ns1:surfaceGrp"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="zone">
    <xs:annotation>
      <xs:documentation>defines any two-dimensional area within a surface element. [11.1. Digital Facsimiles 11.2.2. Embedded Transcription]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.graphicLike"/>
        <xs:group ref="ns1:model.global"/>
        <xs:element ref="ns1:surface"/>
        <xs:group ref="ns1:model.linePart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.coordinated.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="rotate" default="0" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>indicates the amount by which this zone has been rotated clockwise, with respect to the normal orientation of the parent surface element as implied by the dimensions given in the msDesc element or by the coordinates of the surface itself. The orientation is expressed in arc degrees.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="addSpan">
    <xs:annotation>
      <xs:documentation>(added span of text) marks the beginning of a longer sequence of text added by an author, scribe, annotator or corrector (see also add). [11.3.1.4. Additions and Deletions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
      <xs:attributeGroup ref="ns1:att.placement.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="damage">
    <xs:annotation>
      <xs:documentation>contains an area of damage to the text witness. [11.3.3.1. Damage, Illegibility, and Supplied Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.damaged.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="damageSpan">
    <xs:annotation>
      <xs:documentation>(damaged span of text) marks the beginning of a longer sequence of text which is damaged in some way but still legible. [11.3.3.1. Damage, Illegibility, and Supplied Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.damaged.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="delSpan">
    <xs:annotation>
      <xs:documentation>(deleted span of text) marks the beginning of a longer sequence of text deleted, marked as deleted, or otherwise signaled as superfluous or spurious by an author, scribe, annotator, or corrector. [11.3.1.4. Additions and Deletions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="ex">
    <xs:annotation>
      <xs:documentation>(editorial expansion) contains a sequence of letters added by an editor or transcriber when expanding an abbreviation. [11.3.1.2. Abbreviation and Expansion]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="fw">
    <xs:annotation>
      <xs:documentation>(forme work) contains a running head (e.g. a header, footer), catchword, or similar material appearing on the current page. [11.6. Headers, Footers, and Similar Matter]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.attributes"/>
          <xs:attribute name="type" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>classifies the material encoded according to some useful typology.
Sample values include: 1] header; 2] footer; 3] pageNum(page number) ; 4] lineNum(line number) ; 5] sig(signature) ; 6] catch(catchword) </xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="handNotes">
    <xs:annotation>
      <xs:documentation>contains one or more handNote elements documenting the different hands identified within the source texts. [11.3.2.1. Document Hands]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:handNote"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="handShift">
    <xs:annotation>
      <xs:documentation>marks the beginning of a sequence of text written in a new hand, or the beginning of a scribal stint. [11.3.2.1. Document Hands]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.handFeatures.attributes"/>
      <xs:attributeGroup ref="ns1:att.source.attributes"/>
      <xs:attribute name="new" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>indicates a handNote element describing the hand concerned.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="am">
    <xs:annotation>
      <xs:documentation>(abbreviation marker) contains a sequence of letters or signs present in an abbreviation which are omitted or replaced in the expanded form of the abbreviation. [11.3.1.2. Abbreviation and Expansion]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.pPart.transcriptional"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="restore">
    <xs:annotation>
      <xs:documentation>indicates restoration of text to an earlier state by cancellation of an editorial or authorial marking or instruction. [11.3.1.6. Cancellation of Deletions and Other Markings]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="space">
    <xs:annotation>
      <xs:documentation>indicates the location of a significant space in the text. [11.5.1. Space]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlid"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.n"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmllang"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlbase"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlspace"/>
      <xs:attributeGroup ref="ns1:att.global.rendition.attribute.rend"/>
      <xs:attributeGroup ref="ns1:att.global.rendition.attribute.style"/>
      <xs:attributeGroup ref="ns1:att.global.rendition.attribute.rendition"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.corresp"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.synch"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.sameAs"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.copyOf"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.next"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.prev"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.exclude"/>
      <xs:attributeGroup ref="ns1:att.global.linking.attribute.select"/>
      <xs:attributeGroup ref="ns1:att.global.analytic.attribute.ana"/>
      <xs:attributeGroup ref="ns1:att.global.facs.attribute.facs"/>
      <xs:attributeGroup ref="ns1:att.global.change.attribute.change"/>
      <xs:attributeGroup ref="ns1:att.global.responsibility.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
      <xs:attributeGroup ref="ns1:att.source.attributes"/>
      <xs:attribute name="resp">
        <xs:annotation>
          <xs:documentation>(responsible party) (responsible party) indicates the individual responsible for identifying and measuring the space</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="dim">
        <xs:annotation>
          <xs:documentation>(dimension) indicates whether the space is horizontal or vertical.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="horizontal">
              <xs:annotation>
                <xs:documentation>the space is horizontal.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="vertical">
              <xs:annotation>
                <xs:documentation>the space is vertical.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="subst">
    <xs:annotation>
      <xs:documentation>(substitution) groups one or more deletions with one or more additions when the combination is to be regarded as a single intervention in the text. [11.3.1.5. Substitutions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:add"/>
        <xs:element ref="ns1:del"/>
        <xs:group ref="ns1:model.milestoneLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="substJoin">
    <xs:annotation>
      <xs:documentation>(substitution join) identifies a series of possibly fragmented additions, deletions or other revisions on a manuscript that combine to make up a single intervention in the text [11.3.1.5. Substitutions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.certLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="supplied">
    <xs:annotation>
      <xs:documentation>signifies text supplied by the transcriber or editor for any reason; for example because the original cannot be read due to physical damage, or because of an obvious omission by the author or scribe. [11.3.3.1. Damage, Illegibility, and Supplied Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>one or more words indicating why the text has had to be supplied, e.g. overbinding, faded-ink, lost-folio, omitted-in-original.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.word"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="surplus">
    <xs:annotation>
      <xs:documentation>marks text present in the source which the editor believes to be superfluous or redundant. [11.3.3.1. Damage, Illegibility, and Supplied Text]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>one or more words indicating why this text is believed to be superfluous, e.g. repeated, interpolated etc.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.word"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="secl">
    <xs:annotation>
      <xs:documentation>(secluded text) Secluded. Marks text present in the source which the editor believes to be genuine but out of its original place (which is unknown). [11.3.1.7. Text Omitted from or Supplied in the Transcription]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>one or more words indicating why this text has been secluded, e.g. interpolated etc.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.word"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="line">
    <xs:annotation>
      <xs:documentation>contains the transcription of a topographic line in the source document [11.2.2. Embedded Transcription]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.global"/>
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.linePart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.coordinated.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listTranspose">
    <xs:annotation>
      <xs:documentation>supplies a list of transpositions, each of which is indicated at some point in a document typically by means of metamarks. [11.3.4.5. Transpositions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:transpose"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="metamark">
    <xs:annotation>
      <xs:documentation>contains or describes any kind of graphic or written signal within a document the function of which is to determine how it should be read rather than forming part of the actual content of the document. [11.3.4.2. Metamarks]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
          <xs:attributeGroup ref="ns1:att.placement.attributes"/>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="function" type="ns1:data.word">
            <xs:annotation>
              <xs:documentation>describes the function (for example status, insertion, deletion, transposition) of the mark.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="target">
            <xs:annotation>
              <xs:documentation>identifies one or more elements to which the function indicated by the metamark applies.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.pointer"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="mod">
    <xs:annotation>
      <xs:documentation>represents any kind of modification identified within a single document. [11.3.4.1. Generic Modification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="redo">
    <xs:annotation>
      <xs:documentation>indicates one or more cancelled interventions in a document which have subsequently been marked as reaffirmed or repeated. [11.3.4.4. Confirmation, Cancellation, and Reinstatement of Modifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
      <xs:attribute name="target">
        <xs:annotation>
          <xs:documentation>points to one or more elements representing the interventions which are being reasserted.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="retrace">
    <xs:annotation>
      <xs:documentation>contains a sequence of writing which has been retraced, for example by over-inking, to clarify or fix it. [11.3.4.3. Fixation and Clarification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="transpose">
    <xs:annotation>
      <xs:documentation>describes a single textual transposition as an ordered list of at least two pointers specifying the order in which the elements indicated should be re-combined. [11.3.4.5. Transpositions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:ptr"/>
        <xs:element maxOccurs="unbounded" ref="ns1:ptr"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="undo">
    <xs:annotation>
      <xs:documentation>indicates one or more marked-up interventions in a document which have subsequently been marked for cancellation. [11.3.4.4. Confirmation, Cancellation, and Reinstatement of Modifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attributes"/>
      <xs:attribute name="target">
        <xs:annotation>
          <xs:documentation>points to one or more elements representing the interventions which are to be reverted or undone.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.pointer"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.metrical.attributes">
    <xs:attributeGroup ref="ns1:att.metrical.attribute.met"/>
    <xs:attributeGroup ref="ns1:att.metrical.attribute.real"/>
    <xs:attributeGroup ref="ns1:att.metrical.attribute.rhyme"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.metrical.attribute.met">
    <xs:attribute name="met" type="xs:token">
      <xs:annotation>
        <xs:documentation>(metrical structure, conventional) contains a user-specified encoding for the conventional metrical structure of the element.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.metrical.attribute.real">
    <xs:attribute name="real" type="xs:token">
      <xs:annotation>
        <xs:documentation>(metrical structure, realized) contains a user-specified encoding for the actual realization of the conventional metrical structure applicable to the element.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.metrical.attribute.rhyme">
    <xs:attribute name="rhyme" type="xs:token">
      <xs:annotation>
        <xs:documentation>(rhyme scheme) specifies the rhyme scheme applicable to a group of verse lines.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.enjamb.attributes">
    <xs:attributeGroup ref="ns1:att.enjamb.attribute.enjamb"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.enjamb.attribute.enjamb">
    <xs:attribute name="enjamb" type="ns1:data.enumerated">
      <xs:annotation>
        <xs:documentation>(enjambement) indicates that the end of a verse line is marked by enjambement.
Sample values include: 1] no; 2] yes; 3] weak; 4] strong</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="metDecl">
    <xs:annotation>
      <xs:documentation>(metrical notation declaration) documents the notation employed to represent a metrical pattern when this is specified as the value of a met, real, or rhyme attribute on any structural element of a metrical text (e.g. lg, l, or seg). [6.6. Metrical Notation Declaration 6.4. Rhyme and Metrical Analysis]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.pLike"/>
          <xs:group ref="ns1:model.noteLike"/>
        </xs:choice>
        <xs:element maxOccurs="unbounded" ref="ns1:metSym"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
      <xs:attribute name="type" default="met real">
        <xs:annotation>
          <xs:documentation>indicates whether the notation conveys the abstract metrical form, its actual prosodic realization, or the rhyme scheme, or some combination thereof.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="met">
                      <xs:annotation>
                        <xs:documentation>(met attribute) declaration applies to the abstract metrical form recorded on the met attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="real">
                      <xs:annotation>
                        <xs:documentation>(real attribute) declaration applies to the actual realization of the conventional metrical structure recorded on the real attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="rhyme">
                      <xs:annotation>
                        <xs:documentation>declaration applies to the rhyme scheme recorded on the rhyme attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="met">
                      <xs:annotation>
                        <xs:documentation>(met attribute) declaration applies to the abstract metrical form recorded on the met attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="real">
                      <xs:annotation>
                        <xs:documentation>(real attribute) declaration applies to the actual realization of the conventional metrical structure recorded on the real attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="rhyme">
                      <xs:annotation>
                        <xs:documentation>declaration applies to the rhyme scheme recorded on the rhyme attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="met">
                      <xs:annotation>
                        <xs:documentation>(met attribute) declaration applies to the abstract metrical form recorded on the met attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="real">
                      <xs:annotation>
                        <xs:documentation>(real attribute) declaration applies to the actual realization of the conventional metrical structure recorded on the real attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="rhyme">
                      <xs:annotation>
                        <xs:documentation>declaration applies to the rhyme scheme recorded on the rhyme attribute</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
            <xs:maxLength value="3"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="pattern" type="ns1:data.pattern">
        <xs:annotation>
          <xs:documentation>(regular expression pattern) specifies a regular expression defining any value that is legal for this notation.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="metSym">
    <xs:annotation>
      <xs:documentation>(metrical notation symbol) documents the intended significance of a particular character or character sequence within a metrical notation, either explicitly or in terms of other symbol elements in the same metDecl. [6.6. Metrical Notation Declaration]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="value" use="required">
            <xs:annotation>
              <xs:documentation>specifies the character or character sequence being documented.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="ns1:data.word"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="terminal" default="true" type="ns1:data.truthValue">
            <xs:annotation>
              <xs:documentation>specifies whether the symbol is defined in terms of other symbols (terminal is set to false) or in prose (terminal is set to true).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="caesura">
    <xs:annotation>
      <xs:documentation>marks the point at which a metrical line may be divided. [6.2. Components of the Verse Line]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="rhyme">
    <xs:annotation>
      <xs:documentation>marks the rhyming part of a metrical line. [6.5. Rhyme]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attribute name="label" type="ns1:data.word">
            <xs:annotation>
              <xs:documentation>provides a label (usually a single letter) to identify which part of a rhyme scheme this rhyming string instantiates.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.repeatable.attributes">
    <xs:attributeGroup ref="ns1:att.repeatable.attribute.context"/>
    <xs:attributeGroup ref="ns1:att.repeatable.attribute.minOccurs"/>
    <xs:attributeGroup ref="ns1:att.repeatable.attribute.maxOccurs"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.repeatable.attribute.context">
    <xs:attribute name="context">
      <xs:annotation>
        <xs:documentation>supplies an XPath identifying a context within which this component of a content model must be found</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.repeatable.attribute.minOccurs">
    <xs:attribute name="minOccurs" default="1" type="ns1:data.count">
      <xs:annotation>
        <xs:documentation>(minimum number of occurences) indicates the smallest number of times this component may occur.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.repeatable.attribute.maxOccurs">
    <xs:attribute name="maxOccurs" default="1">
      <xs:annotation>
        <xs:documentation>(maximum number of occurences) indicates the largest number of times this component may occur.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="ns1:data.count">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="unbounded"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:group name="model.contentPart">
    <xs:choice>
      <xs:element ref="ns1:classRef"/>
      <xs:element ref="ns1:elementRef"/>
      <xs:element ref="ns1:macroRef"/>
      <xs:element ref="ns1:sequence"/>
      <xs:element ref="ns1:alternate"/>
      <xs:element ref="ns1:textNode"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="att.combinable.attributes">
    <xs:attributeGroup ref="ns1:att.deprecated.attributes"/>
    <xs:attributeGroup ref="ns1:att.combinable.attribute.mode"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.combinable.attribute.mode">
    <xs:attribute name="mode" default="add">
      <xs:annotation>
        <xs:documentation>specifies the effect of this declaration on its parent object.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="add">
            <xs:annotation>
              <xs:documentation>this declaration is added to the current definitions</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="delete">
            <xs:annotation>
              <xs:documentation>if present already, the whole of the declaration for this object is removed from the current setup</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="change">
            <xs:annotation>
              <xs:documentation>this declaration changes the declaration of the same name in the current definition</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="replace">
            <xs:annotation>
              <xs:documentation>this declaration replaces the declaration of the same name in the current definition</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.identified.attributes">
    <xs:attributeGroup ref="ns1:att.combinable.attributes"/>
    <xs:attributeGroup ref="ns1:att.identified.attribute.ident"/>
    <xs:attributeGroup ref="ns1:att.identified.attribute.predeclare"/>
    <xs:attributeGroup ref="ns1:att.identified.attribute.module"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.identified.attribute.ident">
    <xs:attribute name="ident" use="required" type="ns1:data.name">
      <xs:annotation>
        <xs:documentation>supplies the identifier by which this element may be referenced.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.identified.attribute.predeclare">
    <xs:attribute name="predeclare" default="false" type="ns1:data.truthValue">
      <xs:annotation>
        <xs:documentation>says whether this object should be predeclared in the tei infrastructure module.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.identified.attribute.module">
    <xs:attribute name="module" type="ns1:data.xmlName">
      <xs:annotation>
        <xs:documentation>supplies a name for the module in which this object is to be declared.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.deprecated.attributes">
    <xs:attributeGroup ref="ns1:att.deprecated.attribute.validUntil"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.deprecated.attribute.validUntil">
    <xs:attribute name="validUntil" type="xs:date">
      <xs:annotation>
        <xs:documentation>provides a date before which the construct being defined will not be removed.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.namespaceable.attributes">
    <xs:attributeGroup ref="ns1:att.namespaceable.attribute.ns"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.namespaceable.attribute.ns">
    <xs:attribute name="ns" default="http://www.tei-c.org/ns/1.0" type="ns1:data.namespace">
      <xs:annotation>
        <xs:documentation>(namespace) specifies the namespace to which this element belongs</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="att">
    <xs:annotation>
      <xs:documentation>(attribute) contains the name of an attribute appearing within running text. [22. Documentation Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="ns1:data.name">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="scheme" default="TEI" type="ns1:data.enumerated">
            <xs:annotation>
              <xs:documentation>supplies an identifier for the scheme in which this name is defined.
Sample values include: 1] TEI(text encoding initiative) ; 2] DBK(docbook) ; 3] XX(unknown) ; 4] imaginary; 5] XHTML; 6] XML; 7] XI</xs:documentation>
            </xs:annotation>
          </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. [22.1.1. Phrase Level Terms]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="lang" type="ns1:data.word">
        <xs:annotation>
          <xs:documentation>(formal language) a name identifying the formal language in which the code is expressed</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="eg">
    <xs:annotation>
      <xs:documentation>(example) contains any kind of illustrative example. [22.4.4. Element Specifications 22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1: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. [22. Documentation Elements 22.4.4. Element Specifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="ns1:data.name">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="scheme" default="TEI" type="ns1:data.enumerated">
            <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:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ident">
    <xs:annotation>
      <xs:documentation>(identifier) contains an identifier or name for an object of some kind in a formal language. ident is used for tokens such as variable names, class names, type names, function names etc. in formal programming languages. [22.1.1. Phrase Level Terms]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="tag">
    <xs:annotation>
      <xs:documentation>contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters. [22. Documentation Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>indicates the type of XML tag intended</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="start">
              <xs:annotation>
                <xs:documentation>a start-tag, with delimiters &lt; and &gt; is intended</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="end">
              <xs:annotation>
                <xs:documentation>an end-tag, with delimiters &lt;/ and &gt; is intended</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="empty">
              <xs:annotation>
                <xs:documentation>a empty tag, with delimiters &lt; and /&gt; is intended</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="pi">
              <xs:annotation>
                <xs:documentation>a pi (processing instruction), with delimiters &lt;? and ?&gt; is intended</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="comment">
              <xs:annotation>
                <xs:documentation>a comment, with delimiters &lt;!-- and --&gt; is intended</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="ms">
              <xs:annotation>
                <xs:documentation>a marked-section, with delimiters &lt;[CDATA[ and ]]&gt; is intended</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="scheme" default="TEI" type="ns1:data.enumerated">
        <xs:annotation>
          <xs:documentation>supplies the name of the schema in which this tag is defined.
Sample values include: 1] TEI(text encoding initiative) ; 2] DBK(docbook) ; 3] XX(unknown) ; 4] Schematron; 5] HTML</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="val">
    <xs:annotation>
      <xs:documentation>(value) contains a single attribute value. [22. Documentation Elements 22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="specList">
    <xs:annotation>
      <xs:documentation>(specification list) marks where a list of descriptions is to be inserted into the prose documentation. [22.1.2. Element and Attribute Descriptions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:specDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="specDesc">
    <xs:annotation>
      <xs:documentation>(specification description) indicates that a description of the specified element or class should be included at this point within a document. [22.1.2. Element and Attribute Descriptions]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="key" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>(identifier) supplies the identifier of the documentary element or class for which a description is to be obtained.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="atts">
        <xs:annotation>
          <xs:documentation>(attributes) supplies attribute names for which descriptions should additionally be obtained.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:list itemType="ns1:data.name"/>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classRef">
    <xs:annotation>
      <xs:documentation>points to the specification for an attribute or model class which is to be included in a schema [22.4.6. Element Classes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.repeatable.attributes"/>
      <xs:attributeGroup ref="ns1:att.readFrom.attributes"/>
      <xs:attribute name="key" use="required" type="ns1:data.xmlName">
        <xs:annotation>
          <xs:documentation>the identifier used for the required class within the source indicated.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="expand">
        <xs:annotation>
          <xs:documentation>indicates how references to this class within a content model should be interpreted.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="alternate">
              <xs:annotation>
                <xs:documentation>any one member of the class may appear</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="sequence">
              <xs:annotation>
                <xs:documentation>a single occurrence of all members of the class may appear in sequence</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="sequenceOptional">
              <xs:annotation>
                <xs:documentation>a single occurrence of one or more members of the class may appear in sequence </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="sequenceOptionalRepeatable">
              <xs:annotation>
                <xs:documentation>one or more occurrences of one or more members of the class may appear in sequence. </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="sequenceRepeatable">
              <xs:annotation>
                <xs:documentation>one or more occurrences of all members of the class may appear in sequence</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="include">
        <xs:annotation>
          <xs:documentation>supplies a list of class members which are to be included in the schema being defined.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:list itemType="ns1:data.xmlName"/>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="except">
        <xs:annotation>
          <xs:documentation>supplies a list of class members which are to be excluded from the schema being defined.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:list itemType="ns1:data.xmlName"/>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="elementRef">
    <xs:annotation>
      <xs:documentation>points to the specification for some element which is to be included in a schema [22.2. Modules and Schemas]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.repeatable.attributes"/>
      <xs:attributeGroup ref="ns1:att.readFrom.attributes"/>
      <xs:attribute name="key" use="required" type="ns1:data.xmlName">
        <xs:annotation>
          <xs:documentation>the identifier used for the required element within the source indicated.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="macroRef">
    <xs:annotation>
      <xs:documentation>points to the specification for some pattern which is to be included in a schema [22.4.7. Pattern Documentation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.readFrom.attributes"/>
      <xs:attribute name="key" use="required" type="ns1:data.xmlName">
        <xs:annotation>
          <xs:documentation>the identifier used for the required pattern within the source indicated.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="moduleRef">
    <xs:annotation>
      <xs:documentation>(module reference) references a module which is to be incorporated into a schema. [22.2. Modules and Schemas]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:content"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.readFrom.attributes"/>
      <xs:attribute name="prefix" type="ns1:data.xmlName">
        <xs:annotation>
          <xs:documentation>specifies a default prefix which will be prepended to all patterns from the imported module</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="include">
        <xs:annotation>
          <xs:documentation>supplies a list of the elements which are to be copied from the specified module into the schema being defined.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:list itemType="ns1:data.xmlName"/>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="except">
        <xs:annotation>
          <xs:documentation>supplies a list of the elements which are not to be copied from the specified module into the schema being defined.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:list itemType="ns1:data.xmlName"/>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="key" type="ns1:data.xmlName">
        <xs:annotation>
          <xs:documentation>the name of a TEI module</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="url" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>(uniform resource locator) refers to a non-TEI module of RELAX NG code by external location</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="moduleSpec">
    <xs:annotation>
      <xs:documentation>(module specification) documents the structure, content, and purpose of a single module, i.e. a named and externally visible group of declarations. [22.2. Modules and Schemas]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:exemplum"/>
        <xs:element minOccurs="0" ref="ns1:remarks"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listRef"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="schemaSpec">
    <xs:annotation>
      <xs:documentation>(schema specification) generates a TEI-conformant schema and documentation for it. [2.3. The Encoding Description 22.2. Modules and Schemas 23.5.1. Making a Unified ODD]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.oddRef"/>
          <xs:group ref="ns1:model.oddDecl"/>
        </xs:choice>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attributeGroup ref="ns1:att.namespaceable.attributes"/>
      <xs:attributeGroup ref="ns1:att.readFrom.attributes"/>
      <xs:attribute name="start" default="TEI">
        <xs:annotation>
          <xs:documentation>specifies entry points to the schema, i.e. which patterns may be used as the root of documents conforming to it.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.name"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="prefix">
        <xs:annotation>
          <xs:documentation>specifies a default prefix which will be prepended to all patterns relating to TEI elements, unless otherwise stated.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="ns1:data.xmlName">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value=""/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="targetLang" type="ns1:data.language">
        <xs:annotation>
          <xs:documentation>(target language) specifies which language to use when creating the objects in a schema if names for elements or attributes are available in more than one language</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="docLang">
        <xs:annotation>
          <xs:documentation>(documentation language) specifies which languages to use when creating documentation if the description for an element, attribute, class or macro is available in more than one language</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="ns1:data.language"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="specGrp">
    <xs:annotation>
      <xs:documentation>(specification group) contains any convenient grouping of specifications for use within the current module. [22.2. Modules and Schemas]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.oddDecl"/>
        <xs:group ref="ns1:model.oddRef"/>
        <xs:group ref="ns1:model.divPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="specGrpRef">
    <xs:annotation>
      <xs:documentation>(reference to a specification group) indicates that the declarations contained by the specGrp referenced should be inserted at this point. [22.2. Modules and Schemas]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="target" use="required" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>points at the specification group which logically belongs here.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="elementSpec">
    <xs:annotation>
      <xs:documentation>(element specification) documents the structure, content, and purpose of a single element type. [22.4.4. Element Specifications 22. Documentation Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:element minOccurs="0" ref="ns1:classes"/>
        <xs:element minOccurs="0" ref="ns1:content"/>
        <xs:element minOccurs="0" ref="ns1:valList"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:constraintSpec"/>
        <xs:element minOccurs="0" ref="ns1:attList"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:exemplum"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:remarks"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listRef"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attributeGroup ref="ns1:att.namespaceable.attributes"/>
      <xs:attribute name="prefix">
        <xs:annotation>
          <xs:documentation>specifies a default prefix which will be prepended to all patterns relating to the element, unless otherwise stated.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="ns1:data.xmlName">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value=""/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classSpec">
    <xs:annotation>
      <xs:documentation>(class specification) contains reference information for a TEI element class; that is a group of elements which appear together in content models, or which share some common attribute, or both. [22.3. Specification Elements 22.4.6. Element Classes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:element minOccurs="0" ref="ns1:classes"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:constraintSpec"/>
        <xs:element minOccurs="0" ref="ns1:attList"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:exemplum"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:remarks"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listRef"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attribute name="type" use="required">
        <xs:annotation>
          <xs:documentation>indicates whether this is a model class or an attribute class</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="model">
              <xs:annotation>
                <xs:documentation>(content model) members of this class appear in the same content models</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="atts">
              <xs:annotation>
                <xs:documentation>(attributes) members of this class share common attributes</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="generate">
        <xs:annotation>
          <xs:documentation>indicates which alternation and sequence instantiations of a model class may be referenced. By default, all variations are permitted.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="alternation">
                      <xs:annotation>
                        <xs:documentation>members of the class are alternatives</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequence">
                      <xs:annotation>
                        <xs:documentation>members of the class are to be provided in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptional">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptionalRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="alternation">
                      <xs:annotation>
                        <xs:documentation>members of the class are alternatives</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequence">
                      <xs:annotation>
                        <xs:documentation>members of the class are to be provided in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptional">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptionalRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="alternation">
                      <xs:annotation>
                        <xs:documentation>members of the class are alternatives</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequence">
                      <xs:annotation>
                        <xs:documentation>members of the class are to be provided in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptional">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptionalRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="alternation">
                      <xs:annotation>
                        <xs:documentation>members of the class are alternatives</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequence">
                      <xs:annotation>
                        <xs:documentation>members of the class are to be provided in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptional">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptionalRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="alternation">
                      <xs:annotation>
                        <xs:documentation>members of the class are alternatives</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequence">
                      <xs:annotation>
                        <xs:documentation>members of the class are to be provided in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptional">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided, in sequence, but are optional</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceOptionalRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence, but are optional.</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="sequenceRepeatable">
                      <xs:annotation>
                        <xs:documentation>members of the class may be provided one or more times, in sequence</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:list>
            </xs:simpleType>
            <xs:minLength value="1"/>
            <xs:maxLength value="5"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="macroSpec">
    <xs:annotation>
      <xs:documentation>(macro specification) documents the function and implementation of a pattern. [22.3. Specification Elements 22.4.7. Pattern Documentation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="ns1:content"/>
          <xs:element ref="ns1:valList"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:constraintSpec"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:exemplum"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:remarks"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:listRef"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attribute name="type">
        <xs:annotation>
          <xs:documentation>indicates which type of entity should be generated, when an ODD processor is generating a module using XML DTD syntax.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="pe">
              <xs:annotation>
                <xs:documentation>(parameter entity) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="dt">
              <xs:annotation>
                <xs:documentation>(datatype entity) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="remarks">
    <xs:annotation>
      <xs:documentation>contains any commentary or discussion about the usage of an element, attribute, class, or entity not otherwise documented within the containing element. [22.4.4. Element Specifications 22.4.5. Attribute List Specification 22.4.6. Element Classes 22.4.7. Pattern Documentation]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.translatable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="listRef">
    <xs:annotation>
      <xs:documentation>(list of references) supplies a list of significant references to places where this element is discussed, in the current document or elsewhere.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:ptr"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="exemplum">
    <xs:annotation>
      <xs:documentation>groups an example demonstrating the use of an element along with optional paragraphs of commentary. [22.4.4. Element Specifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice>
          <xs:element ref="examples:egXML"/>
          <xs:element ref="ns1:eg"/>
        </xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.pLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.translatable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="classes">
    <xs:annotation>
      <xs:documentation>specifies all the classes of which the documented element or class is a member or subclass. [22.4.4. Element Specifications 22.4.6. Element Classes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:memberOf"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="mode" default="replace">
        <xs:annotation>
          <xs:documentation>specifies the effect of this declaration on its parent module.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="change">
              <xs:annotation>
                <xs:documentation>this declaration changes the declaration of the same name in the current definition</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="replace">
              <xs:annotation>
                <xs:documentation>this declaration replaces the declaration of the same name in the current definition</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="memberOf">
    <xs:annotation>
      <xs:documentation>specifies class membership of the documented element or class. [22.4.3. Classification of Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="key" type="ns1:data.name">
            <xs:annotation>
              <xs:documentation>specifies the identifier for a class of which the documented element or class is a member or subclass</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="mode" default="add">
            <xs:annotation>
              <xs:documentation>specifies the effect of this declaration on its parent module.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="add">
                  <xs:annotation>
                    <xs:documentation>this declaration is added to the current definitions</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="delete">
                  <xs:annotation>
                    <xs:documentation>this declaration and all of its children are removed from the current setup</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="max" type="ns1:data.numeric">
            <xs:annotation>
              <xs:documentation>supplies the maximum number of times the element can occur in elements which use this model class in their content model</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="min" type="ns1:data.numeric">
            <xs:annotation>
              <xs:documentation>supplies the minumum number of times the element must occur in elements which use this model class in their content model</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="equiv">
    <xs:annotation>
      <xs:documentation>(equivalent) specifies a component which is considered equivalent to the parent element, either by co-reference, or by external link. [3.3.4. Terms, Glosses, Equivalents, and Descriptions 22.4.1. Description of Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.internetMedia.attributes"/>
      <xs:attribute name="name" type="ns1:data.name">
        <xs:annotation>
          <xs:documentation>a single word which follows the rules defining a legal XML name (see ), naming the underlying concept of which the parent is a representation.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="uri" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>(uniform resource identifier) references the underlying concept of which the parent is a representation by means of some external identifier</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="filter" type="ns1:data.pointer">
        <xs:annotation>
          <xs:documentation>references an external script which contains a method to transform instances of this element to canonical TEI</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="altIdent">
    <xs:annotation>
      <xs:documentation>(alternate identifier) supplies the recommended XML name for an element, class, attribute, etc. in some language. [3.3.4. Terms, Glosses, Equivalents, and Descriptions 22.4.1. Description of Components]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="content">
    <xs:annotation>
      <xs:documentation>(content model) contains the text of a declaration for the schema documented. [22.4.4. Element Specifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element ref="ns1:valList"/>
        <xs:group maxOccurs="unbounded" ref="ns1:macro.anyXML"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.contentPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="autoPrefix" default="true">
        <xs:annotation>
          <xs:documentation>controls whether or not pattern names generated in the corresponding Relax NG schema source are automatically prefixed to avoid potential nameclashes.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="true">
              <xs:annotation>
                <xs:documentation>Each name referenced in e.g. a rng:ref element within a content model is automatically prefixed by the value of the prefix attribute on the current schemaSpec</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="false">
              <xs:annotation>
                <xs:documentation>No prefixes are added: any prefix required by the value of the prefix attribute on the current schemaSpec must therefore be supplied explicitly, as appropriate.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="sequence">
    <xs:annotation>
      <xs:documentation>sequence of references</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.contentPart"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.repeatable.attributes"/>
      <xs:attribute name="preserveOrder" type="ns1:data.truthValue">
        <xs:annotation>
          <xs:documentation>if true, indicates that the order in which component elements of a sequence appear in a document must correspond to the order in which they are given in the content model.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="alternate">
    <xs:annotation>
      <xs:documentation>an alternation of references</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.contentPart"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.repeatable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="constraint">
    <xs:annotation>
      <xs:documentation>(constraint rules) the formal rules of a constraint [22.4.4. Element Specifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:macro.anyXML"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="constraintSpec">
    <xs:annotation>
      <xs:documentation>(constraint on schema) contains a constraint, expressed in some formal syntax, which cannot be expressed in the structural content model [22.4.4. Element Specifications]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:element minOccurs="0" ref="ns1:constraint"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attribute name="scheme" use="required">
        <xs:annotation>
          <xs:documentation>supplies the name of the language in which the constraints are defined</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="schematron">
              <xs:annotation>
                <xs:documentation>(Schematron) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="isoschematron">
              <xs:annotation>
                <xs:documentation>(ISO Schematron) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="xsl">
              <xs:annotation>
                <xs:documentation>(XSLT) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="private">
              <xs:annotation>
                <xs:documentation>(private constraint language) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="attList">
    <xs:annotation>
      <xs:documentation>contains documentation for all the attributes associated with this element, as a series of attDef elements. [22.4.4. Element Specifications 22.4.6. Element Classes]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ns1:attRef"/>
        <xs:element ref="ns1:attDef"/>
        <xs:element ref="ns1:attList"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="org" default="group">
        <xs:annotation>
          <xs:documentation>(organization) specifies whether all the attributes in the list are available (org="group") or only one of them (org="choice")</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="group">
              <xs:annotation>
                <xs:documentation>grouped</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="choice">
              <xs:annotation>
                <xs:documentation>alternated</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="attDef">
    <xs:annotation>
      <xs:documentation>(attribute definition) contains the definition of a single attribute. [22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.glossLike"/>
          <xs:group ref="ns1:model.descLike"/>
        </xs:choice>
        <xs:element minOccurs="0" ref="ns1:datatype"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:constraintSpec"/>
        <xs:element minOccurs="0" ref="ns1:defaultVal"/>
        <xs:choice minOccurs="0">
          <xs:element ref="ns1:valList"/>
          <xs:element maxOccurs="unbounded" ref="ns1:valDesc"/>
        </xs:choice>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:exemplum"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:remarks"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.identified.attributes"/>
      <xs:attribute name="usage" default="opt">
        <xs:annotation>
          <xs:documentation>specifies the optionality of the attribute.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="req">
              <xs:annotation>
                <xs:documentation>(required) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="rec">
              <xs:annotation>
                <xs:documentation>(recommended ) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="opt">
              <xs:annotation>
                <xs:documentation>(optional ) </xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="ns" default="http://www.tei-c.org/ns/1.0" type="ns1:data.namespace">
        <xs:annotation>
          <xs:documentation>(namespace) specifies the namespace to which this attribute belongs</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="attRef">
    <xs:annotation>
      <xs:documentation>(attribute pointer) points to the definition of an attribute or group of attributes. [22.2. Modules and Schemas]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="class" type="ns1:data.word">
        <xs:annotation>
          <xs:documentation>the name of the attribute class</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="name" type="ns1:data.text">
        <xs:annotation>
          <xs:documentation>the name of the attribute</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="datatype">
    <xs:annotation>
      <xs:documentation>specifies the declared value for an attribute, by referring to any datatype defined by the chosen schema language. [1.4.2. Datatype Macros 22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element ref="ns1:macroRef"/>
        <xs:group maxOccurs="unbounded" ref="ns1:macro.schemaPattern"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="minOccurs" default="1" type="ns1:data.count">
        <xs:annotation>
          <xs:documentation>(minimum number of occurences) indicates the minimum number of times this datatype may occur in the specification of the attribute being defined</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="maxOccurs" default="1">
        <xs:annotation>
          <xs:documentation>(maximum number of occurences) indicates the maximum number of times this datatype may occur in the specification of the attribute being defined</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="ns1:data.count">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="unbounded"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="defaultVal">
    <xs:annotation>
      <xs:documentation>(default value) specifies the default declared value for an attribute. [22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="valDesc">
    <xs:annotation>
      <xs:documentation>(value description) specifies any semantic or syntactic constraint on the value that an attribute may take, additional to the information carried by the datatype element. [22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.translatable.attributes"/>
          <xs:attributeGroup ref="ns1:att.combinable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="valItem">
    <xs:annotation>
      <xs:documentation>documents a single value in a predefined list of values. [22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.descLike"/>
        <xs:group ref="ns1:model.glossLike"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.combinable.attributes"/>
      <xs:attribute name="ident" use="required" type="ns1:data.text">
        <xs:annotation>
          <xs:documentation>specifies the value concerned.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="valList">
    <xs:annotation>
      <xs:documentation>(value list) contains one or more valItem elements defining possible values. [22.4.5. Attribute List Specification]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:valItem"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.combinable.attributes"/>
      <xs:attribute name="type" default="open">
        <xs:annotation>
          <xs:documentation>specifies the extensibility of the list of values specified.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="closed">
              <xs:annotation>
                <xs:documentation>only the values specified are permitted.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="semi">
              <xs:annotation>
                <xs:documentation>(semi-open) all the values specified should be supported, but other values are legal and software should have appropriate fallback processing for them.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="open">
              <xs:annotation>
                <xs:documentation>the values specified are sample values only.</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="textNode">
    <xs:annotation>
      <xs:documentation>indicates the presence of a text node in a content model [22. Documentation Elements]</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
</xs:schema>
