<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.tei-c.org/ns/1.0">
  <!--
Schema generated from ODD source 2010-11-05T15:39:01Z. 
Edition: 1.8.0. Last updated on November 5th 2010.
Edition Location: http://www.tei-c.org/Vault/P5/1.8.0/

-->
  <!--
	  
Copyright 2010 TEI Consortium.
	  
This is free software; you can redistribute it and/or
	    modify it under the terms of the GNU General Public
	    License as published by the Free Software Foundation;
	    either version 2 of the License, or (at your option) any
	    later version.
	  
This material is distributed in the hope that it will be
	    useful, but without any warranty; without even the implied
	    warranty of merchantability or 
	    fitness for a particular
	    purpose. See the GNU General Public License for more
	    details.
	  
A copy of the GNU General Public
	    License is stored on the TEI web site
	    along with this file; you can also contact the Free
	    Software Foundation, Inc., 59 Temple Place, Suite 330,
	    Boston, MA 02111-1307, USA, for a copy.
	-->
  <define name="macro.paraContent">
    <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
      <choice>
        <text/>
        <ref name="model.gLike"/>
        <ref name="model.phrase"/>
        <ref name="model.inter"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.limitedContent">
    <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
      <choice>
        <text/>
        <ref name="model.limitedPhrase"/>
        <ref name="model.inter"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.phraseSeq">
    <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
      <choice>
        <text/>
        <ref name="model.gLike"/>
        <ref name="model.phrase"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.phraseSeq.limited">
    <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
      <choice>
        <text/>
        <ref name="model.limitedPhrase"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.specialPara">
    <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
      <choice>
        <text/>
        <ref name="model.gLike"/>
        <ref name="model.phrase"/>
        <ref name="model.inter"/>
        <ref name="model.divPart"/>
        <ref name="model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.xtext">
    <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
      <choice>
        <text/>
        <ref name="model.gLike"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="macro.anyXML">
    <element>
      <anyName>
        <except>
          <nsName ns="http://www.tei-c.org/ns/1.0"/>
          <name ns="http://www.tei-c.org/ns/Examples">egXML</name>
        </except>
      </anyName>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <attribute>
          <anyName/>
        </attribute>
      </zeroOrMore>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="macro.anyXML"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="att.ascribed.attributes">
    <ref name="att.ascribed.attribute.who"/>
  </define>
  <define name="att.ascribed.attribute.who">
    <optional>
      <attribute name="who">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the person, or group of people, to whom the element content is ascribed.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.canonical.attributes">
    <ref name="att.canonical.attribute.key"/>
    <ref name="att.canonical.attribute.ref"/>
  </define>
  <define name="att.canonical.attribute.key">
    <optional>
      <attribute name="key">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides an externally-defined means of identifying the entity (or entities) being
        named, using a coded value of some kind.</a:documentation>
        <data type="string"/>
      </attribute>
    </optional>
  </define>
  <define name="att.canonical.attribute.ref">
    <optional>
      <attribute name="ref">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference) provides an explicit means of locating a full definition for the entity being named by
        means of one or more URIs.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attributes">
    <ref name="att.ranging.attribute.atLeast"/>
    <ref name="att.ranging.attribute.atMost"/>
    <ref name="att.ranging.attribute.min"/>
    <ref name="att.ranging.attribute.max"/>
  </define>
  <define name="att.ranging.attribute.atLeast">
    <optional>
      <attribute name="atLeast">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a minimum estimated value for the approximate measurement.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attribute.atMost">
    <optional>
      <attribute name="atMost">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a maximum estimated value for the approximate measurement.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attribute.min">
    <optional>
      <attribute name="min">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where the measurement summarizes more than one observation
      or a range, supplies the minimum value
        observed.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.ranging.attribute.max">
    <optional>
      <attribute name="max">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where the measurement summarizes more than one observation
      or a range, supplies the maximum value
      observed.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attributes">
    <ref name="att.ranging.attributes"/>
    <ref name="att.dimensions.attribute.unit"/>
    <ref name="att.dimensions.attribute.quantity"/>
    <ref name="att.dimensions.attribute.extent"/>
    <ref name="att.dimensions.attribute.scope"/>
  </define>
  <define name="att.dimensions.attribute.unit">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="unit" a:defaultValue="mm">
        <a:documentation>names the unit used for the measurement</a:documentation>
        <choice>
          <value>cm</value>
          <a:documentation/>
          <value>mm</value>
          <a:documentation/>
          <value>in</value>
          <a:documentation/>
          <value>lines</value>
          <a:documentation/>
          <value>chars</value>
          <a:documentation/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attribute.quantity">
    <optional>
      <attribute name="quantity">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the length in the units specified</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attribute.extent">
    <optional>
      <attribute name="extent">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the size of the object concerned using a project-specific vocabulary combining
        quantity and units in a single string of words. </a:documentation>
        <list>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.dimensions.attribute.scope">
    <optional>
      <attribute name="scope">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where the measurement summarizes more than one observation, specifies the applicability
        of this measurement.
Sample values include: 1] all; 2] most; 3] range</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.damaged.attribute.hand">
    <optional>
      <attribute name="hand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">In the case of damage (deliberate defacement, inking out, etc.) assignable to a distinct
        hand, signifies the hand responsible for the damage.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.damaged.attribute.agent">
    <optional>
      <attribute name="agent">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.damaged.attribute.degree">
    <optional>
      <attribute name="degree">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
        <text/>
      </attribute>
    </optional>
  </define>
  <define name="att.damaged.attribute.group">
    <optional>
      <attribute name="group">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">assigns an arbitrary number to each stretch of damage regarded as forming part of the
        same physical phenomenon.</a:documentation>
        <data type="nonNegativeInteger"/>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.w3c.attributes">
    <ref name="att.datable.w3c.attribute.period"/>
    <ref name="att.datable.w3c.attribute.when"/>
    <ref name="att.datable.w3c.attribute.notBefore"/>
    <ref name="att.datable.w3c.attribute.notAfter"/>
    <ref name="att.datable.w3c.attribute.from"/>
    <ref name="att.datable.w3c.attribute.to"/>
  </define>
  <define name="att.datable.w3c.attribute.period">
    <optional>
      <attribute name="period">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a pointer to some location defining a named
      period of time within which the datable item is understood to
      have occurred.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.w3c.attribute.when">
    <optional>
      <attribute name="when">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of the date or time in a standard form,
      e.g. yyyy-mm-dd.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.w3c.attribute.notBefore">
    <optional>
      <attribute name="notBefore">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the earliest possible date for the event in
	  standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.w3c.attribute.notAfter">
    <optional>
      <attribute name="notAfter">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the latest possible date for the event in
	  standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.w3c.attribute.from">
    <optional>
      <attribute name="from">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.w3c.attribute.to">
    <optional>
      <attribute name="to">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the ending point of the period in standard
	  form, e.g. yyyy-mm-dd.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.datable.attributes">
    <ref name="att.datable.w3c.attributes"/>
  </define>
  <define name="att.declarable.attributes">
    <ref name="att.declarable.attribute.default"/>
  </define>
  <define name="att.declarable.attribute.default">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="default" a:defaultValue="false">
        <a:documentation>indicates whether or not this element is selected by default when
its parent is selected.</a:documentation>
        <choice>
          <value>true</value>
          <a:documentation>This element is selected if its parent is selected</a:documentation>
          <value>false</value>
          <a: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.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.declaring.attributes">
    <ref name="att.declaring.attribute.decls"/>
  </define>
  <define name="att.declaring.attribute.decls">
    <optional>
      <attribute name="decls">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies one or more declarable elements within the
header, which are understood to apply to the element bearing this
attribute and its content.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.divLike.attributes">
    <ref name="att.divLike.attribute.org"/>
    <ref name="att.divLike.attribute.sample"/>
    <ref name="att.divLike.attribute.part"/>
  </define>
  <define name="att.divLike.attribute.org">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="org" a:defaultValue="uniform">
        <a:documentation>(organization) specifies how the content of the division is organized.</a:documentation>
        <choice>
          <value>composite</value>
          <a: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.</a:documentation>
          <value>uniform</value>
          <a:documentation>uniform content: i.e. the immediate contents of this
		  element are regarded as forming a logical unit, to be
		  processed in sequence.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.divLike.attribute.sample">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="sample" a:defaultValue="complete">
        <a:documentation>indicates whether this division is a sample of the
		original source and if so, from which part.</a:documentation>
        <choice>
          <value>initial</value>
          <a:documentation>division lacks material present at end in source.</a:documentation>
          <value>medial</value>
          <a:documentation>division lacks material at start and end.</a:documentation>
          <value>final</value>
          <a:documentation>division lacks material at start.</a:documentation>
          <value>unknown</value>
          <a:documentation>position of sampled material within original unknown.</a:documentation>
          <value>complete</value>
          <a:documentation>division is not a sample.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.divLike.attribute.part">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <a: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.</a:documentation>
        <choice>
          <value>Y</value>
          <a:documentation>(yes) the division is incomplete in some respect</a:documentation>
          <value>N</value>
          <a:documentation>(no) either the division is complete, or no claim is made as to its completeness.</a:documentation>
          <value>I</value>
          <a:documentation>(initial) the initial part of an incomplete division</a:documentation>
          <value>M</value>
          <a:documentation>(medial) a medial part of an incomplete division</a:documentation>
          <value>F</value>
          <a:documentation>(final) the final part of an incomplete division</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.docStatus.attributes">
    <ref name="att.docStatus.attribute.status"/>
  </define>
  <define name="att.docStatus.attribute.status">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="draft">
        <a:documentation>describes the status of a document either currently or, when
associated with a dated element, at the time indicated.
Sample values include: 1] approved; 2] candidate; 3] cleared; 4] deprecated; 5] draft; 6] embargoed; 7] expired; 8] frozen; 9] galley; 10] proposed; 11] published; 12] recommendation; 13] submitted; 14] unfinished; 15] withdrawn</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.responsibility.attributes">
    <ref name="att.responsibility.attribute.cert"/>
    <ref name="att.responsibility.attribute.resp"/>
  </define>
  <define name="att.responsibility.attribute.cert">
    <optional>
      <attribute name="cert">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(certainty) signifies the degree of certainty associated with the intervention or interpretation.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.responsibility.attribute.resp">
    <optional>
      <attribute name="resp">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates the agency responsible for the intervention or interpretation, for example an
        editor or transcriber.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.editLike.attributes">
    <ref name="att.dimensions.attributes"/>
    <ref name="att.responsibility.attributes"/>
    <ref name="att.editLike.attribute.evidence"/>
    <ref name="att.editLike.attribute.source"/>
  </define>
  <define name="att.editLike.attribute.evidence">
    <optional>
      <attribute name="evidence">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
        <list>
          <choice>
            <value>internal</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is internal evidence to support the intervention.</a:documentation>
            <value>external</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is external evidence to support the intervention.</a:documentation>
            <value>conjecture</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the intervention or interpretation has been made by the editor, cataloguer, or
            scholar on the basis of their expertise.</a:documentation>
            <data type="Name"/>
          </choice>
          <zeroOrMore>
            <choice>
              <value>internal</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is internal evidence to support the intervention.</a:documentation>
              <value>external</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is external evidence to support the intervention.</a:documentation>
              <value>conjecture</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the intervention or interpretation has been made by the editor, cataloguer, or
            scholar on the basis of their expertise.</a:documentation>
              <data type="Name"/>
            </choice>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.editLike.attribute.source">
    <optional>
      <attribute name="source">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of one or more pointers indicating sources
      supporting the given  intervention or interpretation.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attributes">
    <ref name="att.global.facs.attributes"/>
    <ref name="att.global.attribute.xmlid"/>
    <ref name="att.global.attribute.n"/>
    <ref name="att.global.attribute.xmllang"/>
    <ref name="att.global.attribute.rend"/>
    <ref name="att.global.attribute.xmlbase"/>
    <ref name="att.global.attribute.xmlspace"/>
  </define>
  <define name="att.global.attribute.xmlid">
    <optional>
      <attribute name="xml:id">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) provides a unique identifier for the element bearing the attribute.</a:documentation>
        <data type="ID"/>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.n">
    <optional>
      <attribute name="n">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(number) gives a number (or other label) for an element, which is not necessarily unique within
        the document.</a:documentation>
        <list>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.xmllang">
    <optional>
      <attribute name="xml:lang">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language) indicates the language of the element content using a tag generated
        according to BCP 47
         </a:documentation>
        <data type="language"/>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.rend">
    <optional>
      <attribute name="rend">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) indicates how the element in question was rendered or presented in the source text.</a:documentation>
        <list>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.xmlbase">
    <optional>
      <attribute name="xml:base">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a base URI reference with which applications can resolve relative URI
        references into absolute URI references.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.xmlspace">
    <optional>
      <attribute name="xml:space">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signals an intention about how white space should be 
      managed by  applications. </a:documentation>
        <choice>
          <value>default</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the processor should treat white space according to the
	default XML white space handling rules</a:documentation>
          <value>preserve</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the processor should preserve unchanged any and all
	white space in the source</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attributes">
    <ref name="att.handFeatures.attribute.scribe"/>
    <ref name="att.handFeatures.attribute.scribeRef"/>
    <ref name="att.handFeatures.attribute.script"/>
    <ref name="att.handFeatures.attribute.scriptRef"/>
    <ref name="att.handFeatures.attribute.medium"/>
    <ref name="att.handFeatures.attribute.scope"/>
  </define>
  <define name="att.handFeatures.attribute.scribe">
    <optional>
      <attribute name="scribe">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a name or other identifier for the scribe
believed to be responsible for this hand.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.scribeRef">
    <optional>
      <attribute name="scribeRef">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a full description of the scribe concerned, typically supplied by a person element
      elsewhere in the description.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.script">
    <optional>
      <attribute name="script">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the particular script or writing style used by
this hand, for example secretary, copperplate, Chancery, Italian, etc.</a:documentation>
        <list>
          <data type="Name"/>
          <zeroOrMore>
            <data type="Name"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.scriptRef">
    <optional>
      <attribute name="scriptRef">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a full description of the script or writing style used by
this hand, typically supplied by a scriptNote element
      elsewhere in the description.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.medium">
    <optional>
      <attribute name="medium">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the tint or type of ink, e.g. brown, or other
writing medium, e.g. pencil</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.scope">
    <optional>
      <attribute name="scope">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how widely this  hand is used in the manuscript.</a:documentation>
        <choice>
          <value>sole</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">only this hand is used throughout the manuscript</a:documentation>
          <value>major</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">this hand is used through most of the manuscript</a:documentation>
          <value>minor</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">this hand is used occasionally in the manuscript</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.internetMedia.attributes">
    <ref name="att.internetMedia.attribute.mimeType"/>
  </define>
  <define name="att.internetMedia.attribute.mimeType">
    <optional>
      <attribute name="mimeType">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
    </optional>
  </define>
  <define name="att.naming.attributes">
    <ref name="att.canonical.attributes"/>
    <ref name="att.naming.attribute.role"/>
    <ref name="att.naming.attribute.nymRef"/>
  </define>
  <define name="att.naming.attribute.role">
    <optional>
      <attribute name="role">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">may be used to specify further information about the entity referenced by
this name, for example the occupation of a person, or the status of a place. </a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.naming.attribute.nymRef">
    <optional>
      <attribute name="nymRef">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.placement.attributes">
    <ref name="att.placement.attribute.place"/>
  </define>
  <define name="att.placement.attribute.place">
    <optional>
      <attribute name="place">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
Suggested values include: 1] below; 2] bottom; 3] margin; 4] top; 5] opposite; 6] overleaf; 7] above; 8] end; 9] inline; 10] inspace</a:documentation>
        <list>
          <choice>
            <value>below</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">below the line</a:documentation>
            <value>bottom</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the foot of the page</a:documentation>
            <value>margin</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in the margin (left, right, or both)</a:documentation>
            <value>top</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the top of the page</a:documentation>
            <value>opposite</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the opposite, i.e. facing, page</a:documentation>
            <value>overleaf</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the other side of the leaf</a:documentation>
            <value>above</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">above the line</a:documentation>
            <value>end</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the end of e.g. chapter or volume.</a:documentation>
            <value>inline</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">within the body of the text.</a:documentation>
            <value>inspace</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> in a predefined space, for example left by an earlier scribe.</a:documentation>
            <data type="Name"/>
          </choice>
          <zeroOrMore>
            <choice>
              <value>below</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">below the line</a:documentation>
              <value>bottom</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the foot of the page</a:documentation>
              <value>margin</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in the margin (left, right, or both)</a:documentation>
              <value>top</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the top of the page</a:documentation>
              <value>opposite</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the opposite, i.e. facing, page</a:documentation>
              <value>overleaf</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the other side of the leaf</a:documentation>
              <value>above</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">above the line</a:documentation>
              <value>end</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the end of e.g. chapter or volume.</a:documentation>
              <value>inline</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">within the body of the text.</a:documentation>
              <value>inspace</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> in a predefined space, for example left by an earlier scribe.</a:documentation>
              <data type="Name"/>
            </choice>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.typed.attributes">
    <ref name="att.typed.attribute.type"/>
    <ref name="att.typed.attribute.subtype"/>
  </define>
  <define name="att.typed.attribute.type">
    <optional>
      <attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.typed.attribute.subtype">
    <optional>
      <attribute name="subtype">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a sub-categorization of the element, if needed</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attributes">
    <ref name="att.pointing.attribute.target"/>
    <ref name="att.pointing.attribute.evaluate"/>
  </define>
  <define name="att.pointing.attribute.target">
    <optional>
      <attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the destination of the reference by supplying one or more URI References</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.evaluate">
    <optional>
      <attribute name="evaluate">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the intended meaning when the target of a
      pointer is itself a pointer.</a:documentation>
        <choice>
          <value>all</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
          <value>one</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
          <value>none</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">no further evaluation of targets is carried out
	  beyond that needed to find the element specified in the
	  pointer's target.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.segLike.attributes">
    <ref name="att.segLike.attribute.function"/>
    <ref name="att.segLike.attribute.part"/>
  </define>
  <define name="att.segLike.attribute.function">
    <optional>
      <attribute name="function">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the function of the segment.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.segLike.attribute.part">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <a: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.</a:documentation>
        <choice>
          <value>Y</value>
          <a:documentation>(yes) the segment is incomplete in some respect</a:documentation>
          <value>N</value>
          <a:documentation>(no) either the segment is complete, or no claim is made as to
