<?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:ns1="http://www.tei-c.org/ns/1.0">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2004/10/xml.xsd"/>
  <!--
    Schema generated from ODD source 2009-07-02T23:07:03Z. 
    TEI Edition: 1.4.1. Last updated on July 1st 2009.
    
  -->
  <!---->
  <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: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: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="xs:anyURI"/>
          </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="xs:string">
      <xs:annotation>
        <xs:documentation>provides an externally-defined means of identifying the entity (or entities) being
        named, using a coded value of some kind.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.canonical.attribute.ref">
    <xs:attribute name="ref">
      <xs:annotation>
        <xs:documentation>(reference) provides an explicit means of locating a full definition 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="xs:anyURI"/>
          </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>
  <xs:attributeGroup name="att.ranging.attribute.atLeast">
    <xs:attribute name="atLeast">
      <xs:annotation>
        <xs:documentation>gives a minimum estimated value for the approximate measurement.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.atMost">
    <xs:attribute name="atMost">
      <xs:annotation>
        <xs:documentation>gives a maximum estimated value for the approximate measurement.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.min">
    <xs:attribute name="min">
      <xs:annotation>
        <xs:documentation>where the measurement summarizes more than one observation
      or a range, supplies the minimum value
        observed.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.ranging.attribute.max">
    <xs:attribute name="max">
      <xs:annotation>
        <xs:documentation>where the measurement summarizes more than one observation
      or a range, supplies the maximum value
      observed.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.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.scope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.unit">
    <xs:attribute name="unit" default="mm">
      <xs:annotation>
        <xs:documentation>names the unit used for the measurement</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="cm"/>
          <xs:enumeration value="mm"/>
          <xs:enumeration value="in"/>
          <xs:enumeration value="lines"/>
          <xs:enumeration value="chars"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.quantity">
    <xs:attribute name="quantity">
      <xs:annotation>
        <xs:documentation>specifies the length in the units specified</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.extent">
    <xs:attribute name="extent">
      <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:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.dimensions.attribute.scope">
    <xs:attribute name="scope" type="xs:Name">
      <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.attribute.hand">
    <xs:attribute name="hand" type="xs:anyURI">
      <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.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attribute.agent">
    <xs:attribute name="agent" type="xs:Name">
      <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>Signifies the degree of damage according to a convenient scale. The damage tag
        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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.damaged.attribute.group">
    <xs:attribute name="group" type="xs:nonNegativeInteger">
      <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.datable.w3c.attributes">
    <xs:attributeGroup ref="ns1:att.datable.w3c.attribute.period"/>
    <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.period">
    <xs:attribute name="period" type="xs:anyURI">
      <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.datable.w3c.attribute.when">
    <xs:attribute name="when">
      <xs:annotation>
        <xs:documentation>supplies the value of the date or time in a standard form,
      e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.notBefore">
    <xs:attribute name="notBefore">
      <xs:annotation>
        <xs:documentation>specifies the earliest possible date for the event in
	  standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.notAfter">
    <xs:attribute name="notAfter">
      <xs:annotation>
        <xs:documentation>specifies the latest possible date for the event in
	  standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.from">
    <xs:attribute name="from">
      <xs:annotation>
        <xs:documentation>indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.w3c.attribute.to">
    <xs:attribute name="to">
      <xs:annotation>
        <xs:documentation>indicates the ending point of the period in standard
	  form, e.g. yyyy-mm-dd.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datable.attributes">
    <xs:attributeGroup ref="ns1:att.datable.w3c.attributes"/>
  </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="xs:anyURI"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.divLike.attributes">
    <xs:attributeGroup ref="ns1:att.divLike.attribute.org"/>
    <xs:attributeGroup ref="ns1:att.divLike.attribute.sample"/>
    <xs:attributeGroup ref="ns1:att.divLike.attribute.part"/>
  </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>composite content: i.e. no claim is made about the
		  sequence in which the immediate contents of this division
		  are to be processed, or their inter-relationships.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="uniform">
            <xs:annotation>
              <xs:documentation>uniform content: i.e. 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.divLike.attribute.part">
    <xs:attribute name="part" default="N">
      <xs:annotation>
        <xs:documentation>specifies whether or not the division is fragmented by
		some other structural element, for example a speech which is
		divided between two or more verse stanzas.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="Y">
            <xs:annotation>
              <xs:documentation>(yes) the division is incomplete in some respect</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="N">
            <xs:annotation>
              <xs:documentation>(no) either the division is complete, or no claim is made as to its completeness.</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="I">
            <xs:annotation>
              <xs:documentation>(initial) the initial part of an incomplete division</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="M">
            <xs:annotation>
              <xs:documentation>(medial) a medial part of an incomplete division</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="F">
            <xs:annotation>
              <xs:documentation>(final) the final part of an incomplete division</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </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.editLike.attribute.cert"/>
    <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
    <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
    <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.editLike.attribute.cert">
    <xs:attribute name="cert">
      <xs:annotation>
        <xs:documentation>(certainty) signifies the degree of certainty associated with the intervention or interpretation.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs: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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.editLike.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="xs:anyURI"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </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: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:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.editLike.attribute.source">
    <xs:attribute name="source">
      <xs:annotation>
        <xs:documentation>contains a list of one or more pointers indicating the sources which support the given
        reading.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:anyURI"/>
          </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.facs.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.rend"/>
    <xs:attributeGroup ref="ns1:att.global.attribute.xmlbase"/>
  </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">
      <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:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmllang">
    <xs:attribute ref="xml:lang"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.rend">
    <xs:attribute name="rend">
      <xs:annotation>
        <xs:documentation>(rendition) indicates how the element in question was rendered or presented in the source text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list>
              <xs:simpleType>
                <xs:restriction base="xs:token">
                  <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:list>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.global.attribute.xmlbase">
    <xs:attribute ref="xml:base"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.handFeatures.attributes">
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.scribe"/>
    <xs:attributeGroup ref="ns1:att.handFeatures.attribute.script"/>
    <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="xs:Name">
      <xs:annotation>
        <xs:documentation>gives a standard 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.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="xs:Name"/>
          </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" type="xs:Name">
      <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: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 base="xs:token">
          <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
        </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.nymRef"/>
  </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="xs:anyURI"/>
          </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>
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.segLike.attributes">
    <xs:attributeGroup ref="ns1:att.segLike.attribute.function"/>
    <xs:attributeGroup ref="ns1:att.segLike.attribute.part"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.segLike.attribute.function">
    <xs:attribute name="function" type="xs:Name">
      <xs:annotation>
        <xs:documentation>characterizes the function of the segment.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.segLike.attribute.part">
    <xs:attribute name="part" default="N">
      <xs:annotation>
        <xs:documentation>specifies whether or not the segment is fragmented by some other
structural element, for example a clause which is divided between two
or more sentences.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="Y">
            <xs:annotation>
              <xs:documentation>(yes) the segment is incomplete in some respect</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="N">
            <xs:annotation>
              <xs:documentation>(no) either the segment is complete, or no claim is made as to