its completeness</a:documentation>
          <value>I</value>
          <a:documentation>(initial) the initial part of an incomplete segment</a:documentation>
          <value>M</value>
          <a:documentation>(medial) a medial part of an incomplete segment</a:documentation>
          <value>F</value>
          <a:documentation>(final) the final part of an incomplete segment</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.sourced.attributes">
    <ref name="att.sourced.attribute.ed"/>
  </define>
  <define name="att.sourced.attribute.ed">
    <optional>
      <attribute name="ed">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.spanning.attributes">
    <ref name="att.spanning.attribute.spanTo"/>
  </define>
  <define name="att.spanning.attribute.spanTo">
    <optional>
      <attribute name="spanTo">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the end of a span initiated by the element
	bearing this attribute.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.transcriptional.attribute.hand">
    <optional>
      <attribute name="hand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signifies the hand of the agent which made the intervention.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.transcriptional.attribute.status">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unremarkable">
        <a: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</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.transcriptional.attribute.seq">
    <optional>
      <attribute name="seq">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sequence) assigns a sequence number related to the order in which
      the encoded features carrying this attribute are believed to have occurred.</a:documentation>
        <data type="nonNegativeInteger"/>
      </attribute>
    </optional>
  </define>
  <define name="att.translatable.attributes">
    <ref name="att.translatable.attribute.version"/>
  </define>
  <define name="att.translatable.attribute.version">
    <optional>
      <attribute name="version">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version name or number of the source from
	which the translated version was derived</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
    </optional>
  </define>
  <define name="model.nameLike.agent">
    <choice>
      <ref name="name"/>
      <ref name="orgName"/>
      <ref name="persName"/>
    </choice>
  </define>
  <define name="model.nameLike.agent_alternation">
    <choice>
      <ref name="name"/>
      <ref name="orgName"/>
      <ref name="persName"/>
    </choice>
  </define>
  <define name="model.nameLike.agent_sequence">
    <ref name="name"/>
    <ref name="orgName"/>
    <ref name="persName"/>
  </define>
  <define name="model.nameLike.agent_sequenceOptional">
    <optional>
      <ref name="name"/>
    </optional>
    <optional>
      <ref name="orgName"/>
    </optional>
    <optional>
      <ref name="persName"/>
    </optional>
  </define>
  <define name="model.nameLike.agent_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="name"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="orgName"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="persName"/>
    </zeroOrMore>
  </define>
  <define name="model.nameLike.agent_sequenceRepeatable">
    <oneOrMore>
      <ref name="name"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="orgName"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="persName"/>
    </oneOrMore>
  </define>
  <define name="model.segLike">
    <choice>
      <ref name="seg"/>
    </choice>
  </define>
  <define name="model.segLike_alternation">
    <choice>
      <ref name="seg"/>
    </choice>
  </define>
  <define name="model.segLike_sequence">
    <ref name="seg"/>
  </define>
  <define name="model.segLike_sequenceOptional">
    <optional>
      <ref name="seg"/>
    </optional>
  </define>
  <define name="model.segLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="seg"/>
    </zeroOrMore>
  </define>
  <define name="model.segLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="seg"/>
    </oneOrMore>
  </define>
  <define name="model.hiLike">
    <choice>
      <ref name="hi"/>
    </choice>
  </define>
  <define name="model.hiLike_alternation">
    <choice>
      <ref name="hi"/>
    </choice>
  </define>
  <define name="model.hiLike_sequence">
    <ref name="hi"/>
  </define>
  <define name="model.hiLike_sequenceOptional">
    <optional>
      <ref name="hi"/>
    </optional>
  </define>
  <define name="model.hiLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="hi"/>
    </zeroOrMore>
  </define>
  <define name="model.hiLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="hi"/>
    </oneOrMore>
  </define>
  <define name="model.emphLike">
    <choice>
      <ref name="foreign"/>
      <ref name="gloss"/>
      <ref name="term"/>
      <ref name="title"/>
    </choice>
  </define>
  <define name="model.emphLike_alternation">
    <choice>
      <ref name="foreign"/>
      <ref name="gloss"/>
      <ref name="term"/>
      <ref name="title"/>
    </choice>
  </define>
  <define name="model.emphLike_sequence">
    <ref name="foreign"/>
    <ref name="gloss"/>
    <ref name="term"/>
    <ref name="title"/>
  </define>
  <define name="model.emphLike_sequenceOptional">
    <optional>
      <ref name="foreign"/>
    </optional>
    <optional>
      <ref name="gloss"/>
    </optional>
    <optional>
      <ref name="term"/>
    </optional>
    <optional>
      <ref name="title"/>
    </optional>
  </define>
  <define name="model.emphLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="foreign"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="gloss"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="term"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="title"/>
    </zeroOrMore>
  </define>
  <define name="model.emphLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="foreign"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="gloss"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="term"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="title"/>
    </oneOrMore>
  </define>
  <define name="model.highlighted">
    <choice>
      <ref name="model.hiLike"/>
      <ref name="model.emphLike"/>
    </choice>
  </define>
  <define name="model.highlighted_alternation">
    <choice>
      <ref name="model.hiLike_alternation"/>
      <ref name="model.emphLike_alternation"/>
    </choice>
  </define>
  <define name="model.highlighted_sequence">
    <ref name="model.hiLike_sequence"/>
    <ref name="model.emphLike_sequence"/>
  </define>
  <define name="model.highlighted_sequenceOptional">
    <optional>
      <ref name="model.hiLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.emphLike_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.highlighted_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.hiLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.emphLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.highlighted_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.hiLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.emphLike_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.dateLike">
    <choice>
      <ref name="date"/>
    </choice>
  </define>
  <define name="model.dateLike_alternation">
    <choice>
      <ref name="date"/>
    </choice>
  </define>
  <define name="model.dateLike_sequence">
    <ref name="date"/>
  </define>
  <define name="model.dateLike_sequenceOptional">
    <optional>
      <ref name="date"/>
    </optional>
  </define>
  <define name="model.dateLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="date"/>
    </zeroOrMore>
  </define>
  <define name="model.dateLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="date"/>
    </oneOrMore>
  </define>
  <define name="model.dimLike">
    <choice>
      <ref name="height"/>
      <ref name="depth"/>
      <ref name="width"/>
    </choice>
  </define>
  <define name="model.measureLike">
    <choice>
      <ref name="dim"/>
      <ref name="height"/>
      <ref name="depth"/>
      <ref name="width"/>
      <ref name="geo"/>
    </choice>
  </define>
  <define name="model.measureLike_alternation">
    <choice>
      <ref name="dim"/>
      <ref name="height"/>
      <ref name="depth"/>
      <ref name="width"/>
      <ref name="geo"/>
    </choice>
  </define>
  <define name="model.measureLike_sequence">
    <ref name="dim"/>
    <ref name="height"/>
    <ref name="depth"/>
    <ref name="width"/>
    <ref name="geo"/>
  </define>
  <define name="model.measureLike_sequenceOptional">
    <optional>
      <ref name="dim"/>
    </optional>
    <optional>
      <ref name="height"/>
    </optional>
    <optional>
      <ref name="depth"/>
    </optional>
    <optional>
      <ref name="width"/>
    </optional>
    <optional>
      <ref name="geo"/>
    </optional>
  </define>
  <define name="model.measureLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="dim"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="height"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="depth"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="width"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="geo"/>
    </zeroOrMore>
  </define>
  <define name="model.measureLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="dim"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="height"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="depth"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="width"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="geo"/>
    </oneOrMore>
  </define>
  <define name="model.egLike">
    <notAllowed/>
  </define>
  <define name="model.egLike_alternation">
    <notAllowed/>
  </define>
  <define name="model.egLike_sequence">
    <empty/>
  </define>
  <define name="model.egLike_sequenceOptional">
    <empty/>
  </define>
  <define name="model.egLike_sequenceOptionalRepeatable">
    <empty/>
  </define>
  <define name="model.egLike_sequenceRepeatable">
    <notAllowed/>
  </define>
  <define name="model.graphicLike">
    <choice>
      <ref name="graphic"/>
      <ref name="formula"/>
    </choice>
  </define>
  <define name="model.graphicLike_alternation">
    <choice>
      <ref name="graphic"/>
      <ref name="formula"/>
    </choice>
  </define>
  <define name="model.graphicLike_sequence">
    <ref name="graphic"/>
    <ref name="formula"/>
  </define>
  <define name="model.graphicLike_sequenceOptional">
    <optional>
      <ref name="graphic"/>
    </optional>
    <optional>
      <ref name="formula"/>
    </optional>
  </define>
  <define name="model.graphicLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="graphic"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="formula"/>
    </zeroOrMore>
  </define>
  <define name="model.graphicLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="graphic"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="formula"/>
    </oneOrMore>
  </define>
  <define name="model.offsetLike">
    <choice>
      <ref name="offset"/>
      <ref name="geogFeat"/>
    </choice>
  </define>
  <define name="model.offsetLike_alternation">
    <choice>
      <ref name="offset"/>
      <ref name="geogFeat"/>
    </choice>
  </define>
  <define name="model.offsetLike_sequence">
    <ref name="offset"/>
    <ref name="geogFeat"/>
  </define>
  <define name="model.offsetLike_sequenceOptional">
    <optional>
      <ref name="offset"/>
    </optional>
    <optional>
      <ref name="geogFeat"/>
    </optional>
  </define>
  <define name="model.offsetLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="offset"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="geogFeat"/>
    </zeroOrMore>
  </define>
  <define name="model.offsetLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="offset"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="geogFeat"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.msdesc">
    <choice>
      <ref name="catchwords"/>
      <ref name="dimensions"/>
      <ref name="heraldry"/>
      <ref name="locus"/>
      <ref name="locusGrp"/>
      <ref name="material"/>
      <ref name="origDate"/>
      <ref name="origPlace"/>
      <ref name="secFol"/>
      <ref name="signatures"/>
      <ref name="stamp"/>
      <ref name="watermark"/>
      <ref name="handShift"/>
    </choice>
  </define>
  <define name="model.pPart.msdesc_alternation">
    <choice>
      <ref name="catchwords"/>
      <ref name="dimensions"/>
      <ref name="heraldry"/>
      <ref name="locus"/>
      <ref name="locusGrp"/>
      <ref name="material"/>
      <ref name="origDate"/>
      <ref name="origPlace"/>
      <ref name="secFol"/>
      <ref name="signatures"/>
      <ref name="stamp"/>
      <ref name="watermark"/>
      <ref name="handShift"/>
    </choice>
  </define>
  <define name="model.pPart.msdesc_sequence">
    <ref name="catchwords"/>
    <ref name="dimensions"/>
    <ref name="heraldry"/>
    <ref name="locus"/>
    <ref name="locusGrp"/>
    <ref name="material"/>
    <ref name="origDate"/>
    <ref name="origPlace"/>
    <ref name="secFol"/>
    <ref name="signatures"/>
    <ref name="stamp"/>
    <ref name="watermark"/>
    <ref name="handShift"/>
  </define>
  <define name="model.pPart.msdesc_sequenceOptional">
    <optional>
      <ref name="catchwords"/>
    </optional>
    <optional>
      <ref name="dimensions"/>
    </optional>
    <optional>
      <ref name="heraldry"/>
    </optional>
    <optional>
      <ref name="locus"/>
    </optional>
    <optional>
      <ref name="locusGrp"/>
    </optional>
    <optional>
      <ref name="material"/>
    </optional>
    <optional>
      <ref name="origDate"/>
    </optional>
    <optional>
      <ref name="origPlace"/>
    </optional>
    <optional>
      <ref name="secFol"/>
    </optional>
    <optional>
      <ref name="signatures"/>
    </optional>
    <optional>
      <ref name="stamp"/>
    </optional>
    <optional>
      <ref name="watermark"/>
    </optional>
    <optional>
      <ref name="handShift"/>
    </optional>
  </define>
  <define name="model.pPart.msdesc_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="catchwords"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="dimensions"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="heraldry"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="locus"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="locusGrp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="material"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="origDate"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="origPlace"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="secFol"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="signatures"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="stamp"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="watermark"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="handShift"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.msdesc_sequenceRepeatable">
    <oneOrMore>
      <ref name="catchwords"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="dimensions"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="heraldry"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="locus"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="locusGrp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="material"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="origDate"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="origPlace"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="secFol"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="signatures"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="stamp"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="watermark"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="handShift"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.editorial">
    <choice>
      <ref name="choice"/>
      <ref name="abbr"/>
      <ref name="expan"/>
      <ref name="ex"/>
      <ref name="am"/>
      <ref name="subst"/>
    </choice>
  </define>
  <define name="model.pPart.editorial_alternation">
    <choice>
      <ref name="choice"/>
      <ref name="abbr"/>
      <ref name="expan"/>
      <ref name="ex"/>
      <ref name="am"/>
      <ref name="subst"/>
    </choice>
  </define>
  <define name="model.pPart.editorial_sequence">
    <ref name="choice"/>
    <ref name="abbr"/>
    <ref name="expan"/>
    <ref name="ex"/>
    <ref name="am"/>
    <ref name="subst"/>
  </define>
  <define name="model.pPart.editorial_sequenceOptional">
    <optional>
      <ref name="choice"/>
    </optional>
    <optional>
      <ref name="abbr"/>
    </optional>
    <optional>
      <ref name="expan"/>
    </optional>
    <optional>
      <ref name="ex"/>
    </optional>
    <optional>
      <ref name="am"/>
    </optional>
    <optional>
      <ref name="subst"/>
    </optional>
  </define>
  <define name="model.pPart.editorial_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="choice"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="abbr"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="expan"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="ex"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="am"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="subst"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.editorial_sequenceRepeatable">
    <oneOrMore>
      <ref name="choice"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="abbr"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="expan"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="ex"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="am"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="subst"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.transcriptional">
    <choice>
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="orig"/>
      <ref name="add"/>
      <ref name="del"/>
      <ref name="unclear"/>
      <ref name="damage"/>
      <ref name="restore"/>
      <ref name="supplied"/>
      <ref name="surplus"/>
    </choice>
  </define>
  <define name="model.pPart.transcriptional_alternation">
    <choice>
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="orig"/>
      <ref name="add"/>
      <ref name="del"/>
      <ref name="unclear"/>
      <ref name="damage"/>
      <ref name="restore"/>
      <ref name="supplied"/>
      <ref name="surplus"/>
    </choice>
  </define>
  <define name="model.pPart.transcriptional_sequence">
    <ref name="sic"/>
    <ref name="corr"/>
    <ref name="reg"/>
    <ref name="orig"/>
    <ref name="add"/>
    <ref name="del"/>
    <ref name="unclear"/>
    <ref name="damage"/>
    <ref name="restore"/>
    <ref name="supplied"/>
    <ref name="surplus"/>
  </define>
  <define name="model.pPart.transcriptional_sequenceOptional">
    <optional>
      <ref name="sic"/>
    </optional>
    <optional>
      <ref name="corr"/>
    </optional>
    <optional>
      <ref name="reg"/>
    </optional>
    <optional>
      <ref name="orig"/>
    </optional>
    <optional>
      <ref name="add"/>
    </optional>
    <optional>
      <ref name="del"/>
    </optional>
    <optional>
      <ref name="unclear"/>
    </optional>
    <optional>
      <ref name="damage"/>
    </optional>
    <optional>
      <ref name="restore"/>
    </optional>
    <optional>
      <ref name="supplied"/>
    </optional>
    <optional>
      <ref name="surplus"/>
    </optional>
  </define>
  <define name="model.pPart.transcriptional_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="sic"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="corr"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="reg"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="orig"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="add"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="del"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="unclear"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="damage"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="restore"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="supplied"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="surplus"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.transcriptional_sequenceRepeatable">
    <oneOrMore>
      <ref name="sic"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="corr"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="reg"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="orig"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="add"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="del"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="unclear"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="damage"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="restore"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="supplied"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="surplus"/>
    </oneOrMore>
  </define>
  <define name="model.pPart.edit">
    <choice>
      <ref name="model.pPart.editorial"/>
      <ref name="model.pPart.transcriptional"/>
    </choice>
  </define>
  <define name="model.pPart.edit_alternation">
    <choice>
      <ref name="model.pPart.editorial_alternation"/>
      <ref name="model.pPart.transcriptional_alternation"/>
    </choice>
  </define>
  <define name="model.pPart.edit_sequence">
    <ref name="model.pPart.editorial_sequence"/>
    <ref name="model.pPart.transcriptional_sequence"/>
  </define>
  <define name="model.pPart.edit_sequenceOptional">
    <optional>
      <ref name="model.pPart.editorial_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.pPart.transcriptional_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.pPart.edit_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.pPart.editorial_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.pPart.transcriptional_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.edit_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.pPart.editorial_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.pPart.transcriptional_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.ptrLike">
    <choice>
      <ref name="ptr"/>
      <ref name="ref"/>
    </choice>
  </define>
  <define name="model.ptrLike_alternation">
    <choice>
      <ref name="ptr"/>
      <ref name="ref"/>
    </choice>
  </define>
  <define name="model.ptrLike_sequence">
    <ref name="ptr"/>
    <ref name="ref"/>
  </define>
  <define name="model.ptrLike_sequenceOptional">
    <optional>
      <ref name="ptr"/>
    </optional>
    <optional>
      <ref name="ref"/>
    </optional>
  </define>
  <define name="model.ptrLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="ptr"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="ref"/>
    </zeroOrMore>
  </define>
  <define name="model.ptrLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="ptr"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="ref"/>
    </oneOrMore>
  </define>
  <define name="model.global.meta">
    <choice>
      <ref name="index"/>
    </choice>
  </define>
  <define name="model.global.meta_alternation">
    <choice>
      <ref name="index"/>
    </choice>
  </define>
  <define name="model.global.meta_sequence">
    <ref name="index"/>
  </define>
  <define name="model.global.meta_sequenceOptional">
    <optional>
      <ref name="index"/>
    </optional>
  </define>
  <define name="model.global.meta_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="index"/>
    </zeroOrMore>
  </define>
  <define name="model.global.meta_sequenceRepeatable">
    <oneOrMore>
      <ref name="index"/>
    </oneOrMore>
  </define>
  <define name="model.milestoneLike">
    <choice>
      <ref name="milestone"/>
      <ref name="pb"/>
      <ref name="lb"/>
      <ref name="cb"/>
      <ref name="anchor"/>
      <ref name="fw"/>
      <ref name="gb"/>
    </choice>
  </define>
  <define name="model.milestoneLike_alternation">
    <choice>
      <ref name="milestone"/>
      <ref name="pb"/>
      <ref name="lb"/>
      <ref name="cb"/>
      <ref name="anchor"/>
      <ref name="fw"/>
      <ref name="gb"/>
    </choice>
  </define>
  <define name="model.milestoneLike_sequence">
    <ref name="milestone"/>
    <ref name="pb"/>
    <ref name="lb"/>
    <ref name="cb"/>
    <ref name="anchor"/>
    <ref name="fw"/>
    <ref name="gb"/>
  </define>
  <define name="model.milestoneLike_sequenceOptional">
    <optional>
      <ref name="milestone"/>
    </optional>
    <optional>
      <ref name="pb"/>
    </optional>
    <optional>
      <ref name="lb"/>
    </optional>
    <optional>
      <ref name="cb"/>
    </optional>
    <optional>
      <ref name="anchor"/>
    </optional>
    <optional>
      <ref name="fw"/>
    </optional>
    <optional>
      <ref name="gb"/>
    </optional>
  </define>
  <define name="model.milestoneLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="milestone"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pb"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="lb"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="cb"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="anchor"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="fw"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="gb"/>
    </zeroOrMore>
  </define>
  <define name="model.milestoneLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="milestone"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pb"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="lb"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="cb"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="anchor"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="fw"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="gb"/>
    </oneOrMore>
  </define>
  <define name="model.gLike">
    <choice>
      <ref name="g"/>
    </choice>
  </define>
  <define name="model.biblLike">
    <choice>
      <ref name="bibl"/>
      <ref name="msDesc"/>
    </choice>
  </define>
  <define name="model.biblLike_alternation">
    <choice>
      <ref name="bibl"/>
      <ref name="msDesc"/>
    </choice>
  </define>
  <define name="model.biblLike_sequence">
    <ref name="bibl"/>
    <ref name="msDesc"/>
  </define>
  <define name="model.biblLike_sequenceOptional">
    <optional>
      <ref name="bibl"/>
    </optional>
    <optional>
      <ref name="msDesc"/>
    </optional>
  </define>
  <define name="model.biblLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="bibl"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="msDesc"/>
    </zeroOrMore>
  </define>
  <define name="model.biblLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="bibl"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="msDesc"/>
    </oneOrMore>
  </define>
  <define name="model.headLike">
    <choice>
      <ref name="head"/>
    </choice>
  </define>
  <define name="model.headLike_alternation">
    <choice>
      <ref name="head"/>
    </choice>
  </define>
  <define name="model.headLike_sequence">
    <ref name="head"/>
  </define>
  <define name="model.headLike_sequenceOptional">
    <optional>
      <ref name="head"/>
    </optional>
  </define>
  <define name="model.headLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="head"/>
    </zeroOrMore>
  </define>
  <define name="model.headLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="head"/>
    </oneOrMore>
  </define>
  <define name="model.labelLike">
    <choice>
      <ref name="desc"/>
      <ref name="label"/>
    </choice>
  </define>
  <define name="model.labelLike_alternation">
    <choice>
      <ref name="desc"/>
      <ref name="label"/>
    </choice>
  </define>
  <define name="model.labelLike_sequence">
    <ref name="desc"/>
    <ref name="label"/>
  </define>
  <define name="model.labelLike_sequenceOptional">
    <optional>
      <ref name="desc"/>
    </optional>
    <optional>
      <ref name="label"/>
    </optional>
  </define>
  <define name="model.labelLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="desc"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="label"/>
    </zeroOrMore>
  </define>
  <define name="model.labelLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="desc"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="label"/>
    </oneOrMore>
  </define>
  <define name="model.listLike">
    <choice>
      <ref name="list"/>
      <ref name="listBibl"/>
      <ref name="listOrg"/>
      <ref name="listEvent"/>
      <ref name="listPerson"/>
      <ref name="listPlace"/>
    </choice>
  </define>
  <define name="model.listLike_alternation">
    <choice>
      <ref name="list"/>
      <ref name="listBibl"/>
      <ref name="listOrg"/>
      <ref name="listEvent"/>
      <ref name="listPerson"/>
      <ref name="listPlace"/>
    </choice>
  </define>
  <define name="model.listLike_sequence">
    <ref name="list"/>
    <ref name="listBibl"/>
    <ref name="listOrg"/>
    <ref name="listEvent"/>
    <ref name="listPerson"/>
    <ref name="listPlace"/>
  </define>
  <define name="model.listLike_sequenceOptional">
    <optional>
      <ref name="list"/>
    </optional>
    <optional>
      <ref name="listBibl"/>
    </optional>
    <optional>
      <ref name="listOrg"/>
    </optional>
    <optional>
      <ref name="listEvent"/>
    </optional>
    <optional>
      <ref name="listPerson"/>
    </optional>
    <optional>
      <ref name="listPlace"/>
    </optional>
  </define>
  <define name="model.listLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="list"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listBibl"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listOrg"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listEvent"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listPerson"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="listPlace"/>
    </zeroOrMore>
  </define>
  <define name="model.listLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="list"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listBibl"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listOrg"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listEvent"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listPerson"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="listPlace"/>
    </oneOrMore>
  </define>
  <define name="model.noteLike">
    <choice>
      <ref name="note"/>
    </choice>
  </define>
  <define name="model.noteLike_alternation">
    <choice>
      <ref name="note"/>
    </choice>
  </define>
  <define name="model.noteLike_sequence">
    <ref name="note"/>
  </define>
  <define name="model.noteLike_sequenceOptional">
    <optional>
      <ref name="note"/>
    </optional>
  </define>
  <define name="model.noteLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="note"/>
    </zeroOrMore>
  </define>
  <define name="model.noteLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="note"/>
    </oneOrMore>
  </define>
  <define name="model.lLike">
    <choice>
      <ref name="l"/>
    </choice>
  </define>
  <define name="model.lLike_alternation">
    <choice>
      <ref name="l"/>
    </choice>
  </define>
  <define name="model.lLike_sequence">
    <ref name="l"/>
  </define>
  <define name="model.lLike_sequenceOptional">
    <optional>
      <ref name="l"/>
    </optional>
  </define>
  <define name="model.lLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="l"/>
    </zeroOrMore>
  </define>
  <define name="model.lLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="l"/>
    </oneOrMore>
  </define>
  <define name="model.pLike">
    <choice>
      <ref name="p"/>
    </choice>
  </define>
  <define name="model.pLike_alternation">
    <choice>
      <ref name="p"/>
    </choice>
  </define>
  <define name="model.pLike_sequence">
    <ref name="p"/>
  </define>
  <define name="model.pLike_sequenceOptional">
    <optional>
      <ref name="p"/>
    </optional>
  </define>
  <define name="model.pLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="p"/>
    </zeroOrMore>
  </define>
  <define name="model.pLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="p"/>
    </oneOrMore>
  </define>
  <define name="model.global.edit">
    <choice>
      <ref name="gap"/>
      <ref name="addSpan"/>
      <ref name="damageSpan"/>
      <ref name="delSpan"/>
      <ref name="space"/>
    </choice>
  </define>
  <define name="model.global.edit_alternation">
    <choice>
      <ref name="gap"/>
      <ref name="addSpan"/>
      <ref name="damageSpan"/>
      <ref name="delSpan"/>
      <ref name="space"/>
    </choice>
  </define>
  <define name="model.global.edit_sequence">
    <ref name="gap"/>
    <ref name="addSpan"/>
    <ref name="damageSpan"/>
    <ref name="delSpan"/>
    <ref name="space"/>
  </define>
  <define name="model.global.edit_sequenceOptional">
    <optional>
      <ref name="gap"/>
    </optional>
    <optional>
      <ref name="addSpan"/>
    </optional>
    <optional>
      <ref name="damageSpan"/>
    </optional>
    <optional>
      <ref name="delSpan"/>
    </optional>
    <optional>
      <ref name="space"/>
    </optional>
  </define>
  <define name="model.global.edit_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="gap"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="addSpan"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="damageSpan"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="delSpan"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="space"/>
    </zeroOrMore>
  </define>
  <define name="model.global.edit_sequenceRepeatable">
    <oneOrMore>
      <ref name="gap"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="addSpan"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="damageSpan"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="delSpan"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="space"/>
    </oneOrMore>
  </define>
  <define name="model.divPart">
    <choice>
      <ref name="model.lLike"/>
      <ref name="model.pLike"/>
      <ref name="lg"/>
    </choice>
  </define>
  <define name="model.divPart_alternation">
    <choice>
      <ref name="model.lLike_alternation"/>
      <ref name="model.pLike_alternation"/>
      <ref name="lg"/>
    </choice>
  </define>
  <define name="model.divPart_sequence">
    <ref name="model.lLike_sequence"/>
    <ref name="model.pLike_sequence"/>
    <ref name="lg"/>
  </define>
  <define name="model.divPart_sequenceOptional">
    <optional>
      <ref name="model.lLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.pLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="lg"/>
    </optional>
  </define>
  <define name="model.divPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.lLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.pLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="lg"/>
    </zeroOrMore>
  </define>
  <define name="model.divPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.lLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.pLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="lg"/>
    </oneOrMore>
  </define>
  <define name="model.persTraitLike">
    <choice>
      <ref name="age"/>
      <ref name="faith"/>
      <ref name="langKnowledge"/>
      <ref name="nationality"/>
      <ref name="sex"/>
      <ref name="socecStatus"/>
      <ref name="trait"/>
    </choice>
  </define>
  <define name="model.persTraitLike_alternation">
    <choice>
      <ref name="age"/>
      <ref name="faith"/>
      <ref name="langKnowledge"/>
      <ref name="nationality"/>
      <ref name="sex"/>
      <ref name="socecStatus"/>
      <ref name="trait"/>
    </choice>
  </define>
  <define name="model.persTraitLike_sequence">
    <ref name="age"/>
    <ref name="faith"/>
    <ref name="langKnowledge"/>
    <ref name="nationality"/>
    <ref name="sex"/>
    <ref name="socecStatus"/>
    <ref name="trait"/>
  </define>
  <define name="model.persTraitLike_sequenceOptional">
    <optional>
      <ref name="age"/>
    </optional>
    <optional>
      <ref name="faith"/>
    </optional>
    <optional>
      <ref name="langKnowledge"/>
    </optional>
    <optional>
      <ref name="nationality"/>
    </optional>
    <optional>
      <ref name="sex"/>
    </optional>
    <optional>
      <ref name="socecStatus"/>
    </optional>
    <optional>
      <ref name="trait"/>
    </optional>
  </define>
  <define name="model.persTraitLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="age"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="faith"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="langKnowledge"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="nationality"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="sex"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="socecStatus"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="trait"/>
    </zeroOrMore>
  </define>
  <define name="model.persTraitLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="age"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="faith"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="langKnowledge"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="nationality"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="sex"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="socecStatus"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="trait"/>
    </oneOrMore>
  </define>
  <define name="model.persStateLike">
    <choice>
      <ref name="persName"/>
      <ref name="affiliation"/>
      <ref name="education"/>
      <ref name="floruit"/>
      <ref name="occupation"/>
      <ref name="residence"/>
    </choice>
  </define>
  <define name="model.persStateLike_alternation">
    <choice>
      <ref name="persName"/>
      <ref name="affiliation"/>
      <ref name="education"/>
      <ref name="floruit"/>
      <ref name="occupation"/>
      <ref name="residence"/>
    </choice>
  </define>
  <define name="model.persStateLike_sequence">
    <ref name="persName"/>
    <ref name="affiliation"/>
    <ref name="education"/>
    <ref name="floruit"/>
    <ref name="occupation"/>
    <ref name="residence"/>
  </define>
  <define name="model.persStateLike_sequenceOptional">
    <optional>
      <ref name="persName"/>
    </optional>
    <optional>
      <ref name="affiliation"/>
    </optional>
    <optional>
      <ref name="education"/>
    </optional>
    <optional>
      <ref name="floruit"/>
    </optional>
    <optional>
      <ref name="occupation"/>
    </optional>
    <optional>
      <ref name="residence"/>
    </optional>
  </define>
  <define name="model.persStateLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="persName"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="affiliation"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="education"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="floruit"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="occupation"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="residence"/>
    </zeroOrMore>
  </define>
  <define name="model.persStateLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="persName"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="affiliation"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="education"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="floruit"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="occupation"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="residence"/>
    </oneOrMore>
  </define>
  <define name="model.persEventLike">
    <choice>
      <ref name="birth"/>
      <ref name="death"/>
      <ref name="event"/>
    </choice>
  </define>
  <define name="model.persEventLike_alternation">
    <choice>
      <ref name="birth"/>
      <ref name="death"/>
      <ref name="event"/>
    </choice>
  </define>
  <define name="model.persEventLike_sequence">
    <ref name="birth"/>
    <ref name="death"/>
    <ref name="event"/>
  </define>
  <define name="model.persEventLike_sequenceOptional">
    <optional>
      <ref name="birth"/>
    </optional>
    <optional>
      <ref name="death"/>
    </optional>
    <optional>
      <ref name="event"/>
    </optional>
  </define>
  <define name="model.persEventLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="birth"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="death"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="event"/>
    </zeroOrMore>
  </define>
  <define name="model.persEventLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="birth"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="death"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="event"/>
    </oneOrMore>
  </define>
  <define name="model.personLike">
    <choice>
      <ref name="org"/>
      <ref name="person"/>
      <ref name="personGrp"/>
    </choice>
  </define>
  <define name="model.personPart">
    <choice>
      <ref name="model.persTraitLike"/>
      <ref name="model.persStateLike"/>
      <ref name="model.persEventLike"/>
      <ref name="bibl"/>
    </choice>
  </define>
  <define name="model.placeTraitLike">
    <choice>
      <ref name="location"/>
      <ref name="population"/>
      <ref name="trait"/>
    </choice>
  </define>
  <define name="model.placeNamePart">
    <choice>
      <ref name="placeName"/>
      <ref name="bloc"/>
      <ref name="country"/>
      <ref name="region"/>
      <ref name="district"/>
      <ref name="settlement"/>
      <ref name="geogName"/>
    </choice>
  </define>
  <define name="model.placeNamePart_alternation">
    <choice>
      <ref name="placeName"/>
      <ref name="bloc"/>
      <ref name="country"/>
      <ref name="region"/>
      <ref name="district"/>
      <ref name="settlement"/>
      <ref name="geogName"/>
    </choice>
  </define>
  <define name="model.placeNamePart_sequence">
    <ref name="placeName"/>
    <ref name="bloc"/>
    <ref name="country"/>
    <ref name="region"/>
    <ref name="district"/>
    <ref name="settlement"/>
    <ref name="geogName"/>
  </define>
  <define name="model.placeNamePart_sequenceOptional">
    <optional>
      <ref name="placeName"/>
    </optional>
    <optional>
      <ref name="bloc"/>
    </optional>
    <optional>
      <ref name="country"/>
    </optional>
    <optional>
      <ref name="region"/>
    </optional>
    <optional>
      <ref name="district"/>
    </optional>
    <optional>
      <ref name="settlement"/>
    </optional>
    <optional>
      <ref name="geogName"/>
    </optional>
  </define>
  <define name="model.placeNamePart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="placeName"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="bloc"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="country"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="region"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="district"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="settlement"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="geogName"/>
    </zeroOrMore>
  </define>
  <define name="model.placeNamePart_sequenceRepeatable">
    <oneOrMore>
      <ref name="placeName"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="bloc"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="country"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="region"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="district"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="settlement"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="geogName"/>
    </oneOrMore>
  </define>
  <define name="model.placeStateLike">
    <choice>
      <ref name="model.placeNamePart"/>
    </choice>
  </define>
  <define name="model.placeStateLike_alternation">
    <choice>
      <ref name="model.placeNamePart_alternation"/>
    </choice>
  </define>
  <define name="model.placeStateLike_sequence">
    <ref name="model.placeNamePart_sequence"/>
  </define>
  <define name="model.placeStateLike_sequenceOptional">
    <optional>
      <ref name="model.placeNamePart_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.placeStateLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.placeNamePart_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.placeStateLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.placeNamePart_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.placeEventLike">
    <choice>
      <ref name="event"/>
    </choice>
  </define>
  <define name="model.publicationStmtPart">
    <choice>
      <ref name="date"/>
      <ref name="publisher"/>
      <ref name="pubPlace"/>
      <ref name="distributor"/>
      <ref name="authority"/>
      <ref name="idno"/>
      <ref name="availability"/>
    </choice>
  </define>
  <define name="model.glossLike">
    <choice>
      <ref name="desc"/>
      <ref name="gloss"/>
    </choice>
  </define>
  <define name="model.quoteLike">
    <choice>
      <ref name="quote"/>
    </choice>
  </define>
  <define name="model.quoteLike_alternation">
    <choice>
      <ref name="quote"/>
    </choice>
  </define>
  <define name="model.quoteLike_sequence">
    <ref name="quote"/>
  </define>
  <define name="model.quoteLike_sequenceOptional">
    <optional>
      <ref name="quote"/>
    </optional>
  </define>
  <define name="model.quoteLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="quote"/>
    </zeroOrMore>
  </define>
  <define name="model.quoteLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="quote"/>
    </oneOrMore>
  </define>
  <define name="model.qLike">
    <choice>
      <ref name="model.quoteLike"/>
      <ref name="q"/>
    </choice>
  </define>
  <define name="model.qLike_alternation">
    <choice>
      <ref name="model.quoteLike_alternation"/>
      <ref name="q"/>
    </choice>
  </define>
  <define name="model.qLike_sequence">
    <ref name="model.quoteLike_sequence"/>
    <ref name="q"/>
  </define>
  <define name="model.qLike_sequenceOptional">
    <optional>
      <ref name="model.quoteLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="q"/>
    </optional>
  </define>
  <define name="model.qLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.quoteLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="q"/>
    </zeroOrMore>
  </define>
  <define name="model.qLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.quoteLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="q"/>
    </oneOrMore>
  </define>
  <define name="model.respLike">
    <choice>
      <ref name="author"/>
      <ref name="editor"/>
      <ref name="respStmt"/>
      <ref name="sponsor"/>
      <ref name="funder"/>
      <ref name="principal"/>
    </choice>
  </define>
  <define name="model.respLike_alternation">
    <choice>
      <ref name="author"/>
      <ref name="editor"/>
      <ref name="respStmt"/>
      <ref name="sponsor"/>
      <ref name="funder"/>
      <ref name="principal"/>
    </choice>
  </define>
  <define name="model.respLike_sequence">
    <ref name="author"/>
    <ref name="editor"/>
    <ref name="respStmt"/>
    <ref name="sponsor"/>
    <ref name="funder"/>
    <ref name="principal"/>
  </define>
  <define name="model.respLike_sequenceOptional">
    <optional>
      <ref name="author"/>
    </optional>
    <optional>
      <ref name="editor"/>
    </optional>
    <optional>
      <ref name="respStmt"/>
    </optional>
    <optional>
      <ref name="sponsor"/>
    </optional>
    <optional>
      <ref name="funder"/>
    </optional>
    <optional>
      <ref name="principal"/>
    </optional>
  </define>
  <define name="model.respLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="author"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="editor"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="respStmt"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="sponsor"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="funder"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="principal"/>
    </zeroOrMore>
  </define>
  <define name="model.respLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="author"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="editor"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="respStmt"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="sponsor"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="funder"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="principal"/>
    </oneOrMore>
  </define>
  <define name="model.divWrapper">
    <choice>
      <ref name="docAuthor"/>
    </choice>
  </define>
  <define name="model.divWrapper_alternation">
    <choice>
      <ref name="docAuthor"/>
    </choice>
  </define>
  <define name="model.divWrapper_sequence">
    <ref name="docAuthor"/>
  </define>
  <define name="model.divWrapper_sequenceOptional">
    <optional>
      <ref name="docAuthor"/>
    </optional>
  </define>
  <define name="model.divWrapper_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="docAuthor"/>
    </zeroOrMore>
  </define>
  <define name="model.divWrapper_sequenceRepeatable">
    <oneOrMore>
      <ref name="docAuthor"/>
    </oneOrMore>
  </define>
  <define name="model.divTopPart">
    <choice>
      <ref name="model.headLike"/>
    </choice>
  </define>
  <define name="model.divTopPart_alternation">
    <choice>
      <ref name="model.headLike_alternation"/>
    </choice>
  </define>
  <define name="model.divTopPart_sequence">
    <ref name="model.headLike_sequence"/>
  </define>
  <define name="model.divTopPart_sequenceOptional">
    <optional>
      <ref name="model.headLike_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.divTopPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.headLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.divTopPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.headLike_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.divTop">
    <choice>
      <ref name="model.divWrapper"/>
      <ref name="model.divTopPart"/>
    </choice>
  </define>
  <define name="model.pLike.front">
    <choice>
      <ref name="head"/>
      <ref name="docTitle"/>
      <ref name="titlePart"/>
      <ref name="docAuthor"/>
      <ref name="docEdition"/>
      <ref name="docImprint"/>
    </choice>
  </define>
  <define name="model.divBottomPart">
    <notAllowed/>
  </define>
  <define name="model.divBottomPart_alternation">
    <notAllowed/>
  </define>
  <define name="model.divBottomPart_sequence">
    <empty/>
  </define>
  <define name="model.divBottomPart_sequenceOptional">
    <empty/>
  </define>
  <define name="model.divBottomPart_sequenceOptionalRepeatable">
    <empty/>
  </define>
  <define name="model.divBottomPart_sequenceRepeatable">
    <notAllowed/>
  </define>
  <define name="model.divBottom">
    <choice>
      <ref name="model.divWrapper"/>
      <ref name="model.divBottomPart"/>
    </choice>
  </define>
  <define name="model.titlepagePart">
    <choice>
      <ref name="graphic"/>
      <ref name="docTitle"/>
      <ref name="titlePart"/>
      <ref name="docAuthor"/>
      <ref name="docEdition"/>
      <ref name="docImprint"/>
    </choice>
  </define>
  <define name="model.msQuoteLike">
    <choice>
      <ref name="title"/>
      <ref name="colophon"/>
      <ref name="explicit"/>
      <ref name="finalRubric"/>
      <ref name="incipit"/>
      <ref name="rubric"/>
    </choice>
  </define>
  <define name="model.msQuoteLike_alternation">
    <choice>
      <ref name="title"/>
      <ref name="colophon"/>
      <ref name="explicit"/>
      <ref name="finalRubric"/>
      <ref name="incipit"/>
      <ref name="rubric"/>
    </choice>
  </define>
  <define name="model.msQuoteLike_sequence">
    <ref name="title"/>
    <ref name="colophon"/>
    <ref name="explicit"/>
    <ref name="finalRubric"/>
    <ref name="incipit"/>
    <ref name="rubric"/>
  </define>
  <define name="model.msQuoteLike_sequenceOptional">
    <optional>
      <ref name="title"/>
    </optional>
    <optional>
      <ref name="colophon"/>
    </optional>
    <optional>
      <ref name="explicit"/>
    </optional>
    <optional>
      <ref name="finalRubric"/>
    </optional>
    <optional>
      <ref name="incipit"/>
    </optional>
    <optional>
      <ref name="rubric"/>
    </optional>
  </define>
  <define name="model.msQuoteLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="title"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="colophon"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="explicit"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="finalRubric"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="incipit"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="rubric"/>
    </zeroOrMore>
  </define>
  <define name="model.msQuoteLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="title"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="colophon"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="explicit"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="finalRubric"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="incipit"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="rubric"/>
    </oneOrMore>
  </define>
  <define name="model.msItemPart">
    <choice>
      <ref name="model.quoteLike"/>
      <ref name="model.respLike"/>
      <ref name="model.msQuoteLike"/>
      <ref name="bibl"/>
      <ref name="listBibl"/>
      <ref name="filiation"/>
      <ref name="msItem"/>
      <ref name="textLang"/>
      <ref name="decoNote"/>
    </choice>
  </define>
  <define name="model.choicePart">
    <choice>
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="orig"/>
      <ref name="unclear"/>
      <ref name="abbr"/>
      <ref name="expan"/>
      <ref name="seg"/>
      <ref name="ex"/>
      <ref name="am"/>
    </choice>
  </define>
  <define name="model.imprintPart">
    <choice>
      <ref name="publisher"/>
      <ref name="biblScope"/>
      <ref name="pubPlace"/>
      <ref name="distributor"/>
    </choice>
  </define>
  <define name="model.imprintPart_alternation">
    <choice>
      <ref name="publisher"/>
      <ref name="biblScope"/>
      <ref name="pubPlace"/>
      <ref name="distributor"/>
    </choice>
  </define>
  <define name="model.imprintPart_sequence">
    <ref name="publisher"/>
    <ref name="biblScope"/>
    <ref name="pubPlace"/>
    <ref name="distributor"/>
  </define>
  <define name="model.imprintPart_sequenceOptional">
    <optional>
      <ref name="publisher"/>
    </optional>
    <optional>
      <ref name="biblScope"/>
    </optional>
    <optional>
      <ref name="pubPlace"/>
    </optional>
    <optional>
      <ref name="distributor"/>
    </optional>
  </define>
  <define name="model.imprintPart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="publisher"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="biblScope"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="pubPlace"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="distributor"/>
    </zeroOrMore>
  </define>
  <define name="model.imprintPart_sequenceRepeatable">
    <oneOrMore>
      <ref name="publisher"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="biblScope"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="pubPlace"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="distributor"/>
    </oneOrMore>
  </define>
  <define name="model.catDescPart">
    <notAllowed/>
  </define>
  <define name="model.physDescPart_sequenceOptional">
    <optional>
      <ref name="objectDesc"/>
    </optional>
    <optional>
      <ref name="handDesc"/>
    </optional>
    <optional>
      <ref name="typeDesc"/>
    </optional>
    <optional>
      <ref name="scriptDesc"/>
    </optional>
    <optional>
      <ref name="musicNotation"/>
    </optional>
    <optional>
      <ref name="decoDesc"/>
    </optional>
    <optional>
      <ref name="additions"/>
    </optional>
    <optional>
      <ref name="bindingDesc"/>
    </optional>
    <optional>
      <ref name="sealDesc"/>
    </optional>
    <optional>
      <ref name="accMat"/>
    </optional>
  </define>
  <define name="model.addressLike">
    <choice>
      <ref name="affiliation"/>
    </choice>
  </define>
  <define name="model.addressLike_alternation">
    <choice>
      <ref name="affiliation"/>
    </choice>
  </define>
  <define name="model.addressLike_sequence">
    <ref name="affiliation"/>
  </define>
  <define name="model.addressLike_sequenceOptional">
    <optional>
      <ref name="affiliation"/>
    </optional>
  </define>
  <define name="model.addressLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="affiliation"/>
    </zeroOrMore>
  </define>
  <define name="model.addressLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="affiliation"/>
    </oneOrMore>
  </define>
  <define name="model.nameLike">
    <choice>
      <ref name="model.nameLike.agent"/>
      <ref name="model.offsetLike"/>
      <ref name="model.placeStateLike"/>
      <ref name="idno"/>
      <ref name="model.persNamePart"/>
    </choice>
  </define>
  <define name="model.nameLike_alternation">
    <choice>
      <ref name="model.nameLike.agent_alternation"/>
      <ref name="model.offsetLike_alternation"/>
      <ref name="model.placeStateLike_alternation"/>
      <ref name="idno"/>
      <ref name="model.persNamePart_alternation"/>
    </choice>
  </define>
  <define name="model.nameLike_sequence">
    <ref name="model.nameLike.agent_sequence"/>
    <ref name="model.offsetLike_sequence"/>
    <ref name="model.placeStateLike_sequence"/>
    <ref name="idno"/>
    <ref name="model.persNamePart_sequence"/>
  </define>
  <define name="model.nameLike_sequenceOptional">
    <optional>
      <ref name="model.nameLike.agent_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.offsetLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.placeStateLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="idno"/>
    </optional>
    <optional>
      <ref name="model.persNamePart_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.nameLike_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.nameLike.agent_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.offsetLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.placeStateLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="idno"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.persNamePart_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.nameLike_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.nameLike.agent_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.offsetLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.placeStateLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="idno"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.persNamePart_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.global">
    <choice>
      <ref name="model.global.meta"/>
      <ref name="model.milestoneLike"/>
      <ref name="model.noteLike"/>
      <ref name="model.global.edit"/>
      <ref name="figure"/>
    </choice>
  </define>
  <define name="model.biblPart">
    <choice>
      <ref name="model.respLike"/>
      <ref name="model.imprintPart"/>
      <ref name="relatedItem"/>
      <ref name="edition"/>
      <ref name="extent"/>
      <ref name="msIdentifier"/>
    </choice>
  </define>
  <define name="model.frontPart">
    <choice>
      <ref name="divGen"/>
      <ref name="titlePage"/>
    </choice>
  </define>
  <define name="model.pPart.data">
    <choice>
      <ref name="model.dateLike"/>
      <ref name="model.measureLike"/>
      <ref name="model.addressLike"/>
      <ref name="model.nameLike"/>
    </choice>
  </define>
  <define name="model.pPart.data_alternation">
    <choice>
      <ref name="model.dateLike_alternation"/>
      <ref name="model.measureLike_alternation"/>
      <ref name="model.addressLike_alternation"/>
      <ref name="model.nameLike_alternation"/>
    </choice>
  </define>
  <define name="model.pPart.data_sequence">
    <ref name="model.dateLike_sequence"/>
    <ref name="model.measureLike_sequence"/>
    <ref name="model.addressLike_sequence"/>
    <ref name="model.nameLike_sequence"/>
  </define>
  <define name="model.pPart.data_sequenceOptional">
    <optional>
      <ref name="model.dateLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.measureLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.addressLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.nameLike_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.pPart.data_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.dateLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.measureLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.addressLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.nameLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.pPart.data_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.dateLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.measureLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.addressLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.nameLike_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.inter">
    <choice>
      <ref name="model.egLike"/>
      <ref name="model.biblLike"/>
      <ref name="model.labelLike"/>
      <ref name="model.listLike"/>
      <ref name="model.qLike"/>
    </choice>
  </define>
  <define name="model.inter_alternation">
    <choice>
      <ref name="model.egLike_alternation"/>
      <ref name="model.biblLike_alternation"/>
      <ref name="model.labelLike_alternation"/>
      <ref name="model.listLike_alternation"/>
      <ref name="model.qLike_alternation"/>
    </choice>
  </define>
  <define name="model.inter_sequence">
    <ref name="model.egLike_sequence"/>
    <ref name="model.biblLike_sequence"/>
    <ref name="model.labelLike_sequence"/>
    <ref name="model.listLike_sequence"/>
    <ref name="model.qLike_sequence"/>
  </define>
  <define name="model.inter_sequenceOptional">
    <optional>
      <ref name="model.egLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.biblLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.labelLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.listLike_sequenceOptional"/>
    </optional>
    <optional>
      <ref name="model.qLike_sequenceOptional"/>
    </optional>
  </define>
  <define name="model.inter_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="model.egLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.biblLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.labelLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.listLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="model.qLike_sequenceOptionalRepeatable"/>
    </zeroOrMore>
  </define>
  <define name="model.inter_sequenceRepeatable">
    <oneOrMore>
      <ref name="model.egLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.biblLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.labelLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.listLike_sequenceRepeatable"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="model.qLike_sequenceRepeatable"/>
    </oneOrMore>
  </define>
  <define name="model.common">
    <choice>
      <ref name="model.divPart"/>
      <ref name="model.inter"/>
    </choice>
  </define>
  <define name="model.phrase">
    <choice>
      <ref name="model.segLike"/>
      <ref name="model.highlighted"/>
      <ref name="model.graphicLike"/>
      <ref name="model.pPart.msdesc"/>
      <ref name="model.pPart.edit"/>
      <ref name="model.ptrLike"/>
      <ref name="model.pPart.data"/>
    </choice>
  </define>
  <define name="model.limitedPhrase">
    <choice>
      <ref name="model.emphLike"/>
      <ref name="model.pPart.msdesc"/>
      <ref name="model.pPart.editorial"/>
      <ref name="model.ptrLike"/>
      <ref name="model.pPart.data"/>
    </choice>
  </define>
  <define name="model.divLike">
    <choice>
      <ref name="div"/>
    </choice>
  </define>
  <define name="model.divGenLike">
    <choice>
      <ref name="divGen"/>
    </choice>
  </define>
  <define name="model.div1Like">
    <notAllowed/>
  </define>
  <define name="model.teiHeaderPart">
    <choice>
      <ref name="encodingDesc"/>
      <ref name="profileDesc"/>
    </choice>
  </define>
  <define name="model.sourceDescPart">
    <notAllowed/>
  </define>
  <define name="model.encodingDescPart">
    <choice>
      <ref name="projectDesc"/>
      <ref name="editorialDecl"/>
      <ref name="classDecl"/>
      <ref name="geoDecl"/>
      <ref name="charDecl"/>
    </choice>
  </define>
  <define name="model.editorialDeclPart">
    <notAllowed/>
  </define>
  <define name="model.profileDescPart">
    <choice>
      <ref name="creation"/>
      <ref name="langUsage"/>
      <ref name="textClass"/>
      <ref name="handNotes"/>
    </choice>
  </define>
  <define name="model.resourceLike">
    <choice>
      <ref name="facsimile"/>
    </choice>
  </define>
  <define name="att.personal.attributes">
    <ref name="att.naming.attributes"/>
    <ref name="att.personal.attribute.full"/>
    <ref name="att.personal.attribute.sort"/>
  </define>
  <define name="att.personal.attribute.full">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="full" a:defaultValue="yes">
        <a:documentation>indicates whether the name component is given in full, as an