its completeness</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="I">
            <xs:annotation>
              <xs:documentation>(initial) the initial part of an incomplete segment</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="M">
            <xs:annotation>
              <xs:documentation>(medial) a medial part of an incomplete segment</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="F">
            <xs:annotation>
              <xs:documentation>(final) the final part of an incomplete segment</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.sourced.attributes">
    <xs:attributeGroup ref="ns1:att.sourced.attribute.ed"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.sourced.attribute.ed">
    <xs:attribute name="ed">
      <xs:annotation>
        <xs:documentation>(edition) supplies an arbitrary identifier for the source edition in which
      the associated feature (for example, a  page, column, or line
      break) occurs at this point in the text.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction>
          <xs:simpleType>
            <xs:list itemType="xs:anyURI"/>
          </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="xs:anyURI">
      <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.transcriptional.attribute.hand">
    <xs:attribute name="hand" type="xs:anyURI">
      <xs:annotation>
        <xs:documentation>signifies 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="xs:Name">
      <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.seq">
    <xs:attribute name="seq" type="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>(sequence) assigns a sequence number related to the order in which
      the encoded features carrying this attribute are believed to have occurred.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.translatable.attributes">
    <xs:attributeGroup ref="ns1:att.translatable.attribute.version"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.translatable.attribute.version">
    <xs:attribute name="version">
      <xs:annotation>
        <xs:documentation>specifies the version name or number of the source from
	which the translated version was derived</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs: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="xs:Name">
      <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="xs:Name">
      <xs:annotation>
        <xs:documentation>provides a sub-categorization of the element, if needed</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.segLike">
    <xs:sequence>
      <xs:element ref="ns1:seg"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.hiLike">
    <xs:sequence>
      <xs:element ref="ns1:hi"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.emphLike">
    <xs:choice>
      <xs:element ref="ns1:foreign"/>
      <xs:element ref="ns1:gloss"/>
      <xs:element ref="ns1:term"/>
      <xs:element ref="ns1:title"/>
    </xs:choice>
  </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:sequence>
      <xs:element ref="ns1:date"/>
    </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: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.graphicLike">
    <xs:choice>
      <xs:element ref="ns1:graphic"/>
      <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.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: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:handShift"/>
    </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.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:restore"/>
      <xs:element ref="ns1:supplied"/>
    </xs:choice>
  </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.ptrLike">
    <xs:choice>
      <xs:element ref="ns1:ptr"/>
      <xs:element ref="ns1:ref"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.global.meta">
    <xs:sequence>
      <xs:element ref="ns1:index"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.milestoneLike">
    <xs:choice>
      <xs:element ref="ns1:milestone"/>
      <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.biblLike">
    <xs:choice>
      <xs:element ref="ns1:bibl"/>
      <xs:element ref="ns1:msDesc"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.headLike">
    <xs:sequence>
      <xs:element 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.listLike">
    <xs:choice>
      <xs:element ref="ns1:list"/>
      <xs:element ref="ns1:listBibl"/>
      <xs:element ref="ns1:listOrg"/>
      <xs:element ref="ns1:listEvent"/>
      <xs:element ref="ns1:listPerson"/>
      <xs:element ref="ns1:listPlace"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.noteLike">
    <xs:sequence>
      <xs:element ref="ns1:note"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.lLike">
    <xs:sequence>
      <xs:element ref="ns1:l"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.pLike">
    <xs:sequence>
      <xs:element ref="ns1:p"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.global.edit">
    <xs:choice>
      <xs:element ref="ns1:gap"/>
      <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:choice>
  </xs:group>
  <xs:group name="model.persTraitLike">
    <xs:choice>
      <xs:element ref="ns1:age"/>
      <xs:element ref="ns1:faith"/>
      <xs:element ref="ns1:langKnowledge"/>
      <xs:element ref="ns1:nationality"/>
      <xs:element ref="ns1:sex"/>
      <xs:element ref="ns1:socecStatus"/>
      <xs:element ref="ns1:trait"/>
    </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:education"/>
      <xs:element ref="ns1:floruit"/>
      <xs:element ref="ns1:occupation"/>
      <xs:element ref="ns1:residence"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.persEventLike">
    <xs:choice>
      <xs:element ref="ns1:birth"/>
      <xs:element ref="ns1:death"/>
      <xs:element ref="ns1:event"/>
    </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.persTraitLike"/>
      <xs:group ref="ns1:model.persStateLike"/>
      <xs:group ref="ns1:model.persEventLike"/>
      <xs:element ref="ns1:bibl"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.placeTraitLike">
    <xs:choice>
      <xs:element ref="ns1:location"/>
      <xs:element ref="ns1:population"/>
      <xs:element ref="ns1:trait"/>
    </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_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.placeStateLike">
    <xs:sequence>
      <xs:group ref="ns1:model.placeNamePart"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.placeEventLike">
    <xs:sequence>
      <xs:element ref="ns1:event"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.publicationStmtPart">
    <xs:choice>
      <xs:element ref="ns1:date"/>
      <xs:element ref="ns1:publisher"/>
      <xs:element ref="ns1:pubPlace"/>
      <xs:element ref="ns1:distributor"/>
      <xs:element ref="ns1:authority"/>
      <xs:element ref="ns1:idno"/>
      <xs:element ref="ns1:availability"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.glossLike">
    <xs:choice>
      <xs:element ref="ns1:desc"/>
      <xs:element ref="ns1:gloss"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.quoteLike">
    <xs:sequence>
      <xs:element ref="ns1:quote"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.qLike">
    <xs:choice>
      <xs:group ref="ns1:model.quoteLike"/>
      <xs:element ref="ns1:q"/>
    </xs:choice>
  </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:sponsor"/>
      <xs:element ref="ns1:funder"/>
      <xs:element ref="ns1:principal"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.divWrapper">
    <xs:sequence>
      <xs:element ref="ns1:docAuthor"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.divTopPart">
    <xs:sequence>
      <xs:group ref="ns1:model.headLike"/>
    </xs:sequence>
  </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.pLike.front">
    <xs:choice>
      <xs:element ref="ns1:head"/>
      <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:choice>
  </xs:group>
  <xs:group name="model.divBottom">
    <xs:sequence>
      <xs:group ref="ns1:model.divWrapper"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="model.titlepagePart">
    <xs:choice>
      <xs:element ref="ns1:graphic"/>
      <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: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.quoteLike"/>
      <xs:group ref="ns1:model.respLike"/>
      <xs:group ref="ns1:model.msQuoteLike"/>
      <xs:element ref="ns1:bibl"/>
      <xs:element ref="ns1:listBibl"/>
      <xs:element ref="ns1:filiation"/>
      <xs:element ref="ns1:msItem"/>
      <xs:element ref="ns1:textLang"/>
      <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.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: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:sequence>
      <xs:element 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:group ref="ns1:model.persNamePart"/>
    </xs:choice>
  </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:figure"/>
    </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:relatedItem"/>
      <xs:element ref="ns1:edition"/>
      <xs:element ref="ns1:extent"/>
      <xs:element ref="ns1:idno"/>
      <xs:element ref="ns1:msIdentifier"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.frontPart">
    <xs:choice>
      <xs:element ref="ns1:divGen"/>
      <xs:element ref="ns1:titlePage"/>
    </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.biblLike"/>
      <xs:group ref="ns1:model.labelLike"/>
      <xs:group ref="ns1:model.listLike"/>
      <xs:group ref="ns1:model.qLike"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.common">
    <xs:choice>
      <xs:group ref="ns1:model.divPart"/>
      <xs:group ref="ns1:model.inter"/>
    </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.pPart.data"/>
    </xs:choice>
  </xs:group>
  <xs:group name="model.limitedPhrase">
    <xs:choice>
      <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.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.resourceLike">
    <xs:sequence>
      <xs:element ref="ns1:facsimile"/>
    </xs:sequence>
  </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="xs:nonNegativeInteger">
      <xs:annotation>
        <xs:documentation>specifies the sort order of the name component in relation
to others within the personal 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:element name="p">
    <xs:annotation>
      <xs:documentation>(paragraph) marks paragraphs in prose.</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:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="foreign">
    <xs:annotation>
      <xs:documentation>(foreign) identifies a word or phrase as belonging to some language other than that of the
                surrounding text. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <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:attribute name="rend" use="required">
            <xs:annotation>
              <xs:documentation>(rendition) indicates how the element in question was rendered or presented in the source text.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="hyphenated"/>
                        <xs:enumeration value="underline"/>
                        <xs:enumeration value="double-underline"/>
                        <xs:enumeration value="bold"/>
                        <xs:enumeration value="caps"/>
                        <xs:enumeration value="italic"/>
                        <xs:enumeration value="sup"/>
                        <xs:enumeration value="rubric"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.global.attribute.xmlbase"/>
          <xs:attributeGroup ref="ns1:att.global.facs.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="quote">
    <xs:annotation>
      <xs:documentation>(quotation) contains a phrase or passage attributed by the narrator or author to some agency external
        to the text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="q">
    <xs:annotation>
      <xs:documentation>(separated from the surrounding text with quotation marks) contains material which is marked as (ostensibly) being somehow different than the
    surrounding text, for any one of a variety of reasons including, but not limited to: direct
    speech or thought, technical terms or jargon, authorial distance, quotations from elsewhere, and
    passages that are mentioned but not used.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.ascribed.attributes"/>
          <xs:attribute name="type">
            <xs:annotation>
              <xs:documentation>may be used to indicate whether the offset passage is spoken or thought, or to
        characterize it more finely.
Suggested values include: 1] spoken; 2] thought; 3] written; 4] soCalled; 5] foreign(foreign words) ; 6] distinct(linguistically distinct) ; 7] term(technical term) ; 8] emph(rhetorically emphasized) ; 9] mentioned</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:union memberTypes="xs:Name">
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="spoken">
                      <xs:annotation>
                        <xs:documentation>representation of speech</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="thought">
                      <xs:annotation>
                        <xs:documentation>representation of thought, e.g. internal monologue</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="written">
                      <xs:annotation>
                        <xs:documentation>quotation from a written source</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="soCalled">
                      <xs:annotation>
                        <xs:documentation>authorial distance</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="foreign">
                      <xs:annotation>
                        <xs:documentation>(foreign words) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="distinct">
                      <xs:annotation>
                        <xs:documentation>(linguistically distinct) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="term">
                      <xs:annotation>
                        <xs:documentation>(technical term) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="emph">
                      <xs:annotation>
                        <xs:documentation>(rhetorically emphasized) </xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="mentioned">
                      <xs:annotation>
                        <xs:documentation>refering to itself, not its normal referant</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                  </xs:restriction>
                </xs:simpleType>
              </xs:union>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="desc">
    <xs:annotation>
      <xs:documentation>(description) contains a brief description of the object documented by its parent element, including its
    intended usage, purpose, or application where this is appropriate.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.translatable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="gloss">
    <xs:annotation>
      <xs:documentation>identifies a phrase or word used to provide a gloss or definition for some other word or
    phrase.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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:attribute name="target" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the associated term element by an absolute or relative URI reference</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="cRef" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>(canonical reference) identifies the associated term element using a canonical reference from a
        scheme defined in a refsDecl element in the TEI header</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="term">
    <xs:annotation>
      <xs:documentation>contains a single-word, multi-word, or symbolic designation which is regarded as a technical
    term.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
          <xs:attributeGroup ref="ns1:att.typed.attributes"/>
          <xs:attributeGroup ref="ns1:att.canonical.attributes"/>
          <xs:attribute name="sortKey">
            <xs:annotation>
              <xs:documentation>supplies the sort key for this term in an index.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="target" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the associated gloss element by an absolute or relative URI
          reference</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="cRef" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the associated gloss element using a canonical reference from a
          scheme defined in a refsDecl element in the TEI header</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="sic">
    <xs:annotation>
      <xs:documentation>(latin for thus or so) contains text reproduced although apparently incorrect or inaccurate.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="corr">
    <xs:annotation>
      <xs:documentation>(correction) contains the correct form of a passage apparently erroneous in the copy text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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="gap">
    <xs:annotation>
      <xs:documentation>(gap) indicates a point where material has been omitted in a transcription, whether for editorial
    reasons described in the TEI header, as part of sampling practice, or because the material is
    illegible, invisible, or inaudible.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
      <xs:attribute name="reason" use="required">
        <xs:annotation>
          <xs:documentation>gives the reason for omission of this material from the
transcription.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:enumeration value="damage">
                      <xs:annotation>
                        <xs:documentation>medium is damaged</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="illegible">
                      <xs:annotation>
                        <xs:documentation>material cannot be reliably read</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="cancelled">
                      <xs:annotation>
                        <xs:documentation>material can be read but has been cancelled
by scribe</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="irrelevant">
                      <xs:annotation>
                        <xs:documentation>material is not regarded as relevant by
the transcriber</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="omitted">
                      <xs:annotation>
                        <xs:documentation>material omitted by transcriber</xs:documentation>
                      </xs:annotation>
                    </xs:enumeration>
                    <xs:enumeration value="lacuna">
                      <xs:annotation>
                        <xs:documentation>material missing from the source</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:attribute name="hand" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>in the case of text omitted from the transcription because of deliberate deletion by an
        identifiable hand, signifies the hand which made the deletion.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="agent" type="xs:Name">
        <xs:annotation>
          <xs:documentation>In the case of text omitted because of damage, categorizes the cause of the damage, if
        it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attribute name="unit">
        <xs:annotation>
          <xs:documentation>names the unit used for describing the extent of the gap</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="chars">
              <xs:annotation>
                <xs:documentation>written characters</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="leaves">
              <xs:annotation>
                <xs:documentation>leaves</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="lines">
              <xs:annotation>
                <xs:documentation>lines</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="mm">
              <xs:annotation>
                <xs:documentation>millimetres</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="pages">
              <xs:annotation>
                <xs:documentation>pages</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="words">
              <xs:annotation>
                <xs:documentation>words</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.dimensions.attribute.quantity"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attribute.extent"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attribute.scope"/>
      <xs:attributeGroup ref="ns1:att.ranging.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="add">
    <xs:annotation>
      <xs:documentation>(addition) contains letters, words, or phrases inserted in the text by an
        author, scribe, annotator, or corrector.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.hand"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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, annotator, or corrector.</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.attribute.hand"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attribute name="reason">
            <xs:annotation>
              <xs:documentation>indicates why the material is hard to transcribe.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="hand" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>Where the difficulty in transcription arises from action (partial deletion, etc.)
                assignable to an identifiable hand, signifies the hand responsible for the action.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="agent" type="xs:Name">
            <xs:annotation>
              <xs:documentation>Where the difficulty in transcription arises from damage, categorizes the cause of
                the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="name">
    <xs:annotation>
      <xs:documentation>(name, proper noun) contains a proper noun or noun phrase.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attribute name="type" use="required">
            <xs:annotation>
              <xs:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="person"/>
                <xs:enumeration value="place"/>
                <xs:enumeration value="org"/>
                <xs:enumeration value="unknown"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="date">
    <xs:annotation>
      <xs:documentation>contains a date in any format.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.gLike"/>
        <xs:group ref="ns1:model.phrase"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attribute name="calendar">
        <xs:annotation>
          <xs:documentation>indicates the system or calendar to which the date represented by the content of this
        element belongs.
Suggested values include: 1] Gregorian; 2] Julian; 3] Islamic; 4] Hebrew; 5] Revolutionary; 6] Iranian; 7] Coptic; 8] Chinese</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Gregorian">
                  <xs:annotation>
                    <xs:documentation>Gregorian calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Julian">
                  <xs:annotation>
                    <xs:documentation>Julian calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Islamic">
                  <xs:annotation>
                    <xs:documentation>Islamic or Muslim (hijri) lunar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Hebrew">
                  <xs:annotation>
                    <xs:documentation>Hebrew or Jewish lunisolar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Revolutionary">
                  <xs:annotation>
                    <xs:documentation>French Revolutionary calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Iranian">
                  <xs:annotation>
                    <xs:documentation>Iranian or Persian (Jalaali) solar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Coptic">
                  <xs:annotation>
                    <xs:documentation>Coptic or Alexandrian calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Chinese">
                  <xs:annotation>
                    <xs:documentation>Chinese lunisolar calendar</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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.</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="xs:Name">
            <xs:annotation>
              <xs:documentation>allows the encoder to classify the abbreviation according to some convenient
                typology.