abbreviation or simply as an initial.</a:documentation>
        <choice>
          <value>yes</value>
          <a:documentation>the name component is spelled out in full.</a:documentation>
          <value>abb</value>
          <a:documentation>(abbreviated) the name component is given in an abbreviated form.</a:documentation>
          <value>init</value>
          <a:documentation>(initial letter) the name component is indicated only by
one initial.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.personal.attribute.sort">
    <optional>
      <attribute name="sort">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sort order of the name component in relation
to others within the personal name.</a:documentation>
        <data type="nonNegativeInteger"/>
      </attribute>
    </optional>
  </define>
  <define name="model.placeLike">
    <choice>
      <ref name="place"/>
    </choice>
  </define>
  <define name="p">
    <element name="p">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(paragraph) marks paragraphs in prose.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="foreign">
    <element name="foreign">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign) identifies a word or phrase as belonging to some language other than that of the
                surrounding text. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="hi">
    <element name="hi">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(highlighted) marks a word or phrase as graphically distinct from the
        surrounding text, for reasons concerning which no claim is
        made. </a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <attribute name="rend">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) indicates how the element in question was rendered or presented in the source text.</a:documentation>
        <list>
          <choice>
            <value>hyphenated</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>underline</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>double-underline</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>bold</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>caps</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>italic</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>sup</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <value>rubric</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          </choice>
          <zeroOrMore>
            <choice>
              <value>hyphenated</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>underline</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>double-underline</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>bold</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>caps</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>italic</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>sup</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
              <value>rubric</value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            </choice>
          </zeroOrMore>
        </list>
      </attribute>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.attribute.xmlspace"/>
      <ref name="att.global.facs.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="quote">
    <element name="quote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(quotation) contains a phrase or passage attributed by the narrator or author to some agency external
        to the text.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.msExcerpt.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="q">
    <element name="q">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
          <choice>
            <value>spoken</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">representation of speech</a:documentation>
            <value>thought</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">representation of thought, e.g. internal monologue</a:documentation>
            <value>written</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">quotation from a written source</a:documentation>
            <value>soCalled</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">authorial distance</a:documentation>
            <value>foreign</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign words) </a:documentation>
            <value>distinct</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(linguistically distinct) </a:documentation>
            <value>term</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(technical term) </a:documentation>
            <value>emph</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rhetorically emphasized) </a:documentation>
            <value>mentioned</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">refering to itself, not its normal referant</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="desc">
    <element name="desc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description) contains a brief description of the object documented by its parent element, including its
    intended usage, purpose, or application where this is appropriate.</a:documentation>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.translatable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="gloss">
    <element name="gloss">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a phrase or word used to provide a gloss or definition for some other word or
    phrase.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.translatable.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(canonical reference) identifies the associated term element using a canonical reference from a
        scheme defined in a refsDecl element in the TEI header</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="term">
    <element name="term">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a single-word, multi-word, or symbolic designation which is regarded as a technical
    term.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.canonical.attributes"/>
      <optional>
        <attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the associated gloss element using a canonical reference from a
          scheme defined in a refsDecl element in the TEI header</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="sortKey">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the sort key for this term in an index.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="sic">
    <element name="sic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(latin for thus or so
  ) contains text reproduced although apparently incorrect or inaccurate.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="corr">
    <element name="corr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(correction) contains the correct form of a passage apparently erroneous in the copy text.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="choice">
    <element name="choice">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups a number of alternative encodings for the same point in
        a text.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <ref name="model.choicePart"/>
          <ref name="choice"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="reg">
    <element name="reg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(regularization) contains a reading which has been regularized or normalized in some sense.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="orig">
    <element name="orig">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original form) contains a reading which is marked as following the original, rather than being normalized
        or corrected.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="gap">
    <element name="gap">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="reason" a:defaultValue="irrelevant">
        <a:documentation>gives the reason for omission of this material from the