Sample values include: 1] suspension; 2] contraction; 3] brevigraph; 4] superscription; 5] acronym; 6] title; 7] organization; 8] geographic</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="expan">
    <xs:annotation>
      <xs:documentation>(expansion) contains the expansion of an abbreviation.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="ptr">
    <xs:annotation>
      <xs:documentation>(pointer) defines a pointer to another location.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attribute name="target">
        <xs:annotation>
          <xs:documentation>specifies the destination of the pointer by supplying one or more URI References</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="xs:anyURI"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="cRef">
        <xs:annotation>
          <xs:documentation>(canonical reference) specifies the destination of the pointer by supplying a canonical reference from a
        scheme defined in a refsDecl element in the TEI header</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                  </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="ref">
    <xs:annotation>
      <xs:documentation>(reference) defines a reference to another location, possibly modified by additional text or comment.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.pointing.attributes"/>
          <xs:attributeGroup ref="ns1:att.declaring.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 itemType="xs:anyURI"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="cRef">
            <xs:annotation>
              <xs:documentation>(canonical reference) specifies the destination of the reference by supplying a canonical reference from a
        scheme defined in a refsDecl element in the TEI header</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="list">
    <xs:annotation>
      <xs:documentation>(list) contains any sequence of items organized as a list.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="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 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: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="type" default="simple">
        <xs:annotation>
          <xs:documentation>describes the form of the list.
Suggested values include: 1] ordered; 2] bulleted; 3] simple; 4] gloss</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="ordered">
                  <xs:annotation>
                    <xs:documentation>list items are numbered or lettered. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="bulleted">
                  <xs:annotation>
                    <xs:documentation>list items are marked with a bullet or other typographic device. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="simple">
                  <xs:annotation>
                    <xs:documentation>list items are not numbered or bulleted. </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="gloss">
                  <xs:annotation>
                    <xs:documentation>each list item glosses some term or concept, which is given by a label element
            preceding the list item.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="item">
    <xs:annotation>
      <xs:documentation>contains one component of a list.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="label">
    <xs:annotation>
      <xs:documentation>contains the label associated with an item in a list; in glossaries, marks the term being
    defined.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="head">
    <xs:annotation>
      <xs:documentation>(heading) contains any type of heading, for example the title of a section, or the heading of a list,
    glossary, manuscript description, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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="note">
    <xs:annotation>
      <xs:documentation>contains a note or annotation.</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:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>describes the type of note.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="resp" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>(responsible party) indicates who is responsible for the annotation: author, editor, translator, etc.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="anchored" default="true" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>indicates whether the copy text shows the exact place of reference for the note.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="target">
            <xs:annotation>
              <xs:documentation>indicates the point (or points) of attachment for a note, or the beginning of the span
        to which the note is attached.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="xs:anyURI"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </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="xs:anyURI"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="index">
    <xs:annotation>
      <xs:documentation>(index entry) marks a location to be indexed for whatever purpose.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:term"/>
        <xs:element minOccurs="0" ref="ns1:index"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.spanning.attributes"/>
      <xs:attribute name="indexName" type="xs:Name">
        <xs:annotation>
          <xs:documentation>supplies a name to specify which index (of several) the index entry belongs to.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="graphic">
    <xs:annotation>
      <xs:documentation>indicates the location of an inline graphic, illustration, or figure.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.internetMedia.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attribute name="width">
        <xs:annotation>
          <xs:documentation>The display width of the image</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="height">
        <xs:annotation>
          <xs:documentation>The display height of the image</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:pattern value="[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="scale">
        <xs:annotation>
          <xs:documentation>A scale factor to be applied to the image to make it the desired display size</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:double xs:decimal">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="url" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>(uniform resource locator) A URL which refers to the image itself.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="milestone">
    <xs:annotation>
      <xs:documentation>marks a boundary point separating any kind of section of a text, typically but not
    necessarily indicating a point at which some part of a standard reference system changes, where
    the change is not represented by a structural element.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sourced.attributes"/>
      <xs:attribute name="unit" use="required">
        <xs:annotation>
          <xs:documentation>provides a conventional name for the kind of section changing at this milestone.
Suggested values include: 1] page; 2] column; 3] line; 4] book; 5] poem; 6] canto; 7] speaker; 8] stanza; 9] act; 10] scene; 11] section; 12] absent; 13] unnumbered</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="page">
                  <xs:annotation>
                    <xs:documentation>physical page breaks (synonymous with the pb element).</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="column">
                  <xs:annotation>
                    <xs:documentation>column breaks.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="line">
                  <xs:annotation>
                    <xs:documentation>line breaks (synonymous with the lb element).</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="book">
                  <xs:annotation>
                    <xs:documentation>any units termed book, liber, etc.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="poem">
                  <xs:annotation>
                    <xs:documentation>individual poems in a collection.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="canto">
                  <xs:annotation>
                    <xs:documentation>cantos or other major sections of a poem.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="speaker">
                  <xs:annotation>
                    <xs:documentation>changes of speaker or narrator.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="stanza">
                  <xs:annotation>
                    <xs:documentation>stanzas within a poem, book, or canto.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="act">
                  <xs:annotation>
                    <xs:documentation>acts within a play.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="scene">
                  <xs:annotation>
                    <xs:documentation>scenes within a play or act.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="section">
                  <xs:annotation>
                    <xs:documentation>sections of any kind.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="absent">
                  <xs:annotation>
                    <xs:documentation>passages not present in the reference edition.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="unnumbered">
                  <xs:annotation>
                    <xs:documentation>passages present in the text, but not to be included as part of the reference.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="pb">
    <xs:annotation>
      <xs:documentation>(page break) marks the boundary between one page of a text and the next in a standard reference system.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sourced.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="lb">
    <xs:annotation>
      <xs:documentation>(line break) marks the start of a new (typographic) line in some edition or version of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sourced.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="cb">
    <xs:annotation>
      <xs:documentation>(column break) marks the boundary between one column of a text and the next
        in a standard reference system.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.sourced.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="author">
    <xs:annotation>
      <xs:documentation>in a bibliographic reference, contains the name(s) of the
  author(s), personal or corporate, of a work; for example in the same
  form as that provided by a recognized bibliographic name authority. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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="editor">
    <xs:annotation>
      <xs:documentation>secondary statement of responsibility for a bibliographic item, for example the name of an
    individual, institution or organization, (or of several such) acting as editor, compiler,
    translator, etc. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="role" default="editor" type="xs:Name">
            <xs:annotation>
              <xs:documentation>specifies the nature of the intellectual responsibility</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="respStmt">
    <xs:annotation>
      <xs:documentation>(statement of responsibility) supplies a statement of responsibility for the intellectual content of a text, edition,
    recording, or series, where the specialized elements for authors, editors, etc. do not suffice
    or do not apply.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="ns1:resp"/>
          <xs:group maxOccurs="unbounded" ref="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:complexType>
  </xs:element>
  <xs:element name="resp">
    <xs:annotation>
      <xs:documentation>(responsibility) contains a phrase describing the nature of a person's intellectual responsibility.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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="title">
    <xs:annotation>
      <xs:documentation>contains a title for any kind of work.</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:attribute name="level">
            <xs:annotation>
              <xs:documentation>indicates the bibliographic level for a title, that is, whether
                                        it identifies an article, book, journal, series, or
                                        unpublished material.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="a">
                  <xs:annotation>
                    <xs:documentation>(analytic) analytic title (article, poem, or other item
                                                  published as part of a larger item) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="m">
                  <xs:annotation>
                    <xs:documentation>(monographic) monographic title (book, collection, or
                                                  other item published as a distinct item,
                                                  including single volumes of multi-volume
                                                  works) </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="j">
                  <xs:annotation>
                    <xs:documentation>(journal) journal title </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="s">
                  <xs:annotation>
                    <xs:documentation>(series) series title </xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="u">
                  <xs:annotation>
                    <xs:documentation>(unpublished) title of unpublished material (including
                                                  theses and dissertations unless
                                                  published by a commercial press)</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>classifies the title according to some convenient typology.
Sample values include: 1] main; 2] sub(subordinate) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="publisher">
    <xs:annotation>
      <xs:documentation>provides the name of the organization responsible for the publication or distribution of a
        bibliographic item.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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 citation) defines the scope of a bibliographic reference, for example as a
        list of page numbers, or a named subdivision of a larger work.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attribute name="type" use="required">
            <xs:annotation>
              <xs:documentation>identifies the type of information conveyed by the element, e.g.
                columns, pages, volume.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="volume"/>
                <xs:enumeration value="pages"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="from">
            <xs:annotation>
              <xs:documentation>specifies the starting point of the range of units indicated by the type attribute.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="to">
            <xs:annotation>
              <xs:documentation>specifies the end-point of the range of units indicated by the type attribute.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.global.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.</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. </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:complexType>
  </xs:element>
  <xs:element name="listBibl">
    <xs:annotation>
      <xs:documentation>(citation list) contains a list of bibliographic citations of any kind. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:group ref="ns1:model.biblLike"/>
          <xs:group ref="ns1:model.milestoneLike"/>
          <xs:element ref="ns1:listBibl"/>
        </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:complexType>
  </xs:element>
  <xs:element name="relatedItem">
    <xs:annotation>
      <xs:documentation>contains or references some other bibliographic item which is related to the present one in
    some specified manner, for example as a constituent or alternative version of it.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <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:complexType>
  </xs:element>
  <xs:element name="l">
    <xs:annotation>
      <xs:documentation>(verse line) contains a single, possibly incomplete, line of verse.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="part" default="N">
            <xs:annotation>
              <xs:documentation>specifies whether or not the line is metrically complete. </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="Y">
                  <xs:annotation>
                    <xs:documentation>(yes) the line is metrically incomplete</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="N">
                  <xs:annotation>
                    <xs:documentation>(no) either the line is complete, or no claim is made as to its completeness</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="I">
                  <xs:annotation>
                    <xs:documentation>(initial) the initial part of an incomplete line</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="M">
                  <xs:annotation>
                    <xs:documentation>(medial) a medial part of an incomplete line</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
                <xs:enumeration value="F">
                  <xs:annotation>
                    <xs:documentation>(final) the final part of an incomplete line</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="lg">
    <xs:annotation>
      <xs:documentation>(line group) contains a group of verse lines functioning as a formal unit, e.g. a stanza, refrain,
        verse paragraph, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.divTop"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:choice>
          <xs:group ref="ns1:model.lLike"/>
          <xs:element ref="ns1:lg"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.lLike"/>
          <xs:element ref="ns1:lg"/>
          <xs:group ref="ns1:model.global"/>
        </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="divGen">
    <xs:annotation>
      <xs:documentation>(automatically generated text division) indicates the location at which a textual division generated
        automatically by a text-processing application is to appear.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" type="xs:Name">
        <xs:annotation>
          <xs:documentation>specifies what type of generated text division (e.g. index,
                table of contents, etc.) is to appear.
Sample values include: 1] index; 2] toc; 3] figlist; 4] tablist</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:group name="model.headerPart">
    <xs:choice>
      <xs:element ref="ns1:encodingDesc"/>
      <xs:element ref="ns1:profileDesc"/>
    </xs:choice>
  </xs:group>
  <xs:element name="teiHeader">
    <xs:annotation>
      <xs:documentation>(TEI Header) supplies the descriptive and declarative information making up an electronic title page
    prefixed to every TEI-conformant text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:fileDesc"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.headerPart"/>
        <xs:element minOccurs="0" ref="ns1:revisionDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" default="text" type="xs:Name">
        <xs:annotation>
          <xs:documentation>specifies the kind of document to which the header is attached, for example whether it
        is a corpus or individual text.
Sample values include: 1] text; 2] corpus</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="fileDesc">
    <xs:annotation>
      <xs:documentation>(file description) contains a full bibliographic description of an electronic file.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:sequence>
          <xs:element ref="ns1:titleStmt"/>
          <xs:element minOccurs="0" ref="ns1:editionStmt"/>
          <xs:element minOccurs="0" ref="ns1:extent"/>
          <xs:element ref="ns1:publicationStmt"/>
          <xs:element minOccurs="0" ref="ns1:seriesStmt"/>
          <xs:element minOccurs="0" ref="ns1:notesStmt"/>
        </xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:sourceDesc"/>
      </xs:sequence>
      <xs:attributeGroup ref="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 intellectual
    content.</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.</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="funder">
    <xs:annotation>
      <xs:documentation>(funding body) specifies the name of an individual, institution, or organization responsible for the
    funding of a project or text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="principal">
    <xs:annotation>
      <xs:documentation>(principal researcher) supplies the name of the principal researcher responsible for the
creation of an electronic text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="editionStmt">
    <xs:annotation>
      <xs:documentation>(edition statement) groups information relating to one edition of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element ref="ns1:edition"/>
          <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:respStmt"/>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="edition">
    <xs:annotation>
      <xs:documentation>(edition) describes the particularities of one edition of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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 as stored on some carrier medium, whether digital
    or non-digital, specified in any convenient units.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:group maxOccurs="unbounded" ref="ns1:model.publicationStmtPart"/>
      </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.</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 an electronic file available, other than a publisher or
  distributor.</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>(identifying number) supplies any number or other identifier used to identify a bibliographic item in a
    standardized way.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="type" type="xs:Name">
        <xs:annotation>
          <xs:documentation>categorizes the number, for example as an ISBN or other standard series. </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="availability">
    <xs:annotation>
      <xs:documentation>supplies information about the availability of a text, for example any restrictions on its
    use or distribution, its copyright status, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
      <xs:attribute name="status" use="required">
        <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:enumeration value="unknown"/>
            <xs:enumeration value="restricted"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="seriesStmt">
    <xs:annotation>
      <xs:documentation>(series statement) groups information about the series, if any, to which a publication belongs.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:sequence>
          <xs:element maxOccurs="unbounded" ref="ns1:title"/>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="ns1:idno"/>
            <xs:element ref="ns1:respStmt"/>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:attributeGroup ref="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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:group maxOccurs="unbounded" ref="ns1:model.noteLike"/>
      <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.</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.listLike"/>
        </xs:choice>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declarable.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:group name="model.encodingPart">
    <xs:choice>
      <xs:element ref="ns1:projectDesc"/>
      <xs:element ref="ns1:editorialDecl"/>
      <xs:element ref="ns1:classDecl"/>
      <xs:element ref="ns1:geoDecl"/>
      <xs:element ref="ns1:charDecl"/>
    </xs:choice>
  </xs:group>
  <xs:element name="encodingDesc">
    <xs:annotation>
      <xs:documentation>(encoding description) documents the relationship between an electronic text and the
source or sources from which it was derived.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:group ref="ns1:model.encodingPart"/>
        <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.</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.</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="classDecl">
    <xs:annotation>
      <xs:documentation>(classification declarations) contains one or more taxonomies defining any classificatory
codes used elsewhere in the text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:taxonomy"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="taxonomy">
    <xs:annotation>
      <xs:documentation>defines a typology used to classify texts either implicitly, by means of a bibliographic
    citation, or explicitly by a structured taxonomy.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        <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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice>
          <xs:element ref="ns1:catDesc"/>
          <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        </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.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.limitedPhrase"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:group name="model.profileDescPart">
    <xs:choice>
      <xs:element ref="ns1:langUsage"/>
      <xs:element ref="ns1:textClass"/>
      <xs:element ref="ns1:handNotes"/>
    </xs:choice>
  </xs:group>
  <xs:element name="profileDesc">
    <xs:annotation>
      <xs:documentation>(text-profile description) provides a detailed description of non-bibliographic aspects of a text, specifically the
    languages and sublanguages used, the situation in which it was produced, the participants and
    their setting.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:creation"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.profileDescPart"/>
      </xs:sequence>
      <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.</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.attribute.scribe"/>
          <xs:attribute name="script" use="required">
            <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>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="carolmin"/>
                        <xs:enumeration value="textualis"/>
                        <xs:enumeration value="cursiva"/>
                        <xs:enumeration value="hybrida"/>
                        <xs:enumeration value="humbook"/>
                        <xs:enumeration value="humcursiva"/>
                        <xs:enumeration value="kanzlei"/>
                        <xs:enumeration value="kurrent"/>
                        <xs:enumeration value="other">
                          <xs:annotation>
                            <xs:documentation>script other than one of these</xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                        <xs:enumeration value="unknown">
                          <xs:annotation>
                            <xs:documentation>script information not available</xs:documentation>
                          </xs:annotation>
                        </xs:enumeration>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.handFeatures.attribute.medium"/>
          <xs:attribute name="scope" use="required">
            <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:enumeration value="major"/>
                <xs:enumeration value="minor"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="creation">
    <xs:annotation>
      <xs:documentation>contains information about the creation of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="langUsage">
    <xs:annotation>
      <xs:documentation>(language usage) describes the languages, sublanguages, registers, dialects, etc.