transcription.</a:documentation>
        <list>
          <choice>
            <value>damage</value>
            <a:documentation>medium is damaged</a:documentation>
            <value>illegible</value>
            <a:documentation>material cannot be reliably read</a:documentation>
            <value>cancelled</value>
            <a:documentation>material can be read but has been cancelled
by scribe</a:documentation>
            <value>irrelevant</value>
            <a:documentation>material is not regarded as relevant by
the transcriber</a:documentation>
            <value>omitted</value>
            <a:documentation>material omitted by transcriber</a:documentation>
            <value>lacuna</value>
            <a:documentation>material missing from the source</a:documentation>
          </choice>
          <zeroOrMore>
            <choice>
              <value>damage</value>
              <a:documentation>medium is damaged</a:documentation>
              <value>illegible</value>
              <a:documentation>material cannot be reliably read</a:documentation>
              <value>cancelled</value>
              <a:documentation>material can be read but has been cancelled
by scribe</a:documentation>
              <value>irrelevant</value>
              <a:documentation>material is not regarded as relevant by
the transcriber</a:documentation>
              <value>omitted</value>
              <a:documentation>material omitted by transcriber</a:documentation>
              <value>lacuna</value>
              <a:documentation>material missing from the source</a:documentation>
            </choice>
          </zeroOrMore>
        </list>
      </attribute>
      <optional>
        <attribute name="hand">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in the case of text omitted from the transcription because of deliberate deletion by an
        identifiable hand, signifies the hand which made the deletion.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="agent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <optional>
        <attribute name="unit">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for describing the extent of the gap</a:documentation>
          <choice>
            <value>chars</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">written characters</a:documentation>
            <value>leaves</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">leaves</a:documentation>
            <value>lines</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines</a:documentation>
            <value>mm</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">millimetres</a:documentation>
            <value>pages</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">pages</a:documentation>
            <value>words</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">words</a:documentation>
          </choice>
        </attribute>
      </optional>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.extent"/>
      <ref name="att.dimensions.attribute.scope"/>
      <ref name="att.ranging.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="add">
    <element name="add">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(addition) contains letters, words, or phrases inserted in the text by an
        author, scribe, annotator, or corrector.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="del">
    <element name="del">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="unclear">
    <element name="unclear">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word, phrase, or passage which cannot be transcribed with certainty because it
        is illegible or inaudible in the source.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="reason">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates why the material is hard to transcribe.</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute name="hand">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Where the difficulty in transcription arises from action (partial deletion, etc.)
                assignable to an identifiable hand, signifies the hand responsible for the action.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="agent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="name">
    <element name="name">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(name, proper noun) contains a proper noun or noun phrase.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="unknown">
        <a:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
        <choice>
          <value>person</value>
          <a:documentation/>
          <value>place</value>
          <a:documentation/>
          <value>org</value>
          <a:documentation/>
          <value>unknown</value>
          <a:documentation/>
        </choice>
      </attribute>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define name="date">
    <element name="date">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a date in any format.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="date-constraint-dates">
        <rule context="tei:date">
          <sch:assert xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@when or (@notAfter and @notBefore) or    (@from and @to)">
      You must provide either @when or @to/@from, or @notAfter/@notBefore.</sch:assert>
        </rule>
      </pattern>
      <optional>
        <attribute name="calendar">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
          <choice>
            <value>Gregorian</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gregorian calendar</a:documentation>
            <value>Julian</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Julian calendar</a:documentation>
            <value>Islamic</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Islamic or Muslim (hijri) lunar calendar</a:documentation>
            <value>Hebrew</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hebrew or Jewish lunisolar calendar</a:documentation>
            <value>Revolutionary</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">French Revolutionary calendar</a:documentation>
            <value>Iranian</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Iranian or Persian (Jalaali) solar calendar</a:documentation>
            <value>Coptic</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Coptic or Alexandrian calendar</a:documentation>
            <value>Chinese</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chinese lunisolar calendar</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="abbr">
    <element name="abbr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(abbreviation) contains an abbreviation of any sort.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="expan">
    <element name="expan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(expansion) contains the expansion of an abbreviation.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="ptr">
    <element name="ptr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pointer) defines a pointer to another location.</a:documentation>
      <empty/>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="ptr-constraint-ptrAtts">
        <rule context="tei:ptr">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@target and @cRef">Only one of the
	attributes 'target' and 'cRef' may be supplied.</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="ref">
    <element name="ref">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference) defines a reference to another location, possibly modified by additional text or comment.</a:documentation>
      <ref name="macro.paraContent"/>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="ref-constraint-refAtts">
        <rule context="tei:ref">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@target and @cRef">Only one of the
	attributes 'target' and 'cRef' may be supplied.</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="list">
    <element name="list">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list) contains any sequence of items organized as a list.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <group>
              <ref name="model.divTop"/>
            </group>
            <group>
              <ref name="model.global"/>
            </group>
          </choice>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="item"/>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </oneOrMore>
          <group>
            <oneOrMore>
              <ref name="label"/>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
              <ref name="item"/>
              <zeroOrMore>
                <ref name="model.global"/>
              </zeroOrMore>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <group>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="simple">
          <a:documentation>describes the form of the list.