represented within a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="ns1:language"/>
      </xs:sequence>
      <xs:attributeGroup ref="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.</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="xs:language">
            <xs:annotation>
              <xs:documentation>(identifier) Supplies a language code constructed as defined in BCP 47 which is used to identify the
        language documented by this element, and which is referenced by the global
        xml:lang attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="usage">
            <xs:annotation>
              <xs:documentation>specifies the approximate percentage (by volume) of the text which uses this language. </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:maxInclusive value="100"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="textClass">
    <xs:annotation>
      <xs:documentation>(text classification) groups information which describes the nature or topic of a text in terms of a standard
    classification scheme, thesaurus, etc.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ns1:classCode"/>
        <xs:element ref="ns1:catRef"/>
        <xs:element ref="ns1:keywords"/>
      </xs:choice>
      <xs:attributeGroup ref="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.</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" use="required" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the controlled vocabulary within which the set of keywords concerned is
        defined. </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="classCode">
    <xs:annotation>
      <xs:documentation>(classification code) contains the classification code used for this text in some standard classification system.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq.limited">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="scheme" use="required" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the classification system or taxonomy in use.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="catRef">
    <xs:annotation>
      <xs:documentation>(category reference) specifies one or more defined categories within some taxonomy or text typology.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="target" use="required">
        <xs:annotation>
          <xs:documentation>identifies the categories concerned </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list itemType="xs:anyURI"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="scheme" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the classification scheme within which the set of categories concerned is
        defined </xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="revisionDesc">
    <xs:annotation>
      <xs:documentation>(revision description) summarizes the revision history for a file.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:element ref="ns1:list"/>
        <xs:element maxOccurs="unbounded" ref="ns1:change"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="change">
    <xs:annotation>
      <xs:documentation>summarizes a particular change or correction made to a particular version of an electronic
    text which is shared between several researchers.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.limitedPhrase"/>
        <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.ascribed.attributes"/>
      <xs:attribute name="when">
        <xs:annotation>
          <xs:documentation>supplies the date of the change in standard form, i.e. YYYY-MM-DD.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:date xs:gYear xs:gMonth xs:gDay xs:gYearMonth xs:gMonthDay xs:time xs:dateTime"/>
        </xs:simpleType>
      </xs:attribute>
    </xs: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.</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="geoDecl">
    <xs:annotation>
      <xs:documentation>(geographic coordinates declaration) documents the notation and the datum used for geographic coordinates expressed as content of
    the geo element elsewhere within the document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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="TEI">
    <xs:annotation>
      <xs:documentation>(TEI document) contains a single TEI-conformant document,
comprising a TEI header and a text, either in isolation or as part of a
teiCorpus element.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:teiHeader"/>
        <xs: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" default="5.0" type="xs:decimal">
        <xs:annotation>
          <xs:documentation>The version of the TEI scheme</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.</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.</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>
            <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.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>
        </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.</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:complexType>
  </xs:element>
  <xs:element name="div">
    <xs:annotation>
      <xs:documentation>(text division) contains a subdivision of the front, body, or back of a text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="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="titlePage">
    <xs:annotation>
      <xs:documentation>(title page) contains the title page of a text, appearing within the front or back matter. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="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="xs:Name">
        <xs:annotation>
          <xs:documentation>classifies the title page according to any convenient typology.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="docTitle">
    <xs:annotation>
      <xs:documentation>(document title) contains the title of a document, including all its
constituents, as given on a title page.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="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.</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).</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="docEdition">
    <xs:annotation>
      <xs:documentation>(document edition) contains an edition statement as presented on a title page of a
document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="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.</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:publisher"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="front">
    <xs:annotation>
      <xs:documentation>(front matter) contains any prefatory matter (headers,
title page, prefaces, dedications, etc.)
found  at the start of a document, before the main body.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.frontPart"/>
          <xs:group ref="ns1:model.pLike.front"/>
          <xs:group ref="ns1:model.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <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: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.</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.global"/>
        </xs:choice>
        <xs:sequence minOccurs="0">
          <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:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="msDesc">
    <xs:annotation>
      <xs:documentation>(manuscript description) contains a description of a single identifiable
manuscript or other text-bearing object.</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:attribute ref="xml:id" use="required"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.n"/>
      <xs:attribute ref="xml:lang" use="required"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.rend"/>
      <xs:attributeGroup ref="ns1:att.global.attribute.xmlbase"/>
      <xs:attributeGroup ref="ns1:att.global.facs.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.</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.</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:attribute name="type" use="required">
        <xs:annotation>
          <xs:documentation>indicates which aspect of the object is being measured. </xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="leaf"/>
            <xs:enumeration value="binding"/>
            <xs:enumeration value="slip"/>
            <xs:enumeration value="written"/>
            <xs:enumeration value="boxed"/>
            <xs:enumeration value="unknown"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
    </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.</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. </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. </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. </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. 
</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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.xtext">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="scheme" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the foliation scheme in terms of which the location is being
        specified.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="from">
            <xs:annotation>
              <xs:documentation>specifies the starting point of the location in a normalized form.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="to">
            <xs:annotation>
              <xs:documentation>specifies the end-point of the location in a normalized form.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="target">
            <xs:annotation>
              <xs:documentation>supplies a link to one or more transcriptions of the specified range of folios.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list itemType="xs:anyURI"/>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </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.
  </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="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the foliation scheme in terms of which all the
      locations contained by the group are specified.</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  a manuscript (or part of a manuscript) is composed.
  </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="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.
  </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:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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. </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.datable.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="secFol">
    <xs:annotation>
      <xs:documentation>(second folio) 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.
</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.</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="stamp">
    <xs:annotation>
      <xs:documentation>contains a word or phrase describing a
stamp or similar device.</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.</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. </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" 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.</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.</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. </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="altIdentifier">
    <xs:annotation>
      <xs:documentation>(alternative identifier) contains an alternative or former structured identifier used for
a manuscript, such as a former catalogue number.</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:attribute name="type" use="required">
        <xs:annotation>
          <xs:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="former">
              <xs:annotation>
                <xs:documentation>former catalogue or shelf number</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="system">
              <xs:annotation>
                <xs:documentation>former system identifier
(Manuscriptorium specific)</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="partial">
              <xs:annotation>
                <xs:documentation>identifier of a previously distinct
item</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="internal">
              <xs:annotation>
                <xs:documentation>internal project identifier</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="other">
              <xs:annotation>
                <xs:documentation>unspecified</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
    </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. </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.</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.
  </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.</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.</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 incipts were, in fomer times, frequently used a means of reference to a work, in place of a title.</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.</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:element minOccurs="0" maxOccurs="unbounded" ref="ns1:msItem"/>
        </xs:sequence>
      </xs:choice>
      <xs:attribute name="class" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the text types or classifications applicable to this object.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.msExcerpt.attributes"/>
    </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. </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" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the text types or classifications applicable to this
item</xs:documentation>
        </xs:annotation>
      </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.</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 a brief summary of the