Suggested values include: 1] ordered; 2] bulleted; 3] simple; 4] gloss</a:documentation>
          <choice>
            <value>ordered</value>
            <a:documentation>list items are numbered or lettered. </a:documentation>
            <value>bulleted</value>
            <a:documentation>list items are marked with a bullet or other typographic device. </a:documentation>
            <value>simple</value>
            <a:documentation>list items are not numbered or bulleted. </a:documentation>
            <value>gloss</value>
            <a:documentation>each list item glosses some term or concept, which is given by a label element
            preceding the list item.</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="item">
    <element name="item">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one component of a list.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="label">
    <element name="label">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the label associated with an item in a list; in glossaries, marks the term being
    defined.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="head">
    <element name="head">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading) contains any type of heading, for example the title of a section, or the heading of a list,
    glossary, manuscript description, etc.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="note">
    <element name="note">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a note or annotation.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.pointing.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="anchored" a:defaultValue="true">
          <a:documentation>indicates whether the copy text shows the exact place of reference for the note.</a:documentation>
          <data type="boolean"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="targetEnd">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
          <list>
            <data type="anyURI"/>
            <zeroOrMore>
              <data type="anyURI"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="index">
    <element name="index">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(index entry) marks a location to be indexed for whatever purpose.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <group>
          <ref name="term"/>
          <optional>
            <ref name="index"/>
          </optional>
        </group>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.spanning.attributes"/>
      <optional>
        <attribute name="indexName">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name to specify which index (of several) the index entry belongs to.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="graphic">
    <element name="graphic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of an inline graphic, illustration, or figure.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.internetMedia.attributes"/>
      <ref name="att.declaring.attributes"/>
      <optional>
        <attribute name="width">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display width of the image</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display height of the image</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="scale">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A scale factor to be applied to the image to make it the desired display size</a:documentation>
          <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
            <data type="double"/>
            <data type="token">
              <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
            </data>
            <data type="decimal"/>
          </choice>
        </attribute>
      </optional>
      <attribute name="url">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) A URL which refers to the image itself.</a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="milestone">
    <element name="milestone">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <attribute name="unit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
        <choice>
          <value>page</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">physical page breaks (synonymous with the pb element).</a:documentation>
          <value>column</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">column breaks.</a:documentation>
          <value>line</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">line breaks (synonymous with the lb element).</a:documentation>
          <value>book</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">any units termed book, liber, etc.</a:documentation>
          <value>poem</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">individual poems in a collection.</a:documentation>
          <value>canto</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">cantos or other major sections of a poem.</a:documentation>
          <value>speaker</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">changes of speaker or narrator.</a:documentation>
          <value>stanza</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">stanzas within a poem, book, or canto.</a:documentation>
          <value>act</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">acts within a play.</a:documentation>
          <value>scene</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">scenes within a play or act.</a:documentation>
          <value>section</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">sections of any kind.</a:documentation>
          <value>absent</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">passages not present in the reference edition.</a:documentation>
          <value>unnumbered</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">passages present in the text, but not to be included as part of the reference.</a:documentation>
          <data type="Name"/>
        </choice>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="pb">
    <element name="pb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(page break) marks the boundary between one page of a text and the next in a standard reference system.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="lb">
    <element name="lb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line break) marks the start of a new (typographic) line in some edition or version of a text.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="cb">
    <element name="cb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(column break) marks the boundary between one column of a text and the next
        in a standard reference system.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.sourced.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="author">
    <element name="author">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="editor">
    <element name="editor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="respStmt">
    <element name="respStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <group>
          <oneOrMore>
            <ref name="resp"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="model.nameLike.agent"/>
          </oneOrMore>
        </group>
        <group>
          <oneOrMore>
            <ref name="model.nameLike.agent"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="resp"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="resp">
    <element name="resp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsibility) contains a phrase describing the nature of a person's intellectual responsibility.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="title">
    <element name="title">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a title for any kind of work.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <optional>
        <attribute name="level">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the bibliographic level for a title, that is, whether
                                        it identifies an article, book, journal, series, or
                                        unpublished material.</a:documentation>
          <choice>
            <value>a</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(analytic) analytic title (article, poem, or other item
                                                  published as part of a larger item) </a:documentation>
            <value>m</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(monographic) monographic title (book, collection, or
                                                  other item published as a distinct item,
                                                  including single volumes of multi-volume
                                                  works) </a:documentation>
            <value>j</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(journal) journal title </a:documentation>
            <value>s</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series) series title </a:documentation>
            <value>u</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unpublished) title of unpublished material (including
                                                  theses and dissertations unless
                                                  published by a commercial press)</a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the title according to some convenient typology.
Sample values include: 1] main; 2] sub(subordinate) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="publisher">
    <element name="publisher">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the name of the organization responsible for the publication or distribution of a
        bibliographic item.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="biblScope">
    <element name="biblScope">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="pages">
        <a:documentation>identifies the type of information conveyed by the element, e.g.
                columns, pages, volume.</a:documentation>
        <choice>
          <value>volume</value>
          <a:documentation/>
          <value>pages</value>
          <a:documentation/>
        </choice>
      </attribute>
      <optional>
        <attribute name="from">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the starting point of the range of units indicated by the type attribute.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="to">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the end-point of the range of units indicated by the type attribute.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="pubPlace">
    <element name="pubPlace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(publication place) contains the name of the place where a bibliographic item was published.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="bibl">
    <element name="bibl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(bibliographic citation) contains a loosely-structured bibliographic citation of which the sub-components may or may
    not be explicitly tagged. </a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.highlighted"/>
          <ref name="model.pPart.data"/>
          <ref name="model.pPart.edit"/>
          <ref name="model.segLike"/>
          <ref name="model.ptrLike"/>
          <ref name="model.biblPart"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="listBibl">
    <element name="listBibl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(citation list) contains a list of bibliographic citations of any kind. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="model.biblLike"/>
            <ref name="model.milestoneLike"/>
            <ref name="listBibl"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="relatedItem">
    <element name="relatedItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <optional>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <ref name="model.biblLike"/>
          <ref name="model.ptrLike"/>
        </choice>
      </optional>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="relatedItem-constraint-targetorcontent11">
        <rule context="tei:relatedItem">
          <sch:report xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@target and count( child::* ) &gt; 0">If the 'target' attribute is used, the
        relatedItem element must be empty</sch:report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="relatedItem-constraint-targetorcontent11">
        <rule context="tei:relatedItem">
          <sch:assert xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@target or child::*">A relatedItem element should have either a 'target' attribute
        or a child element to indicate the related bibliographic item</sch:assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute name="target">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to the related bibliographic element by means of an
      absolute or relative URI reference</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="l">
    <element name="l">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(verse line) contains a single, possibly incomplete, line of verse.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
          <a:documentation>specifies whether or not the line is metrically complete. </a:documentation>
          <choice>
            <value>Y</value>
            <a:documentation>(yes) the line is metrically incomplete</a:documentation>
            <value>N</value>
            <a:documentation>(no) either the line is complete, or no claim is made as to its completeness</a:documentation>
            <value>I</value>
            <a:documentation>(initial) the initial part of an incomplete line</a:documentation>
            <value>M</value>
            <a:documentation>(medial) a medial part of an incomplete line</a:documentation>
            <value>F</value>
            <a:documentation>(final) the final part of an incomplete line</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="lg">
    <element name="lg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line group) contains a group of verse lines functioning as a formal unit, e.g. a stanza, refrain,
        verse paragraph, etc.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <choice>
          <ref name="model.lLike"/>
          <ref name="lg"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="model.lLike"/>
            <ref name="lg"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <group>
            <ref name="model.divBottom"/>
          </group>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="divGen">
    <element name="divGen">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(automatically generated text division) indicates the location at which a textual division generated
        automatically by a text-processing application is to appear.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="model.headLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="teiHeader">
    <element name="teiHeader">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI Header) supplies the descriptive and declarative information making up an electronic title page
    prefixed to every TEI-conformant text.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="fileDesc"/>
        <zeroOrMore>
          <ref name="model.teiHeaderPart"/>
        </zeroOrMore>
        <optional>
          <ref name="revisionDesc"/>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="text">
          <a: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</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="fileDesc">
    <element name="fileDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(file description) contains a full bibliographic description of an electronic file.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <group>
          <ref name="titleStmt"/>
          <optional>
            <ref name="editionStmt"/>
          </optional>
          <optional>
            <ref name="extent"/>
          </optional>
          <ref name="publicationStmt"/>
          <optional>
            <ref name="seriesStmt"/>
          </optional>
          <optional>
            <ref name="notesStmt"/>
          </optional>
        </group>
        <oneOrMore>
          <ref name="sourceDesc"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="titleStmt">
    <element name="titleStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title statement) groups information about the title of a work and those responsible for its intellectual
    content.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="title"/>
        </oneOrMore>
        <zeroOrMore>
          <ref name="model.respLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="sponsor">
    <element name="sponsor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the name of a sponsoring organization or institution.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="funder">
    <element name="funder">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(funding body) specifies the name of an individual, institution, or organization responsible for the
    funding of a project or text.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="principal">
    <element name="principal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(principal researcher) supplies the name of the principal researcher responsible for the
creation of an electronic text.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="editionStmt">
    <element name="editionStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition statement) groups information relating to one edition of a text.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <ref name="edition"/>
          <zeroOrMore>
            <ref name="respStmt"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="edition">
    <element name="edition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) describes the particularities of one edition of a text.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="extent">
    <element name="extent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the approximate size of a text as stored on some carrier medium, whether digital
    or non-digital, specified in any convenient units.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="publicationStmt">
    <element name="publicationStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(publication statement) groups information concerning the publication or distribution of an electronic or other
    text. </a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="model.publicationStmtPart"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="distributor">
    <element name="distributor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of a person or other agency responsible for the
distribution of a text.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="authority">
    <element name="authority">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(release authority) supplies the name of a person or other agency responsible for
  making an electronic file available, other than a publisher or
  distributor.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="idno">
    <element name="idno">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) supplies any form of identifier used to identify some object,
  such as a bibliographic item, a person, a title, an organization,
  etc. in a standardized way.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the identifier, for example as an ISBN, Social
      Security number, etc. </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="availability">
    <element name="availability">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies information about the availability of a text, for example any restrictions on its
    use or distribution, its copyright status, etc.</a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unknown">
        <a:documentation>supplies a code identifying the current availability of the text. </a:documentation>
        <choice>
          <value>free</value>
          <a:documentation/>
          <value>unknown</value>
          <a:documentation/>
          <value>restricted</value>
          <a:documentation/>
        </choice>
      </attribute>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="seriesStmt">
    <element name="seriesStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series statement) groups information about the series, if any, to which a publication belongs.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="title"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="idno"/>
              <ref name="respStmt"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="notesStmt">
    <element name="notesStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(notes statement) collects together any notes providing information about a text additional to that recorded
    in other parts of the bibliographic description.</a:documentation>
      <oneOrMore>
        <ref name="model.noteLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="sourceDesc">
    <element name="sourceDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="model.biblLike"/>
            <ref name="model.sourceDescPart"/>
            <ref name="model.listLike"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="encodingDesc">
    <element name="encodingDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(encoding description) documents the relationship between an electronic text and the
source or sources from which it was derived.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <choice>
            <ref name="model.encodingDescPart"/>
            <ref name="model.pLike"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="projectDesc">
    <element name="projectDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <oneOrMore>
        <ref name="model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="editorialDecl">
    <element name="editorialDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(editorial practice declaration) provides details of editorial principles and practices applied
during the encoding of a text.</a:documentation>
      <oneOrMore>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <ref name="model.pLike"/>
          <ref name="model.editorialDeclPart"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="classDecl">
    <element name="classDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(classification declarations) contains one or more taxonomies defining any classificatory
codes used elsewhere in the text.</a:documentation>
      <oneOrMore>
        <ref name="taxonomy"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="taxonomy">
    <element name="taxonomy">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a typology used to classify texts either implicitly, by means of a bibliographic
    citation, or explicitly by a structured taxonomy.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="category"/>
        </oneOrMore>
        <group>
          <group>
            <ref name="model.biblLike"/>
          </group>
          <zeroOrMore>
            <ref name="category"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="category">
    <element name="category">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an individual descriptive category, possibly nested within a superordinate
    category, within a user-defined taxonomy.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <oneOrMore>
            <ref name="catDesc"/>
          </oneOrMore>
          <zeroOrMore>
            <ref name="model.glossLike"/>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <ref name="category"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="catDesc">
    <element name="catDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.limitedPhrase"/>
          <ref name="model.catDescPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="profileDesc">
    <element name="profileDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.profileDescPart"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="handNote">
    <element name="handNote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(note on hand) describes a particular style or hand distinguished within a manuscript.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.handFeatures.attribute.scribe"/>
      <ref name="att.handFeatures.attribute.scribeRef"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="script" a:defaultValue="other">
        <a:documentation>characterizes the particular script or writing style used by
this hand, for example secretary, copperplate, Chancery, Italian, etc.</a:documentation>
        <list>
          <choice>
            <value>carolmin</value>
            <a:documentation/>
            <value>textualis</value>
            <a:documentation/>
            <value>cursiva</value>
            <a:documentation/>
            <value>hybrida</value>
            <a:documentation/>
            <value>humbook</value>
            <a:documentation/>
            <value>humcursiva</value>
            <a:documentation/>
            <value>other</value>
            <a:documentation>script other than one of these</a:documentation>
            <value>unknown</value>
            <a:documentation>script information not available</a:documentation>
          </choice>
          <zeroOrMore>
            <choice>
              <value>carolmin</value>
              <a:documentation/>
              <value>textualis</value>
              <a:documentation/>
              <value>cursiva</value>
              <a:documentation/>
              <value>hybrida</value>
              <a:documentation/>
              <value>humbook</value>
              <a:documentation/>
              <value>humcursiva</value>
              <a:documentation/>
              <value>other</value>
              <a:documentation>script other than one of these</a:documentation>
              <value>unknown</value>
              <a:documentation>script information not available</a:documentation>
            </choice>
          </zeroOrMore>
        </list>
      </attribute>
      <ref name="att.handFeatures.attribute.scriptRef"/>
      <ref name="att.handFeatures.attribute.medium"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scope" a:defaultValue="sole">
        <a:documentation>specifies how widely this  hand is used in the manuscript.</a:documentation>
        <choice>
          <value>sole</value>
          <a:documentation/>
          <value>major</value>
          <a:documentation/>
          <value>minor</value>
          <a:documentation/>
        </choice>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="creation">
    <element name="creation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the creation of a text.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="langUsage">
    <element name="langUsage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language usage) describes the languages, sublanguages, registers, dialects, etc.
represented within a text.</a:documentation>
      <oneOrMore>
        <ref name="language"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="language">
    <element name="language">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes a single language or sublanguage used within a text.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <attribute name="ident">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
        <data type="language"/>
      </attribute>
      <optional>
        <attribute name="usage">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the approximate percentage (by volume) of the text which uses this language. </a:documentation>
          <data type="nonNegativeInteger">
            <param name="maxInclusive">100</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="textClass">
    <element name="textClass">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text classification) groups information which describes the nature or topic of a text in terms of a standard
    classification scheme, thesaurus, etc.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <ref name="classCode"/>
          <ref name="catRef"/>
          <ref name="keywords"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="keywords">
    <element name="keywords">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of keywords or phrases identifying the topic or nature of a text.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="term"/>
        </oneOrMore>
        <ref name="list"/>
      </choice>
      <ref name="att.global.attributes"/>
      <attribute name="scheme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the controlled vocabulary within which the set of keywords concerned is
        defined. </a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="classCode">
    <element name="classCode">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(classification code) contains the classification code used for this text in some standard classification system.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <attribute name="scheme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification system or taxonomy in use.</a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="catRef">
    <element name="catRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category reference) specifies one or more defined categories within some taxonomy or text typology.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification scheme within which the set of categories concerned is
        defined </a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="revisionDesc">
    <element name="revisionDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(revision description) summarizes the revision history for a file.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="list"/>
        <oneOrMore>
          <ref name="change"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.docStatus.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="change">
    <element name="change">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">summarizes a particular change or correction made to a particular version of an electronic
    text which is shared between several researchers.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.limitedPhrase"/>
          <ref name="model.inter"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.ascribed.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.docStatus.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="typeNote">
    <element name="typeNote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a particular font or other significant typographic feature distinguished within
    the description of a printed resource.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.handFeatures.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="scriptNote">
    <element name="scriptNote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a particular script distinguished within
    the description of a manuscript or similar resource.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.handFeatures.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="geoDecl">
    <element name="geoDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographic coordinates declaration) documents the notation and the datum used for geographic coordinates expressed as content of
    the geo element elsewhere within the document.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.declarable.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="datum" a:defaultValue="WGS84">
          <a: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) </a:documentation>
          <choice>
            <value>WGS84</value>
            <a:documentation>(World Geodetic System) a pair of numbers to be interpreted as latitude followed by longitude according to
            the World Geodetic System.</a:documentation>
            <value>MGRS</value>
            <a:documentation>(Military Grid Reference System) the values supplied are geospatial entity object codes, based on</a:documentation>
            <value>OSGB36</value>
            <a:documentation>(ordnance survey great britain) the value supplied is to be interpreted as a British National Grid Reference.</a:documentation>
            <value>ED50</value>
            <a:documentation>(European Datum coordinate system) the value supplied is to be interpreted as latitude followed by longitude according
            to the European Datum coordinate system.</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="TEI">
    <element name="TEI">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="teiHeader"/>
        <choice>
          <group>
            <oneOrMore>
              <ref name="model.resourceLike"/>
            </oneOrMore>
            <optional>
              <ref name="text"/>
            </optional>
          </group>
          <ref name="text"/>
        </choice>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="version">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the TEI Guidelines against
      which this document is valid.</a:documentation>
          <data type="token">
            <param name="pattern">[\d]+(\.[\d]+){0,2}</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="text">
    <element name="text">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="front"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
        <choice>
          <ref name="body"/>
          <ref name="group"/>
        </choice>
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="back"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="body">
    <element name="body">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text body) contains the whole body of a single unitary text, excluding any front or back matter.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <optional>
          <group>
            <group>
              <ref name="model.divTop"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.global"/>
                <ref name="model.divTop"/>
              </choice>
            </zeroOrMore>
          </group>
        </optional>
        <optional>
          <group>
            <group>
              <ref name="model.divGenLike"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.global"/>
                <ref name="model.divGenLike"/>
              </choice>
            </zeroOrMore>
          </group>
        </optional>
        <group>
          <choice>
            <oneOrMore>
              <group>
                <group>
                  <ref name="model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.global"/>
                    <ref name="model.divGenLike"/>
                  </choice>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <oneOrMore>
              <group>
                <group>
                  <ref name="model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.global"/>
                    <ref name="model.divGenLike"/>
                  </choice>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <optional>
                <choice>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="model.divLike"/>
                      </group>
                      <zeroOrMore>
                        <choice>
                          <ref name="model.global"/>
                          <ref name="model.divGenLike"/>
                        </choice>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="model.div1Like"/>
                      </group>
                      <zeroOrMore>
                        <choice>
                          <ref name="model.global"/>
                          <ref name="model.divGenLike"/>
                        </choice>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                </choice>
              </optional>
            </group>
          </choice>
        </group>
        <zeroOrMore>
          <group>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="group">
    <element name="group">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <choice>
            <ref name="text"/>
            <ref name="group"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="text"/>
              <ref name="group"/>
              <ref name="model.global"/>
            </choice>
          </zeroOrMore>
        </group>
        <zeroOrMore>
          <ref name="model.divBottom"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="div">
    <element name="div">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text division) contains a subdivision of the front, body, or back of a text.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="model.divTop"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <group>
              <oneOrMore>
                <choice>
                  <ref name="model.divLike"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
            </group>
            <group>
              <oneOrMore>
                <group>
                  <ref name="model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="model.divLike"/>
                  <ref name="model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="titlePage">
    <element name="titlePage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title page) contains the title page of a text, appearing within the front or back matter. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <group>
          <ref name="model.titlepagePart"/>
        </group>
        <zeroOrMore>
          <choice>
            <ref name="model.titlepagePart"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the title page according to any convenient typology.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="docTitle">
    <element name="docTitle">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document title) contains the title of a document, including all its
constituents, as given on a title page.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.global"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="titlePart"/>
          <zeroOrMore>
            <ref name="model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="titlePart">
    <element name="titlePart">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a subsection or division of the title of a work, as
indicated on a title page.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="main">
          <a: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) </a:documentation>
          <choice>
            <value>main</value>
            <a:documentation>main title of the work
        </a:documentation>
            <value>sub</value>
            <a:documentation>(subordinate) subtitle  of the work
        </a:documentation>
            <value>alt</value>
            <a:documentation>(alternate) alternative title  of the work
        </a:documentation>
            <value>short</value>
            <a:documentation>abbreviated form of title</a:documentation>
            <value>desc</value>
            <a:documentation>(descriptive) descriptive paraphrase of the work 
   </a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="docAuthor">
    <element name="docAuthor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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).</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="docEdition">
    <element name="docEdition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document edition) contains an edition statement as presented on a title page of a
document.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="docImprint">
    <element name="docImprint">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document imprint) contains the imprint statement (place and date of publication,
publisher name), as given
(usually) at the foot of a title page.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="pubPlace"/>
          <ref name="publisher"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="front">
    <element name="front">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(front matter) contains any prefatory matter (headers,
title page, prefaces, dedications, etc.)
found  at the start of a document, before the main body.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="model.frontPart"/>
            <ref name="model.pLike.front"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <optional>
            <choice>
              <group>
                <group>
                  <ref name="model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.div1Like"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <group>
                  <ref name="model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.divLike"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <optional>
            <group>
              <ref name="model.divBottomPart"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.divBottomPart"/>
                <ref name="model.global"/>
              </choice>
            </zeroOrMore>
          </optional>
        </group>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="back">
    <element name="back">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(back matter) contains any appendixes, etc. following the main part of a text.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="model.frontPart"/>
            <ref name="model.pLike.front"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <optional>
            <choice>
              <group>
                <group>
                  <ref name="model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.div1Like"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <group>
                  <ref name="model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="model.frontPart"/>
                    <ref name="model.divLike"/>
                    <ref name="model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <optional>
            <group>
              <ref name="model.divBottomPart"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="model.divBottomPart"/>
                <ref name="model.global"/>
              </choice>
            </zeroOrMore>
          </optional>
        </group>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="msDesc">
    <element name="msDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript description) contains a description of a single identifiable
manuscript or other text-bearing object.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="msIdentifier"/>
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="msContents"/>
            </optional>
            <optional>
              <ref name="physDesc"/>
            </optional>
            <optional>
              <ref name="history"/>
            </optional>
            <optional>
              <ref name="additional"/>
            </optional>
            <zeroOrMore>
              <ref name="msPart"/>
            </zeroOrMore>
          </group>
        </choice>
      </group>
      <attribute name="xml:id">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) provides a unique identifier for the element bearing the attribute.</a:documentation>
        <data type="ID"/>
      </attribute>
      <ref name="att.global.attribute.n"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xml:lang" a:defaultValue="en">
        <a:documentation>(language) indicates the language of the element content using a tag generated
        according to BCP 47
         </a:documentation>
        <data type="language"/>
      </attribute>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.attribute.xmlspace"/>
      <ref name="att.global.facs.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="catchwords">
    <element name="catchwords">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="dimensions">
    <element name="dimensions">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a dimensional specification.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="dim"/>
            <ref name="model.dimLike"/>
          </choice>
        </zeroOrMore>
      </group>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="dimensions-constraint-duplicateDim1">
        <rule context="tei:dimensions">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="count(tei:width)&gt; 1">
	Width element may appear once only
      </report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="dimensions-constraint-duplicateDim2">
        <rule context="tei:dimensions">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="count(tei:height)&gt; 1">
	Height element may appear once only
      </report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="dimensions-constraint-duplicateDim3">
        <rule context="tei:dimensions">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="count(tei:depth)&gt; 1">
	Depth element may appear once only
      </report>
        </rule>
      </pattern>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="unknown">
        <a:documentation>indicates which aspect of the object is being measured. </a:documentation>
        <choice>
          <value>leaf</value>
          <a:documentation/>
          <value>binding</value>
          <a:documentation/>
          <value>slip</value>
          <a:documentation/>
          <value>written</value>
          <a:documentation/>
          <value>boxed</value>
          <a:documentation/>
          <value>unknown</value>
          <a:documentation/>
        </choice>
      </attribute>
      <ref name="att.global.attributes"/>
      <ref name="att.dimensions.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="dim">
    <element name="dim">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any single measurement forming part of a dimensional
specification of some sort.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.dimensions.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="height">
    <element name="height">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.dimensions.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="depth">
    <element name="depth">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.dimensions.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="width">
    <element name="width">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.dimensions.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="heraldry">
    <element name="heraldry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a heraldic formula
or phrase, typically found as part of a blazon, coat of arms, etc. 
</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="locus">
    <element name="locus">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a location within a manuscript or manuscript part, usually as a
    (possibly discontinuous) sequence of folio references. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.pointing.attributes"/>
      <optional>
        <attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the foliation scheme in terms of which the location is being
        specified.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="from">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the starting point of the location in a normalized form.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="to">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the end-point of the location in a normalized form.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="locusGrp">
    <element name="locusGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups a number of locations which together form a
  distinct but discontinuous item within a manuscript or manuscript
  part, according to a specific foliation.
  </a:documentation>
      <oneOrMore>
        <ref name="locus"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the foliation scheme in terms of which all the
      locations contained by the group are specified.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="material">
    <element name="material">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing the
  material of which  the object being described is composed.
  </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="origDate">
    <element name="origDate">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(origin date) contains any form of date, used to
  identify the date of origin for a manuscript or manuscript part.
  </a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.phrase"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="origPlace">
    <element name="origPlace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(origin place) contains any form of place name, used to identify the
place of origin for a manuscript or manuscript part. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="secFol">
    <element name="secFol">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.

</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="signatures">
    <element name="signatures">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains discussion of the leaf or quire signatures found within a codex.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="stamp">
    <element name="stamp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing a
stamp or similar device.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="watermark">
    <element name="watermark">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing a
watermark or similar device.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="msIdentifier">
    <element name="msIdentifier">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript identifier) contains the information required to identify
the  manuscript being described. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <group>
          <ref name="model.placeNamePart_sequenceOptional"/>
          <optional>
            <ref name="institution"/>
          </optional>
          <optional>
            <ref name="repository"/>
          </optional>
          <zeroOrMore>
            <ref name="collection"/>
          </zeroOrMore>
          <optional>
            <ref name="idno"/>
          </optional>
        </group>
        <zeroOrMore>
          <choice>
            <ref name="msName"/>
            <ref name="altIdentifier"/>
          </choice>
        </zeroOrMore>
      </group>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="msIdentifier-constraint-msId_minimal">
        <rule context="tei:msIdentifier">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="local-name(*[1])='idno' or                              local-name(*[1])='altIdentifier' or        .='' ">
	    You must supply either a locator of some type or a
	    name</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="institution">
    <element name="institution">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of an organization such as a university or
  library, with which a manuscript is identified, generally its
  holding institution.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="repository">
    <element name="repository">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a repository within which manuscripts are stored, possibly forming part of an institution.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="collection">
    <element name="collection">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a collection of
manuscripts, not necessarily located within a single repository. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="altIdentifier">
    <element name="altIdentifier">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternative identifier) contains an alternative or former structured identifier used for
a manuscript, such as a former catalogue number.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="model.placeNamePart_sequenceOptional"/>
        <optional>
          <ref name="institution"/>
        </optional>
        <optional>
          <ref name="repository"/>
        </optional>
        <optional>
          <ref name="collection"/>
        </optional>
        <ref name="idno"/>
        <optional>
          <ref name="note"/>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="other">
        <a:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
        <choice>
          <value>former</value>
          <a:documentation>former catalogue or shelf number</a:documentation>
          <value>system</value>
          <a:documentation>former system identifier
(Manuscriptorium specific)</a:documentation>
          <value>partial</value>
          <a:documentation>identifier of a previously distinct