intellectual content of an item, provided by the cataloguer.</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="textLang">
    <xs:annotation>
      <xs:documentation>(text language) describes the languages and writing systems used by a manuscript (as
    opposed to its description, which is described in the langUsage element).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.phraseSeq">
          <xs:attribute name="mainLang" use="required" type="xs:language">
            <xs:annotation>
              <xs:documentation>(main language) supplies a code which identifies the chief language used in the manuscript.</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 manuscript.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:list itemType="xs:language"/>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </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">
      <xs:annotation>
        <xs:documentation>indicates whether the passage being quoted is defective,
      i.e. incomplete through loss or damage.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:boolean">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="unknown"/>
            </xs:restriction>
          </xs:simpleType>
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="inapplicable"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <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
specialised elements from the model.physDescPart class.</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.</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:attribute name="form" use="required">
        <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:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="codex">
              <xs:annotation>
                <xs:documentation>a bound codex</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="leaf">
              <xs:annotation>
                <xs:documentation>a loose leaf</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="scroll">
              <xs:annotation>
                <xs:documentation>a scroll</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="other">
              <xs:annotation>
                <xs:documentation>any other format</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </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.</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:attribute name="material" use="required">
        <xs:annotation>
          <xs:documentation>a short project-defined name for the material composing
      the majority of the support</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="perg">
              <xs:annotation>
                <xs:documentation>parchment</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="chart">
              <xs:annotation>
                <xs:documentation>paper</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="mixed">
              <xs:annotation>
                <xs:documentation>mixture of paper and parchment, or other materials</xs:documentation>
              </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="unknown"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
    </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.</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.</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.</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. </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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:layout"/>
      </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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attribute name="columns" use="required">
            <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="xs:nonNegativeInteger xs:nonNegativeInteger"/>
                    </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="xs:nonNegativeInteger xs:nonNegativeInteger"/>
                    </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
      colum</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:union memberTypes="xs:nonNegativeInteger xs:nonNegativeInteger"/>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
                <xs:maxLength value="2"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </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.</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="xs:nonNegativeInteger">
        <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.</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="musicNotation">
    <xs:annotation>
      <xs:documentation>contains description of type of musical notation.</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 organised decoNote elements.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:decoNote"/>
      </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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.specialPara">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attribute name="type" default="other">
            <xs:annotation>
              <xs:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="border"/>
                <xs:enumeration value="diagram"/>
                <xs:enumeration value="initial"/>
                <xs:enumeration value="marginal"/>
                <xs:enumeration value="miniature"/>
                <xs:enumeration value="mixed"/>
                <xs:enumeration value="paratext"/>
                <xs:enumeration value="secondary"/>
                <xs:enumeration value="other"/>
                <xs:enumeration value="illustration"/>
                <xs:enumeration value="printmark"/>
                <xs:enumeration value="publishmark"/>
                <xs:enumeration value="vignette"/>
                <xs:enumeration value="frieze"/>
                <xs:enumeration value="map"/>
                <xs:enumeration value="unspecified"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
        </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. </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. </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.</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">
        <xs:annotation>
          <xs:documentation>specifies whether or not the binding is contemporary with the majority of its
        contents</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:boolean">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="unknown"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="inapplicable"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs: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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:choice maxOccurs="unbounded">
          <xs:element ref="ns1:decoNote"/>
          <xs:element ref="ns1:seal"/>
          <xs:element ref="ns1:condition"/>
        </xs:choice>
      </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.</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">
        <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:simpleType>
          <xs:union memberTypes="xs:boolean">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="unknown"/>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="inapplicable"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs: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.</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.</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. </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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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. </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="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. </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. </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. </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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element ref="ns1:source"/>
      </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. </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. </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.</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:attribute name="type" use="required">
            <xs:annotation>
              <xs:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="check"/>
                <xs:enumeration value="conservation"/>
                <xs:enumeration value="description"/>
                <xs:enumeration value="exhibition"/>
                <xs:enumeration value="loan"/>
                <xs:enumeration value="photography"/>
                <xs:enumeration value="other"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="surrogates">
    <xs:annotation>
      <xs:documentation>contains information about any non-digital representations of the manuscript being described which may exist in the holding institution or elsewhere.
</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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="ns1:altIdentifier"/>
        <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: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.</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.</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:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.pointing.attributes">
    <xs:attributeGroup ref="ns1:att.pointing.attribute.type"/>
    <xs:attributeGroup ref="ns1:att.pointing.attribute.evaluate"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.pointing.attribute.type">
    <xs:attribute name="type" type="xs:Name">
      <xs:annotation>
        <xs:documentation>categorizes the pointer in some respect, using any
      convenient set of categories.</xs:documentation>
      </xs:annotation>
    </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:element name="orgName">
    <xs:annotation>
      <xs:documentation>(organization name) contains an organizational name. </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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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 any
    or all of the person's forenames, surnames, honorifics, added names, etc.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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.</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.</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.</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.</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.</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. </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:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="bloc">
    <xs:annotation>
      <xs:documentation>(bloc) contains the name of a geo-political unit consisting of two or more nation states or
    countries.</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>(country) 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.</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.</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:attribute name="type" use="required">
            <xs:annotation>
              <xs:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="parish"/>
                <xs:enumeration value="county"/>
                <xs:enumeration value="compass"/>
                <xs:enumeration value="geog"/>
                <xs:enumeration value="state"/>
                <xs:enumeration value="unknown"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.typed.attribute.subtype"/>
          <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.</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.</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>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. </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="geogName">
    <xs:annotation>
      <xs:documentation>(geographical name) a name associated with some geographical feature such as Windrush Valley or Mount Sinai.</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:attribute name="type" type="xs:Name">
            <xs:annotation>
              <xs:documentation>provides more culture- linguistic- or application- specific information used to categorize this name component.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </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.</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:attributeGroup ref="ns1:att.datable.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="affiliation">
    <xs:annotation>
      <xs:documentation>(affiliation) contains an informal description of a person's present or past affiliation with some
        organization, for example an employer or sponsor.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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>(age) specifies the age of a person.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attribute name="value" type="xs:nonNegativeInteger">
            <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>(birth) contains information about a person's birth, such as its date and place.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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="death">
    <xs:annotation>
      <xs:documentation>(death) contains information about a person's death, such as its date and place.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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>(event) contains data relating to any kind of significant event associated with a person, place, or organization.</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: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.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attribute name="where" type="xs:anyURI">
        <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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:langKnown"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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="xs: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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attribute name="tag" use="required" type="xs:language">
            <xs:annotation>
              <xs:documentation>supplies a valid language tag for the language concerned.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="level">
            <xs:annotation>
              <xs:documentation>a code indicating the person's level of knowledge for this language </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="listOrg">
    <xs:annotation>
      <xs:documentation>(list of organizations) contains a list of elements, each of which provides information about an identifiable
        organization. </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:relationGrp"/>
          <xs:element ref="ns1:relation"/>
        </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: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. </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:relationGrp"/>
        </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: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. </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:relationGrp"/>
        </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: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. </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:relationGrp"/>
          <xs:element ref="ns1:relation"/>
        </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: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 a other named geo-political entities, or as an
        address.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <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.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attribute name="scheme" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the classification system or taxonomy in use by supplying the identifier of a taxonomy element elsewhere in the
                header.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="code" type="xs:anyURI">
            <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.</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:choice>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
        </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.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                  </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="relationGrp">
    <xs:annotation>
      <xs:documentation>(relation group) provides information about relationships identified amongst people, places, and
    organizations, either informally as prose or as formally expressed relation links. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:element maxOccurs="unbounded" ref="ns1:relation"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.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.</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: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="xs:Name"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="sex" use="required">
        <xs:annotation>
          <xs:documentation>specifies the sex of the person.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="0"/>
            <xs:enumeration value="1"/>
            <xs:enumeration value="2"/>
            <xs:enumeration value="9"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="age" type="xs:Name">
        <xs:annotation>
          <xs:documentation>specifies an age group for the person.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
    </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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pLike"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.personPart"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="role" type="xs:Name">
        <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 base="xs:token">
            <xs:enumeration value="0"/>
            <xs:enumeration value="1"/>
            <xs:enumeration value="2"/>
            <xs:enumeration value="9"/>
            <xs:enumeration value="mixed"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="age" type="xs:Name">
        <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>specifies the size or approximate size of the group.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction>
            <xs:simpleType>
              <xs:list>
                <xs:simpleType>
                  <xs:restriction base="xs:token">
                    <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
                  </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="place">
    <xs:annotation>
      <xs:documentation>contains data about a geographic location</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.placeTraitLike"/>
            <xs:group ref="ns1:model.placeEventLike"/>
          </xs:choice>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:group ref="ns1:model.noteLike"/>
          <xs:group ref="ns1:model.biblLike"/>
        </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.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="population">
    <xs:annotation>
      <xs:documentation>contains information about the population of a place.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <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.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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 participants.</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.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attribute name="type" default="personal">
        <xs:annotation>
          <xs:documentation>categorizes the relationship in some respect, e.g. as social, personal or other.