item</a:documentation>
          <value>internal</value>
          <a:documentation>internal project identifier</a:documentation>
          <value>other</value>
          <a:documentation>unspecified</a:documentation>
        </choice>
      </attribute>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define name="msName">
    <element name="msName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternative name) contains any form of unstructured alternative
name used for a manuscript, such as an  ocellus
nominum, or nickname. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="colophon">
    <element name="colophon">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="explicit">
    <element name="explicit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.
  </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.msExcerpt.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="filiation">
    <element name="filiation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information concerning the manuscript's filiation, i.e. its relationship to other surviving manuscripts of the same text, its protographs, antigraphs and apographs.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="finalRubric">
    <element name="finalRubric">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="incipit">
    <element name="incipit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.msExcerpt.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="msContents">
    <element name="msContents">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <optional>
            <ref name="textLang"/>
          </optional>
          <optional>
            <ref name="titlePage"/>
          </optional>
          <zeroOrMore>
            <ref name="msItem"/>
          </zeroOrMore>
        </group>
      </choice>
      <optional>
        <attribute name="class">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the text types or classifications applicable to this object.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <ref name="att.msExcerpt.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="msItem">
    <element name="msItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript item) describes an individual work or item within the intellectual
  content of a manuscript or manuscript part. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <choice>
            <ref name="locus"/>
            <ref name="locusGrp"/>
          </choice>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <oneOrMore>
            <choice>
              <ref name="model.titlepagePart"/>
              <ref name="model.msItemPart"/>
              <ref name="model.global"/>
            </choice>
          </oneOrMore>
        </choice>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.msExcerpt.attributes"/>
      <optional>
        <attribute name="class">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the text types or classifications applicable to this
item</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="rubric">
    <element name="rubric">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="summary">
    <element name="summary">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an overview of the available
  information concerning some aspect of an item (for example, its
intellectual content, history, layout, typography etc.) as a
complement or alternative to the  more detailed information  carried by
  more specific elements.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="textLang">
    <element name="textLang">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text language) in a manuscript description, describes
  the languages and writing systems identified within the manuscript
  being described. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <attribute name="mainLang">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(main language) supplies a code which identifies the chief language used in the manuscript.</a:documentation>
        <data type="language"/>
      </attribute>
      <optional>
        <attribute name="otherLangs">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(other languages) one or more codes identifying any other languages used in the manuscript.</a:documentation>
          <list>
            <zeroOrMore>
              <data type="language"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="att.msExcerpt.attributes">
    <ref name="att.msExcerpt.attribute.defective"/>
  </define>
  <define name="att.msExcerpt.attribute.defective">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="defective" a:defaultValue="false">
        <a:documentation>indicates whether the passage being quoted is defective,
      i.e. incomplete through loss or damage.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="boolean"/>
          <value>unknown</value>
          <value>inapplicable</value>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="physDesc">
    <element name="physDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(physical description) contains a full physical description of a
manuscript or manuscript part, optionally subdivided using more
specialised elements from the model.physDescPart class.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.pLike"/>
        </zeroOrMore>
        <group>
          <ref name="model.physDescPart_sequenceOptional"/>
        </group>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="objectDesc">
    <element name="objectDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the physical
  components making up the object which is being described.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="supportDesc"/>
          </optional>
          <optional>
            <ref name="layoutDesc"/>
          </optional>
        </group>
      </choice>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="form" a:defaultValue="codex">
        <a:documentation>a short  project-specific name identifying the physical form of
      the carrier, for example as a codex, roll, fragment, partial leaf,
      cutting etc.</a:documentation>
        <choice>
          <value>codex</value>
          <a:documentation>a bound codex</a:documentation>
          <value>leaf</value>
          <a:documentation>a loose leaf</a:documentation>
          <value>scroll</value>
          <a:documentation>a scroll</a:documentation>
          <value>other</value>
          <a:documentation>any other format</a:documentation>
        </choice>
      </attribute>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="supportDesc">
    <element name="supportDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(support description) groups elements describing the physical support for the written part of a manuscript.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="support"/>
          </optional>
          <optional>
            <ref name="extent"/>
          </optional>
          <zeroOrMore>
            <ref name="foliation"/>
          </zeroOrMore>
          <optional>
            <ref name="collation"/>
          </optional>
          <optional>
            <ref name="condition"/>
          </optional>
        </group>
      </choice>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="material" a:defaultValue="unknown">
        <a:documentation>a short project-defined name for the material composing
      the majority of the support</a:documentation>
        <choice>
          <value>perg</value>
          <a:documentation>parchment</a:documentation>
          <value>chart</value>
          <a:documentation>paper</a:documentation>
          <value>mixed</value>
          <a:documentation>mixture of paper and parchment, or other materials</a:documentation>
          <value>unknown</value>
          <a:documentation/>
        </choice>
      </attribute>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="support">
    <element name="support">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the materials
etc. which make up the physical support for the written part of a manuscript.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="collation">
    <element name="collation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of how the leaves or bifolia are physically
arranged.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="foliation">
    <element name="foliation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the numbering system or systems used to 
count the leaves or pages in a codex.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="condition">
    <element name="condition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the physical
condition of the manuscript. </a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="layoutDesc">
    <element name="layoutDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(layout description) collects the set of layout descriptions applicable to a manuscript.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <oneOrMore>
            <ref name="layout"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="layout">
    <element name="layout">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes how text is laid out on the
  page, including information about any ruling, pricking, or other
  evidence of page-preparation techniques.</a:documentation>
      <ref name="macro.specialPara"/>
      <attribute name="columns">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of columns per page</a:documentation>
        <list>
          <data type="nonNegativeInteger"/>
          <optional>
            <data type="nonNegativeInteger"/>
          </optional>
        </list>
      </attribute>
      <optional>
        <attribute name="ruledLines">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of ruled lines per column</a:documentation>
          <list>
            <data type="nonNegativeInteger"/>
            <optional>
              <data type="nonNegativeInteger"/>
            </optional>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute name="writtenLines">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of written lines per
      column</a:documentation>
          <list>
            <data type="nonNegativeInteger"/>
            <optional>
              <data type="nonNegativeInteger"/>
            </optional>
          </list>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="handDesc">
    <element name="handDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description of hands) contains a description of all the different kinds of writing  used in a manuscript.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <oneOrMore>
            <ref name="handNote"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="hands">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of distinct hands identified within the manuscript</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="typeDesc">
    <element name="typeDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the typefaces or other aspects of
  the printing of an incunable or other printed source.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <oneOrMore>
            <ref name="typeNote"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="scriptDesc">
    <element name="scriptDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the scripts used in a manuscript or similar source.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <oneOrMore>
            <ref name="scriptNote"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="musicNotation">
    <element name="musicNotation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains description of type of musical notation.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="decoDesc">
    <element name="decoDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <oneOrMore>
            <ref name="decoNote"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="decoNote">
    <element name="decoNote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(note on decoration) contains a note describing either a
decorative component of a manuscript, or a fairly homogenous class of
such components.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="other">
          <a:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
          <choice>
            <value>border</value>
            <a:documentation/>
            <value>diagram</value>
            <a:documentation/>
            <value>initial</value>
            <a:documentation/>
            <value>marginal</value>
            <a:documentation/>
            <value>miniature</value>
            <a:documentation/>
            <value>mixed</value>
            <a:documentation/>
            <value>paratext</value>
            <a:documentation/>
            <value>secondary</value>
            <a:documentation/>
            <value>other</value>
            <a:documentation/>
            <value>illustration</value>
            <a:documentation/>
            <value>printmark</value>
            <a:documentation/>
            <value>publishmark</value>
            <a:documentation/>
            <value>vignette</value>
            <a:documentation/>
            <value>frieze</value>
            <a:documentation/>
            <value>map</value>
            <a:documentation/>
            <value>unspecified</value>
            <a:documentation/>
          </choice>
        </attribute>
      </optional>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define name="additions">
    <element name="additions">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of any significant additions found
within a manuscript, such as marginalia or other annotations. </a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="bindingDesc">
    <element name="bindingDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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. </a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <choice>
            <ref name="model.pLike"/>
            <ref name="decoNote"/>
            <ref name="condition"/>
          </choice>
        </oneOrMore>
        <oneOrMore>
          <ref name="binding"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="binding">
    <element name="binding">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of one binding, i.e. type of covering, boards,
    etc. applied to a manuscript.</a:documentation>
      <oneOrMore>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <ref name="model.pLike"/>
          <ref name="condition"/>
          <ref name="decoNote"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <optional>
        <attribute name="contemporary">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies whether or not the binding is contemporary with the majority of its
        contents</a:documentation>
          <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="sealDesc">
    <element name="sealDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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. </a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="decoNote"/>
            <ref name="seal"/>
            <ref name="condition"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="seal">
    <element name="seal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of one seal or similar
  attachment applied to a manuscript.</a:documentation>
      <oneOrMore>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <ref name="model.pLike"/>
          <ref name="decoNote"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <optional>
        <attribute name="contemporary">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies whether or not the seal is contemporary with the
      item to which it is affixed</a:documentation>
          <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="accMat">
    <element name="accMat">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="history">
    <element name="history">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> groups elements
describing the full history of a manuscript or manuscript part.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="summary"/>
          </optional>
          <optional>
            <ref name="origin"/>
          </optional>
          <zeroOrMore>
            <ref name="provenance"/>
          </zeroOrMore>
          <optional>
            <ref name="acquisition"/>
          </optional>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="origin">
    <element name="origin">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any descriptive or other information
concerning the origin of  a manuscript or manuscript part. </a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="provenance">
    <element name="provenance">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="acquisition">
    <element name="acquisition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any descriptive or other information
concerning the process by which a manuscript or manuscript part entered the holding
institution. </a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="additional">
    <element name="additional">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups additional information, combining
bibliographic information about a manuscript, or surrogate copies of
it with  curatorial or administrative information. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <optional>
          <ref name="adminInfo"/>
        </optional>
        <optional>
          <ref name="surrogates"/>
        </optional>
        <optional>
          <ref name="listBibl"/>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="adminInfo">
    <element name="adminInfo">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(administrative information) contains information about the present
custody and availability of the manuscript, and also about the record
description itself. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <optional>
          <ref name="recordHist"/>
        </optional>
        <optional>
          <ref name="availability"/>
        </optional>
        <optional>
          <ref name="custodialHist"/>
        </optional>
        <optional>
          <ref name="model.noteLike"/>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="recordHist">
    <element name="recordHist">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(recorded history) provides information about the source and
revision status of the parent manuscript description itself. </a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <ref name="source"/>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="source">
    <element name="source">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the original source for the information contained with a manuscript description. </a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="custodialHist">
    <element name="custodialHist">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(custodial history) contains a description of a manuscript's custodial history, either
as running prose or as a series of dated custodial events. </a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="custEvent"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="custEvent">
    <element name="custEvent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(custodial event) describes a single event during the custodial history of a manuscript.</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="other">
        <a:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
        <choice>
          <value>check</value>
          <a:documentation/>
          <value>conservation</value>
          <a:documentation/>
          <value>description</value>
          <a:documentation/>
          <value>exhibition</value>
          <a:documentation/>
          <value>loan</value>
          <a:documentation/>
          <value>photography</value>
          <a:documentation/>
          <value>other</value>
          <a:documentation/>
        </choice>
      </attribute>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define name="surrogates">
    <element name="surrogates">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about any non-digital representations of the manuscript being described which may exist in the holding institution or elsewhere.
</a:documentation>
      <ref name="macro.specialPara"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="msPart">
    <element name="msPart">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript part) contains information about an originally
distinct manuscript or part of a manuscript, now forming part of a composite manuscript.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="altIdentifier"/>
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="msContents"/>
            </optional>
            <optional>
              <ref name="physDesc"/>
            </optional>
            <optional>
              <ref name="history"/>
            </optional>
            <optional>
              <ref name="additional"/>
            </optional>
            <zeroOrMore>
              <ref name="msPart"/>
            </zeroOrMore>
          </group>
        </choice>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="anchor">
    <element name="anchor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(anchor point) attaches an identifier to a point within a text, whether or not it corresponds with a textual element.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="seg">
    <element name="seg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(arbitrary segment) represents any segmentation of text below the chunk level.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.segLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="model.persNamePart">
    <choice>
      <ref name="surname"/>
      <ref name="forename"/>
      <ref name="genName"/>
      <ref name="nameLink"/>
      <ref name="addName"/>
      <ref name="roleName"/>
    </choice>
  </define>
  <define name="model.persNamePart_alternation">
    <choice>
      <ref name="surname"/>
      <ref name="forename"/>
      <ref name="genName"/>
      <ref name="nameLink"/>
      <ref name="addName"/>
      <ref name="roleName"/>
    </choice>
  </define>
  <define name="model.persNamePart_sequence">
    <ref name="surname"/>
    <ref name="forename"/>
    <ref name="genName"/>
    <ref name="nameLink"/>
    <ref name="addName"/>
    <ref name="roleName"/>
  </define>
  <define name="model.persNamePart_sequenceOptional">
    <optional>
      <ref name="surname"/>
    </optional>
    <optional>
      <ref name="forename"/>
    </optional>
    <optional>
      <ref name="genName"/>
    </optional>
    <optional>
      <ref name="nameLink"/>
    </optional>
    <optional>
      <ref name="addName"/>
    </optional>
    <optional>
      <ref name="roleName"/>
    </optional>
  </define>
  <define name="model.persNamePart_sequenceOptionalRepeatable">
    <zeroOrMore>
      <ref name="surname"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="forename"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="genName"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="nameLink"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="addName"/>
    </zeroOrMore>
    <zeroOrMore>
      <ref name="roleName"/>
    </zeroOrMore>
  </define>
  <define name="model.persNamePart_sequenceRepeatable">
    <oneOrMore>
      <ref name="surname"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="forename"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="genName"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="nameLink"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="addName"/>
    </oneOrMore>
    <oneOrMore>
      <ref name="roleName"/>
    </oneOrMore>
  </define>
  <define name="orgName">
    <element name="orgName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(organization name) contains an organizational name. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="persName">
    <element name="persName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="surname">
    <element name="surname">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a family (inherited) name, as opposed to a given, baptismal, or nick name.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="forename">
    <element name="forename">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a forename, given or baptismal name.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="genName">
    <element name="genName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="nameLink">
    <element name="nameLink">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="addName">
    <element name="addName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(additional name) contains an additional name component, such as a nickname, epithet, or alias, or any other descriptive phrase used within a personal
    name.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="roleName">
    <element name="roleName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a name component which indicates that the referent has a particular role or position in society, such as an official title or
        rank.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.personal.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="placeName">
    <element name="placeName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an absolute or relative place name. </a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="bloc">
    <element name="bloc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(bloc) contains the name of a geo-political unit consisting of two or more nation states or
    countries.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="country">
    <element name="country">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="region">
    <element name="region">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of an administrative unit such as a state, province, or county, larger
    than a settlement, but smaller than a country.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="unknown">
        <a:documentation>characterizes the element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
        <choice>
          <value>parish</value>
          <a:documentation/>
          <value>county</value>
          <a:documentation/>
          <value>compass</value>
          <a:documentation/>
          <value>geog</value>
          <a:documentation/>
          <value>state</value>
          <a:documentation/>
          <value>unknown</value>
          <a:documentation/>
        </choice>
      </attribute>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="district">
    <element name="district">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of any kind of subdivision of a settlement, such as a parish, ward, or other administrative or geographic unit.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="settlement">
    <element name="settlement">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a settlement such as a city, town, or village identified as a single geo-political or administrative unit.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="offset">
    <element name="offset">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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. </a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="geogName">
    <element name="geogName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographical name) a name associated with some geographical feature such as Windrush Valley or Mount Sinai.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides more culture- linguistic- or application- specific information used to categorize this name component.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="geogFeat">
    <element name="geogFeat">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographical feature name) contains a common noun identifying some geographical feature contained within a geographic
        name, such as valley, mount, etc.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="affiliation">
    <element name="affiliation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(affiliation) contains an informal description of a person's present or past affiliation with some
        organization, for example an employer or sponsor.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="age">
    <element name="age">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(age) specifies the age of a person.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <optional>
        <attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a numeric code representing the age or age group</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="birth">
    <element name="birth">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(birth) contains information about a person's birth, such as its date and place.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="death">
    <element name="death">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(death) contains information about a person's death, such as its date and place.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="education">
    <element name="education">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the educational experience of a person.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="event">
    <element name="event">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(event) contains data relating to any kind of significant event associated with a person, place, or organization.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <oneOrMore>
              <ref name="model.pLike"/>
            </oneOrMore>
          </group>
          <group>
            <oneOrMore>
              <ref name="model.labelLike"/>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="model.noteLike"/>
            <ref name="model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="event"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.naming.attributes"/>
      <optional>
        <attribute name="where">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of an event by pointing to a place element</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="faith">
    <element name="faith">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the faith, religion, or belief set of a person.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="floruit">
    <element name="floruit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about a person's period of activity.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="geo">
    <element name="geo">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="langKnowledge">
    <element name="langKnowledge">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language knowledge) summarizes the state of a person's linguistic knowledge, either as prose or by a list of langKnown elements.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="model.pLike"/>
        <oneOrMore>
          <ref name="langKnown"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="tags">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies one or more valid language tags for the languages specified</a:documentation>
          <list>
            <data type="language"/>
            <zeroOrMore>
              <data type="language"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="langKnown">
    <element name="langKnown">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language known) summarizes the state of a person's linguistic competence, i.e., knowledge of a single language.</a:documentation>
      <ref name="macro.phraseSeq.limited"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <attribute name="tag">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a valid language tag for the language concerned.</a:documentation>
        <data type="language"/>
      </attribute>
      <optional>
        <attribute name="level">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a code indicating the person's level of knowledge for this language </a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="listOrg">
    <element name="listOrg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of organizations) contains a list of elements, each of which provides information about an identifiable
        organization. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="org"/>
            <ref name="listOrg"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="relationGrp"/>
            <ref name="relation"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="listEvent">
    <element name="listEvent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of events) contains a list of descriptions, each of which provides information
    about an identifiable event. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="event"/>
            <ref name="listEvent"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="relation"/>
            <ref name="relationGrp"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="listPerson">
    <element name="listPerson">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="model.personLike"/>
            <ref name="listPerson"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="relation"/>
            <ref name="relationGrp"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="listPlace">
    <element name="listPlace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of places) contains a list of places, optionally followed by a list of relationships (other than
        containment) defined amongst them. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="model.placeLike"/>
            <ref name="listPlace"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="relationGrp"/>
            <ref name="relation"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declarable.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="location">
    <element name="location">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <ref name="model.labelLike"/>
          <ref name="model.placeNamePart"/>
          <ref name="model.offsetLike"/>
          <ref name="model.measureLike"/>
          <ref name="model.addressLike"/>
          <ref name="model.noteLike"/>
          <ref name="model.biblLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="nationality">
    <element name="nationality">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an informal description of a person's present or past nationality or citizenship.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="occupation">
    <element name="occupation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an informal description of a person's trade, profession or occupation.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <optional>
        <attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification system or taxonomy in use by supplying the identifier of a taxonomy element elsewhere in the
                header.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="code">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies an occupation code defined within the classification system or taxonomy defined by the scheme
                attribute.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="org">
    <element name="org">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(organization) provides information about an identifiable organization such as a business, a tribe, or
        any other grouping of people.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <zeroOrMore>
              <ref name="model.pLike"/>
            </zeroOrMore>
          </group>
          <zeroOrMore>
            <choice>
              <ref name="model.labelLike"/>
              <ref name="model.nameLike"/>
              <ref name="model.placeLike"/>
            </choice>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="model.noteLike"/>
            <ref name="model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.personLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="role">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a primary role or classification for the organization.</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="relationGrp">
    <element name="relationGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(relation group) provides information about relationships identified amongst people, places, and
    organizations, either informally as prose or as formally expressed relation links. </a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="relation"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="person">
    <element name="person">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides information about an identifiable individual, for example a participant in a language interaction, or a person referred to in a
        historical source.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="model.personPart"/>
            <ref name="model.global"/>
          </choice>
        </zeroOrMore>
      </choice>
      <optional>
        <attribute name="role">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a primary role or classification for the person.</a:documentation>
          <list>
            <data type="Name"/>
            <zeroOrMore>
              <data type="Name"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="sex" a:defaultValue="0">
        <a:documentation>specifies the sex of the person.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <value>0</value>
          <value>1</value>
          <value>2</value>
          <value>9</value>
        </choice>
      </attribute>
      <optional>
        <attribute name="age">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies an age group for the person.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="personGrp">
    <element name="personGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(personal group) describes a group of individuals treated as a single person for analytic purposes.</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="model.pLike"/>
        </oneOrMore>
        <zeroOrMore>
          <ref name="model.personPart"/>
        </zeroOrMore>
      </choice>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="role">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the role of this group of participants in the interaction.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="sex">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sex of the participant group.</a:documentation>
          <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
            <choice>
              <value>0</value>
              <value>1</value>
              <value>2</value>
              <value>9</value>
            </choice>
            <value>mixed</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="age">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the age group of the participants.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="size">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the size or approximate size of the group.</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="place">
    <element name="place">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains data about a geographic location</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <zeroOrMore>
              <ref name="model.pLike"/>
            </zeroOrMore>
          </group>
          <zeroOrMore>
            <choice>
              <ref name="model.labelLike"/>
              <ref name="model.placeStateLike"/>
              <ref name="model.placeTraitLike"/>
              <ref name="model.placeEventLike"/>
            </choice>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="model.noteLike"/>
            <ref name="model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <choice>
            <ref name="model.placeLike"/>
            <ref name="listPlace"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="population">
    <element name="population">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the population of a place.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.headLike"/>
        </zeroOrMore>
        <optional>
          <choice>
            <group>
              <oneOrMore>
                <ref name="model.pLike"/>
              </oneOrMore>
            </group>
            <group>
              <oneOrMore>
                <ref name="model.labelLike"/>
              </oneOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="model.noteLike"/>
              <ref name="model.biblLike"/>
            </choice>
          </zeroOrMore>
        </optional>
        <zeroOrMore>
          <ref name="population"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="relation">
    <element name="relation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(relationship) describes any kind of relationship or linkage amongst a specified group of participants.</a:documentation>
      <optional>
        <ref name="desc"/>
      </optional>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="relation-constraint-activemutual">
        <rule context="tei:relation">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@active and @mutual">Only one of the attributes
	'active' and 'mutual' may be supplied</report>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="relation-constraint-activepassive">
        <rule context="tei:relation">
          <report xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@passive and not(@active)">the attribute 'passive'
	may be supplied only if the attribute 'active' is
	supplied</report>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="personal">
          <a:documentation>categorizes the relationship in some respect, e.g. as social, personal or other.