Suggested values include: 1] social; 2] personal; 3] other</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:union memberTypes="xs:Name">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="social">
                  <xs:annotation>
                    <xs:documentation>relationship concerned with social roles</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="personal">
                  <xs:annotation>
                    <xs:documentation>relationship concerned with personal roles, e.g. kinship, marriage, etc.</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="other">
                  <xs:annotation>
                    <xs:documentation>other kinds of relationship</xs:documentation>
                  </xs:annotation>
                </xs:enumeration>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="name" use="required" type="xs:Name">
        <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="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="xs:anyURI"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </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="xs:anyURI"/>
            </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="xs:anyURI"/>
            </xs:simpleType>
            <xs:minLength value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="residence">
    <xs:annotation>
      <xs:documentation>(residence) describes a person's present or past places of residence.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attributeGroup ref="ns1:att.datable.attributes"/>
          <xs:attribute name="value">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:enumeration value="0"/>
                <xs:enumeration value="1"/>
                <xs:enumeration value="2"/>
                <xs:enumeration value="9"/>
              </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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
          <xs:attributeGroup ref="ns1:att.naming.attributes"/>
          <xs:attribute name="scheme" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies the classification system or taxonomy in use.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="code" type="xs:anyURI">
            <xs:annotation>
              <xs:documentation>identifies a status code defined within the classification system or taxonomy defined by the source attribute.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="trait">
    <xs:annotation>
      <xs:documentation>contains a description of some culturally-determined and in principle unchanging characteristic attributed to a person or place .</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <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:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.datable.attributes"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
      <xs:attributeGroup ref="ns1:att.naming.attributes"/>
      <xs:attributeGroup ref="ns1:att.typed.attributes"/>
    </xs:complexType>
  </xs:element>
  <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:element name="formula">
    <xs:annotation>
      <xs:documentation>contains a mathematical or other formula.</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.graphicLike"/>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="notation" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>supplies the name of a previously defined notation used for the content of the element.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="figure">
    <xs:annotation>
      <xs:documentation>groups elements representing or containing graphic information such as an illustration or
    figure.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:group ref="ns1:model.headLike"/>
        <xs:group ref="ns1:model.pLike"/>
        <xs:element ref="ns1:figDesc"/>
        <xs:group ref="ns1:model.graphicLike"/>
        <xs:group ref="ns1:model.global"/>
      </xs:choice>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.placement.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="figDesc">
    <xs:annotation>
      <xs:documentation>(description of figure) contains a brief prose description of the appearance or content
of a graphic figure, for use when documenting an image without
displaying it.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.limitedContent">
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="facsimile">
    <xs:annotation>
      <xs:documentation>contains a representation of some written source in the form of
a set of images rather than as transcribed or encoded text.</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: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: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="xs:anyURI"/>
          </xs:simpleType>
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="surface">
    <xs:annotation>
      <xs:documentation>defines a written surface in terms of a rectangular
coordinate space, optionally  grouping one or more graphic representations of
that space, and rectangular zones of interest
within it.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.graphicLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:zone"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.coordinated.attributes"/>
      <xs:attributeGroup ref="ns1:att.declaring.attributes"/>
      <xs:attribute name="start" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>points to an element which encodes the starting position of the text corresponding to the
inscribed part of the surface.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="att.coordinated.attributes">
    <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>
  <xs:attributeGroup name="att.coordinated.attribute.ulx">
    <xs:attribute name="ulx">
      <xs:annotation>
        <xs:documentation>gives the x coordinate value for the upper left corner of a
rectangular space.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.uly">
    <xs:attribute name="uly">
      <xs:annotation>
        <xs:documentation>gives the y coordinate value for the upper left corner of a
rectangular space.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.lrx">
    <xs:attribute name="lrx">
      <xs:annotation>
        <xs:documentation>gives the x coordinate value for the lower right corner of a
rectangular space.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.coordinated.attribute.lry">
    <xs:attribute name="lry">
      <xs:annotation>
        <xs:documentation>gives the y coordinate value for the lower right corner of a
rectangular space.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:union memberTypes="xs:double xs:decimal">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:union>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="zone">
    <xs:annotation>
      <xs:documentation>defines a rectangular area contained within a surface
element. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.graphicLike"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.coordinated.attributes"/>
    </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).</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.hand"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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.</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.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 ref="ns1:att.dimensions.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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.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 ref="ns1:att.dimensions.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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.hand"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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.</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="xs:Name">
            <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.</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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.handFeatures.attributes"/>
      <xs:attribute name="new" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>identifies the new hand.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="resp" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>signifies the editor or transcriber responsible for identifying
the change of hand.</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.</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.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.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.</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.attribute.hand"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
          <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.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 copy text.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
      <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:attribute name="resp" type="xs:anyURI">
        <xs:annotation>
          <xs:documentation>(responsible party) indicates the individual responsible for identifying and measuring
the space.</xs:documentation>
        </xs:annotation>
      </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.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:group ref="ns1:model.pPart.transcriptional"/>
        <xs:group maxOccurs="unbounded" ref="ns1:model.pPart.transcriptional"/>
      </xs:sequence>
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.hand"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.status"/>
      <xs:attributeGroup ref="ns1:att.transcriptional.attribute.seq"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
      <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
      <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="supplied">
    <xs:annotation>
      <xs:documentation>signifies text supplied by the transcriber or editor for any
  reason, typically because the original cannot be read because of
  physical damage or loss to the original.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="ns1:macro.paraContent">
          <xs:attribute name="reason" use="required">
            <xs:annotation>
              <xs:documentation>indicates why the text has had to be supplied.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction>
                <xs:simpleType>
                  <xs:list>
                    <xs:simpleType>
                      <xs:restriction base="xs:token">
                        <xs:enumeration value="omitted"/>
                        <xs:enumeration value="illegible"/>
                        <xs:enumeration value="damage"/>
                        <xs:enumeration value="unknown"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:list>
                </xs:simpleType>
                <xs:minLength value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attributeGroup ref="ns1:att.global.attributes"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.cert"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.resp"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.evidence"/>
          <xs:attributeGroup ref="ns1:att.editLike.attribute.source"/>
          <xs:attributeGroup ref="ns1:att.dimensions.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:element name="g">
    <xs:annotation>
      <xs:documentation>(character or glyph) represents a non-standard character or glyph.</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="xs:anyURI">
        <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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:charName"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:charProp"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mapping"/>
        <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. </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. </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. </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. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="ns1:glyphName"/>
        <xs:group minOccurs="0" maxOccurs="unbounded" ref="ns1:model.glossLike"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:charProp"/>
        <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:mapping"/>
        <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. </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. </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.
</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. </xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="ns1:att.global.attributes"/>
      <xs:attribute name="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:simpleType>
          <xs:union memberTypes="xs:double xs:decimal">
            <xs:simpleType>
              <xs:restriction base="xs:token">
                <xs:pattern value="(\-?[\d]+/\-?[\d]+)"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:union>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="value">
    <xs:annotation>
      <xs:documentation>(value) contains a single value for some property, attribute, or other
  analysis.</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:schema>