Suggested values include: 1] social; 2] personal; 3] other</a:documentation>
          <choice>
            <value>social</value>
            <a:documentation>relationship concerned with social roles</a:documentation>
            <value>personal</value>
            <a:documentation>relationship concerned with personal roles, e.g. kinship, marriage, etc.</a:documentation>
            <value>other</value>
            <a:documentation>other kinds of relationship</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name for the kind of relationship of which this is an instance.</a:documentation>
        <data type="Name"/>
      </attribute>
      <optional>
        <attribute name="passive">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the passive participants in a non-mutual relationship.</a:documentation>
          <list>
            <data type="anyURI"/>
            <zeroOrMore>
              <data type="anyURI"/>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <choice>
        <optional>
          <attribute name="active">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the active participants in a non-mutual relationship, or all the participants in a mutual
                    one.</a:documentation>
            <list>
              <data type="anyURI"/>
              <zeroOrMore>
                <data type="anyURI"/>
              </zeroOrMore>
            </list>
          </attribute>
        </optional>
        <optional>
          <attribute name="mutual">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a list of participants amongst all of whom the relationship holds equally.</a:documentation>
            <list>
              <data type="anyURI"/>
              <zeroOrMore>
                <data type="anyURI"/>
              </zeroOrMore>
            </list>
          </attribute>
        </optional>
      </choice>
      <empty/>
    </element>
  </define>
  <define name="residence">
    <element name="residence">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(residence) describes a person's present or past places of residence.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="sex">
    <element name="sex">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sex of a person.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.datable.attributes"/>
      <optional>
        <attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
            <value>0</value>
            <value>1</value>
            <value>2</value>
            <value>9</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="socecStatus">
    <element name="socecStatus">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(socio-economic status) contains an informal description of a person's perceived social or economic status.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <optional>
        <attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification system or taxonomy in use.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="code">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a status code defined within the classification system or taxonomy defined by the source attribute.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="trait">
    <element name="trait">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of some culturally-determined and in principle unchanging characteristic attributed to a person or place .</a:documentation>
      <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <oneOrMore>
          <ref name="trait"/>
        </oneOrMore>
        <group>
          <zeroOrMore>
            <ref name="model.headLike"/>
          </zeroOrMore>
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="model.noteLike"/>
              <ref name="model.biblLike"/>
            </choice>
          </zeroOrMore>
        </group>
        <group>
          <zeroOrMore>
            <choice>
              <ref name="model.labelLike"/>
              <ref name="model.noteLike"/>
              <ref name="model.biblLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attributes"/>
      <ref name="att.datable.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.naming.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="formula">
    <element name="formula">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a mathematical or other formula.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.graphicLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="notation">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of a previously defined notation used for the content of the element.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="figure">
    <element name="figure">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups elements representing or containing graphic information such as an illustration or
    figure.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <ref name="model.headLike"/>
          <ref name="model.pLike"/>
          <ref name="figDesc"/>
          <ref name="model.graphicLike"/>
          <ref name="model.egLike"/>
          <ref name="model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="figDesc">
    <element name="figDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <ref name="macro.limitedContent"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="facsimile">
    <element name="facsimile">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a representation of some written source in the form of
a set of images rather than as transcribed or encoded text.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <optional>
          <ref name="front"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="model.graphicLike"/>
            <ref name="surface"/>
          </choice>
        </oneOrMore>
        <optional>
          <ref name="back"/>
        </optional>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="att.global.facs.attributes">
    <ref name="att.global.facs.attribute.facs"/>
  </define>
  <define name="att.global.facs.attribute.facs">
    <optional>
      <attribute name="facs">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(facsimile) points to all or part of an image which corresponds with the content of the element.</a:documentation>
        <list>
          <data type="anyURI"/>
          <zeroOrMore>
            <data type="anyURI"/>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="surface">
    <element name="surface">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="zone"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.coordinated.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="att.coordinated.attributes">
    <ref name="att.coordinated.attribute.start"/>
    <ref name="att.coordinated.attribute.ulx"/>
    <ref name="att.coordinated.attribute.uly"/>
    <ref name="att.coordinated.attribute.lrx"/>
    <ref name="att.coordinated.attribute.lry"/>
    <ref name="att.coordinated.attribute.points"/>
  </define>
  <define name="att.coordinated.attribute.start">
    <optional>
      <attribute name="start">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the element within a transcription of the text
containing at least the start of the writing represented by this zone
or surface.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.coordinated.attribute.ulx">
    <optional>
      <attribute name="ulx">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the x coordinate value for the upper left corner of a
rectangular space.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.coordinated.attribute.uly">
    <optional>
      <attribute name="uly">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the y coordinate value for the upper left corner of a
rectangular space.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.coordinated.attribute.lrx">
    <optional>
      <attribute name="lrx">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the x coordinate value for the lower right corner of a
rectangular space.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.coordinated.attribute.lry">
    <optional>
      <attribute name="lry">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the y coordinate value for the lower right corner of a
rectangular space.</a:documentation>
        <choice xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
          <data type="double"/>
          <data type="token">
            <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
          </data>
          <data type="decimal"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.coordinated.attribute.points">
    <optional>
      <attribute name="points">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a non-rectangular area within the bounding box
specified by the other attributes  by specifying
a series of pairs of numbers, each of which gives the x,y coordinates
of a point on a line defining the non-rectangular area.</a:documentation>
        <list>
          <data type="token">
            <param name="pattern">(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)</param>
          </data>
          <data type="token">
            <param name="pattern">(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)</param>
          </data>
          <data type="token">
            <param name="pattern">(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)</param>
          </data>
          <zeroOrMore>
            <data type="token">
              <param name="pattern">(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)</param>
            </data>
          </zeroOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="zone">
    <element name="zone">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a rectangular area contained within a surface
element. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.graphicLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.coordinated.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="addSpan">
    <element name="addSpan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(added span of text) marks the beginning of a longer sequence of text added by an
  author, scribe, annotator or corrector (see also add).</a:documentation>
      <empty/>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="addSpan-constraint-spanTo">
        <rule context="tei:addSpan">
          <sch:assert xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@spanTo">The spanTo= attribute of <sch:name/> is required.</sch:assert>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="addSpan-constraint-spanTo_fr">
        <rule context="tei:addSpan">
          <sch:assert xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@spanTo">L'attribut spanTo est requis.</sch:assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="damage">
    <element name="damage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an area of damage to the text witness.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.damaged.attribute.hand"/>
      <ref name="att.damaged.attribute.agent"/>
      <ref name="att.damaged.attribute.degree"/>
      <ref name="att.damaged.attribute.group"/>
      <ref name="att.dimensions.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="damageSpan">
    <element name="damageSpan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(damaged span of text) marks the beginning of a longer sequence of text which is
  damaged in some way but still legible.</a:documentation>
      <empty/>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="damageSpan-constraint-spanTo">
        <rule context="tei:damageSpan">
          <assert xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@spanTo">The spanTo= attribute of
	<name/> is required.</assert>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="damageSpan-constraint-spanTo_fr">
        <rule context="tei:damageSpan">
          <assert xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@spanTo">L'attribut spanTo est requis.</assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.damaged.attribute.hand"/>
      <ref name="att.damaged.attribute.agent"/>
      <ref name="att.damaged.attribute.degree"/>
      <ref name="att.damaged.attribute.group"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="delSpan">
    <element name="delSpan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <empty/>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="delSpan-constraint-spanTo">
        <rule context="tei:delSpan">
          <assert xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@spanTo">The spanTo= attribute of <name/>
      is required.</assert>
        </rule>
      </pattern>
      <pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="delSpan-constraint-spanTo_fr">
        <rule context="tei:delSpan">
          <assert xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron" test="@spanTo">L'attribut spanTo est requis.</assert>
        </rule>
      </pattern>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="ex">
    <element name="ex">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(editorial expansion) contains a sequence of letters added by an editor or
  transcriber when expanding an abbreviation.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="fw">
    <element name="fw">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(forme work) contains a running head (e.g. a header, footer), catchword, or
  similar material appearing on the current page.</a:documentation>
      <ref name="macro.phraseSeq"/>
      <ref name="att.global.attributes"/>
      <ref name="att.placement.attributes"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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) </a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="gb">
    <element name="gb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (gathering begins) marks the point in a transcribed codex at which a new
  gathering or quire begins.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.spanning.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="handNotes">
    <element name="handNotes">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one or more handNote elements documenting the
different hands identified within the source texts.</a:documentation>
      <oneOrMore>
        <ref name="handNote"/>
      </oneOrMore>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="handShift">
    <element name="handShift">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the beginning of a sequence of text written in a new
hand, or the beginning of a scribal stint.</a:documentation>
      <empty/>
      <ref name="att.global.attributes"/>
      <ref name="att.handFeatures.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="new">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the new hand.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="am">
    <element name="am">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <text/>
          <ref name="model.gLike"/>
          <ref name="model.pPart.transcriptional"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="restore">
    <element name="restore">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates restoration of text to an earlier state by
cancellation of an editorial or authorial marking or instruction.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="space">
    <element name="space">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of a significant space in the copy text.</a:documentation>
      <zeroOrMore xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <ref name="model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attributes"/>
      <ref name="att.dimensions.attributes"/>
      <optional>
        <attribute name="dim">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(dimension) indicates whether the space is horizontal or vertical.</a:documentation>
          <choice>
            <value>horizontal</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the space is horizontal.</a:documentation>
            <value>vertical</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the space is vertical.</a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="resp">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates the individual responsible for identifying and measuring
the space.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="subst">
    <element name="subst">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.</a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <group>
          <ref name="model.pPart.transcriptional"/>
        </group>
        <oneOrMore>
          <ref name="model.pPart.transcriptional"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="supplied">
    <element name="supplied">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">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.</a:documentation>
      <ref name="macro.paraContent"/>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="reason" a:defaultValue="unknown">
        <a:documentation>indicates why the text has had to be supplied.</a:documentation>
        <list>
          <choice>
            <value>omitted</value>
            <a:documentation/>
            <value>illegible</value>
            <a:documentation/>
            <value>damage</value>
            <a:documentation/>
            <value>unknown</value>
            <a:documentation/>
          </choice>
          <zeroOrMore>
            <choice>
              <value>omitted</value>
              <a:documentation/>
              <value>illegible</value>
              <a:documentation/>
              <value>damage</value>
              <a:documentation/>
              <value>unknown</value>
              <a:documentation/>
            </choice>
          </zeroOrMore>
        </list>
      </attribute>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="surplus">
    <element name="surplus">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (Texte superflu) marks text present in the source which the editor believes to
  be superfluous or redundant.</a:documentation>
      <ref name="macro.paraContent"/>
      <ref name="att.global.attributes"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.dimensions.attributes"/>
      <ref name="att.responsibility.attributes"/>
      <optional>
        <attribute name="reason">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the grounds for believing this text to be superfluous.</a:documentation>
          <list>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
            <zeroOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </zeroOrMore>
          </list>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="g">
    <element name="g">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character or glyph) represents a non-standard character or glyph.</a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
        <attribute name="ref">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a description of the character or glyph intended.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="char">
    <element name="char">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character) provides descriptive information about a character. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <optional>
          <ref name="charName"/>
        </optional>
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="charProp"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="mapping"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="figure"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.noteLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="charName">
    <element name="charName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character name) contains the name of a character, expressed following Unicode conventions. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="charProp">
    <element name="charProp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character property) provides a name and value for some property of the parent character or glyph. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <choice>
          <ref name="unicodeName"/>
          <ref name="localName"/>
        </choice>
        <ref name="value"/>
      </group>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="charDecl">
    <element name="charDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character declarations) provides information about nonstandard characters and glyphs. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <optional>
          <ref name="desc"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="char"/>
            <ref name="glyph"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="glyph">
    <element name="glyph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character glyph) provides descriptive information about a character glyph. </a:documentation>
      <group xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:s="http://www.ascc.net/xml/schematron">
        <optional>
          <ref name="glyphName"/>
        </optional>
        <zeroOrMore>
          <ref name="model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="charProp"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="mapping"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="figure"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="model.noteLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="glyphName">
    <element name="glyphName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character glyph name) contains the name of a glyph, expressed following Unicode conventions for character names. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="localName">
    <element name="localName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(locally-defined property name) contains a locally defined name for some property. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="mapping">
    <element name="mapping">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(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.
</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
    </element>
  </define>
  <define name="unicodeName">
    <element name="unicodeName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unicode property name) contains the name of a registered Unicode normative or informative property. </a:documentation>
      <text/>
      <ref name="att.global.attributes"/>
      <optional>
        <attribute name="version">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the Unicode Standard in which this property name is
        defined.</a:documentation>
          <data type="token">
            <param name="pattern">[\d]+(\.[\d]+){0,2}</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="value">
    <element name="value">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value) contains a single value for some property, attribute, or other
  analysis.</a:documentation>
      <ref name="macro.xtext"/>
      <ref name="att.global.attributes"/>
      <empty/>
    </element>
  </define>
  <start>
    <choice>
      <ref name="TEI"/>
      <ref name="msDesc"/>
      <ref name="teiHeader"/>
    </choice>
  </start>
</grammar>
