<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         xmlns:tei="http://www.tei-c.org/ns/1.0"
         xmlns:teix="http://www.tei-c.org/ns/Examples"
         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 2026-06-05T18:25:20Z. . 
TEI Edition: P5 Version 4.10.2. Last updated on 4th September 2025, revision bcfa98f42 
TEI Edition Location: https://www.tei-c.org/Vault/P5/4.10.2/ 
  
--><!-- This file is licensed under a  CC BY-NC_ND 4.0 license , which means that it is freely downloadable without permission under the following conditions: (1) credit must be given to the author and LEMDO in any subsequent use of the files and/or data; (2) the content cannot be adapted or repurposed (except in quotations for the purposes of academic review and citation); and (3) commercial uses are not permitted without the knowledge and consent of the editor and LEMDO. This license allows for pedagogical use of the documentation in the classroom.-->
   <define name="macro.paraContent">
      <zeroOrMore>
         <choice>
            <text/>
            <ref name="model.paraPart"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="macro.limitedContent">
      <zeroOrMore>
         <choice>
            <text/>
            <ref name="model.limitedPhrase"/>
            <ref name="model.inter"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="macro.phraseSeq">
      <zeroOrMore>
         <choice>
            <text/>
            <ref name="model.gLike"/>
            <ref name="model.attributable"/>
            <ref name="model.phrase"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="macro.phraseSeq.limited">
      <zeroOrMore>
         <choice>
            <text/>
            <ref name="model.limitedPhrase"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="macro.specialPara">
      <zeroOrMore>
         <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>
         <choice>
            <text/>
            <ref name="model.gLike"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="anyElement_xenoData_1">
      <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>
            <attribute>
               <anyName/>
            </attribute>
         </zeroOrMore>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="anyElement_xenoData_1"/>
            </choice>
         </zeroOrMore>
      </element>
   </define>
   <define name="anyElement_egXML_2">
      <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>
            <attribute>
               <anyName/>
            </attribute>
         </zeroOrMore>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="anyElement_egXML_2"/>
            </choice>
         </zeroOrMore>
      </element>
   </define>
   <define name="anyElement_constraintDecl_3">
      <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>
            <attribute>
               <anyName/>
            </attribute>
         </zeroOrMore>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="anyElement_constraintDecl_3"/>
            </choice>
         </zeroOrMore>
      </element>
   </define>
   <define name="att.anchoring.attribute.targetEnd">
      <optional>
         <attribute name="targetEnd">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target end) points to the end of the span to which the note is attached, if the note is not embedded in the text at that point.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </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>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.breaking.attributes">
      <ref name="att.breaking.attribute.break"/>
   </define>
   <define name="att.breaking.attribute.break">
      <optional>
         <attribute name="break">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether or not the element bearing this attribute should be considered to mark the end of an orthographic token in the same way as whitespace.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.canonical.attributes">
      <ref name="att.canonical.attribute.ref"/>
   </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 or identity for the entity being named by means of one or more URIs.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.cmc.attributes">
      <ref name="att.cmc.attribute.generatedBy"/>
   </define>
   <define name="att.cmc.attribute.generatedBy">
      <optional>
         <attribute name="generatedBy">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(generated by) categorizes how the content of an element was generated in a CMC environment.
Suggested values include: 1] human; 2] template; 3] system; 4] bot; 5] unspecified</a:documentation>
            <choice>
               <value>human</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content was naturally typed or spoken by a human user</a:documentation>
               <value>template</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content was generated after a human user activated a template for its insertion</a:documentation>
               <value>system</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content was generated by the system, i.e. the CMC environment</a:documentation>
               <value>bot</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content was generated by a bot, i.e. a non-human agent, typically one that is not part of the CMC environment itself</a:documentation>
               <value>unspecified</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content was generated by an unknown or unspecified process</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </choice>
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.cmc-generatedBy-CMC_generatedBy_within_post-constraint-rule-1">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@generatedBy]">
         <sch:assert test="ancestor-or-self::tei:post">The @generatedBy attribute is for use within a &lt;post&gt; element.</sch:assert>
      </sch:rule>
   </pattern>
   <define name="att.datable.w3c.attributes">
      <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.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>
               <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>
               <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>
               <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>
               <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>
               <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>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.datable.w3c-att-datable-w3c-when-constraint-rule-2">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@when]">
         <sch:report test="@notBefore|@notAfter|@from|@to" role="nonfatal">The @when attribute cannot be used with any other att.datable.w3c attributes.</sch:report>
      </sch:rule>
   </pattern>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.datable.w3c-att-datable-w3c-from-constraint-rule-3">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@from]">
         <sch:report test="@notBefore" role="nonfatal">The @from and @notBefore attributes cannot be used together.</sch:report>
      </sch:rule>
   </pattern>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.datable.w3c-att-datable-w3c-to-constraint-rule-4">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@to]">
         <sch:report test="@notAfter" role="nonfatal">The @to and @notAfter attributes cannot be used together.</sch:report>
      </sch:rule>
   </pattern>
   <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.</a:documentation>
            <choice>
               <value>IML-TEI</value>
               <a:documentation>(IML to TEI The text has been programmatically converted from IML to LEMDO TEI via a series of transformations. The file is a .xml file. There are stray IML tags in these texts that we retain until we have proofed the TEI. The transcription may have been checked by an ISE editor but LEMDO has not yet checked it.) </a:documentation>
               <value>IML-TEI_INP</value>
               <a:documentation>(IML-to-TEI In Progress The programmatic conversion is in the process of being carefully checked and remediated by a LEMDO team member. The file is a .xml file.) </a:documentation>
               <value>IML-TEI_proofed</value>
               <a:documentation>(IML-to-TEI Proofed The programmatic conversion has been carefully checked and fully remediated by a LEMDO team member and/or an editor or anthology lead. The file is now ready for peer review (or for publication without peer review).) </a:documentation>
               <value>IML-TEI_proofing</value>
               <a:documentation>(IML-to-TEI Ready for Proofing The fully remediated file is ready for proofing or in the process of being proofed by a LEMDO team member, editor, or anthology lead.) </a:documentation>
               <value>TCP-TEI</value>
               <a:documentation>(TCP-to-TEI The text has been programmatically converted from TCP TEI P4 to LEMDO TEI (P5) via a series of transformations. The file is a .xml file. The transcription is only as correct as the underlying TCP transcription (which contains gaps, errors, and normalized long s characters). The TCP metadata is retained. This category is only for documents that also have the document type ldt:primary (but not ldt:primaryModern).) </a:documentation>
               <value>TCP-TEI_INP</value>
               <a:documentation>(TCP to TEI In Progress The text has been programmatically converted from TCP TEI P4 to LEMDO TEI (P5) via a series of transformations. The file is in the process of being carefully corrected, remediated, and proofed by a LEMDO team member. The file is a .xml file. This category is only for documents that also have the document type ldt:primary.) </a:documentation>
               <value>TCP-TEI_proofed</value>
               <a:documentation>(TCP to TEI Proofed This semi-diplomatic text has been programmatically converted from TCP TEI P4 to LEMDO TEI (P5) via a series of transformations and carefully corrected, remediated, and proofed by a LEMDO team member. The file is a .xml file. The transcription has been corrected; gaps have been supplied; the long s has been restored. The TEI tagging has been checked and corrected by a LEMDO team member. This category is only for documents that also have the document type ldt:primary.) </a:documentation>
               <value>TCP-TEI_proofing</value>
               <a:documentation>(TCP-to-TEI Ready for Proofing The fully remediated file is ready for proofing or in the process of being proofed by a LEMDO team member, editor, or anthology lead.) </a:documentation>
               <value>TEI_INP</value>
               <a:documentation>(TEI in Progress The text is being encoded in TEI.) </a:documentation>
               <value>TEI_collating</value>
               <a:documentation>(TEI Collation in Progress A modernized text has been created from other sources, but has not yet been remediated to fix e.g. capitalization issues or speech prefixes.) </a:documentation>
               <value>TEI_proofed</value>
               <a:documentation>(TEI Proofed The text is finished in TEI and proofed.) </a:documentation>
               <value>TEI_proofing</value>
               <a:documentation>(TEI Ready for Proofing The fully remediated file is ready for proofing or in the process of being proofed by a LEMDO team member, editor, or anthology lead.) </a:documentation>
               <value>deprecated</value>
               <a:documentation>(Deprecated This document is no longer relevant or has been superseded, but is being preserved as part of LEMDO’s digital archive.) </a:documentation>
               <value>draft</value>
               <a:documentation>(Draft Files that are being drafted.) </a:documentation>
               <value>empty</value>
               <a:documentation>(Empty Files that are empty (have no content other than a minimal TEI Header).) </a:documentation>
               <value>peerReviewed</value>
               <a:documentation>(Peer-reviewed Files that have been peer reviewed.) </a:documentation>
               <value>prgGenerated</value>
               <a:documentation>(Programmatically Generated Files that are programmatically generated using xslt. Most such files are documentation or apparatus files.) </a:documentation>
               <value>published</value>
               <a:documentation>(Published Files that have been published.) </a:documentation>
               <value>publishedWithPeerReview</value>
               <a:documentation>(Published with peer review Files that have been published after being peer-reviewed.) </a:documentation>
               <value>publishedWithoutPeerReview</value>
               <a:documentation>(Published without peer review Files that have been published before being peer-reviewed.) </a:documentation>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.editLike.attributes">
      <ref name="att.editLike.attribute.evidence"/>
   </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>
               <oneOrMore>
                  <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="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </choice>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.edition.attributes">
      <ref name="att.edition.attribute.ed"/>
      <ref name="att.edition.attribute.edRef"/>
   </define>
   <define name="att.edition.attribute.ed">
      <optional>
         <attribute name="ed">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) supplies a sigil or other arbitrary identifier for the source edition in which the associated feature (for example, a page, column, or line beginning) occurs at this point in the text.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.edition.attribute.edRef">
      <optional>
         <attribute name="edRef">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition reference) provides a pointer to the source edition in which the associated feature (for example, a page, column, or line beginning) occurs at this point in the text.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.fragmentable.attributes">
      <ref name="att.fragmentable.attribute.part"/>
   </define>
   <define name="att.fragmentable.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 its parent element is fragmented in some way, typically by some other overlapping structure: for example a speech which is divided between two or more verse stanzas, a paragraph which is split across a page division, a verse line which is divided between two speakers.</a:documentation>
            <choice>
               <value>Y</value>
               <a:documentation>(yes) the element is fragmented in some (unspecified) respect</a:documentation>
               <value>N</value>
               <a:documentation>(no) the element is not fragmented, or no claim is made as to its completeness</a:documentation>
               <value>I</value>
               <a:documentation>(initial) this is the initial part of a fragmented element</a:documentation>
               <value>M</value>
               <a:documentation>(medial) this is a medial part of a fragmented element</a:documentation>
               <value>F</value>
               <a:documentation>(final) this is the final part of a fragmented element</a:documentation>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.global.rendition.attributes">
      <ref name="att.global.rendition.attribute.rend"/>
      <ref name="att.global.rendition.attribute.style"/>
      <ref name="att.global.rendition.attribute.rendition"/>
   </define>
   <define name="att.global.rendition.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>
               <oneOrMore>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.global.rendition.attribute.style">
      <optional>
         <attribute name="style">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an expression in some formal style definition language which defines the rendering or presentation used for this element in the source text.</a:documentation>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.global.rendition.attribute.rendition">
      <optional>
         <attribute name="rendition">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a description of the rendering or presentation used for this element in the source text.
Suggested values include: 1] rnd:blackletter (blackletter); 2] rnd:bold (bold); 3] rnd:block (block); 4] rnd:centre (centre); 5] rnd:dropcap (dropcap); 6] rnd:inline (inline); 7] rnd:inline-block (inline-block); 8] rnd:italic (italic); 9] rnd:justify (justify); 10] rnd:left (left); 11] rnd:indent (indent); 12] rnd:letterspace (letterspace); 13] rnd:monospace (monospace); 14] rnd:normalstyle (normalstyle); 15] rnd:normal (normal); 16] rnd:roman (roman); 17] rnd:right (right); 18] rnd:rightAdjacent (rightAdjacent); 19] rnd:rules (rules); 20] rnd:smallcaps (smallcaps); 21] rnd:strikethrough (strikethrough); 22] rnd:subscript (subscript); 23] rnd:superscript (superscript); 24] rnd:underline (underline); 25] rnd:uppercase (uppercase); 26] rnd:xx-small (xx-small); 27] rnd:x-small (x-small); 28] rnd:small (small); 29] rnd:medium (medium); 30] rnd:large (large); 31] rnd:x-large (x-large); 32] rnd:xx-large (xx-large); 33] rnd:ligature (ligature); 34] rnd:numbered (numbered); 35] rnd:bulleted (bulleted); 36] rnd:simple (simple)</a:documentation>
            <list>
               <oneOrMore>
                  <choice>
                     <value>rnd:blackletter</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(blackletter) </a:documentation>
                     <value>rnd:bold</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(bold) </a:documentation>
                     <value>rnd:block</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(block) </a:documentation>
                     <value>rnd:centre</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centre) </a:documentation>
                     <value>rnd:dropcap</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(dropcap) </a:documentation>
                     <value>rnd:inline</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inline) </a:documentation>
                     <value>rnd:inline-block</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inline-block) </a:documentation>
                     <value>rnd:italic</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(italic) </a:documentation>
                     <value>rnd:justify</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(justify) </a:documentation>
                     <value>rnd:left</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(left) </a:documentation>
                     <value>rnd:indent</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(indent) </a:documentation>
                     <value>rnd:letterspace</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(letterspace) </a:documentation>
                     <value>rnd:monospace</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(monospace) </a:documentation>
                     <value>rnd:normalstyle</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(normalstyle) </a:documentation>
                     <value>rnd:normal</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(normal) </a:documentation>
                     <value>rnd:roman</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(roman) </a:documentation>
                     <value>rnd:right</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(right) </a:documentation>
                     <value>rnd:rightAdjacent</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rightAdjacent) </a:documentation>
                     <value>rnd:rules</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rules) </a:documentation>
                     <value>rnd:smallcaps</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(smallcaps) </a:documentation>
                     <value>rnd:strikethrough</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(strikethrough) </a:documentation>
                     <value>rnd:subscript</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(subscript) </a:documentation>
                     <value>rnd:superscript</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(superscript) </a:documentation>
                     <value>rnd:underline</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(underline) </a:documentation>
                     <value>rnd:uppercase</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uppercase) </a:documentation>
                     <value>rnd:xx-small</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(xx-small) </a:documentation>
                     <value>rnd:x-small</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(x-small) </a:documentation>
                     <value>rnd:small</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(small) </a:documentation>
                     <value>rnd:medium</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(medium) </a:documentation>
                     <value>rnd:large</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(large) </a:documentation>
                     <value>rnd:x-large</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(x-large) </a:documentation>
                     <value>rnd:xx-large</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(xx-large) </a:documentation>
                     <value>rnd:ligature</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ligature) </a:documentation>
                     <value>rnd:numbered</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(numbered) </a:documentation>
                     <value>rnd:bulleted</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(bulleted) </a:documentation>
                     <value>rnd:simple</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(simple) </a:documentation>
                     <data type="anyURI">
                        <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                     </data>
                  </choice>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@rendition]">
         <sch:assert test="not(root(.)/*[self::tei:div[@xml:id] or @xml:id='lemdo_odd'])">ERROR: the @rendition attribute should not be used
                                 on TEI elements in documentation.
                                 </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@rendition][ancestor::tei:TEI]">
         <sch:let name="rndRegex"
                  value="'^rnd:((blackletter)|(bold)|(block)|(centre)|(dropcap)|(inline)|(inline-block)|(italic)|(justify)|(left)|(indent)|(letterspace)|(monospace)|(normalstyle)|(normal)|(roman)|(right)|(rightAdjacent)|(rules)|(smallcaps)|(strikethrough)|(subscript)|(superscript)|(underline)|(uppercase)|(xx-small)|(x-small)|(small)|(medium)|(large)|(x-large)|(xx-large)|(ligature)|(numbered)|(bulleted)|(simple))$'"/>
         <sch:let name="ptrs" value="tokenize(@rendition,'\s+')"/>
         <sch:let name="hashPtrs" value="$ptrs[starts-with(.,'#')]"/>
         <sch:let name="others" value="$ptrs[not(starts-with(.,'#'))]"/>
         <sch:let name="badHashes"
                  value="for $h in $hashPtrs return if ($renditions[@xml:id=substring-after($h,'#')]) then () else $h"/>
         <sch:let name="badPtrs"
                  value="for $o in $others return if (not(matches($o,$rndRegex))) then $o else ()"/>
         <sch:assert test="empty($badPtrs)">
                                 ERROR: Bad pointer: <sch:value-of select="string-join($badPtrs,', ')"/>. Only point to predefined renditions using the rnd: pointer scheme. 
                              </sch:assert>
         <sch:assert test="empty($badHashes)">
                                 ERROR: Bad pointer: <sch:value-of select="string-join($badHashes,', ')"/>. All locally defined rendition pointers must point to a rendition declared in the teiHeader.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[matches(@rendition,'rnd:(numbered|bulleted|simple)')]">
         <sch:assert test="self::tei:list">
                                 ERROR: The renditions rnd:numbered, rnd:bulleted, and rnd:simple are only meant to be used on lists.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@style]">
         <sch:assert test="not(starts-with(@style,'rnd:'))">
                                 ERROR: Style attributes should be CSS; use @rendition if you want to point to a defined rendition.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:rendition[@selector]">
         <sch:let name="selectorString" value="normalize-space(@selector)"/>
         <sch:let name="hasError"
                  value="if (matches($selectorString,'=[^''\]]+\]')) then true() else false()"/>
         <sch:assert test="not($hasError)">ERROR: @selector syntax wrong: ensure that you put quotation marks around the attribute
                                 values.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@style] | tei:rendition">
         <sch:let name="text"
                  value="if (local-name(.)='rendition') then normalize-space(string-join(text(), '')) else xs:string(@style)"/>
         <sch:let name="rules" value="tokenize(normalize-space($text), '\s*;\s*')"/>
         <sch:assert test="not(matches($text, 'centre'))"> ERROR: CSS uses 'center’, not
                                 'centre’. </sch:assert>
         <sch:assert test="not(matches($text, 'align-items')) or not(matches($text, 'align-items\s*:\s*((left)|(right))\s*;'))">
                                    ERROR: invalid value for property 'align-items'. See https://developer.mozilla.org/en-US/docs/Web/CSS/align-items for a listing of permitted values.
                                 </sch:assert>
         <sch:assert test="not(matches($text, 'align-content')) or not(matches($text, 'align-content\s*:\s*((left)|(right))\s*;'))">
                                    ERROR: invalid value for property 'align-content'. See https://developer.mozilla.org/en-US/docs/Web/CSS/align-content for a listing of permitted values.
                                 </sch:assert>
         <sch:assert test="not(matches($text, 'justify-items')) or not(matches($text, 'justify-items\s*:\s*((right)|(left))\s*;'))">
                                    ERROR: invalid value for property 'justify-items'. See https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items for a listing of permitted values.
                                 </sch:assert>
         <sch:assert test="not(matches($text, ','))"> ERROR: Use a semi-colon, not a comma, to separate CSS properties.</sch:assert>
         <sch:assert test="self::tei:graphic or not(matches($text, 'px'))"> ERROR: Do not use pixel units. Use
                                 ems or percentages, or for line widths use points (pt). </sch:assert>
         <sch:assert test="not(matches($text, 'italics'))"> ERROR: It’s 'italic’, not
                                 'italics’. </sch:assert>
         <sch:assert test="not(matches($text, 'padding(-[^\s]+)?\s*:\s*-'))"> ERROR:
                                 Padding values cannot be negative. </sch:assert>
         <sch:assert test="not(matches($text, '\d\s+em(;|$)'))"> ERROR: There is no space
                                 between the number and the unit ('3em;', not ’3 em;'). </sch:assert>
         <sch:assert test="not(contains($text, '='))"> ERROR: Don’t use the equals sign
                                 in CSS code. </sch:assert>
         <sch:assert test="not(matches($text, 'float:\s*center'))"> ERROR: You cannot
                                 float center in CSS. </sch:assert>
         <sch:assert test="not(@style) or string-length(normalize-space(@style)) gt 0"> ERROR: @style
                                 should not be empty. </sch:assert>
         <sch:assert test="not(@style) or matches(@style, ';\s*$')"> ERROR: @style should end with a
                                 semi-colon. </sch:assert>
         <sch:assert test="every $r in $rules satisfies (($r = '') or (matches($r, '^[a-z\-]+\s*:\s*.+')))"> ERROR: Syntax error in your CSS. </sch:assert>
         <sch:assert test="not(matches($text,'::+|:\s*[^;]*\s:\s*'))"> ERROR: Do not use multiple colons
                                 in your CSS. If you attempting to use a pseudo-selector, speak with a
                                 programmer. </sch:assert>
         <sch:assert test="(not(self::tei:rendition) and matches(normalize-space($text),'[A-Za-z\d;%]$')) or (self::tei:rendition and (string-length(normalize-space(.)) eq 0 or matches(normalize-space($text),'[A-Za-z\d;%]$')))"> ERROR:
                                 Syntax error at the end of your CSS. </sch:assert>
         <sch:assert test="(not(self::tei:rendition) and not(matches(normalize-space($text),'font-variant:\s*small\s*caps'))) or (self::tei:rendition and (string-length(normalize-space(.)) eq 0 or not(matches(normalize-space($text),'font-variant:\s*small\s*caps'))))">
                                 ERROR: CSS syntax error: small-caps is a hyphenated compound. </sch:assert>
         <sch:assert test="(not(self::tei:rendition) and not(matches(normalize-space($text),'-margin'))) or (self::tei:rendition and (string-length(normalize-space(.)) eq 0 or not(matches(normalize-space($text),'-margin'))))"> ERROR: Margin
                                 properties begin with "margin". </sch:assert>
         <sch:assert test="(not(self::tei:rendition) and not(matches(normalize-space($text),'font-style:\s*small[\s-]*caps'))) or (self::tei:rendition and (string-length(normalize-space(.)) eq 0 or not(matches(normalize-space($text),'font-style:\s*small[\s-]*caps'))))">
                                 ERROR: Use font-variant, not font-style, for small-caps. </sch:assert>
         <sch:assert test="(not(self::tei:rendition) and not(matches(normalize-space($text),'font-size:\s*-?[1-9]\d*;'))) or (self::tei:rendition and (string-length(normalize-space(.)) eq 0 or not(matches(normalize-space($text),'font-size:\s*-?[1-9]\d*;'))))">
                                 ERROR: Only 0 can be without unit for font-size; make sure to use a unit (%,
                                 rem, em) after your font-size. </sch:assert>
      </sch:rule>
   </sch:pattern>
   <define name="att.global.responsibility.attributes">
      <ref name="att.global.responsibility.attribute.cert"/>
      <ref name="att.global.responsibility.attribute.resp"/>
   </define>
   <define name="att.global.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>
               <value>high</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>medium</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>low</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>unknown</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.global.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>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.global.source.attributes">
      <ref name="att.global.source.attribute.source"/>
   </define>
   <define name="att.global.source.attribute.source">
      <optional>
         <attribute name="source">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the source from which some aspect of this element is drawn.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.global.source-source-only_1_ODD_source-constraint-rule-11">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@source]">
         <sch:let name="srcs" value="tokenize( normalize-space(@source),' ')"/>
         <sch:report test="(   self::tei:classRef                                 | self::tei:dataRef                                 | self::tei:elementRef                                 | self::tei:macroRef                                 | self::tei:moduleRef                                 | self::tei:schemaSpec )                                   and                                   $srcs[2]">
              When used on a schema description element (like
              <sch:value-of select="name(.)"/>), the @source attribute
              should have only 1 value. (This one has <sch:value-of select="count($srcs)"/>.)
            </sch:report>
      </sch:rule>
   </pattern>
   <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>
            <list>
               <oneOrMore>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.notated.attributes">
      <ref name="att.notated.attribute.notation"/>
   </define>
   <define name="att.notated.attribute.notation">
      <optional>
         <attribute name="notation">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the notation used for the content of the element.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </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">specifies where this item is placed.</a:documentation>
            <choice>
               <value>plc-right</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right / Droite) A generic place value for anything to the right of the text or a figure, or on the right side of an otherwise empty line (in print) or space (in manuscript). Use this value for transcriptions of print or manuscript texts if your anthology is not using the more granular values of right-margin, right-inline, right-adjacent, right-top, and right-bottom. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-right-margin</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Margin / Marge-droite) In the right margin. For print texts, the right margin is a formal area to the right of the text block. For manuscripts, use your judgement about what constitutes the marginal area. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-right-inline</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Inline (Print) / Intégré-droite (Imprimé)) Within a compositorial line of a printed text and aligned to the right margin. Allowed only in print texts and in manuscript texts that are modelled on printed pages.</a:documentation>
               <value>plc-right-adjacent</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Adjacent / Adjacent-droite) Beside a speech or other literary division, inside the text block (printed texts) or close to the main text (manuscript) but not in the margin. Use this value for interjections, simultaneous speeches, and floating stage directions that span multiple lines. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-right-top</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Top / Haute-droite) At the top right of the page. For print texts, the top is the forme work area. For manuscripts, use your judgement about what constitutes the top of the page. For print folio collections, use this value to indicate placement of page numbers. For manuscripts, use this value to indicate placement of foliation numbers. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-right-bottom</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Bottom / Bas-droite) At the bottom right of the page. For print texts, the bottom is the forme work area. For manuscripts, use your judgement about what constitutes the bottom of the page. Note that catchwords are assumed to be right-bottom, so you do not need to add a place attribute and value. Allowed in print and manuscript texts. </a:documentation>
               <value>plc-left</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left / Gauche) A generic place value for anything to the left of the text or a figure, or on the left side of an otherwise empty line (in print) or space (in manuscript). Use this value for transcriptions of print or manuscript texts if your anthology is not using the more granular values of left-margin, left-inline, left-top, and left-bottom. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-left-margin</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left Margin / Marge gauche) In the left margin. For print texts, the left margin is a formal area to the left of the text block. For manuscripts, use your judgement about what constitutes the marginal area. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-left-inline</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left Inline (Print) / Intégré gauche (imprimé)) Within a compositorial line of a printed text and aligned to the left margin. Allowed only in print texts. Prohibited in manuscript texts.</a:documentation>
               <value>plc-left-top</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left Top / Haut gauche) At the top left of the page. For print texts, the top is the forme work area. For manuscripts, use your judgement about what constitutes the top of the page. For print folio collections, use this value to indicate placement of page numbers. For manuscripts, use this value to indicate placement of foliation numbers. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-left-bottom</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left Bottom / Bas gauche) At the bottom left of the page. For print texts, the bottom is the forme work area. For manuscripts, use your judgement about what constitutes the bottom of the page. Allowed in print and manuscript texts. </a:documentation>
               <value>plc-centre</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Centre / Centre) A generic place value for anything centered roughly horizontally in a line or area on the page. Use this value in any print text (regardless of anthology policy) if you want to indicate that a compositorial line is centered (e.g., Finis). Use this value for transcriptions of print or manuscript texts if your anthology is not using the more granular values of centre-top and centre-bottom. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-centre-top</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Centre Top / Centre haut) At the top centre of the page. For print texts, the top is the forme work area. For manuscripts, use your judgement about what constitutes the top of the page. Note that running titles are assumed to be centre-top, so you do not need to add a place attribute and value. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-centre-bottom</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Centre Bottom / Centre bas) At the bottom centre of the page. For print texts, the bottom is the forme work area. For manuscripts, use your judgement about what constitutes the bottom of the page. Note that signature numbers are assumed to be centre-bottom, so you do not need to add a place attribute and value. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-bottom</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Bottom / Bas) A generic place value for anything at the bottom of the page. For print texts, the bottom is the forme work area. For manuscripts, use your judgement about what constitutes the bottom of the page. Use this value for transcriptions of print or manuscript texts if your anthology is not using the more granular values of centre-bottom, left-bottom, and right-bottom. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-top</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Top / Haut) A generic place value for anything at the top of the page. For print texts, the top is the forme work area. For manuscripts, use your judgement about what constitutes the top of the page. Use this value for transcriptions of print or manuscript texts if your anthology is not using the more granular values of centre-top, left-top, and right-top. Allowed in print and manuscript texts.</a:documentation>
               <value>plc-inline</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Inline) A generic place value for anything on its own compositorial line but not aligned right, left, or centre.</a:documentation>
               <value>plc-right-above</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Above (manuscript) / Droite dessus) Above and to the right of the text, floating (possibly added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-right-below</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Right Below (manuscript) / Droite dessous) Below and to the right of the text, floating (probably added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-left-above</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left Above (manuscript) / Gauche dessus) Above and to the left of the text, floating (possibly added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-left-below</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Left Below (manuscript) / Gauche dessous) Below and to the left of the text, floating (probably added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-centre-above</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Centre Above (manuscript) / Centre dessus) Centered above the text, floating (probably added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-centre-below</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Centre Below (manuscript) / Centre dessous) Centered below the text, floating (probably added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-above</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Above (manuscript) / Dessus) A generic place value for anything above the text and floating (probably added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-below</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Below (manuscript) / Dessous) A generic place value for anything below the text and floating (probably added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-opposite</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Opposite (manuscript) / En face) A generic place value for anything on the opposite [i.e., facing] page (possibly added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-overleaf</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Overleaf (manuscript) / page d’après) A generic place value for anything on the other side of the leaf (possibly added at a later stage). Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-inspace</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Inspace (manuscript) / Intercalé) In a predefined space, [i.e., left by an earlier scribe]. Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-overwritten</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Overwritten (manuscript) / Réécrit) A generic place value for any additional material written over deleted material. Allowed only in manuscript texts. Prohibited in print texts.</a:documentation>
               <value>plc-CHECK</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(THIS VALUE NEEDS TO BE CHECKED AND REASSIGNED.) Used where there is no direct conversion from old values, so human intervention is required.</a:documentation>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.pointing.attributes">
      <ref name="att.pointing.attribute.target"/>
   </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>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.pointing-targetLang-constraint-rule-12">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[not(self::tei:schemaSpec)][@targetLang]">
         <sch:assert test="@target">@targetLang should only be used on <sch:name/> if @target is specified.</sch:assert>
      </sch:rule>
   </pattern>
   <define name="att.resourced.attributes">
      <ref name="att.resourced.attribute.url"/>
   </define>
   <define name="att.resourced.attribute.url">
      <attribute name="url">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) specifies the URL from which the media concerned may be obtained.</a:documentation>
         <data type="anyURI">
            <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
         </data>
      </attribute>
   </define>
   <define name="att.styleDef.attributes">
      <ref name="att.styleDef.attribute.scheme"/>
      <ref name="att.styleDef.attribute.schemeVersion"/>
   </define>
   <define name="att.styleDef.attribute.scheme">
      <optional>
         <attribute name="scheme">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the language used to describe the rendition.</a:documentation>
            <choice>
               <value>css</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cascading Stylesheet Language</a:documentation>
               <value>xslfo</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Extensible Stylesheet Language Formatting Objects</a:documentation>
               <value>free</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Informal free text description</a:documentation>
               <value>other</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A user-defined rendition description language</a:documentation>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.styleDef.attribute.schemeVersion">
      <optional>
         <attribute name="schemeVersion">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a version number for the style language provided in <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">@scheme</code>.</a:documentation>
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.styleDef-schemeVersion-schemeVersionRequiresScheme-constraint-rule-13">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@schemeVersion]">
         <sch:assert test="@scheme and not(@scheme = 'free')">
              @schemeVersion can only be used if @scheme is specified.
            </sch:assert>
      </sch:rule>
   </pattern>
   <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="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </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">(subtype) provides a sub-categorization of the element, if needed.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.typed-subtypeTyped-constraint-rule-14">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@subtype]">
         <sch:assert test="@type">The <sch:name/> element should not be categorized in detail with @subtype unless also categorized in general with @type</sch:assert>
      </sch:rule>
   </pattern>
   <define name="att.written.attributes">
      <ref name="att.written.attribute.hand"/>
   </define>
   <define name="att.written.attribute.hand">
      <optional>
         <attribute name="hand">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;handNote&gt;</code> element describing the hand considered responsible for the content of the element concerned.</a:documentation>
            <data type="token">
               <param name="pattern">hand:[A-Z]{4}\d+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.ascribed.directed.attributes">
      <ref name="att.ascribed.attributes"/>
      <ref name="att.ascribed.directed.attribute.toWhom"/>
   </define>
   <define name="att.ascribed.directed.attribute.toWhom">
      <optional>
         <attribute name="toWhom">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the person, or group of people, to whom a speech act or action is directed.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.datable.attributes">
      <ref name="att.datable.w3c.attributes"/>
   </define>
   <define name="att.dimensions.attributes">
      <ref name="att.dimensions.attribute.unit"/>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.extent"/>
      <ref name="att.dimensions.attribute.precision"/>
      <ref name="att.dimensions.attribute.scope"/>
   </define>
   <define name="att.dimensions.attribute.unit">
      <optional>
         <attribute name="unit">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] line; 5] char (characters)</a:documentation>
            <choice>
               <value>cm</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
               <value>mm</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
               <value>in</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
               <value>line</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
               <value>char</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </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>
               <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>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.dimensions.attribute.precision">
      <optional>
         <attribute name="precision">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the precision of the values specified by the other attributes.</a:documentation>
            <choice>
               <value>high</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>medium</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>low</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>unknown</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            </choice>
         </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="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.divLike.attributes">
      <ref name="att.fragmentable.attributes"/>
   </define>
   <define name="att.global.attributes">
      <ref name="att.global.change.attributes"/>
      <ref name="att.global.facs.attributes"/>
      <ref name="att.global.linking.attributes"/>
      <ref name="att.global.rendition.attributes"/>
      <ref name="att.global.responsibility.attributes"/>
      <ref name="att.global.source.attributes"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
   </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>
            <data type="string"/>
         </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 <a xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</a>.</a:documentation>
            <choice>
               <value>ang</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Old English) Old English (as spoken by Anglo-Saxons)</a:documentation>
               <value>ar</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Arabic) Arabic</a:documentation>
               <value>cy</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Welsh) Welsh</a:documentation>
               <value>de</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(German) German</a:documentation>
               <value>el</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Modern Greek (1453-)</a:documentation>
               <value>en</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Modern English. Only use this value in texts whose dominant language is not English.) English</a:documentation>
               <value>es</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Spanish) Spanish</a:documentation>
               <value>fa</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Persian) Persian (macrolanguage)</a:documentation>
               <value>fr</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Modern French) French</a:documentation>
               <value>frm</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Middle French (ca. 1400–1600)</a:documentation>
               <value>fro</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Old French (843–ca. 1400)</a:documentation>
               <value>ga</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Irish) Irish (i.e. Irish Gaelic)</a:documentation>
               <value>grc</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ancient Greek (to 1453)</a:documentation>
               <value>he</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hebrew</a:documentation>
               <value>it</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Italian) Italian</a:documentation>
               <value>la</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Latin) Latin</a:documentation>
               <value>nl</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Dutch) Dutch</a:documentation>
               <value>pt</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Portuguese) Portuguese</a:documentation>
               <value>rom</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Romany) Romany</a:documentation>
               <value>sq</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Albanian) Albanian</a:documentation>
               <value>no</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Norwegian) Norwegian</a:documentation>
               <value>xno</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Anglo-Norman) Anglo-Norman</a:documentation>
               <value>und</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(undetermined) Language cannot be determined or is gibberish</a:documentation>
            </choice>
         </attribute>
      </optional>
   </define>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@xml:lang]">
         <sch:assert test="not(@xml:lang='ita')">
                                ERROR: "ita" is not a valid language code. Did you mean "it" (Italian)?
                             </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@xml:lang]">
         <sch:assert test="not(@xml:lang='lat')">
                                ERROR: "lat" is not a valid language code. Did you mean "la" (Latin)?
                             </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@xml:lang]">
         <sch:assert test="not(@xml:lang='fra')">
                                ERROR: "fra" is not a valid language code. Did you mean "fr" (French)?
                             </sch:assert>
      </sch:rule>
   </sch:pattern>
   <define name="att.media.attributes">
      <ref name="att.internetMedia.attributes"/>
      <ref name="att.media.attribute.width"/>
      <ref name="att.media.attribute.height"/>
      <ref name="att.media.attribute.scale"/>
   </define>
   <define name="att.media.attribute.width">
      <optional>
         <attribute name="width">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Where the media are displayed, indicates the display width.</a:documentation>
            <data type="token">
               <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|ch|rem|vw|vh|vmin|vmax)</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.media.attribute.height">
      <optional>
         <attribute name="height">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Where the media are displayed, indicates the display height.</a:documentation>
            <data type="token">
               <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|ch|rem|vw|vh|vmin|vmax)</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.media.attribute.scale">
      <optional>
         <attribute name="scale">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Where the media are displayed, indicates a scale factor to be applied when generating the desired display size.</a:documentation>
            <choice>
               <data type="double"/>
               <data type="token">
                  <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
               </data>
               <data type="decimal"/>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.naming.attributes">
      <ref name="att.canonical.attributes"/>
      <ref name="att.naming.attribute.role"/>
   </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 in the form of a set of whitespace-separated values, for example the occupation of a person, or the status of a place.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.segLike.attributes">
      <ref name="att.fragmentable.attributes"/>
      <ref name="att.segLike.attribute.function"/>
   </define>
   <define name="att.segLike.attribute.function">
      <optional>
         <attribute name="function">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(function) characterizes the function of the segment.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.transcriptional.attributes">
      <ref name="att.editLike.attributes"/>
      <ref name="att.placement.attributes"/>
      <ref name="att.written.attributes"/>
      <ref name="att.transcriptional.attribute.cause"/>
   </define>
   <define name="att.transcriptional.attribute.cause">
      <optional>
         <attribute name="cause">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">documents the presumed cause for the intervention.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.timed.attributes">
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
   </define>
   <define name="att.timed.attribute.start">
      <optional>
         <attribute name="start">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location within a temporal alignment at which this element begins.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.timed.attribute.end">
      <optional>
         <attribute name="end">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location within a temporal alignment at which this element ends.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\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="pc"/>
         <ref name="seg"/>
      </choice>
   </define>
   <define name="model.segLike_alternation">
      <choice>
         <ref name="pc"/>
         <ref name="seg"/>
      </choice>
   </define>
   <define name="model.segLike_sequence">
      <ref name="pc"/>
      <ref name="seg"/>
   </define>
   <define name="model.segLike_sequenceOptional">
      <optional>
         <ref name="pc"/>
      </optional>
      <optional>
         <ref name="seg"/>
      </optional>
   </define>
   <define name="model.segLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="pc"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="seg"/>
      </zeroOrMore>
   </define>
   <define name="model.segLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="pc"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="seg"/>
      </oneOrMore>
   </define>
   <define name="model.hiLike">
      <choice>
         <ref name="hi"/>
         <ref name="q"/>
      </choice>
   </define>
   <define name="model.hiLike_alternation">
      <choice>
         <ref name="hi"/>
         <ref name="q"/>
      </choice>
   </define>
   <define name="model.hiLike_sequence">
      <ref name="hi"/>
      <ref name="q"/>
   </define>
   <define name="model.hiLike_sequenceOptional">
      <optional>
         <ref name="hi"/>
      </optional>
      <optional>
         <ref name="q"/>
      </optional>
   </define>
   <define name="model.hiLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="hi"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="q"/>
      </zeroOrMore>
   </define>
   <define name="model.hiLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="hi"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="q"/>
      </oneOrMore>
   </define>
   <define name="model.emphLike">
      <choice>
         <ref name="foreign"/>
         <ref name="emph"/>
         <ref name="mentioned"/>
         <ref name="soCalled"/>
         <ref name="gloss"/>
         <ref name="term"/>
         <ref name="title"/>
         <ref name="code"/>
         <ref name="ident"/>
      </choice>
   </define>
   <define name="model.emphLike_alternation">
      <choice>
         <ref name="foreign"/>
         <ref name="emph"/>
         <ref name="mentioned"/>
         <ref name="soCalled"/>
         <ref name="gloss"/>
         <ref name="term"/>
         <ref name="title"/>
         <ref name="code"/>
         <ref name="ident"/>
      </choice>
   </define>
   <define name="model.emphLike_sequence">
      <ref name="foreign"/>
      <ref name="emph"/>
      <ref name="mentioned"/>
      <ref name="soCalled"/>
      <ref name="gloss"/>
      <ref name="term"/>
      <ref name="title"/>
      <ref name="code"/>
      <ref name="ident"/>
   </define>
   <define name="model.emphLike_sequenceOptional">
      <optional>
         <ref name="foreign"/>
      </optional>
      <optional>
         <ref name="emph"/>
      </optional>
      <optional>
         <ref name="mentioned"/>
      </optional>
      <optional>
         <ref name="soCalled"/>
      </optional>
      <optional>
         <ref name="gloss"/>
      </optional>
      <optional>
         <ref name="term"/>
      </optional>
      <optional>
         <ref name="title"/>
      </optional>
      <optional>
         <ref name="code"/>
      </optional>
      <optional>
         <ref name="ident"/>
      </optional>
   </define>
   <define name="model.emphLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="foreign"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="emph"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="mentioned"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="soCalled"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="gloss"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="term"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="title"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="code"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="ident"/>
      </zeroOrMore>
   </define>
   <define name="model.emphLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="foreign"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="emph"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="mentioned"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="soCalled"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="gloss"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="term"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="title"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="code"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="ident"/>
      </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.measureLike">
      <notAllowed/>
   </define>
   <define name="model.measureLike_alternation">
      <notAllowed/>
   </define>
   <define name="model.measureLike_sequence">
      <empty/>
   </define>
   <define name="model.measureLike_sequenceOptional">
      <empty/>
   </define>
   <define name="model.measureLike_sequenceOptionalRepeatable">
      <empty/>
   </define>
   <define name="model.measureLike_sequenceRepeatable">
      <notAllowed/>
   </define>
   <define name="model.egLike">
      <choice>
         <ref name="eg"/>
         <ref name="egXML"/>
      </choice>
   </define>
   <define name="model.egLike_alternation">
      <choice>
         <ref name="eg"/>
         <ref name="egXML"/>
      </choice>
   </define>
   <define name="model.egLike_sequence">
      <ref name="eg"/>
      <ref name="egXML"/>
   </define>
   <define name="model.egLike_sequenceOptional">
      <optional>
         <ref name="eg"/>
      </optional>
      <optional>
         <ref name="egXML"/>
      </optional>
   </define>
   <define name="model.egLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="eg"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="egXML"/>
      </zeroOrMore>
   </define>
   <define name="model.egLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="eg"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="egXML"/>
      </oneOrMore>
   </define>
   <define name="model.graphicLike">
      <choice>
         <ref name="media"/>
         <ref name="graphic"/>
      </choice>
   </define>
   <define name="model.graphicLike_alternation">
      <choice>
         <ref name="media"/>
         <ref name="graphic"/>
      </choice>
   </define>
   <define name="model.graphicLike_sequence">
      <ref name="media"/>
      <ref name="graphic"/>
   </define>
   <define name="model.graphicLike_sequenceOptional">
      <optional>
         <ref name="media"/>
      </optional>
      <optional>
         <ref name="graphic"/>
      </optional>
   </define>
   <define name="model.graphicLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="media"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="graphic"/>
      </zeroOrMore>
   </define>
   <define name="model.graphicLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="media"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="graphic"/>
      </oneOrMore>
   </define>
   <define name="model.offsetLike">
      <notAllowed/>
   </define>
   <define name="model.offsetLike_alternation">
      <notAllowed/>
   </define>
   <define name="model.offsetLike_sequence">
      <empty/>
   </define>
   <define name="model.offsetLike_sequenceOptional">
      <empty/>
   </define>
   <define name="model.offsetLike_sequenceOptionalRepeatable">
      <empty/>
   </define>
   <define name="model.offsetLike_sequenceRepeatable">
      <notAllowed/>
   </define>
   <define name="model.pPart.msdesc">
      <choice>
         <ref name="locus"/>
      </choice>
   </define>
   <define name="model.pPart.msdesc_alternation">
      <choice>
         <ref name="locus"/>
      </choice>
   </define>
   <define name="model.pPart.msdesc_sequence">
      <ref name="locus"/>
   </define>
   <define name="model.pPart.msdesc_sequenceOptional">
      <optional>
         <ref name="locus"/>
      </optional>
   </define>
   <define name="model.pPart.msdesc_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="locus"/>
      </zeroOrMore>
   </define>
   <define name="model.pPart.msdesc_sequenceRepeatable">
      <oneOrMore>
         <ref name="locus"/>
      </oneOrMore>
   </define>
   <define name="model.pPart.editorial">
      <choice>
         <ref name="choice"/>
         <ref name="abbr"/>
         <ref name="expan"/>
      </choice>
   </define>
   <define name="model.pPart.editorial_alternation">
      <choice>
         <ref name="choice"/>
         <ref name="abbr"/>
         <ref name="expan"/>
      </choice>
   </define>
   <define name="model.pPart.editorial_sequence">
      <ref name="choice"/>
      <ref name="abbr"/>
      <ref name="expan"/>
   </define>
   <define name="model.pPart.editorial_sequenceOptional">
      <optional>
         <ref name="choice"/>
      </optional>
      <optional>
         <ref name="abbr"/>
      </optional>
      <optional>
         <ref name="expan"/>
      </optional>
   </define>
   <define name="model.pPart.editorial_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="choice"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="abbr"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="expan"/>
      </zeroOrMore>
   </define>
   <define name="model.pPart.editorial_sequenceRepeatable">
      <oneOrMore>
         <ref name="choice"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="abbr"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="expan"/>
      </oneOrMore>
   </define>
   <define name="model.pPart.transcriptional">
      <choice>
         <ref name="sic"/>
         <ref name="corr"/>
         <ref name="reg"/>
         <ref name="add"/>
         <ref name="del"/>
         <ref name="unclear"/>
         <ref name="supplied"/>
      </choice>
   </define>
   <define name="model.pPart.transcriptional_alternation">
      <choice>
         <ref name="sic"/>
         <ref name="corr"/>
         <ref name="reg"/>
         <ref name="add"/>
         <ref name="del"/>
         <ref name="unclear"/>
         <ref name="supplied"/>
      </choice>
   </define>
   <define name="model.pPart.transcriptional_sequence">
      <ref name="sic"/>
      <ref name="corr"/>
      <ref name="reg"/>
      <ref name="add"/>
      <ref name="del"/>
      <ref name="unclear"/>
      <ref name="supplied"/>
   </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="add"/>
      </optional>
      <optional>
         <ref name="del"/>
      </optional>
      <optional>
         <ref name="unclear"/>
      </optional>
      <optional>
         <ref name="supplied"/>
      </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="add"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="del"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="unclear"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="supplied"/>
      </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="add"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="del"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="unclear"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="supplied"/>
      </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"/>
         <ref name="listRef"/>
      </choice>
   </define>
   <define name="model.ptrLike_alternation">
      <choice>
         <ref name="ptr"/>
         <ref name="ref"/>
         <ref name="listRef"/>
      </choice>
   </define>
   <define name="model.ptrLike_sequence">
      <ref name="ptr"/>
      <ref name="ref"/>
      <ref name="listRef"/>
   </define>
   <define name="model.ptrLike_sequenceOptional">
      <optional>
         <ref name="ptr"/>
      </optional>
      <optional>
         <ref name="ref"/>
      </optional>
      <optional>
         <ref name="listRef"/>
      </optional>
   </define>
   <define name="model.ptrLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="ptr"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="ref"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="listRef"/>
      </zeroOrMore>
   </define>
   <define name="model.ptrLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="ptr"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="ref"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="listRef"/>
      </oneOrMore>
   </define>
   <define name="model.lPart">
      <notAllowed/>
   </define>
   <define name="model.lPart_alternation">
      <notAllowed/>
   </define>
   <define name="model.lPart_sequence">
      <empty/>
   </define>
   <define name="model.lPart_sequenceOptional">
      <empty/>
   </define>
   <define name="model.lPart_sequenceOptionalRepeatable">
      <empty/>
   </define>
   <define name="model.lPart_sequenceRepeatable">
      <notAllowed/>
   </define>
   <define name="model.global.meta">
      <choice>
         <ref name="span"/>
         <ref name="fs"/>
         <ref name="linkGrp"/>
      </choice>
   </define>
   <define name="model.global.meta_alternation">
      <choice>
         <ref name="span"/>
         <ref name="fs"/>
         <ref name="linkGrp"/>
      </choice>
   </define>
   <define name="model.global.meta_sequence">
      <ref name="span"/>
      <ref name="fs"/>
      <ref name="linkGrp"/>
   </define>
   <define name="model.global.meta_sequenceOptional">
      <optional>
         <ref name="span"/>
      </optional>
      <optional>
         <ref name="fs"/>
      </optional>
      <optional>
         <ref name="linkGrp"/>
      </optional>
   </define>
   <define name="model.global.meta_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="span"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="fs"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="linkGrp"/>
      </zeroOrMore>
   </define>
   <define name="model.global.meta_sequenceRepeatable">
      <oneOrMore>
         <ref name="span"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="fs"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="linkGrp"/>
      </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"/>
      </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"/>
      </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"/>
   </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>
   </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>
   </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>
   </define>
   <define name="model.gLike">
      <choice>
         <ref name="g"/>
      </choice>
   </define>
   <define name="model.oddDecl">
      <choice>
         <ref name="specGrpRef"/>
      </choice>
   </define>
   <define name="model.oddDecl_alternation">
      <choice>
         <ref name="specGrpRef"/>
      </choice>
   </define>
   <define name="model.oddDecl_sequence">
      <ref name="specGrpRef"/>
   </define>
   <define name="model.oddDecl_sequenceOptional">
      <optional>
         <ref name="specGrpRef"/>
      </optional>
   </define>
   <define name="model.oddDecl_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="specGrpRef"/>
      </zeroOrMore>
   </define>
   <define name="model.oddDecl_sequenceRepeatable">
      <oneOrMore>
         <ref name="specGrpRef"/>
      </oneOrMore>
   </define>
   <define name="model.phrase.xml">
      <choice>
         <ref name="att"/>
         <ref name="gi"/>
         <ref name="tag"/>
         <ref name="val"/>
      </choice>
   </define>
   <define name="model.phrase.xml_alternation">
      <choice>
         <ref name="att"/>
         <ref name="gi"/>
         <ref name="tag"/>
         <ref name="val"/>
      </choice>
   </define>
   <define name="model.phrase.xml_sequence">
      <ref name="att"/>
      <ref name="gi"/>
      <ref name="tag"/>
      <ref name="val"/>
   </define>
   <define name="model.phrase.xml_sequenceOptional">
      <optional>
         <ref name="att"/>
      </optional>
      <optional>
         <ref name="gi"/>
      </optional>
      <optional>
         <ref name="tag"/>
      </optional>
      <optional>
         <ref name="val"/>
      </optional>
   </define>
   <define name="model.phrase.xml_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="att"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="gi"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="tag"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="val"/>
      </zeroOrMore>
   </define>
   <define name="model.phrase.xml_sequenceRepeatable">
      <oneOrMore>
         <ref name="att"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="gi"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="tag"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="val"/>
      </oneOrMore>
   </define>
   <define name="model.specDescLike">
      <choice>
         <ref name="specList"/>
         <ref name="specDesc"/>
      </choice>
   </define>
   <define name="model.specDescLike_alternation">
      <choice>
         <ref name="specList"/>
         <ref name="specDesc"/>
      </choice>
   </define>
   <define name="model.specDescLike_sequence">
      <ref name="specList"/>
      <ref name="specDesc"/>
   </define>
   <define name="model.specDescLike_sequenceOptional">
      <optional>
         <ref name="specList"/>
      </optional>
      <optional>
         <ref name="specDesc"/>
      </optional>
   </define>
   <define name="model.specDescLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="specList"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="specDesc"/>
      </zeroOrMore>
   </define>
   <define name="model.specDescLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="specList"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="specDesc"/>
      </oneOrMore>
   </define>
   <define name="model.biblLike">
      <choice>
         <ref name="bibl"/>
         <ref name="biblStruct"/>
         <ref name="listBibl"/>
         <ref name="biblFull"/>
         <ref name="msDesc"/>
      </choice>
   </define>
   <define name="model.biblLike_alternation">
      <choice>
         <ref name="bibl"/>
         <ref name="biblStruct"/>
         <ref name="listBibl"/>
         <ref name="biblFull"/>
         <ref name="msDesc"/>
      </choice>
   </define>
   <define name="model.biblLike_sequence">
      <ref name="bibl"/>
      <ref name="biblStruct"/>
      <ref name="listBibl"/>
      <ref name="biblFull"/>
      <ref name="msDesc"/>
   </define>
   <define name="model.biblLike_sequenceOptional">
      <optional>
         <ref name="bibl"/>
      </optional>
      <optional>
         <ref name="biblStruct"/>
      </optional>
      <optional>
         <ref name="listBibl"/>
      </optional>
      <optional>
         <ref name="biblFull"/>
      </optional>
      <optional>
         <ref name="msDesc"/>
      </optional>
   </define>
   <define name="model.biblLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="bibl"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="biblStruct"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="listBibl"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="biblFull"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="msDesc"/>
      </zeroOrMore>
   </define>
   <define name="model.biblLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="bibl"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="biblStruct"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="listBibl"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="biblFull"/>
      </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="table"/>
         <ref name="listOrg"/>
         <ref name="listPerson"/>
         <ref name="listApp"/>
         <ref name="listWit"/>
      </choice>
   </define>
   <define name="model.listLike_alternation">
      <choice>
         <ref name="list"/>
         <ref name="table"/>
         <ref name="listOrg"/>
         <ref name="listPerson"/>
         <ref name="listApp"/>
         <ref name="listWit"/>
      </choice>
   </define>
   <define name="model.listLike_sequence">
      <ref name="list"/>
      <ref name="table"/>
      <ref name="listOrg"/>
      <ref name="listPerson"/>
      <ref name="listApp"/>
      <ref name="listWit"/>
   </define>
   <define name="model.listLike_sequenceOptional">
      <optional>
         <ref name="list"/>
      </optional>
      <optional>
         <ref name="table"/>
      </optional>
      <optional>
         <ref name="listOrg"/>
      </optional>
      <optional>
         <ref name="listPerson"/>
      </optional>
      <optional>
         <ref name="listApp"/>
      </optional>
      <optional>
         <ref name="listWit"/>
      </optional>
   </define>
   <define name="model.listLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="list"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="table"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="listOrg"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="listPerson"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="listApp"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="listWit"/>
      </zeroOrMore>
   </define>
   <define name="model.listLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="list"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="table"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="listOrg"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="listPerson"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="listApp"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="listWit"/>
      </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"/>
         <ref name="ab"/>
      </choice>
   </define>
   <define name="model.pLike_alternation">
      <choice>
         <ref name="p"/>
         <ref name="ab"/>
      </choice>
   </define>
   <define name="model.pLike_sequence">
      <ref name="p"/>
      <ref name="ab"/>
   </define>
   <define name="model.pLike_sequenceOptional">
      <optional>
         <ref name="p"/>
      </optional>
      <optional>
         <ref name="ab"/>
      </optional>
   </define>
   <define name="model.pLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="p"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="ab"/>
      </zeroOrMore>
   </define>
   <define name="model.pLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="p"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="ab"/>
      </oneOrMore>
   </define>
   <define name="model.stageLike">
      <choice>
         <ref name="stage"/>
      </choice>
   </define>
   <define name="model.stageLike_alternation">
      <choice>
         <ref name="stage"/>
      </choice>
   </define>
   <define name="model.stageLike_sequence">
      <ref name="stage"/>
   </define>
   <define name="model.stageLike_sequenceOptional">
      <optional>
         <ref name="stage"/>
      </optional>
   </define>
   <define name="model.stageLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="stage"/>
      </zeroOrMore>
   </define>
   <define name="model.stageLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="stage"/>
      </oneOrMore>
   </define>
   <define name="model.featureVal.complex">
      <choice>
         <ref name="fs"/>
      </choice>
   </define>
   <define name="model.featureVal.single">
      <choice>
         <ref name="numeric"/>
      </choice>
   </define>
   <define name="model.entryPart">
      <notAllowed/>
   </define>
   <define name="model.global.edit">
      <choice>
         <ref name="gap"/>
         <ref name="app"/>
         <ref name="space"/>
      </choice>
   </define>
   <define name="model.global.edit_alternation">
      <choice>
         <ref name="gap"/>
         <ref name="app"/>
         <ref name="space"/>
      </choice>
   </define>
   <define name="model.global.edit_sequence">
      <ref name="gap"/>
      <ref name="app"/>
      <ref name="space"/>
   </define>
   <define name="model.global.edit_sequenceOptional">
      <optional>
         <ref name="gap"/>
      </optional>
      <optional>
         <ref name="app"/>
      </optional>
      <optional>
         <ref name="space"/>
      </optional>
   </define>
   <define name="model.global.edit_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="gap"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="app"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="space"/>
      </zeroOrMore>
   </define>
   <define name="model.global.edit_sequenceRepeatable">
      <oneOrMore>
         <ref name="gap"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="app"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="space"/>
      </oneOrMore>
   </define>
   <define name="model.divPart">
      <choice>
         <ref name="model.lLike"/>
         <ref name="model.pLike"/>
         <ref name="lg"/>
         <ref name="sp"/>
      </choice>
   </define>
   <define name="model.personLike">
      <choice>
         <ref name="org"/>
         <ref name="person"/>
      </choice>
   </define>
   <define name="model.placeNamePart">
      <choice>
         <ref name="placeName"/>
         <ref name="country"/>
         <ref name="settlement"/>
      </choice>
   </define>
   <define name="model.placeNamePart_alternation">
      <choice>
         <ref name="placeName"/>
         <ref name="country"/>
         <ref name="settlement"/>
      </choice>
   </define>
   <define name="model.placeNamePart_sequence">
      <ref name="placeName"/>
      <ref name="country"/>
      <ref name="settlement"/>
   </define>
   <define name="model.placeNamePart_sequenceOptional">
      <optional>
         <ref name="placeName"/>
      </optional>
      <optional>
         <ref name="country"/>
      </optional>
      <optional>
         <ref name="settlement"/>
      </optional>
   </define>
   <define name="model.placeNamePart_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="placeName"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="country"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="settlement"/>
      </zeroOrMore>
   </define>
   <define name="model.placeNamePart_sequenceRepeatable">
      <oneOrMore>
         <ref name="placeName"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="country"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="settlement"/>
      </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.publicationStmtPart.agency">
      <choice>
         <ref name="publisher"/>
         <ref name="distributor"/>
         <ref name="authority"/>
      </choice>
   </define>
   <define name="model.publicationStmtPart.detail">
      <choice>
         <ref name="model.ptrLike"/>
         <ref name="address"/>
         <ref name="date"/>
         <ref name="pubPlace"/>
         <ref name="idno"/>
         <ref name="availability"/>
      </choice>
   </define>
   <define name="model.availabilityPart">
      <choice>
         <ref name="licence"/>
      </choice>
   </define>
   <define name="model.certLike">
      <notAllowed/>
   </define>
   <define name="model.descLike">
      <choice>
         <ref name="desc"/>
      </choice>
   </define>
   <define name="model.identEquiv">
      <choice>
         <ref name="gloss"/>
      </choice>
   </define>
   <define name="model.quoteLike">
      <choice>
         <ref name="quote"/>
         <ref name="cit"/>
      </choice>
   </define>
   <define name="model.quoteLike_alternation">
      <choice>
         <ref name="quote"/>
         <ref name="cit"/>
      </choice>
   </define>
   <define name="model.quoteLike_sequence">
      <ref name="quote"/>
      <ref name="cit"/>
   </define>
   <define name="model.quoteLike_sequenceOptional">
      <optional>
         <ref name="quote"/>
      </optional>
      <optional>
         <ref name="cit"/>
      </optional>
   </define>
   <define name="model.quoteLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="quote"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="cit"/>
      </zeroOrMore>
   </define>
   <define name="model.quoteLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="quote"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="cit"/>
      </oneOrMore>
   </define>
   <define name="model.attributable">
      <choice>
         <ref name="model.quoteLike"/>
      </choice>
   </define>
   <define name="model.attributable_alternation">
      <choice>
         <ref name="model.quoteLike_alternation"/>
      </choice>
   </define>
   <define name="model.attributable_sequence">
      <ref name="model.quoteLike_sequence"/>
   </define>
   <define name="model.attributable_sequenceOptional">
      <optional>
         <ref name="model.quoteLike_sequenceOptional"/>
      </optional>
   </define>
   <define name="model.attributable_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="model.quoteLike_sequenceOptionalRepeatable"/>
      </zeroOrMore>
   </define>
   <define name="model.attributable_sequenceRepeatable">
      <oneOrMore>
         <ref name="model.quoteLike_sequenceRepeatable"/>
      </oneOrMore>
   </define>
   <define name="model.respLike">
      <choice>
         <ref name="author"/>
         <ref name="editor"/>
         <ref name="respStmt"/>
         <ref name="sponsor"/>
         <ref name="funder"/>
      </choice>
   </define>
   <define name="model.divWrapper">
      <choice>
         <ref name="byline"/>
         <ref name="dateline"/>
         <ref name="argument"/>
         <ref name="epigraph"/>
         <ref name="salute"/>
         <ref name="docAuthor"/>
         <ref name="docDate"/>
      </choice>
   </define>
   <define name="model.divTopPart">
      <choice>
         <ref name="model.headLike"/>
         <ref name="opener"/>
         <ref name="signed"/>
      </choice>
   </define>
   <define name="model.divTop">
      <choice>
         <ref name="model.divWrapper"/>
         <ref name="model.divTopPart"/>
      </choice>
   </define>
   <define name="model.frontPart.drama">
      <choice>
         <ref name="castList"/>
      </choice>
   </define>
   <define name="model.pLike.front">
      <choice>
         <ref name="head"/>
         <ref name="byline"/>
         <ref name="dateline"/>
         <ref name="argument"/>
         <ref name="epigraph"/>
         <ref name="docTitle"/>
         <ref name="titlePart"/>
         <ref name="docAuthor"/>
         <ref name="docEdition"/>
         <ref name="docImprint"/>
         <ref name="docDate"/>
      </choice>
   </define>
   <define name="model.divBottomPart">
      <choice>
         <ref name="trailer"/>
         <ref name="closer"/>
         <ref name="signed"/>
      </choice>
   </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="byline"/>
         <ref name="argument"/>
         <ref name="epigraph"/>
         <ref name="docTitle"/>
         <ref name="titlePart"/>
         <ref name="docAuthor"/>
         <ref name="imprimatur"/>
         <ref name="docEdition"/>
         <ref name="docImprint"/>
         <ref name="docDate"/>
      </choice>
   </define>
   <define name="model.choicePart">
      <choice>
         <ref name="sic"/>
         <ref name="corr"/>
         <ref name="reg"/>
         <ref name="unclear"/>
         <ref name="abbr"/>
         <ref name="expan"/>
         <ref name="seg"/>
         <ref name="supplied"/>
      </choice>
   </define>
   <define name="model.catDescPart">
      <notAllowed/>
   </define>
   <define name="model.castItemPart">
      <choice>
         <ref name="role"/>
         <ref name="roleDesc"/>
      </choice>
   </define>
   <define name="model.addressLike">
      <choice>
         <ref name="address"/>
      </choice>
   </define>
   <define name="model.addressLike_alternation">
      <choice>
         <ref name="address"/>
      </choice>
   </define>
   <define name="model.addressLike_sequence">
      <ref name="address"/>
   </define>
   <define name="model.addressLike_sequenceOptional">
      <optional>
         <ref name="address"/>
      </optional>
   </define>
   <define name="model.addressLike_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="address"/>
      </zeroOrMore>
   </define>
   <define name="model.addressLike_sequenceRepeatable">
      <oneOrMore>
         <ref name="address"/>
      </oneOrMore>
   </define>
   <define name="model.nameLike">
      <choice>
         <ref name="model.nameLike.agent"/>
         <ref name="model.offsetLike"/>
         <ref name="model.placeStateLike"/>
         <ref name="rs"/>
         <ref name="idno"/>
         <ref name="model.persNamePart"/>
         <ref name="objectName"/>
      </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="rs"/>
         <ref name="idno"/>
         <ref name="model.persNamePart_alternation"/>
         <ref name="objectName"/>
      </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="rs"/>
      <ref name="idno"/>
      <ref name="model.persNamePart_sequence"/>
      <ref name="objectName"/>
   </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="rs"/>
      </optional>
      <optional>
         <ref name="idno"/>
      </optional>
      <optional>
         <ref name="model.persNamePart_sequenceOptional"/>
      </optional>
      <optional>
         <ref name="objectName"/>
      </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="rs"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="idno"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="model.persNamePart_sequenceOptionalRepeatable"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="objectName"/>
      </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="rs"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="idno"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="model.persNamePart_sequenceRepeatable"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="objectName"/>
      </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"/>
         <ref name="metamark"/>
      </choice>
   </define>
   <define name="model.featureVal">
      <choice>
         <ref name="model.featureVal.complex"/>
         <ref name="model.featureVal.single"/>
      </choice>
   </define>
   <define name="model.frontPart">
      <choice>
         <ref name="model.frontPart.drama"/>
         <ref name="listBibl"/>
         <ref name="divGen"/>
         <ref name="titlePage"/>
      </choice>
   </define>
   <define name="model.addrPart">
      <choice>
         <ref name="model.nameLike"/>
      </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.oddDecl"/>
         <ref name="model.biblLike"/>
         <ref name="model.labelLike"/>
         <ref name="model.listLike"/>
         <ref name="model.stageLike"/>
         <ref name="model.attributable"/>
         <ref name="castList"/>
      </choice>
   </define>
   <define name="model.cmc">
      <notAllowed/>
   </define>
   <define name="model.common">
      <choice>
         <ref name="model.divPart"/>
         <ref name="model.inter"/>
         <ref name="model.cmc"/>
         <ref name="q"/>
      </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.lPart"/>
         <ref name="model.phrase.xml"/>
         <ref name="model.specDescLike"/>
         <ref name="model.pPart.data"/>
      </choice>
   </define>
   <define name="model.paraPart">
      <choice>
         <ref name="model.gLike"/>
         <ref name="model.lLike"/>
         <ref name="model.global"/>
         <ref name="model.inter"/>
         <ref name="model.phrase"/>
         <ref name="lg"/>
      </choice>
   </define>
   <define name="model.limitedPhrase">
      <choice>
         <ref name="model.hiLike"/>
         <ref name="model.emphLike"/>
         <ref name="model.pPart.msdesc"/>
         <ref name="model.pPart.editorial"/>
         <ref name="model.ptrLike"/>
         <ref name="model.phrase.xml"/>
         <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.annotationLike">
      <choice>
         <ref name="note"/>
      </choice>
   </define>
   <define name="model.encodingDescPart">
      <choice>
         <ref name="charDecl"/>
         <ref name="fsdDecl"/>
         <ref name="projectDesc"/>
         <ref name="editorialDecl"/>
         <ref name="tagsDecl"/>
         <ref name="listPrefixDef"/>
         <ref name="classDecl"/>
         <ref name="constraintDecl"/>
      </choice>
   </define>
   <define name="model.editorialDeclPart">
      <notAllowed/>
   </define>
   <define name="model.standOffPart">
      <choice>
         <ref name="model.global.meta"/>
         <ref name="model.biblLike"/>
         <ref name="model.listLike"/>
         <ref name="model.annotationLike"/>
         <ref name="castList"/>
         <ref name="xenoData"/>
         <ref name="listChange"/>
         <ref name="seg"/>
         <ref name="listAnnotation"/>
      </choice>
   </define>
   <define name="model.resource">
      <choice>
         <ref name="fsdDecl"/>
         <ref name="standOff"/>
         <ref name="text"/>
         <ref name="facsimile"/>
      </choice>
   </define>
   <define name="model.describedResource">
      <choice>
         <ref name="teiCorpus"/>
         <ref name="TEI"/>
      </choice>
   </define>
   <define name="att.personal.attributes">
      <ref name="att.naming.attributes"/>
   </define>
   <define name="att.calendarSystem.attributes">
      <ref name="att.calendarSystem.attribute.calendar"/>
   </define>
   <define name="att.calendarSystem.attribute.calendar">
      <optional>
         <attribute name="calendar">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates one or more systems or calendars to which the date represented by the content of this element belongs.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
            id="lemdo_all-att.calendarSystem-calendar-calendar_attr_on_empty_element-constraint-rule-18">
      <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:rng="http://relaxng.org/ns/structure/1.0"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xi="http://www.w3.org/2001/XInclude"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                context="tei:*[@calendar]">
         <sch:assert test="string-length( normalize-space(.) ) gt 0"> @calendar indicates one or more
              systems or calendars to which the date represented by the content of this element belongs,
              but this <sch:name/> element has no textual content.</sch:assert>
      </sch:rule>
   </pattern>
   <define name="p">
      <element name="p">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.5. Speech Contents]</a:documentation>
         <ref name="macro.paraContent"/>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-p-abstractModel-structure-p-in-ab-or-p-constraint-rule-19">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:p">
               <sch:report test="(ancestor::tei:ab or ancestor::tei:p) and                        not( ancestor::tei:floatingText                           | parent::tei:exemplum                           | parent::tei:item                           | parent::tei:note                           | parent::tei:q                           | parent::tei:quote                           | parent::tei:remarks                           | parent::tei:said                           | parent::tei:sp                           | parent::tei:stage                           | parent::tei:cell                           | parent::tei:figure )">
          Abstract model violation: Paragraphs may not occur inside other paragraphs or ab elements.
        </sch:report>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-p-abstractModel-structure-p-in-l-constraint-rule-20">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:l//tei:p">
               <sch:assert test="ancestor::tei:floatingText | parent::tei:figure | parent::tei:note">
          Abstract model violation: Metrical lines may not contain higher-level structural elements such as div, p, or ab, unless p is a child of figure or note, or is a descendant of floatingText.
        </sch:assert>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.fragmentable.attributes"/>
         <ref name="att.written.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. [3.3.2.1. Foreign Words or Expressions]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.cmc.attributes"/>
         <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 <a xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</a>.</a:documentation>
            <choice>
               <value>ang</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Old English) Old English (as spoken by Anglo-Saxons)</a:documentation>
               <value>ar</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Arabic) Arabic</a:documentation>
               <value>cy</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Welsh) Welsh</a:documentation>
               <value>de</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(German) German</a:documentation>
               <value>el</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Modern Greek (1453-)</a:documentation>
               <value>en</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Modern English. Only use this value in texts whose dominant language is not English.) English</a:documentation>
               <value>es</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Spanish) Spanish</a:documentation>
               <value>fa</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Persian) Persian (macrolanguage)</a:documentation>
               <value>fr</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Modern French) French</a:documentation>
               <value>frm</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Middle French (ca. 1400–1600)</a:documentation>
               <value>fro</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Old French (843–ca. 1400)</a:documentation>
               <value>ga</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Irish) Irish (i.e. Irish Gaelic)</a:documentation>
               <value>grc</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ancient Greek (to 1453)</a:documentation>
               <value>he</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hebrew</a:documentation>
               <value>it</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Italian) Italian</a:documentation>
               <value>la</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Latin) Latin</a:documentation>
               <value>nl</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Dutch) Dutch</a:documentation>
               <value>pt</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Portuguese) Portuguese</a:documentation>
               <value>rom</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Romany) Romany</a:documentation>
               <value>sq</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Albanian) Albanian</a:documentation>
               <value>no</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Norwegian) Norwegian</a:documentation>
               <value>xno</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Anglo-Norman) Anglo-Norman</a:documentation>
               <value>und</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(undetermined) Language cannot be determined or is gibberish</a:documentation>
            </choice>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="emph">
      <element name="emph">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(emphasized) marks words or phrases which are stressed or emphasized for linguistic or rhetorical effect. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="hi">
      <element name="hi">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(highlighted) (highlighted) marks a word or phrase as graphically distinct from the surrounding text, for reasons concerning which no claim is made. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language]</a:documentation>
         <ref name="macro.paraContent"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:hi[not(some $c in $catRefs satisfies (matches($c/@target,'Documentation')))][ancestor::tei:TEI/descendant::tei:revisionDesc[@status]][not(ancestor::tei:TEI//tei:revisionDesc[@status=('IML-TEI', 'TCP-TEI')])]">
               <sch:assert test="@style or @rendition">A hi element must have at least one attribute (style or rendition)</sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.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. [3.3.3. Quotation 4.3.1. Grouped Texts]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.msExcerpt.attributes"/>
         <ref name="att.notated.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="q">
      <element name="q">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(quoted) contains material which is distinguished from the surrounding text using quotation marks or a similar method, for any one of a variety of reasons including, but not limited to: direct speech or thought, technical terms or jargon, authorial distance, quotations from elsewhere, and passages that are mentioned but not used. [3.3.3. Quotation]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.global.attributes"/>
         <ref name="att.ascribed.directed.attributes"/>
         <ref name="att.cmc.attributes"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(type) may be used to indicate whether the offset passage is spoken or thought, or to characterize it more finely.
Suggested values include: 1] spoken (spoken); 2] thought (thought); 3] written (written); 4] soCalled (so called); 5] foreign (foreign); 6] distinct (distinct); 7] term; 8] emph (emph); 9] mentioned (mentioned)</a:documentation>
               <choice>
                  <value>spoken</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(spoken) representation of speech</a:documentation>
                  <value>thought</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(thought) representation of thought, e.g. internal monologue</a:documentation>
                  <value>written</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(written) quotation from a written source</a:documentation>
                  <value>soCalled</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(so called) authorial distance</a:documentation>
                  <value>foreign</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign) foreign words</a:documentation>
                  <value>distinct</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(distinct) 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">(emph) rhetorically emphasized</a:documentation>
                  <value>mentioned</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(mentioned) refering to itself, not its normal referent</a:documentation>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="cit">
      <element name="cit">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cited quotation) contains a quotation from some other document, together with a bibliographic reference to its source. In a dictionary it may contain an example text with at least one occurrence of the word form, used in the sense being described, or a translation of the headword, or an example. [3.3.3. Quotation 4.3.1. Grouped Texts 10.3.5.1. Examples]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="model.biblLike"/>
               <ref name="model.egLike"/>
               <ref name="model.entryPart"/>
               <ref name="model.global"/>
               <ref name="model.graphicLike"/>
               <ref name="model.ptrLike"/>
               <ref name="model.attributable"/>
               <ref name="pc"/>
               <ref name="q"/>
            </choice>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="mentioned">
      <element name="mentioned">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks words or phrases mentioned, not used. [3.3.3. Quotation]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="soCalled">
      <element name="soCalled">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(so called) contains a word or phrase for which the author or narrator indicates a disclaiming of responsibility, for example by the use of scare quotes or italics. [3.3.3. Quotation]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="desc">
      <element name="desc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description) contains a short description of the purpose, function, or use of its parent element, or when the parent is a documentation element, describes or defines the object being documented.  [23.4.1. Description of Components]</a:documentation>
         <ref name="macro.limitedContent"/>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-desc-deprecationInfo-only-in-deprecated-constraint-rule-22">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:desc[ @type eq 'deprecationInfo']">
               <sch:assert test="../@validUntil">Information about a
        deprecation should only be present in a specification element
        that is being deprecated: that is, only an element that has a
        @validUntil attribute should have a child &lt;desc
        type="deprecationInfo"&gt;.</sch:assert>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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.
Suggested values include: 1] deprecationInfo (deprecation information)</a:documentation>
               <choice>
                  <value>deprecationInfo</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(deprecation information) This element describes why or how its parent element is being deprecated, typically including recommendations for alternate encoding.</a:documentation>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="gloss">
      <element name="gloss">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(gloss) identifies a phrase or word used to provide a gloss or definition for some other word or phrase. [3.4.1. Terms and Glosses 23.4.1. Description of Components]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.pointing.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="term">
      <element name="term">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(term) contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.4.1. Terms and Glosses]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:term[matches(@ref, '^\s*gloss:')]">
               <sch:assert test="ancestor::tei:div[starts-with(@xml:id, 'learn_')] or ancestor::tei:TEI[starts-with(@xml:id, 'learn_')] or ancestor::*:egXML or contains(document-uri(/), 'tempEgXML')">
                              ERROR: A term element can only point to a glossary entry from 
                              inside a documentation file.
                            </sch:assert>
               <sch:assert test="not(ancestor::tei:ref or ancestor::tei:term or ancestor::tei:*[@ref])">
                                  ERROR: A term element linking to a glossary item 
                                  should never appear inside another element that will
                                  become a link.
                                </sch:assert>
               <sch:assert test="not(ancestor::tei:head)">
                                  ERROR: A term element linking to a glossary item 
                                  should never appear inside a head element.
                                </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.pointing.attributes"/>
         <ref name="att.typed.attributes"/>
         <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. [3.5.1. Apparent Errors]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.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. [3.5.1. Apparent Errors]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.editLike.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">(choice) groups a number of alternative encodings for the same point in a text. [3.5. Simple Editorial Changes]</a:documentation>
         <choice>
            <ref name="model.choicePart"/>
            <ref name="choice"/>
         </choice>
         <choice>
            <ref name="model.choicePart"/>
            <ref name="choice"/>
         </choice>
         <zeroOrMore>
            <choice>
               <ref name="model.choicePart"/>
               <ref name="choice"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.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. [3.5.2. Regularization and
Normalization 13. Critical Apparatus]</a:documentation>
         <ref name="macro.paraContent"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:reg">
               <sch:assert test="normalize-space(.)">
                                    ERROR: reg elements must not be empty.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.typed.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. [3.5.3. Additions, Deletions, and Omissions]</a:documentation>
         <zeroOrMore>
            <choice>
               <ref name="model.descLike"/>
               <ref name="model.certLike"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.dimensions.attribute.quantity"/>
         <ref name="att.dimensions.attribute.extent"/>
         <ref name="att.dimensions.attribute.precision"/>
         <ref name="att.dimensions.attribute.scope"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.timed.attributes"/>
         <optional>
            <attribute name="unit">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement</a:documentation>
               <choice>
                  <value>line</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(the height of a compositorial or manuscript line; use for vertical gaps) </a:documentation>
                  <value>em</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(the width of an em character in the type or hand; use for horizontal gaps) </a:documentation>
                  <value>ex</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(the x-height of the font, in the type or hand; use for horizontal gaps) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="reason">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reason) gives the reason for omission.
Suggested values include: 1] cancelled (cancelled); 2] deleted (deleted); 3] editorial (editorial); 4] illegible (illegible); 5] damage (there is dirt on the page, tearing, etc (use for ms and print)); 6] smudged-ink (illegibility resulting from smudged ink on the page (ms and print)); 7] faded-ink (illegibility resulting from faded ink on the page (ms and print)); 8] lost-folio (gap resulting from missing leaf (ms and print)); 9] original-cropped (original leaf has been cut or ripped in a way that removes part of the text (ms and print)); 10] irrelevant (irrelevant); 11] sampling (sampling; use only to indicate editorial omission of material from long quotations); 12] splitOverPage (element is split by page break, and first part contains nothing taggable); 13] unclear (fallback value to be used if there is not a more precise value (ms); for example, there is no damage but the transcriber cannot interpret the hand and chooses not to supply a tentative transcription)</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>cancelled</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cancelled) </a:documentation>
                        <value>deleted</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(deleted) </a:documentation>
                        <value>editorial</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(editorial) </a:documentation>
                        <value>illegible</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(illegible) </a:documentation>
                        <value>damage</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(there is dirt on the page, tearing, etc (use for ms and print)) </a:documentation>
                        <value>smudged-ink</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(illegibility resulting from smudged ink on the page (ms and print)) </a:documentation>
                        <value>faded-ink</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(illegibility resulting from faded ink on the page (ms and print)) </a:documentation>
                        <value>lost-folio</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(gap resulting from missing leaf (ms and print)) </a:documentation>
                        <value>original-cropped</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original leaf has been cut or ripped in a way that removes part of the text (ms and print)) </a:documentation>
                        <value>irrelevant</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(irrelevant) </a:documentation>
                        <value>sampling</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sampling; use only to indicate editorial omission of material from long quotations) </a:documentation>
                        <value>splitOverPage</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element is split by page break, and first part contains nothing taggable) </a:documentation>
                        <value>unclear</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fallback value to be used if there is not a more precise value (ms); for example, there is no damage but the transcriber cannot interpret the hand and chooses not to supply a tentative transcription) </a:documentation>
                        <data type="token">
                           <param name="pattern">[^\p{C}\p{Z}]+</param>
                        </data>
                     </choice>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="agent">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(agent) in the case of text omitted because of damage, categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing (rubbing); 2] mildew (mildew); 3] smoke (smoke)</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <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 source text by an author, scribe, or a previous annotator or corrector. [3.5.3. Additions, Deletions, and Omissions]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.transcriptional.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, or a previous annotator or corrector. [3.5.3. Additions, Deletions, and Omissions]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.transcriptional.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">(unclear) TEI definition: contains a word, phrase, or passage which cannot be transcribed with certainty because it is illegible or inaudible in the source. LEMDO uses the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;unclear&gt;</code> element to tag text that is unclear in the base text being transcribed in a semi-diplomatic transcription (manuscript or print). Use the value of the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">@reason</code> attribute to explain why the character(s) or word(s) in the text node are unclear. You may also use a <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">@cert</code> attribute to indicate how confident you are about the text transcribed in the text node of the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;unclear&gt;</code> element. If there is material missing, use the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;gap&gt;</code> element instead of <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;unclear&gt;</code>. [12.3.3.1. Damage, Illegibility, and Supplied Text 3.5.3. Additions, Deletions, and Omissions]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.editLike.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.
Suggested values include: 1] illegible (illegible); 2] inaudible (inaudible); 3] faded (faded); 4] background_noise (background noise); 5] eccentric_ductus (eccentric ductus)</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>illegible</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(illegible) </a:documentation>
                        <value>inaudible</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inaudible) </a:documentation>
                        <value>faded</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(faded) </a:documentation>
                        <value>background_noise</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(background noise) </a:documentation>
                        <value>eccentric_ductus</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(eccentric ductus) indicates illegibility due to an unusual, awkward, or incompetent execution of a glyph or glyphs </a:documentation>
                        <data type="token">
                           <param name="pattern">[^\p{C}\p{Z}]+</param>
                        </data>
                     </choice>
                  </oneOrMore>
               </list>
            </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="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </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. [3.6.1. Referring Strings]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.naming.attribute.role"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="rs">
      <element name="rs">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(referencing string) contains a general purpose name or referring string. [14.2.1. Personal Names 3.6.1. Referring Strings]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.naming.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="address">
      <element name="address">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(address) contains a postal address, for example of a publisher, an organization, or an individual. [3.6.2. Addresses 2.2.4. Publication, Distribution, Licensing, etc. 3.12.2.4. Imprint, Size of a Document, and Reprint Information]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
            <oneOrMore>
               <ref name="model.addrPart"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="date">
      <element name="date">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(date) contains a date in any format. [3.6.4. Dates and Times 2.2.4. Publication, Distribution, Licensing, etc. 2.6. The Revision Description 3.12.2.4. Imprint, Size of a Document, and Reprint Information 16.2.3. The Setting Description 14.4. Dates]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.calendarSystem.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.editLike.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. [3.6.5. Abbreviations and Their Expansions]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(type) allows the encoder to classify the abbreviation according to some convenient typology.
Sample values include: 1] suspension (suspension); 2] contraction (contraction); 3] brevigraph; 4] superscription (superscription); 5] acronym (acronym); 6] title (title); 7] organization (organization); 8] geographic (geographic)</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </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. [3.6.5. Abbreviations and Their Expansions]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.editLike.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="ptr">
      <element name="ptr">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pointer) (pointer) defines a pointer to another location. In LEMDO, we use pointers to point to anchors in a primary text; see <a xmlns="http://www.w3.org/1999/xhtml"
               xmlns:rng="http://relaxng.org/ns/structure/1.0"
               href="#learn_linkPtr"/>. [3.7. Simple Links and Cross-References 17.1. Links]</a:documentation>
         <empty/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:ptr[not(ancestor::tei:linkGrp)][contains(@target, '_anc_')]">
               <sch:assert test="@type = 'localCit'">
                                    ERROR: Pointers to anchors must have the type attribute with a value of localCit.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:ptr[@target]">
               <sch:assert test="not(matches(@target, '(^|\s)role:'))">
                                    Do not use the role: prefix to point to cast roles (person elements in
                                    the particDesc). Use a ref element and supply the appropriate text for 
                                    the link.
                                 </sch:assert>
               <sch:assert test="not(matches(@target, '(^|\s)doc:TAXO1#'))">
                                    Do not use ptr elements to point to ids in TAXO1. Use a 
                                    ref element and provide suitable link text.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-ptr-ptrAtts-constraint-rule-27">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:ptr">
               <sch:report test="@target and @cRef">Only one of the attributes @target and @cRef may be supplied on <sch:name/>.</sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.internetMedia.attributes"/>
         <ref name="att.pointing.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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>
               <choice>
                  <value>lemdoPlay</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A LEMDO Play Pointer) A pointer to a position or range in a play in the LEMDO collection</a:documentation>
                  <value>localCit</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A citation pointer) A pointer to a position or range in the current text. This kind of pointer may only be used to point to a text in the same portfolio as the hosting document. In other words, you may point from emdH5_CriticalSurvey to emdH5_FM#emdH5_FM_anc_368, because both documents are in the H5 text portfolio, but you cannot point to a text of Othello. For the expansion of the pointer to work properly, any text you point at with it must have an appropriate ASSP-based numbering system in place, or you must be pointing to the <code xmlns="http://www.w3.org/1999/xhtml"
                           xmlns:rng="http://relaxng.org/ns/structure/1.0">@xml:id</code> of a <code xmlns="http://www.w3.org/1999/xhtml"
                           xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;div&gt;</code> element that contains a <code xmlns="http://www.w3.org/1999/xhtml"
                           xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;head&gt;</code> element. Using this information, such a pointer will be expanded to an appropriate citation based on the context.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="ref">
      <element name="ref">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference) (reference) defines a reference to another location, possibly modified by additional text or comment. [3.7. Simple Links and Cross-References 17.1. Links]</a:documentation>
         <ref name="macro.paraContent"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:ref">
               <sch:assert test="not(matches(@target, '\s'))">
                             ERROR: A ref/@target attribute can only have one pointer in it.
                           </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:ref[matches(@target, 'https://lemdo.uvic.ca/')]">
               <sch:assert test="matches(@target, '^https://lemdo.uvic.ca/[a-zA-Z_]+/.*$')">
                                    ERROR: Links to LEMDO folders or anthologies by directory must
                                    include the trailing slash: e.g. https://lemdo.uvic.ca/moms/
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:ref">
               <sch:assert test="not(child::tei:note)">
                                    ERROR: ref elements may not have a child note element.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-ref-refAtts-constraint-rule-31">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:ref">
               <sch:report test="@target and @cRef">Only one of the attributes @target and @cRef may be supplied on <sch:name/>.</sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.internetMedia.attributes"/>
         <ref name="att.pointing.attributes"/>
         <ref name="att.typed.attributes"/>
         <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. [3.8. Lists]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.divTop"/>
                  <ref name="model.global"/>
                  <zeroOrMore>
                     <ref name="desc"/>
                  </zeroOrMore>
               </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>
               <ref name="model.divBottom"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </group>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:list[@type='glossary']">
               <sch:assert test="ancestor::tei:TEI[@xml:id='GLOSS1'] or                                    ancestor::tei:*[starts-with(@xml:id, 'lemdo_spec_')] or                                    ancestor::tei:standOff or ancestor::tei:div[starts-with(@xml:id, 'learn_')] or ancestor::*:egXML or contains(document-uri(/), 'tempEgXML')">
                              ERROR: A glossary list can only be created in the GLOSS1.xml
                              file.
                            </sch:assert>
            </sch:rule>
            <sch:rule context="tei:list[@type='gloss']">
               <sch:assert test="ancestor::tei:*[starts-with(@xml:id, 'lemdo_spec_')]">
                                 ERROR: list[@type="gloss"] is not allowed in LEMDO's own documents; 
                                 it should only appear in a lemdo_spec_* file created from the TEI 
                                 P5 source.
                               </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute name="rend">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <choice>
                  <value>bulleted</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A bulleted list.) </a:documentation>
                  <value>numbered</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A numbered list using decimal numbers.) </a:documentation>
                  <value>simple</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A simple list with no bullets or numbers.) </a:documentation>
                  <value>specList</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: only for TEI documentation build.) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(type) describes the nature of the items in the list.</a:documentation>
               <choice>
                  <value>glossary</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A glossary list) In LEMDO, this is only used in the GLOSS1 file, which provides a centralized glossary for documentation only.</a:documentation>
                  <value>gloss</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: A TEI glossary list, which we abhor.) This value must be retained so that TEI documentation, which uses it, remains valid. However, we should never use it in our texts.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="item">
      <element name="item">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(item) contains one component of a list. [3.8. Lists 2.6. The Revision Description]</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">(label) contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary. [3.8. Lists]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.typed.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="head">
      <element name="head">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading) (heading) contains any type of heading, for example the title of a section, or the heading of a list, glossary, manuscript description, etc. [4.2.1. Headings and Trailers]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="lg"/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.inter"/>
               <ref name="model.lLike"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:head">
               <sch:assert test="normalize-space(.) ne ''">
                             ERROR: head elements must not be empty.
                           </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:head">
               <sch:assert test="not(descendant::tei:note[not(@type='editorial')])">
                              ERROR: note elements are not allowed in head elements unless they have @type='editorial'.
                            </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.typed.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="note">
      <element name="note">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(note) contains a note or annotation. []</a:documentation>
         <ref name="macro.specialPara"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:note[not(ancestor::tei:person|ancestor::tei:app|ancestor::tei:bibl|ancestor::tei:teiHeader|ancestor::tei:facsimile|ancestor::tei:org)]">
               <sch:assert test="@type">
                                 ERROR: All in-text notes and notes in annotation files must have a @type attribute.
                              </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:note[@type='annotation']">
               <sch:assert test="child::tei:note[@type='label'][normalize-space(.)] or parent::*:egXML or not(parent::*)">
                                    ERROR: all annotations (note[@type='annotation']) must have child labels 
                                           (note[@type='label']).
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:note[@type='annotation']">
               <sch:assert test="parent::*[self::tei:div[@type='annotations']] or parent::*:egXML or not(parent::*)">
                                    ERROR: all annotations (note[@type='annotation']) must be inside a parent
                                    div[@type='annotations'].
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:body//tei:note[not(ancestor::tei:TEI[matches(@xml:id, '^BIBL1(_.)?$')])][not(some $c in $catRefs satisfies (matches($c/@target,'Paratext|Documentation|Mixed')))]">
               <sch:assert test="not(@type='editorial')">
                                    ERROR: Type editorial is not allowed inline, unless it is a paratext file, or has editorial treatment "letMixed" (meaning that it's an old supplementary text which has not yet been remediated. Instead, either use &lt;supplied&gt; or &lt;anchor&gt;s as appropriate.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:body//tei:note[not(some $c in $catRefs satisfies (matches($c/@target,'Apparatus|Annotation')))]">
               <sch:assert test="not(@type='lexical')">
                                    ERROR: Type lexical is not allowed inline, unless it is a collation or annotation file. Instead, either use &lt;supplied&gt; or &lt;anchor&gt;s as appropriate.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:body//tei:note[@subtype='printOnly']">
               <sch:assert test="string-length(.) lt 226 or ancestor::tei:TEI/@xml:id=('emdOth_M_annotation', 'emdAYL_M_annotation', 'emdH5_FM_annotation')">
                                    ERROR: printOnly notes should not be more than 225 characters long.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.anchoring.attribute.targetEnd"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.pointing.attributes"/>
         <ref name="att.written.attributes"/>
         <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>
               <choice>
                  <value>performance</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Performance note) describes performance or production choices</a:documentation>
                  <value>textual</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Textual note) explains textual decisions made by the editor (often paired with a collation)</a:documentation>
                  <value>commentary</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Commentary) discussion of the meaning of the text, roughly equivalent to current annotation in editions like the Arden or New Cambridge.</a:documentation>
                  <value>lexical</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Lexical) discussion of the etymology of a word/phrase and/or its meaning and prevalence in the early modern period. Such notes will usually cite the OED and/or Lexicons of Early Modern English.</a:documentation>
                  <value>lineation</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Lineation note) discussion of the lineation or relineation of one or more lines in the text (often paired with a collation)</a:documentation>
                  <value>marginal</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Marginal) a marginal note. For use in primary texts only.</a:documentation>
                  <value>editorial</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Editorial) an inline editorial note.</a:documentation>
                  <value>longCaption</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Long Caption) A long caption for a figure. For use within the <code xmlns="http://www.w3.org/1999/xhtml"
                           xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;figure&gt;</code> element only.</a:documentation>
                  <value>video</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Video note) A note that contains a video, most often used for performance editions.</a:documentation>
                  <value>annotation</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A standoff annotation note) A note that functions as a standoff annotation.</a:documentation>
                  <value>gloss</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A glossary note) A short note that gives a short description of the term.</a:documentation>
                  <value>label</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A label note) A label for the annotation or apparatus in question.</a:documentation>
                  <value>notANote</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: This is only generated at build time.) DO NOT USE: This is a mechanism for tagging a note which is not really a note, and should be processed differently at build time. This is generated and handled at build time, and should never be used by an encoder.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="subtype">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(subtype) provides a sub-categorization of the element, if needed.</a:documentation>
               <choice>
                  <value>onlineOnly</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A note intended only for online display.) Some notes are too long or obscure to be worth including in the print version, where space is at a premium, so a note tagged with this subtype will be automatically excluded from print builds.</a:documentation>
                  <value>printOnly</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A note intended only for the print version.) A note intended only for the print edition, usually a shorter version of a note which is longer on the site.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="media">
      <element name="media">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of any form of external media such as an audio or video clip etc. [3.10. Graphics and Other Non-textual Components]</a:documentation>
         <zeroOrMore>
            <ref name="model.descLike"/>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.media.attribute.width"/>
         <ref name="att.media.attribute.height"/>
         <ref name="att.media.attribute.scale"/>
         <ref name="att.resourced.attributes"/>
         <ref name="att.timed.attributes"/>
         <ref name="att.typed.attributes"/>
         <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>
            <list>
               <oneOrMore>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="graphic">
      <element name="graphic">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(graphic) indicates the location of a graphic or illustration, either forming part of a text, or providing an image of it. [3.10. Graphics and Other Non-textual Components 12.1. Digital Facsimiles]</a:documentation>
         <zeroOrMore>
            <ref name="model.descLike"/>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.media.attributes"/>
         <ref name="att.resourced.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="milestone">
      <element name="milestone">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milestone) marks a boundary point separating any kind of section of a text, typically but not necessarily indicating a point at which some part of a standard reference system changes, where the change is not represented by a structural element. [3.11.3. Milestone
Elements]</a:documentation>
         <empty/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:surface/tei:milestone">
               <sch:assert test="@unit and @n and @unit=('page', 'sig')">
                              ERROR: A milestone in a surface element must have both @unit and 
                              @n, and @unit must be either "sig" or "page".
                            </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:milestone[@unit=('linepart', 'nonstructural')]">
               <sch:assert test="ancestor::tei:TEI/descendant::tei:revisionDesc[@status=('IML-TEI', 'IML-TEI_INP')] or ancestor::*[last()]/local-name() = 'div'">
                               ERROR: A milestone with @unit= either "linepart" or "nonstructural" may only appear
                               in a transitional document with revisionDesc/@status="IML-TEI" or "IML-TEI_INP". These milestones must be 
                               remediated before changing the document status.
                             </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.breaking.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.edition.attributes"/>
         <ref name="att.typed.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.</a:documentation>
            <choice>
               <value>act</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Marks the transition to a new act) </a:documentation>
               <value>scene</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Marks the transition to a new scene) </a:documentation>
               <value>sig</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Signature milestone) Marks the point where a manuscript item begins, using the signature. Put the signature in the <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@n</code> attribute. Use only inside <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;surface&gt;</code> in a facsimile document. Otherwise use <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;fw&gt;</code>.</a:documentation>
               <value>page</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Page milestone) Marks the point where a manuscript item begins, using a page number. Put the page number in the <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@n</code> attribute. Use only inside <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;surface&gt;</code> in a facsimile document. Otherwise use <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;pb&gt;</code>.</a:documentation>
               <value>movement</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Movement cue in mayoral pageant book. Use only in MoMS.) </a:documentation>
               <value>nonstructural</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Non-structural milestone.) This is used only during remediation of an IML text. It marks a transition which is inferred from the IML but must be remediated to produce good TEI.</a:documentation>
               <value>linepart</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Milestone for lines divided between speeches.) This is used only during remediation of an IML text. It marks a transition which is inferred from the IML but must be remediated to produce good TEI.</a:documentation>
               <value>paragraph</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: Milestone for paragraph beginnings and endings.) DO NOT USE: This is a temporary value for remediating EMDP texts, where paragraphs overlap with other hierarchies or are opened but not closed. Must be remediated to produce good TEI.</a:documentation>
               <value>stanza</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: Milestone for stanza beginnings and endings.) DO NOT USE: This is a temporary value for remediating EMDP texts, where stanzas overlap with other hierarchies or are opened but not closed. Must be remediated to produce good TEI.</a:documentation>
            </choice>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="pb">
      <element name="pb">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(page beginning) (page beginning) marks the beginning of a new page in a paginated document. In LEMDO, <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;pb&gt;</code> is allowed only in semi-diplomatic transcriptions of primary texts. [3.11.3. Milestone
Elements]</a:documentation>
         <empty/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:pb[not(ancestor::tei:facsimile)][matches(@n,'\d*[A-Za-z\*\p{IsGreek}¶]*\d+(bis)?(r|v)')]">
               <sch:assert test="not(@n = following::tei:pb/@n)">
                                    ERROR: The signature <sch:value-of select="@n"/> appears to be 
                                    repeated. Bibliographic signatures should be unique within a document.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:sp/tei:pb">
               <sch:assert test="preceding-sibling::tei:*">
                                    ERROR: Page beginnings should come before a speech or between anonymous
                                    blocks.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:pb">
               <sch:assert test="not(ancestor::tei:titlePage)">
                                    ERROR: Do not put page beginnings in a title page.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:pb">
               <sch:assert test="not(parent::tei:text)">
                                    ERROR: Page beginnings in stages and abs must have meaningful content before them.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:stage/tei:pb | tei:ab/tei:pb">
               <sch:let name="preText"
                        value="normalize-space(string-join(preceding-sibling::node()/descendant-or-self::text(),''))"/>
               <sch:assert test="not($preText = '')">
                                    ERROR: Page beginnings in stages and abs must have meaningful content before them.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:pb">
               <sch:assert test="ancestor::tei:TEI[descendant::tei:catRef[contains(@target, 'SemiDiplomatic')]] or not(ancestor::tei:TEI)">
                              ERROR: pb (page beginning) elements can only be used in semi-diplomatic transcriptions (with the 'letSemiDiplomatic' catRef).
                            </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:pb[@facs]">
               <sch:assert test="contains(@facs, 'http') or matches(@facs, '^facs:[a-zA-Z0-9_]+|\d+$')">
                                    ERROR: pb/@facs must follow a pattern like this:
                                    facs:FEm_Q1_O|016
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.breaking.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.edition.attributes"/>
         <ref name="att.typed.attributes"/>
         <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>
               <data type="token">
                  <param name="pattern">\d*[A-Za-z\*\p{IsGreek}¶]*\d+(bis)?(r|v)</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="lb">
      <element name="lb">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line beginning) (line beginning) marks the beginning of a new (typographic or manuscript) line in some edition or version of a text. In LEMDO, you may not use <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;lb&gt;</code> to create white space in your text or to indicate where you want verse lines to begin and end. <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;lb&gt;</code> is strictly a milestone that records where a line begins and ends in some witness. In the semi-diplomatic texts, <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;lb&gt;</code> indicates new compositorial lines. In the modern text, <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;lb&gt;</code> is used mainly to indicate correspondence between the present text and a witness or a printed edition. [3.11.3. Milestone
Elements 7.2.5. Speech Contents]</a:documentation>
         <empty/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:lb[not(some $c in $catRefs satisfies (matches($c/@target,'Documentation')))][ancestor::tei:TEI/descendant::tei:revisionDesc[@status]][not(ancestor::tei:TEI//tei:revisionDesc[@status=('IML-TEI', 'TCP-TEI')])]">
               <sch:assert test="not(following-sibling::node()[(not(self::text() and normalize-space(.) = '')) and not(self::comment())][1][self::tei:lb])">ERROR: Uninterrupted sequences of lb are not allowed. If you need to style for more space between lines, please use the style attribute, with proper padding or margin CSS.</sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.breaking.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.edition.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="cb">
      <element name="cb">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(column beginning) marks the beginning of a new column of a text on a multi-column page. [3.11.3. Milestone
Elements]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <ref name="att.breaking.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.edition.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="monogr">
      <element name="monogr">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(monographic level) contains bibliographic elements describing an item (e.g. a book or journal) published as an independent item (i.e. as a separate physical object). [3.12.2.1. Analytic, Monographic, and Series Levels]</a:documentation>
         <group>
            <optional>
               <choice>
                  <group>
                     <choice>
                        <ref name="author"/>
                        <ref name="editor"/>
                        <ref name="respStmt"/>
                     </choice>
                     <zeroOrMore>
                        <choice>
                           <ref name="author"/>
                           <ref name="editor"/>
                           <ref name="respStmt"/>
                        </choice>
                     </zeroOrMore>
                     <oneOrMore>
                        <ref name="title"/>
                     </oneOrMore>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.ptrLike"/>
                           <ref name="idno"/>
                           <ref name="editor"/>
                           <ref name="respStmt"/>
                        </choice>
                     </zeroOrMore>
                  </group>
                  <group>
                     <oneOrMore>
                        <choice>
                           <ref name="title"/>
                           <ref name="model.ptrLike"/>
                           <ref name="idno"/>
                        </choice>
                     </oneOrMore>
                     <zeroOrMore>
                        <choice>
                           <ref name="author"/>
                           <ref name="editor"/>
                           <ref name="respStmt"/>
                        </choice>
                     </zeroOrMore>
                  </group>
                  <group>
                     <ref name="authority"/>
                     <ref name="idno"/>
                  </group>
               </choice>
            </optional>
            <zeroOrMore>
               <ref name="availability"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="model.noteLike"/>
            </zeroOrMore>
            <zeroOrMore>
               <choice>
                  <ref name="idno"/>
                  <ref name="model.ptrLike"/>
                  <ref name="editor"/>
                  <ref name="sponsor"/>
                  <ref name="funder"/>
                  <ref name="respStmt"/>
               </choice>
            </zeroOrMore>
            <zeroOrMore>
               <empty/>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="author">
      <element name="author">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(author) in a bibliographic reference, contains the name(s) of an author, personal or corporate, of a work; for example in the same form as that provided by a recognized bibliographic name authority. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.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">contains a secondary statement of responsibility for a bibliographic item, for example the name of an individual, institution or organization, (or of several such) acting as editor, compiler, translator, etc. [3.12.2.2. Titles, Authors, and Editors]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.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) (statement of responsibility) supplies a statement of responsibility for the intellectual content of a text, edition, recording, or series, where the specialized elements for authors, editors, etc. do not suffice or do not apply. May also be used to encode information about individuals or organizations which have played a role in the production or distribution of a bibliographic work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]</a:documentation>
         <group>
            <ref name="resp"/>
            <choice>
               <ref name="persName"/>
               <ref name="orgName"/>
            </choice>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="resp">
      <element name="resp">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsibility) (responsibility) contains a phrase describing the nature of a person's intellectual responsibility, or an organization's role in the production or distribution of a work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.datable.attributes"/>
         <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 or identity for the entity being named by means of one or more URIs.</a:documentation>
            <list>
               <oneOrMore>
                  <choice>
                     <value>resp:anl</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Analyst) A person or organization that reviews, examines, and interprets data or information in a specific area.Gloss needed.</a:documentation>
                     <value>resp:ann</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Annotator) A person who makes manuscript annotations on an item.</a:documentation>
                     <value>resp:aut</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Author) A person, family, or organization responsible for creating a work that is primarily textual in content, regardless of media type (e.g., printed text, spoken word, electronic text, tactile text) or genre (e.g., poems, novels, screenplays, blogs). Use also for persons, etc., creating a new work by paraphrasing, rewriting, or adapting works by another creator such that the modification has substantially changed the nature and content of the original or changed the medium of expression.LEMDO uses the term author in two contexts: (1) to indicate the author of a primary work or document (such as Hamlet), and (2) to indicate the author of a secondary text (such as the Critical Introduction to Hamlet, by David Bevington).</a:documentation>
                     <value>resp:aut_ann</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Author of Annotations) A person or organization responsible for the commentary or explanatory notes about a text.LEMDO uses the term author of annotations for a person who writes annotions for a text.</a:documentation>
                     <value>resp:aut_attrib</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Supposed Author) An author, artist, etc., relating them to a resource for which there is or once was substantial authority for designating that person as author, creator, etc. of the work.</a:documentation>
                     <value>resp:aut_col</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Collator) A person who compiles the vertical collations for a text.</a:documentation>
                     <value>resp:bsl</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Bookseller) A person or organization who makes books and other bibliographic materials available for purchase. Interest in the materials is primarily lucrative.LEMDO uses the term bookseller only in the metadata for publications and copies. In cases where a publication was issued with variant title pages, list all booksellers in all variant states of the title page.</a:documentation>
                     <value>resp:cont</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Generic Contributor) Do not use: This is a generic contributor for which it is impossible to determine a more precise role for this person. All generic contributors should be replaced by a more specific value.</a:documentation>
                     <value>resp:cph</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Copyright Holder) A person or organization to whom copy and legal rights have been granted or transferred for the intellectual content of a work. The copyright holder, although not necessarily the creator of the work, usually has the exclusive right to benefit financially from the sale and use of the work to which the associated copyright protection applies.Normally the editor is the copyright holder for an LEMDO edition.</a:documentation>
                     <value>resp:csl</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Consultant) A person or organization relevant to a resource, who is called upon for professional advice or services in a specialized field of knowledge or training.Consultant or Technical Advisor: A person who is called upon for professional advice during the editorial and/or encoding processes. Give a person a credit in the edition page if their role is more than one would list in the Acknowledgements page. LEMDO uses this value for a Technical Advisor who provides training, answers questions, and advises on encoding matters.</a:documentation>
                     <value>resp:drt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Director) A person responsible for the general management and supervision of a filmed performance, a radio or television program, etc.LEMDO uses the term director for the person who manages or supervises a performance. We do not use it for project level directors.</a:documentation>
                     <value>resp:edm</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Video Editor) A person, family, or organization responsible for assembling, arranging, and trimming film, video, or other moving image formats, including both visual and audio aspects.Gloss needed.</a:documentation>
                     <value>resp:edt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Editor) A person, family, or organization contributing to a resource by revising or elucidating the content, e.g., adding an introduction, notes, or other critical matter. An editor may also prepare a resource for production, publication, or distribution. For major revisions, adaptations, etc., that substantially change the nature and content of the original work, resulting in a new work, see author.LEMDO uses the general term editor only in edition metadata and only to indicate when a person is responsible for editing all parts of an edition. Otherwise, use the more granular terms to describe the precise nature of the editorial role.</a:documentation>
                     <value>resp:edt_assoccoord</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Associate Coordinating Editor) Gloss needed.</a:documentation>
                     <value>resp:edt_assoctext</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Associate Textual Editor) Gloss needed.</a:documentation>
                     <value>resp:edt_asstcoord</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Assistant Coordinating Editor) The term assistant coordinating editor appears in the metadata for documents produced before 2017. From 2017 on, this term is reserved for project-level credits.</a:documentation>
                     <value>resp:edt_comp</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Compiler) A person, family, or organization responsible for creating a new work (e.g., a bibliography, a directory) through the act of compilation, e.g., selecting, arranging, aggregating, and editing data, information, etc.LEMDO uses the term compiler for the person who chooses and aggregates the resources included in an edition, if those resources are not all by the editor of the edition. The compiler and the editor may be the same person; in that case, the person needs two responsibility statements.</a:documentation>
                     <value>resp:edt_cont</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Contributing Editor) Gloss needed.</a:documentation>
                     <value>resp:edt_coord</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Coordinating Editor) Some anthologies have one or more Coordinating Editor. Use this value in responsibility statements on an edition title. Normally, anthologies should not list Coordinating Editors or General Editors on every XML file in an edition.</a:documentation>
                     <value>resp:edt_cpy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Copy Editor) LEMDO uses the term owner for the person who checks facts, quotations, and citations; may make formatting changes; may convert from one citation style to another; may suggest wording changes; and enforces conformity with the project style guide.</a:documentation>
                     <value>resp:edt_gen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(General Editor) Gloss needed.</a:documentation>
                     <value>resp:edt_genperf</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(General Editor (Performance)) A person responsible for the performance strategy and methodology of a project.</a:documentation>
                     <value>resp:edt_gentext</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(General Textual Editor) Gloss needed.</a:documentation>
                     <value>resp:edt_mrk</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Markup Editor) A person or organization performing the coding of SGML, HTML, or XML markup of metadata, text, etc.Gloss needed.</a:documentation>
                     <value>resp:edt_perf</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Performance Editor) Gloss needed.</a:documentation>
                     <value>resp:edt_sup</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Supervising Editor) An editor who supervises the work of a student editor.</a:documentation>
                     <value>resp:edt_text</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Textual Editor) Gloss needed.</a:documentation>
                     <value>resp:own</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Owner) A person, family, or organization that currently owns an item or collection, i.e., has legal possession of a resource.LEMDO uses the term owner for the person, family, or library that owns the physical copy of an artifact reproduced in facsimile on the platform. The owner is often but not necessarily the copyright holder.</a:documentation>
                     <value>resp:pbd</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Anthology Lead) A person or organization who presides over the elaboration of a collective work to ensure its coherence or continuity. This includes editors-in-chief, literary editors, editors of series, etc.A person who presides over the creation of an anthology on the LEMDO platform, a role that includes commissioning editions, approving proposals, supporting editors, arranging for peer review, and liaising with the LEMDO Platform Team.</a:documentation>
                     <value>resp:pdr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Project Director) A person or organization with primary responsibility for all essential aspects of a project, has overall responsibility for managing projects, or provides overall direction to a project manager.LEMDO uses the term project director for the person who directs the LEMDO project. For anthology leads, use pbd.</a:documentation>
                     <value>resp:pfr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Proofreader) A person who corrects printed matter.LEMDO uses the term proofreader for the person who performs minor corrections to a finalized document, which usually include typographical or rendering fixes. For copy-editing, use resp:edt_cpy.</a:documentation>
                     <value>resp:prg</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Programmer) A person, family, or organization responsible for creating a computer program.Gloss needed.</a:documentation>
                     <value>resp:prn</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Production Company) An organization that is responsible for financial, technical, and organizational management of a production for stage, screen, audio recording, television, webcast, etc.Gloss needed.</a:documentation>
                     <value>resp:ptr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Printer) A person, family, or organization involved in manufacturing a manifestation of printed text, notated music, etc., from type or plates, such as a book, newspaper, magazine, broadside, score, etc.Gloss needed.</a:documentation>
                     <value>resp:rtm</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Research Team Member) A person who participated in a research project but whose role did not involve direction or management of it.Gloss needed.</a:documentation>
                     <value>resp:rtm_ra</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Editorial Research Assistant) A person who participated in a research project but whose role did not involve direction or management of itLegacy term. Use rtm or appropriate role from 2017 on.</a:documentation>
                     <value>resp:scr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Scribe) A person who is an amanuensis and for a writer of manuscripts proper.Gloss needed. </a:documentation>
                     <value>resp:trc</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Transcriber) A person, family, or organization contributing to a resource by changing it from one system of notation to another.</a:documentation>
                     <value>resp:trl</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Translator) A person or organization who renders a text from one language into another, or from an older form of a language into the modern form.Gloss needed.</a:documentation>
                     <value>resp:vet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Peer Reviewer) LEMDO uses the term peer reviewer for a person who reviews a transcription, critical materials, dataset, and/or some or all components of an edition.</a:documentation>
                     <value>resp:wtm</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Technical Writer) Writer of Technical Material: A person responsible for writing or compiling documentation of the project’s editorial, encoding, and programming practices.</a:documentation>
                  </choice>
               </oneOrMore>
            </list>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="title">
      <element name="title">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title) contains a title for any kind of work. [3.12.2.2. Titles, Authors, and Editors 2.2.1. The Title Statement 2.2.5. The Series Statement]</a:documentation>
         <ref name="macro.paraContent"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:title | tei:titlePart | tei:epigraph | tei:figDesc | tei:byline | tei:docImprint">
               <sch:assert test="string-length(normalize-space(.)) gt 0"> ERROR: title, titlePart and similar elements must not be empty. ( <sch:value-of select="ancestor::tei:TEI/@xml:id"/> ) </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the title according to some convenient typology.</a:documentation>
               <choice>
                  <value>main</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(The main title of the text.) </a:documentation>
                  <value>short</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: this will be obsolete soon.) </a:documentation>
                  <value>print</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(The title of a text to be used in a print context.) </a:documentation>
                  <value>full</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Used only in facsimiles, to give the title as it appears in STC or ESTC etc.) </a:documentation>
                  <value>alpha</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A version of a title to be used for alphabetization, and for display in alphabetized lists.) </a:documentation>
                  <value>containingEdition</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: this is used only at build time to import the title of a containing edition into a titleStmt.) </a:documentation>
                  <value>thisText</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: this is used only at build time to distinguish the title of a containing edition from that of the contained text in a titleStmt.) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <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) the title applies to an analytic item, such as an article, poem, or other work 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) the title applies to a monograph such as a book or other item considered to be a distinct publication, including single volumes of multi-volume works</a:documentation>
                  <value>j</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(journal) the title applies to any serial or periodical publication such as a journal, magazine, or newspaper</a:documentation>
                  <value>s</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series) the title applies to a series of otherwise distinct publications such as a collection</a:documentation>
                  <value>u</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unpublished) the title applies to any unpublished material (including theses and dissertations unless published by a commercial press)</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="publisher">
      <element name="publisher">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(publisher) provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.12.2.4. Imprint, Size of a Document, and Reprint Information 2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.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. [3.12.2.4. Imprint, Size of a Document, and Reprint Information]</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) (bibliographic citation) contains a loosely-structured bibliographic citation of which the sub-components may or may not be explicitly tagged. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="author"/>
               <ref name="date"/>
               <ref name="distributor"/>
               <ref name="editor"/>
               <ref name="idno"/>
               <ref name="note"/>
               <ref name="orgName"/>
               <ref name="ptr"/>
               <ref name="pubPlace"/>
               <ref name="publisher"/>
               <ref name="ref"/>
               <ref name="sponsor"/>
               <ref name="supplied"/>
               <ref name="title"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:TEI[matches(@xml:id, '^BIBL1(_.)?$')]/descendant::tei:bibl/descendant::*[self::tei:author or self::tei:editor]">
               <sch:assert test="not(contains(., ',')) or not(matches(., '[A-Z]$'))">
                              ERROR: The period for an initial at the end of an author
                              or editor element must be inside the element.
                            </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:TEI[matches(@xml:id, '^BIBL1(_.)?$')]/descendant::tei:bibl/descendant::text()">
               <sch:assert test="not(matches(., '[A-Z]\.\s+[A-Z]\.'))">
                              ERROR: Inside BIBL1 bibl elements, sequences of two or more
                              initials should not have spaces between them. Use J.J.
                              instead of J. J.
                            </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:TEI[matches(@xml:id, '^BIBL1(_.)?$')]/descendant::tei:bibl">
               <sch:assert test="not(contains(., 'Eds'))">
                                    ERROR: eds. should never be capitalized in bibliographic entries (i.e., we want eds. or Ed., not Eds.)
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:TEI[matches(@xml:id, '^BIBL1(_.)$')]/descendant::tei:bibl">
               <sch:let name="startLetter"
                        value="substring-after(ancestor::tei:TEI/@xml:id, '_')"/>
               <sch:assert test="substring(@xml:id, 1, 1) eq $startLetter">
                                    ERROR: @xml:id values in this file must start with the letter <sch:value-of select="$startLetter"/>
               </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:ref[starts-with(@type, 'bibl')]">
               <sch:assert test="@target">
                                    ERROR: A ref to a bibl element must contain a target
                                    attribute: ref type="bibl" target="bibl:ABCD1".
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <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>
               <choice>
                  <value>cip</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Cataloging-In-Publishing record) This is used to provide a plain-text data block formatted to comply with the Publisher's Cataloging-in-Publication record rules, and should only be used for print texts.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="biblStruct">
      <element name="biblStruct">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(structured bibliographic citation) contains a structured bibliographic citation, in which only bibliographic sub-elements appear and in a specified order. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements]</a:documentation>
         <group>
            <oneOrMore>
               <ref name="monogr"/>
            </oneOrMore>
            <zeroOrMore>
               <choice>
                  <ref name="model.noteLike"/>
                  <ref name="model.ptrLike"/>
                  <ref name="relatedItem"/>
               </choice>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.docStatus.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. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2.7. The Source Description 16.3.2. Declarable Elements]</a:documentation>
         <oneOrMore>
            <ref name="bibl"/>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.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. [3.12.2.7. Related Items]</a:documentation>
         <optional>
            <choice>
               <ref name="model.biblLike"/>
               <ref name="model.ptrLike"/>
            </choice>
         </optional>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-relatedItem-targetorcontent1-constraint-rule-58">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:relatedItem">
               <sch:report test="@target and count( child::* ) &gt; 0">If the @target attribute on <sch:name/> is used, the relatedItem element must be empty</sch:report>
               <sch:assert 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>
            </sch:rule>
         </pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <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>
               <choice>
                  <value>containingEdition</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Pointer to an edition file which includes this text.) Do not add this manually to a text; it will be generated at build time to make subsequent processing more straightforward.</a:documentation>
               </choice>
            </attribute>
         </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">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
         <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. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.5. Speech Contents]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.inter"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-l-abstractModel-structure-l-in-l-constraint-rule-59">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:l">
               <sch:report test="ancestor::tei:l[not(.//tei:note//tei:l[. = current()])]">Abstract model violation: Lines may not contain lines or lg elements.</sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.fragmentable.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="lg">
      <element name="lg">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line group) contains one or more verse lines functioning as a formal unit, e.g. a stanza, refrain, verse paragraph, etc. [3.13.1. Core Tags for Verse 3.13. Passages of Verse or Drama 7.2.5. Speech Contents]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.divTop"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
            <choice>
               <ref name="model.lLike"/>
               <ref name="model.stageLike"/>
               <ref name="model.labelLike"/>
               <ref name="model.pPart.transcriptional"/>
               <ref name="lg"/>
            </choice>
            <zeroOrMore>
               <choice>
                  <ref name="model.lLike"/>
                  <ref name="model.stageLike"/>
                  <ref name="model.labelLike"/>
                  <ref name="model.pPart.transcriptional"/>
                  <ref name="model.global"/>
                  <ref name="lg"/>
               </choice>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="model.divBottom"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-lg-atleast1oflggapl-constraint-rule-60">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:lg">
               <sch:assert test="count(descendant::tei:lg|descendant::tei:l|descendant::tei:gap) &gt; 0">An lg element must contain at least one child l, lg, or gap element.</sch:assert>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-lg-abstractModel-structure-lg-in-l-constraint-rule-61">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:lg">
               <sch:report test="ancestor::tei:l[not(.//tei:note//tei:lg[. = current()])]">Abstract model violation: Lines may not contain line groups.</sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.divLike.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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>
               <choice>
                  <value>song</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(song) </a:documentation>
                  <value>poem</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(poem) </a:documentation>
                  <value>stanza</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(stanza) </a:documentation>
                  <value>couplet</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(couplet) </a:documentation>
                  <value>triplet</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(triplet) </a:documentation>
                  <value>quatrain</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(quatrain) </a:documentation>
                  <value>sonnet</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sonnet) </a:documentation>
                  <value>verseLetter</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(verseLetter) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="sp">
      <element name="sp">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(speech) (speech) contains an individual speech in a performance text, or a passage presented as such in a prose or verse text. LEMDO customizes content to allow speaker elements alone, in some cases of split speeches. [3.13.2. Core Tags for Drama 3.13. Passages of Verse or Drama 7.2.2. Speeches and Speakers]</a:documentation>
         <choice>
            <ref name="speaker"/>
            <group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
               <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
                  <rng:group>
                     <rng:ref name="speaker"/>
                     <rng:zeroOrMore>
                        <rng:ref name="model.global"/>
                     </rng:zeroOrMore>
                  </rng:group>
               </rng:optional>
               <oneOrMore>
                  <choice>
                     <ref name="lg"/>
                     <ref name="model.lLike"/>
                     <ref name="model.pLike"/>
                     <ref name="model.listLike"/>
                     <ref name="model.stageLike"/>
                     <ref name="model.attributable"/>
                  </choice>
                  <choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                     <ref name="q"/>
                  </choice>
               </oneOrMore>
            </group>
         </choice>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:sp[count(child::*) = 1 and child::tei:speaker]">
               <sch:assert test="@next">A speech which contains only a speaker must have @next
                            because such a speech only exists when it's part of a split element.</sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:sp[ancestor::tei:sp]">
               <sch:assert test="ancestor::tei:TEI/descendant::tei:catRef[@target='cat:letSemiDiplomatic']">
                                    ERROR: Nested speeches may only occur in semi-diplomatic encoding.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:sp[parent::tei:ab]">
               <sch:assert test="parent::tei:ab/parent::tei:sp">
                                    ERROR: Speeches may only appear in ab elements that are inside sp elements
                                    (and only in semi-diplomatic texts).
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.ascribed.directed.attribute.toWhom"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.written.attributes"/>
         <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>
                  <oneOrMore>
                     <data type="token">
                        <param name="pattern">((spkr:other)|(#[a-zA-Z0-9\-_]+))</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="speaker">
      <element name="speaker">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a specialized form of heading or label, giving the name of one or more speakers in a dramatic text or fragment. [3.13.2. Core Tags for Drama]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:speaker[some $c in $catRefs satisfies (matches($c/@target,'Modern'))][not(ancestor::tei:quote)][not(parent::tei:sp[@who[matches(., 'spkr:other')]])][not(count(tokenize(normalize-space(parent::tei:sp/@who), '\s+')) gt 1)][ancestor::tei:TEI/descendant::tei:revisionDesc[@status[not(.=('IML-TEI', 'TCP-TEI', 'TEI_collating'))]]]">
               <sch:let name="thisSpeaker" value="normalize-space(.)"/>
               <sch:let name="thisWho" value="parent::tei:sp/@who"/>
               <sch:let name="thisSpeakerId" value="replace($thisWho,'#','')"/>
               <sch:let name="matches"
                        value="ancestor::tei:TEI//tei:person[@xml:id=$thisSpeakerId]//tei:reg[. = $thisSpeaker]"/>
               <sch:assert test="count($matches) = 1">
                                    ERROR: Your speaker (<xsl:value-of select="$thisSpeaker"/>) must exactly match one of the names tagged with &lt;reg&gt;. Check your spelling; otherwise add this name to the &lt;reg&gt; list for the corresponding &lt;person&gt; in &lt;listPerson&gt;.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="stage">
      <element name="stage">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(stage direction) (stage direction) contains any kind of stage direction within a dramatic text or fragment. [3.13.2. Core Tags for Drama 3.13. Passages of Verse or Drama 7.2.4. Stage Directions]</a:documentation>
         <ref name="macro.specialPara"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:stage">
               <sch:assert test="not(child::tei:l)">
                                    ERROR: stage elements cannot have lines inside them.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:stage">
               <sch:assert test="not(child::tei:figure)">
                                    ERROR: stage elements cannot have figures inside them.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.ascribed.directed.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.written.attributes"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the kind of stage direction.</a:documentation>
               <list>
                  <zeroOrMore>
                     <choice>
                        <value>entrance</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the entrance of one or more characters</a:documentation>
                        <value>exit</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the exit of one or more characters</a:documentation>
                        <value>remain</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that one or more characters remains on stage when others exit. Old IML value was usually other.</a:documentation>
                        <value>business</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes all business, both on and off the stage. LEMDO does not distinguish between onstage and offstage business because we cannot know how certain directions might have been implemented. Business includes character actions like kneeling, drawing swords, gesturing, and reading, as well as directions that might require an onstage actorly gesture and/or an offstage effect. From 2024-08-05 on, LEMDO does not use this value for dumbshows; use dumbshow instead.</a:documentation>
                        <value>dumbShow</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a non-verbal series of actions (a dumb show). LEMDO follows the OED (3rd edition) definition of this historically specific term: Esp. in English drama of the 16th and 17th centuries: a part of a play acted in mime to summarize, supplement, or comment on the main action. Later also more generally: any dramatic performance in mime (dumb show n.2.).</a:documentation>
                        <value>delivery</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes how or to whom a character speaks. Use for addressee clarification, addressee change, asides, and dialogue delivered in a particular way (e.g., crying, weeping, calling, singing), normally onstage but also allowed for offstage stage directions (e.g., They cry within). Do not use this value for reading aloud unless the stage direction also indicates how or to whom the speaker reads.</a:documentation>
                        <value>sound</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Describes a sound made onstage or offstage such as flourish, instrumental music, thunder, a shot, drums, whistle. Note that songs should be given the value delivery.</a:documentation>
                        <value>setting</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a setting within the world of the play (e.g., in her bed, a council chamber). Do not use this value to describe a location on the stage.</a:documentation>
                        <value>location</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Describes a physical location on stage (e.g., above or at one door) or within the tiring house (e.g., within) or a real location where the performance took place (e.g., At Chelsea in a river pageant or In Paul’s Churchyard in a mayoral show). Do not use this value for stage directions marked in the playbook as dumbshows.</a:documentation>
                        <value>characters</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lists the names of newly entered characters in a play where new scenes are marked with the entry of a significant new character or group of characters, in imitation of the practice of printed classical drama (CWBJO). This value is meant primary for the CWBJO anthology but may also be used for plays that divide scenes in imitation of Jonson or printed classical drama.</a:documentation>
                        <value>uncertain</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">OLD IML VALUE TO BE REMOVED OR REPLACED.</a:documentation>
                        <value>optional</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">OLD IML VALUE TO BE REMOVED OR REPLACED.</a:documentation>
                        <value>other</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">DO NOT USE</a:documentation>
                     </choice>
                  </zeroOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="teiCorpus">
      <element name="teiCorpus">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI corpus) contains the whole of a TEI encoded corpus, comprising a single corpus header and one or more <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;TEI&gt;</code> elements, each containing a single text header and a text. [4. Default Text Structure 16.1. Varieties of Composite Text]</a:documentation>
         <group>
            <ref name="teiHeader"/>
            <zeroOrMore>
               <ref name="model.resource"/>
            </zeroOrMore>
            <oneOrMore>
               <ref name="model.describedResource"/>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <optional>
            <attribute name="version">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(version) 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="divGen">
      <element name="divGen">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(automatically generated text division) (automatically generated text division) indicates the location at which a textual division generated automatically by a text-processing application is to appear. [3.9.2. Index Entries]</a:documentation>
         <zeroOrMore>
            <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.</a:documentation>
               <choice>
                  <value>bibliography</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(This divGen will be replaced by a generated bibliography.) This is used (initially at least) only in print publication, where a subset of available annotations are included in the document; the references from those annotations and associated content are used to generate a bibliography from items in the main central bibliography.</a:documentation>
                  <value>stageDirectionsTable</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(This divGen will be replaced by a generated paratext-style document consisting of a table of all stage-directions.) This should be implemented in both the print and online versions of the text. Print will be completed first.</a:documentation>
                  <value>attcat</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(This divGen will be replaced by a generated list of attributes from the schema.) WARNING: This is dependent on TEI Stylesheets processing, so it may not work as expected. This value is taken from the TEI Guidelines processing.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="att.lexicographic.normalized.attributes">
      <ref name="att.lexicographic.normalized.attribute.norm"/>
      <ref name="att.lexicographic.normalized.attribute.orig"/>
   </define>
   <define name="att.lexicographic.normalized.attribute.norm">
      <optional>
         <attribute name="norm">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(normalized) provides the normalized/standardized form of information present in the source text in a non-normalized form.</a:documentation>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.lexicographic.normalized.attribute.orig">
      <optional>
         <attribute name="orig">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original) gives the original string or is the empty string when the element does not appear in the source text.</a:documentation>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.linguistic.attributes">
      <ref name="att.lexicographic.normalized.attributes"/>
      <ref name="att.linguistic.attribute.lemma"/>
      <ref name="att.linguistic.attribute.lemmaRef"/>
      <ref name="att.linguistic.attribute.pos"/>
      <ref name="att.linguistic.attribute.msd"/>
      <ref name="att.linguistic.attribute.join"/>
   </define>
   <define name="att.linguistic.attribute.lemma">
      <optional>
         <attribute name="lemma">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a lemma (base form) for the word, typically uninflected and serving both as an identifier (e.g. in dictionary contexts, as a headword), and as a basis for potential inflections.</a:documentation>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.linguistic.attribute.lemmaRef">
      <optional>
         <attribute name="lemmaRef">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a pointer to a definition of the lemma for the word, for example in an online lexicon.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.linguistic.attribute.pos">
      <optional>
         <attribute name="pos">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(part of speech) indicates the part of speech assigned to a token (i.e. information on whether it is a noun, adjective, or verb), usually according to some official reference vocabulary (e.g. for German: STTS, for English: CLAWS, for Polish: NKJP, etc.).</a:documentation>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.linguistic.attribute.msd">
      <optional>
         <attribute name="msd">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(morphosyntactic description) supplies morphosyntactic information for a token, usually according to some official reference vocabulary (e.g. for German: <a xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  href="http://www.ims.uni-stuttgart.de/forschung/ressourcen/lexika/TagSets/stts-1999.pdf">STTS-large tagset</a>; for a feature description system designed as (pragmatically) universal, see <a xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  href="http://universaldependencies.org/u/feat/index.html">Universal Features</a>).</a:documentation>
            <data type="string"/>
         </attribute>
      </optional>
   </define>
   <define name="att.linguistic.attribute.join">
      <optional>
         <attribute name="join">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">when present, provides information on whether the token in question is adjacent to another, and if so, on which side.</a:documentation>
            <choice>
               <value>no</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the token is not adjacent to another</a:documentation>
               <value>left</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is no whitespace on the left side of the token</a:documentation>
               <value>right</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is no whitespace on the right side of the token</a:documentation>
               <value>both</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is no whitespace on either side of the token</a:documentation>
               <value>overlap</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the token overlaps with another; other devices (specifying the extent and the area of overlap) are needed to more precisely locate this token in the character stream</a:documentation>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="pc">
      <element name="pc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(punctuation character) contains a character or string of characters regarded as constituting a single punctuation mark. [18.1.2. Below the Word Level 18.4.2. Lightweight Linguistic Annotation]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.pPart.edit"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.linguistic.attributes"/>
         <ref name="att.segLike.attributes"/>
         <ref name="att.typed.attributes"/>
         <optional>
            <attribute name="force">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the extent to which this punctuation mark conventionally separates words or phrases.</a:documentation>
               <choice>
                  <value>strong</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the punctuation mark is a word separator</a:documentation>
                  <value>weak</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the punctuation mark is not a word separator</a:documentation>
                  <value>inter</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the punctuation mark may or may not be a word separator</a:documentation>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="unit">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a name for the kind of unit delimited by this punctuation mark.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="pre">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether this punctuation mark precedes or follows the unit it delimits.</a:documentation>
               <data type="boolean"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="span">
      <element name="span">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">associates an interpretative annotation directly with a span of text. [18.3. Spans and Interpretations]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-span-target-from-constraint-rule-68">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:span">
               <sch:report test="@from and @target">
          Only one of the attributes @target and @from may be supplied on <sch:name/>
               </sch:report>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-span-targetto-constraint-rule-69">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:span">
               <sch:report test="@to and @target">
          Only one of the attributes @target and @to may be supplied on <sch:name/>
               </sch:report>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-span-tonotfrom-constraint-rule-70">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:span">
               <sch:report test="@to and not(@from)">
          If @to is supplied on <sch:name/>, @from must be supplied as well
        </sch:report>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-span-tofrom-constraint-rule-71">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:span">
               <sch:report test="contains(normalize-space(@to),' ') or contains(normalize-space(@from),' ')">
          The attributes @to and @from on <sch:name/> may each contain only a single value
        </sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.cmc.attributes"/>
         <attribute name="from">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the identifier of the node which is the starting point of the span of text being annotated; if not accompanied by a <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">@to</code> attribute, gives the identifier of the node of the entire span of text being annotated.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
         <optional>
            <attribute name="to">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the identifier of the node which is the end-point of the span of text being annotated.</a:documentation>
               <data type="anyURI">
                  <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="particDesc">
      <element name="particDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(participation description) describes the identifiable speakers, voices, or other participants in any kind of text or other persons named or otherwise referred to in a text, edition, or metadata. [16.2. Contextual Information]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <oneOrMore>
               <choice>
                  <ref name="model.personLike"/>
                  <ref name="listPerson"/>
                  <ref name="listOrg"/>
               </choice>
            </oneOrMore>
         </choice>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="castList">
      <element name="castList">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast list) contains a single cast list or dramatis personae. [7.1.4. Cast Lists 7.1. Front and Back Matter
 ]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.divTop"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="model.common"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="castItem"/>
                  <ref name="castGroup"/>
               </choice>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </oneOrMore>
            <zeroOrMore>
               <ref name="model.common"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="castGroup">
      <element name="castGroup">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast list grouping) groups one or more individual <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;castItem&gt;</code> elements within a cast list. [7.1.4. Cast Lists]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.global"/>
                  <ref name="model.headLike"/>
               </choice>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="castItem"/>
                  <ref name="castGroup"/>
                  <ref name="roleDesc"/>
               </choice>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </oneOrMore>
            <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
               <rng:group>
                  <rng:ref name="trailer"/>
                  <rng:zeroOrMore>
                     <rng:ref name="model.global"/>
                  </rng:zeroOrMore>
               </rng:group>
            </rng:optional>
         </group>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="castItem">
      <element name="castItem">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast list item) contains a single entry within a cast list, describing either a single role or a list of non-speaking roles. [7.1.4. Cast Lists]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.castItemPart"/>
               <ref name="model.phrase"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="type"
                       a:defaultValue="role">
               <a:documentation>characterizes the cast item.</a:documentation>
               <choice>
                  <value>role</value>
                  <a:documentation>the item describes a single role.</a:documentation>
                  <value>list</value>
                  <a:documentation>the item describes a list of non-speaking roles.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="role">
      <element name="role">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(role) contains the name of a dramatic role, as given in a cast list. [7.1.4. Cast Lists]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="gender">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the gender of the role.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="roleDesc">
      <element name="roleDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(role description) describes a character's role in a drama. [7.1.4. Cast Lists]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="att.tableDecoration.attributes">
      <ref name="att.tableDecoration.attribute.role"/>
      <ref name="att.tableDecoration.attribute.rows"/>
      <ref name="att.tableDecoration.attribute.cols"/>
   </define>
   <define name="att.tableDecoration.attribute.role">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="role"
                    a:defaultValue="data">
            <a:documentation>(role) indicates the kind of information held in this cell or in each cell of this row.
Suggested values include: 1] label; 2] data</a:documentation>
            <choice>
               <value>label</value>
               <a:documentation>labelling or descriptive information only.</a:documentation>
               <value>data</value>
               <a:documentation>data values.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.tableDecoration.attribute.rows">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="rows"
                    a:defaultValue="1">
            <a:documentation>(rows) indicates the number of rows occupied by this cell or row.</a:documentation>
            <data type="nonNegativeInteger"/>
         </attribute>
      </optional>
   </define>
   <define name="att.tableDecoration.attribute.cols">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="cols"
                    a:defaultValue="1">
            <a:documentation>(columns) indicates the number of columns occupied by this cell or row.</a:documentation>
            <data type="nonNegativeInteger"/>
         </attribute>
      </optional>
   </define>
   <define name="table">
      <element name="table">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(table) contains text displayed in tabular form, in rows and columns. [15.1.1. TEI Tables]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.headLike"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
            <choice>
               <oneOrMore>
                  <ref name="row"/>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <oneOrMore>
                  <ref name="model.graphicLike"/>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
            </choice>
            <zeroOrMore>
               <ref name="model.divBottom"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </group>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:table[not(descendant::tei:*[@cols or @rows])]">
               <sch:let name="baseCellCount" value="count(tei:row[1]/tei:cell)"/>
               <sch:assert test="every $row in tei:row satisfies count($row/tei:cell) = $baseCellCount">
                              ERROR: At least one row in this table has the wrong number of cells. The cell count
                              established by the first row is <sch:value-of select="$baseCellCount"/>.
                                </sch:assert>
            </sch:rule>
            <sch:rule context="tei:table[descendant::tei:*[@cols or @rows]]">
               <sch:let name="baseCellCount"
                        value="count(tei:row[i]/tei:cell) + sum((for $s in tei:row[1]/tei:cell/@cols return xs:integer($s) - 1))"/>
               <sch:let name="spanAdjustment"
                        value="sum((for $s in (descendant::tei:cell/@cols, descendant::tei:cell/@rows) return xs:integer($s) - 1))"/>
               <sch:let name="totalCells" value="count(descendant::tei:cell) + $spanAdjustment"/>
               <sch:assert test="$totalCells mod count(descendant::tei:row) = 0">
                                 ERROR: This table has an incorrect number of cells.
                               </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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>
               <choice>
                  <value>ldtList</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE: This is used internally by the build process, and should not be applied manually by encoders.) </a:documentation>
                  <value>nameVal</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Used for a table consisting of name-value pairs, such as production credits pages. The left column will be a fixed width so that sequences of such tables line up.) </a:documentation>
                  <value>twoColumnToc</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Used for a table-of-contents page which is divided into two columns with one or more cells in each column (see emd_FV_edition).) </a:documentation>
                  <value>msDesc</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A tabular rendering of the contents of an msDesc element.) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="rows">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rows) indicates the number of rows in the table.</a:documentation>
               <data type="nonNegativeInteger"/>
            </attribute>
         </optional>
         <optional>
            <attribute name="cols">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(columns) indicates the number of columns in each row of the table.</a:documentation>
               <data type="nonNegativeInteger"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="row">
      <element name="row">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(row) contains one row of a table. [15.1.1. TEI Tables]</a:documentation>
         <oneOrMore>
            <ref name="cell"/>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.tableDecoration.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="cell">
      <element name="cell">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cell) contains one cell of a table. [15.1.1. TEI Tables]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.global.attributes"/>
         <ref name="att.tableDecoration.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="figure">
      <element name="figure">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(figure) groups elements representing or containing graphic information such as an illustration, formula, or figure. [15.4. Specific Elements for Graphic Images]</a:documentation>
         <zeroOrMore>
            <choice>
               <ref name="list"/>
               <ref name="p"/>
               <ref name="head"/>
               <ref name="media"/>
               <ref name="figDesc"/>
               <ref name="graphic"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:figure[ancestor::tei:TEI[descendant::tei:catRef/@target[.= 'cat:letSemiDiplomatic']]]">
               <sch:assert test="@type">
                                    Error: Figures in semi-diplomatic transcriptions require a type attribute
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:figure[@type=('addition', 'illustration', 'portrait')]">
               <sch:assert test="child::tei:figDesc">
                                    Error: Figures with a type value of addition require a child figDesc element
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:figure[@type=('device', 'fleuron', 'horizontal-rule', 'manicule', 'ornament', 'virgule')]">
               <sch:assert test="not(child::tei:figDesc)">
                                    Error: Figures for horizontal rules, devices, and ornaments may not have child figDesc elements
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:figure[@type='device']/@n">
               <sch:assert test="matches(., 'McKerrow\s\d+')">
                                    Error: n values on pb must cite a McKerrow number
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <ref name="att.written.attributes"/>
         <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>
               <choice>
                  <value>addition</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Addition) Something that was added after printing such as a library stamp. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>asterism</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Asterism) Two or more asterisks (often used to separate sections). Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>device</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Device) A printer’s device is a woodcut or copper-plate block with a picture or design that served as the printer’s trademark, generally appearing on title pages or on the final leaf of a book (Erne). Previously printer’s ornament. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>fleuron</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Fleuron) A fleuron. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>horizontal-rule</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Horizontal rule) A horizontal line or rule. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>illustration</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Illustration) Pictorial elucidation. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>manicule</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Manicule) A pointing finger. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>ornament</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Ornament) A decoration used in conjunction with type. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>portrait</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Portrait) Illustration of a person, real or historical, depicting the face, head, and shoulders. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>virgule</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Virgule) A virgule. Use this value only in semi-diplomatic transcriptions, not in born-digital texts.</a:documentation>
                  <value>thumbnail</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A figure in a born-digital document which is suitable for small-scale display, perhaps floated left or right, with text flowing round it.) Use this value only in born-digital documents.</a:documentation>
                  <value>fullsize</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A figure in a born-digital document which is suitable for large-scale display, taking up the full width of the reading column.) Use this value only in born-digital documents.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <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. [15.4. Specific Elements for Graphic Images]</a:documentation>
         <ref name="macro.limitedContent"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="att.gaijiProp.attributes">
      <ref name="att.datable.attributes"/>
      <ref name="att.gaijiProp.attribute.name"/>
      <ref name="att.gaijiProp.attribute.value"/>
      <ref name="att.gaijiProp.attribute.version"/>
      <ref name="att.gaijiProp.attribute.scheme"/>
   </define>
   <define name="att.gaijiProp.attribute.name">
      <attribute name="name">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the name of the character or glyph property being defined.</a:documentation>
      </attribute>
   </define>
   <define name="att.gaijiProp.attribute.value">
      <attribute name="value">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of the character or glyph property being defined.</a:documentation>
         <data type="string"/>
      </attribute>
   </define>
   <define name="att.gaijiProp.attribute.version">
      <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.
Suggested values include: 1] 1.0.1; 2] 1.1; 3] 2.0; 4] 2.1; 5] 3.0; 6] 3.1; 7] 3.2; 8] 4.0; 9] 4.1; 10] 5.0; 11] 5.1; 12] 5.2; 13] 6.0; 14] 6.1; 15] 6.2; 16] 6.3; 17] 7.0; 18] 8.0; 19] 9.0; 20] 10.0; 21] 11.0; 22] 12.0; 23] 12.1; 24] 13.0; 25] 14.0; 26] 15.0; 27] unassigned</a:documentation>
            <choice>
               <value>1.0.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>1.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>2.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>2.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>3.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>3.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>3.2</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>4.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>4.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>5.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>5.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>5.2</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>6.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>6.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>6.2</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>6.3</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>7.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>8.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>9.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>10.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>11.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>12.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>12.1</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>13.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>14.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>15.0</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <value>unassigned</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </choice>
         </attribute>
      </optional>
   </define>
   <define name="att.gaijiProp.attribute.scheme">
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                    name="scheme"
                    a:defaultValue="Unicode">
            <a:documentation>supplies the name of the character set system from which this property is drawn.
Sample values include: 1] Unicode (Unicode); 2] Bridwell (E. Nelson Bridwell); 3] Brewer (Georg Brewer); 4] Doyle (Darren Doyle); 5] Schreyer (Christine Schreyer)</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="g">
      <element name="g">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character or glyph) (character or glyph) represents a glyph, or a non-standard character. [5. Characters, Glyphs, and Writing Modes]</a:documentation>
         <text/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:g[@ref=('g:cutp', 'g:cutP', 'g:con')]">
               <sch:assert test="ancestor::tei:TEI/descendant::tei:catRef[contains(@target, 'lbfManuscript')]">
                                    ERROR: The glyphs g_cutp, g_cutP, and g_con are allowed only in transcriptions of manuscripts. If your document is a manuscript, add a catRef element with the value "lbfManuscript."
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <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>
            <choice>
               <value>g:UNKNOWN</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((�)) (�) (U+FFFD)</a:documentation>
               <value>g:VV</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((W)) (W) (W) (VV) ({VV}) ({W})</a:documentation>
               <value>g:amacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ā)) (a[nm]) (ā) ({_a}) (U+0101)</a:documentation>
               <value>g:atilde</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ã)) (a[nm]) (ã) ({~a}) (U+00E3)</a:documentation>
               <value>g:caret</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((^)) (^) (^) (U+2038)</a:documentation>
               <value>g:con</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ꝯ)) (con) (ꝯ) (U+A76F)</a:documentation>
               <value>g:cutP</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((Ꝑ)) (Ꝑ) (Ꝑ) (U+A750)</a:documentation>
               <value>g:cutp</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ꝑ)) (ꝑ) (ꝑ) (U+A751)</a:documentation>
               <value>g:doubleHyphen</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((⸗)) (-) (⸗) (U+2E17)</a:documentation>
               <value>g:e</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((e)) (e) (e) (U+0364)</a:documentation>
               <value>g:emacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ē)) (e[nm]) (ē) ({_e}) (U+0113)</a:documentation>
               <value>g:eth</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ð)) (th) (ð) (U+00F0)</a:documentation>
               <value>g:etilde</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ẽ)) (e[nm]) (ẽ) ({~e}) (U+1EBD)</a:documentation>
               <value>g:imacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ī)) (i[nm]) (ī) ({_i}) (U+012B)</a:documentation>
               <value>g:itilde</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ĩ)) (i[nm]) (ĩ) ({~i}) (U+0129)</a:documentation>
               <value>g:longS</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſ)) (s) (ſ) ({s}) (U+017F)</a:documentation>
               <value>g:mmacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((m̄)) (m[nm]) (m̄) ()</a:documentation>
               <value>g:nmacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((n̄)) (n[nm]) (n̄) ()</a:documentation>
               <value>g:ntilde</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ñ)) (ñ) (ñ) ({~n}) (U+00F1)</a:documentation>
               <value>g:ocircumflex</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ô)) (o) (ô) (U+00D4)</a:documentation>
               <value>g:omacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ō)) (o[nm]) (ō) ({_o}) (U+014D)</a:documentation>
               <value>g:otilde</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((õ)) (o[nm]) (õ) ({~o}) (U+00F5)</a:documentation>
               <value>g:que</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ꝫ)) (ꝫ) (ꝫ) (U+A76B)</a:documentation>
               <value>g:rotunda</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ꝛ)) (r) (ꝛ) ({r}) (U+A75A)</a:documentation>
               <value>g:t</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((t)) (t) (t) (U+036D)</a:documentation>
               <value>g:thorn</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((þ)) (th) (þ) ({th}) (U+00FE)</a:documentation>
               <value>g:u</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((u)) (u) (u) (U+0367)</a:documentation>
               <value>g:udiaeresis</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ü)) (u) (ü) (U+00FC)</a:documentation>
               <value>g:umacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ū)) (u[nm]) (ū) ({_u}) (U+016B)</a:documentation>
               <value>g:us</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ꝰ)) (us) (ꝰ) (U+A770)</a:documentation>
               <value>g:us_Eng</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((Ꝯ)) (us) (Ꝯ) (U+A76E)</a:documentation>
               <value>g:utilde</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ũ)) (u[nm]) (ũ) ({~u}) (U+0169)</a:documentation>
               <value>g:vv</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((w)) (w) (w) (vv) ({vv}) ({w})</a:documentation>
               <value>g:wmacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((w̄)) (w[nm]) (w̄) ({_w}) (w U+0304)</a:documentation>
               <value>g:wynn</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ƿ)) (w) (ƿ) (U+01BF)</a:documentation>
               <value>g:ye</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ye)) (ye) (ye)</a:documentation>
               <value>g:ymacron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ȳ)) (y[nm]) (ȳ) ({_y}) (U+0233)</a:documentation>
               <value>g:yt</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((yt)) (yt) (yt)</a:documentation>
               <value>g:zeroWidthSpace</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((​​)) ( ) (​​) ({#}) (U+200B)</a:documentation>
               <value>lig:AE</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((AE)) (ae) (AE) (Æ) ({AE}) (U+00C6)</a:documentation>
               <value>lig:IJ</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((IJ)) (IJ) (IJ) (Ĳ) ({IJ}) (U+0132)</a:documentation>
               <value>lig:Qu</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((Qu)) (Qu) (Qu)</a:documentation>
               <value>lig:Que</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((Que)) (Que) (Que)</a:documentation>
               <value>lig:Qui</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((Qui)) (Qui) (Qui)</a:documentation>
               <value>lig:Wt</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((Wt)) (with) (Wt) ({Wt})</a:documentation>
               <value>lig:ae</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ae)) (ae) (ae) (æ) ({ae}) (U+00E6)</a:documentation>
               <value>lig:as</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((as)) (as) (as) ({as})</a:documentation>
               <value>lig:ct</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ct)) (ct) (ct) ({ct})</a:documentation>
               <value>lig:ee</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((EE)) (ee) (EE) ({ee})</a:documentation>
               <value>lig:es</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((es)) (es) (es)</a:documentation>
               <value>lig:ess</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((eſs)) (ess) (eſs) ({e{s}s})</a:documentation>
               <value>lig:fa</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((fa)) (fa) (fa) ({fa})</a:documentation>
               <value>lig:fe</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((fe)) (fe) (fe) ({f})</a:documentation>
               <value>lig:ff</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ff)) (ff) (ff) (ﬀ) ({ff}) (U+FB00)</a:documentation>
               <value>lig:ffa</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ffa) ({ffa})</a:documentation>
               <value>lig:ffe</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ffe) ({ffe})</a:documentation>
               <value>lig:ffi</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ffi)) (ffi) (ffi) (ﬃ) ({ffi}) (U+FB03)</a:documentation>
               <value>lig:ffl</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ffl)) (ffl) (ffl) (ﬄ) ({ffl}) (U+FB04)</a:documentation>
               <value>lig:ffr</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ffr) ({ffr})</a:documentation>
               <value>lig:fi</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((fi)) (fi) (fi) (ﬁ) ({fi}) (U+FB01)</a:documentation>
               <value>lig:fl</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((fl)) (fl) (fl) (ﬂ) ({fl}) (U+FB02)</a:documentation>
               <value>lig:fo</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((fo)) (fo) (fo) ({fo})</a:documentation>
               <value>lig:fr</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((fr)) (fr) (fr) ({fr})</a:documentation>
               <value>lig:ft</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ft)) (ft) (ft) ({ft})</a:documentation>
               <value>lig:fu</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fu) ({ffu})</a:documentation>
               <value>lig:ij</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ij)) (ij) (ij) (ĳ) ({ij}) (U+0133)</a:documentation>
               <value>lig:is</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((is)) (is) (is) ({is})</a:documentation>
               <value>lig:ll</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ll)) (ll) (ll) ({ll})</a:documentation>
               <value>lig:longS_a</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſa)) (sa) (ſa) ({{s}a})</a:documentation>
               <value>lig:longS_b</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſb)) (sb) (ſb) ({{s}b})</a:documentation>
               <value>lig:longS_c</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((sc)) (sc) (sc) ({{s}c})</a:documentation>
               <value>lig:longS_e</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſe)) (se) (ſe) ({s{e}})</a:documentation>
               <value>lig:longS_g</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſg)) (sg) (ſg) ({{s}g})</a:documentation>
               <value>lig:longS_h</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſh)) (sh) (ſh) ({{s}h})</a:documentation>
               <value>lig:longS_i</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſi)) (si) (ſi) ({{s}i})</a:documentation>
               <value>lig:longS_k</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſk)) (sk) (ſk) ({sk})</a:documentation>
               <value>lig:longS_l</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſl)) (sl) (ſl) ({{s}l})</a:documentation>
               <value>lig:longS_longS</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſſ)) (ss) (ſſ) ({{s}{s}})</a:documentation>
               <value>lig:longS_longS_a</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſſa)) (ssa) (ſſa) ({{s}{s}a})</a:documentation>
               <value>lig:longS_longS_e</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſſe)) (sse) (ſſe) ({{s}{s}e})</a:documentation>
               <value>lig:longS_longS_i</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſſi)) (ssi) (ſſi) ({{s}{s}i})</a:documentation>
               <value>lig:longS_longS_l</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſſl)) (ssl) (ſſl) ({{s}{s}l})</a:documentation>
               <value>lig:longS_longS_o</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſſo)) (sso) (ſſo) ({{s}{s}o})</a:documentation>
               <value>lig:longS_m</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſm)) (sm) (ſm) ({{s}m})</a:documentation>
               <value>lig:longS_n</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſn)) (sn) (ſn) ({{s}n})</a:documentation>
               <value>lig:longS_o</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſo)) (so) (ſo) ({{s}o})</a:documentation>
               <value>lig:longS_p</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſp)) (sp) (ſp) ({{s}p})</a:documentation>
               <value>lig:longS_q</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſq)) (sq) (ſq) ({{s}q})</a:documentation>
               <value>lig:longS_t</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſt)) (st) (ſt) (ﬅ) ({{s}t}) (U+FB05)</a:documentation>
               <value>lig:longS_u</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſu)) (su) (ſu) ({{s}u})</a:documentation>
               <value>lig:longS_w</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſw)) (sw) (ſw) ({{s}w})</a:documentation>
               <value>lig:oe</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((OE)) (oe) (OE) (œ) ({oe}) (U+1053)</a:documentation>
               <value>lig:oo</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((oo)) (oo) (oo) ({oo})</a:documentation>
               <value>lig:os</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((os)) (os) (os) ({os})</a:documentation>
               <value>lig:sk</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((sk)) (sk) (sk) ({sk})</a:documentation>
               <value>lig:sl</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((sl)) (sl) (sl) ({sl}) (U+FB06)</a:documentation>
               <value>lig:sp</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((sp)) (sp) (sp) ({sp})</a:documentation>
               <value>lig:ss</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ſs)) (ss) (ſs) ({{s}s})</a:documentation>
               <value>lig:st</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((st)) (st) (st) (ﬆ) ({st}) (U+FB06)</a:documentation>
               <value>lig:sz</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((ss)) (ss) (ss) ({&amp;szlig}) (U+00DF)</a:documentation>
               <value>lig:us</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((us)) (us) (us) ({us})</a:documentation>
               <value>lig:wt</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((wt)) (with) (wt) ({wt})</a:documentation>
               <value>p:macron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">((p̄)) (p̄) (p̄) (U+0070U+0304)</a:documentation>
            </choice>
         </attribute>
         <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. [5.2. Markup Constructs for Representation of Characters and Glyphs]</a:documentation>
         <group>
            <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="char">
      <element name="char">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character) provides descriptive information about a character. [5.2. Markup Constructs for Representation of Characters and Glyphs]</a:documentation>
         <zeroOrMore>
            <choice>
               <ref name="localProp"/>
               <ref name="mapping"/>
               <ref name="figure"/>
               <ref name="model.graphicLike"/>
               <ref name="model.noteLike"/>
               <ref name="model.descLike"/>
            </choice>
         </zeroOrMore>
         <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. [5.2. Markup Constructs for Representation of Characters and Glyphs]</a:documentation>
         <zeroOrMore>
            <choice>
               <ref name="localProp"/>
               <ref name="mapping"/>
               <ref name="figure"/>
               <ref name="model.graphicLike"/>
               <ref name="model.noteLike"/>
               <ref name="model.descLike"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="localProp">
      <element name="localProp">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(locally defined property) provides a locally defined character (or glyph) property. [5.2.1. Character Properties]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <ref name="att.gaijiProp.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 <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">@type</code> attribute. [5.2. Markup Constructs for Representation of Characters and Glyphs]</a:documentation>
         <ref name="macro.xtext"/>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="model.fsdDeclPart">
      <choice>
         <ref name="fsDecl"/>
         <ref name="fsdLink"/>
      </choice>
   </define>
   <define name="fsdDecl">
      <element name="fsdDecl">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature system declaration) provides a feature system declaration comprising one or more feature structure declarations or feature structure declaration links. [19.11. Feature System Declaration]</a:documentation>
         <oneOrMore>
            <ref name="model.fsdDeclPart"/>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="fsDecl">
      <element name="fsDecl">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature structure declaration) declares one type of feature structure. [19.11. Feature System Declaration]</a:documentation>
         <group>
            <optional>
               <ref name="fsDescr"/>
            </optional>
            <oneOrMore>
               <ref name="fDecl"/>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a name for the type of feature structure being declared.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
         <optional>
            <attribute name="baseTypes">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the name of one or more typed feature structures from which this type inherits feature specifications and constraints; if this type includes a feature specification with the same name as that of any of those specified by this attribute, or if more than one specification of the same name is inherited, then the set of possible values is defined by unification. Similarly, the set of constraints applicable is derived by combining those specified explicitly within this element with those implied by the <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@baseTypes</code> attribute. When no <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@baseTypes</code> attribute is specified, no feature specification or constraint is inherited.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="Name"/>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="fsDescr">
      <element name="fsDescr">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature system description (in FSD)) describes in prose what is represented by the type of feature structure declared in the enclosing fsDecl. [19.11. Feature System Declaration]</a:documentation>
         <ref name="macro.limitedContent"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="fsdLink">
      <element name="fsdLink">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature structure declaration link) associates the name of a typed feature structure with a feature structure declaration for it. [19.11. Feature System Declaration]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the type of feature structure to be documented; this will be the value of the <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">@type</code> attribute on at least one feature structure.</a:documentation>
            <data type="token">
               <param name="pattern">[^\p{C}\p{Z}]+</param>
            </data>
         </attribute>
         <attribute name="target">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a pointer to a feature structure declaration (<code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;fsDecl&gt;</code>) element within the current document or elsewhere.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="fDecl">
      <element name="fDecl">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature declaration) declares a single feature, specifying its name, organization, range of allowed values, and optionally its default value. [19.11. Feature System Declaration]</a:documentation>
         <group>
            <optional>
               <ref name="fDescr"/>
            </optional>
            <ref name="vRange"/>
         </group>
         <ref name="att.global.attributes"/>
         <attribute name="name">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a single word which follows the rules defining a legal XML name (see ), indicating the name of the feature being declared; matches the <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">@name</code> attribute of <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;f&gt;</code> elements in the text.</a:documentation>
            <data type="Name"/>
         </attribute>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="optional"
                       a:defaultValue="true">
               <a:documentation>indicates whether or not the value of this feature may be present.</a:documentation>
               <data type="boolean"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="fDescr">
      <element name="fDescr">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature description (in FSD)) describes in prose what is represented by the feature being declared and its values. [19.11. Feature System Declaration]</a:documentation>
         <ref name="macro.limitedContent"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="vRange">
      <element name="vRange">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value range) defines the range of allowed values for a feature, in the form of an <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;fs&gt;</code>, <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;vAlt&gt;</code>, or primitive value; for the value of an <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;f&gt;</code> to be valid, it must be subsumed by the specified range; if the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;f&gt;</code> contains multiple values (as sanctioned by the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">@org</code> attribute), then each value must be subsumed by the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;vRange&gt;</code>. [19.11. Feature System Declaration]</a:documentation>
         <ref name="model.featureVal"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="fs">
      <element name="fs">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature structure) represents a feature structure, that is, a collection of feature-value pairs organized as a structural unit. [19.2. Elementary Feature Structures and the Binary
Feature Value]</a:documentation>
         <zeroOrMore>
            <ref name="f"/>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the type of the feature structure.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="feats">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(features) references the feature-value specifications making up this feature structure.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="anyURI">
                        <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="f">
      <element name="f">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature) represents a feature value specification, that is, the association of a name with a value of any of several different types. [19.2. Elementary Feature Structures and the Binary
Feature Value]</a:documentation>
         <choice>
            <text/>
            <ref name="model.featureVal"/>
         </choice>
         <ref name="att.global.attributes"/>
         <attribute name="name">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a single word which follows the rules defining a legal XML name (see ), providing a name for the feature.</a:documentation>
            <data type="Name"/>
         </attribute>
         <optional>
            <attribute name="fVal">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature value) references any element which can be used to represent the value of a feature.</a:documentation>
               <data type="anyURI">
                  <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="numeric">
      <element name="numeric">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(numeric value) represents the value part of a feature-value specification which contains a numeric value or range. [19.3. Other Atomic Feature Values]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <attribute name="value">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a lower bound for the numeric value represented, and also (if <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">@max</code> is not supplied) its upper bound.</a:documentation>
            <choice>
               <data type="double"/>
               <data type="token">
                  <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
               </data>
               <data type="decimal"/>
            </choice>
         </attribute>
         <optional>
            <attribute name="max">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies an upper bound for the numeric value represented.</a:documentation>
               <choice>
                  <data type="double"/>
                  <data type="token">
                     <param name="pattern">(\-?[\d]+/\-?[\d]+)</param>
                  </data>
                  <data type="decimal"/>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="trunc">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies whether the value represented should be truncated to give an integer value.</a:documentation>
               <data type="boolean"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="att.patternReplacement.attributes">
      <ref name="att.patternReplacement.attribute.matchPattern"/>
      <ref name="att.patternReplacement.attribute.replacementPattern"/>
   </define>
   <define name="att.patternReplacement.attribute.matchPattern">
      <attribute name="matchPattern">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a regular expression against which the values of other attributes can be matched.</a:documentation>
         <data type="token"/>
      </attribute>
   </define>
   <define name="att.patternReplacement.attribute.replacementPattern">
      <attribute name="replacementPattern">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a replacement pattern, that is, the skeleton of a relative or absolute URI containing references to groups in the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">@matchPattern</code> which, once subpattern substitution has been performed, complete the URI.</a:documentation>
         <text/>
      </attribute>
   </define>
   <define name="teiHeader">
      <element name="teiHeader">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI header) supplies descriptive and declarative metadata associated with a digital resource or set of resources. [2.1.1. The TEI Header and Its Components 16.1. Varieties of Composite Text]</a:documentation>
         <group>
            <ref name="fileDesc"/>
            <ref name="profileDesc"/>
            <ref name="encodingDesc"/>
            <zeroOrMore>
               <ref name="xenoData"/>
            </zeroOrMore>
            <ref name="revisionDesc"/>
         </group>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <empty/>
      </element>
   </define>
   <define name="fileDesc">
      <element name="fileDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(file description) (file description) contains a full bibliographic description of an electronic file. [2.2. The File Description 2.1.1. The TEI Header and Its Components]</a:documentation>
         <group>
            <group>
               <ref name="titleStmt"/>
               <optional>
                  <ref name="editionStmt"/>
               </optional>
               <ref name="publicationStmt"/>
               <zeroOrMore>
                  <ref name="seriesStmt"/>
               </zeroOrMore>
               <optional>
                  <ref name="notesStmt"/>
               </optional>
            </group>
            <oneOrMore>
               <ref name="sourceDesc"/>
            </oneOrMore>
         </group>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <empty/>
      </element>
   </define>
   <define name="titleStmt">
      <element name="titleStmt">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title statement) (title statement) groups information about the title of a work and those responsible for its content. [2.2.1. The Title Statement 2.2. The File Description]</a:documentation>
         <group>
            <oneOrMore>
               <ref name="title"/>
            </oneOrMore>
            <oneOrMore>
               <ref name="respStmt"/>
            </oneOrMore>
            <zeroOrMore>
               <ref name="sponsor"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="funder"/>
            </zeroOrMore>
         </group>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <empty/>
      </element>
   </define>
   <define name="sponsor">
      <element name="sponsor">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sponsor) specifies the name of a sponsoring organization or institution. LEMDO uses this element to point to the ID of the sponsoring or commissioning anthology (MoMS, QME, DRE, etc). The ID is available in the ORGS1.xml file. Peer review is usually but not always conducted by the sponsoring anthology. An edition may ultimately be included in more than one anthology but usually there is a single sponsoring anthology. [2.2.1. The Title Statement]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.datable.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. [2.2.1. The Title Statement]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.datable.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. [2.2.2. The Edition Statement 2.2. The File Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <zeroOrMore>
               <ref name="model.respLike"/>
            </zeroOrMore>
         </choice>
         <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. [2.2.4. Publication, Distribution, Licensing, etc. 2.2. The File Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.publicationStmtPart.agency"/>
               <zeroOrMore>
                  <ref name="model.publicationStmtPart.detail"/>
               </zeroOrMore>
            </oneOrMore>
            <oneOrMore>
               <ref name="model.pLike"/>
            </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">(distributor) supplies the name of a person or other agency responsible for the distribution of a text. [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.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 a work available, other than a publisher or distributor. [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="idno">
      <element name="idno">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) (identifier) supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way. [14.3.1. Basic Principles 2.2.4. Publication, Distribution, Licensing, etc. 2.2.5. The Series Statement 3.12.2.4. Imprint, Size of a Document, and Reprint Information]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="idno"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:idno[@type=('ESTC', 'LEME')]">
               <sch:assert test="not(matches(text(), '\s+'))">
                                    ERROR: There should be no spaces in an ESTC or LEME idnos. Include only the 
                                    identifier itself.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.cmc.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>
               <choice>
                  <value>BBTI</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(BBTI) British Book Trade Index</a:documentation>
                  <value>BritDrama</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(BritDrama) Number in Wiggins and Richardson, British Drama 1533–1642: A Catalogue</a:documentation>
                  <value>call</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Call Number) Library call number or shelf mark</a:documentation>
                  <value>DEEP</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DEEP) Database of Early English Playbooks: http://deep.sas.upenn.edu</a:documentation>
                  <value>DOI</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DOI) Digital Object Identifier</a:documentation>
                  <value>EMDP</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(EMDP) Identifier given to playbook or paratext in the Folger SQL database version of Early Modern Dramatic Paratexts</a:documentation>
                  <value>TCP-GIT</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TCP-Github) TCP Github Number</a:documentation>
                  <value>EEBO-CITATION</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(EEBO-CITATION) EEBO Citation Number</a:documentation>
                  <value>EEBO-VID</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(EEBO-VID) EEBO Image Identifier</a:documentation>
                  <value>ESTC</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ESTC) English Short Title Catalogue: estc.bl.uk</a:documentation>
                  <value>Greg</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Greg) W.W. Greg’s A Bibliography of English Printed Drama to the Restoration</a:documentation>
                  <value>GB</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(GB) Google Books</a:documentation>
                  <value>ISBN</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ISBN) International Standard Book Number</a:documentation>
                  <value>LEME</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(LEME) Lexicons of Early Modern English</a:documentation>
                  <value>Mar_Census</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Marlowe Census) Marlowe Census, ed. Rob Carson (https://www.marlowecensus.org/)</a:documentation>
                  <value>Murphy</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Murphy) Murphy, Andrew</a:documentation>
                  <value>OCLC</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(OCLC) World Cat</a:documentation>
                  <value>oldURI</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Old URI) The old URI of a webpage that has disappeared or is soon to be deprecated. Use in the sourceDesc for remediated ISE, DRE, QME, CWBJO, B&amp;F, and EMDP texts, and in other contexts where the old URI might be useful. The value of recording old URIs is not just historical; sometimes these webpages have been captured by the Wayback Machine. Providing the old URI means that users can search for the webpage in the Wayback Machine.</a:documentation>
                  <value>LEMDO</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(LEMDO) The current canonical URI of a modern edition of a play on the LEMDO site. This is used in the print edition of a play to provide a URL for readers to go from print to online.</a:documentation>
                  <value>PROQUEST</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(PROQUEST) Proquest</a:documentation>
                  <value>ShakCensus</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Shakespeare Census) Shakespeare Census, ed. Adam G. Hooks and Zachary Lesser (https://shakespearecensus.org/)</a:documentation>
                  <value>sigla</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Sigla) The sigla for a bibliographic item in the collation</a:documentation>
                  <value>STC</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(STC) Short Title Catalogue</a:documentation>
                  <value>TCP</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TCP) Text Creation Partnership</a:documentation>
                  <value>URI</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(URI) Universal Resource Identifier</a:documentation>
                  <value>Wing</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Wing) Wing</a:documentation>
                  <value>WSB</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(WSB) World Shakespeare Bibliography</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="availability">
      <element name="availability">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(availability) supplies information about the availability of a text, for example any restrictions on its use or distribution, its copyright status, any licence applying to it, etc. [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="model.availabilityPart"/>
               <ref name="model.pLike"/>
            </choice>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="status">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(status) supplies a code identifying the current availability of the text.</a:documentation>
               <choice>
                  <value>free</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(free) the text is freely available.</a:documentation>
                  <value>unknown</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unknown) the status of the text is unknown.</a:documentation>
                  <value>restricted</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(restricted) the text is not freely available.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="licence">
      <element name="licence">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about a licence or other legal agreement applicable to the text. [2.2.4. Publication, Distribution, Licensing, etc.]</a:documentation>
         <ref name="macro.specialPara"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:licence">
               <sch:assert test="not(@corresp) or matches(@corresp, '^anth:')">
                                    ERROR: The @corresp attribute on a licence element must point 
                                    at an anthology using the anth: prefix.
                                 </sch:assert>
            </sch:rule>
            <sch:rule context="tei:licence">
               <sch:assert test="not(@corresp) or (@from and @resp)">
                                    ERROR: The licence element pointing to an anthology must have
                                    @from and @resp.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.pointing.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. [2.2.5. The Series Statement 2.2. The File Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <oneOrMore>
                  <ref name="title"/>
               </oneOrMore>
               <zeroOrMore>
                  <choice>
                     <ref name="editor"/>
                     <ref name="respStmt"/>
                  </choice>
               </zeroOrMore>
               <zeroOrMore>
                  <choice>
                     <ref name="idno"/>
                  </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. [2.2.6. The Notes Statement 2.2. The File Description]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="model.noteLike"/>
               <ref name="relatedItem"/>
            </choice>
         </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(s) from which an electronic text was derived or generated, typically a bibliographic description in the case of a digitized text, or a phrase such as born digital for a text which has no previous existence. [2.2.7. The Source Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="p"/>
            </oneOrMore>
            <oneOrMore>
               <choice>
                  <ref name="bibl"/>
                  <ref name="msDesc"/>
                  <ref name="listWit"/>
               </choice>
            </oneOrMore>
         </choice>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="biblFull">
      <element name="biblFull">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fully-structured bibliographic citation) contains a fully-structured bibliographic citation, in which all components of the TEI file description are present. [3.12.1. Methods of Encoding Bibliographic References and Lists of References 2.2. The File Description 2.2.7. The Source Description 16.3.2. Declarable Elements]</a:documentation>
         <choice>
            <group>
               <group>
                  <ref name="titleStmt"/>
                  <optional>
                     <ref name="editionStmt"/>
                  </optional>
                  <ref name="publicationStmt"/>
                  <zeroOrMore>
                     <ref name="seriesStmt"/>
                  </zeroOrMore>
                  <optional>
                     <ref name="notesStmt"/>
                  </optional>
               </group>
               <zeroOrMore>
                  <ref name="sourceDesc"/>
               </zeroOrMore>
            </group>
            <group>
               <ref name="fileDesc"/>
               <ref name="profileDesc"/>
            </group>
         </choice>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.docStatus.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. [2.3. The Encoding Description 2.1.1. The TEI Header and Its Components]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="model.encodingDescPart"/>
               <ref name="model.pLike"/>
            </choice>
         </oneOrMore>
         <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. [2.3.1. The Project Description 2.3. The Encoding Description 16.3.2. Declarable Elements]</a:documentation>
         <oneOrMore>
            <ref name="model.pLike"/>
         </oneOrMore>
         <ref name="att.global.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. [2.3.3. The Editorial Practices Declaration 2.3. The Encoding Description 16.3.2. Declarable Elements]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="model.pLike"/>
               <ref name="model.editorialDeclPart"/>
            </choice>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="tagsDecl">
      <element name="tagsDecl">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tagging declaration) provides detailed information about the tagging applied to a document. [2.3.4. The Tagging Declaration 2.3. The Encoding Description]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="rendition"/>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="partial">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether the element types listed exhaustively include all those found within <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;text&gt;</code>, or represent only a subset.</a:documentation>
               <data type="boolean"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="rendition">
      <element name="rendition">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) supplies information about the rendition or appearance of one or more elements in the source text. [2.3.4. The Tagging Declaration]</a:documentation>
         <ref name="macro.limitedContent"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:rendition[@xml:id]">
               <sch:assert test="matches(@xml:id, concat('^(',$docId,'|rnd_)'))">ERROR: All rendition elements with an xml:id
                                    must start with either the root document id  or 'rnd_').</sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:rendition">
               <sch:assert test="@xml:id or @selector">
                                    ERROR: All renditions must have at least one of a selector or xml:id.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.styleDef.attributes"/>
         <optional>
            <attribute name="scope">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">where CSS is used, provides a way of defining pseudo-elements, that is, styling rules applicable to specific sub-portions of an element.
Sample values include: 1] first-line; 2] first-letter; 3] before; 4] after</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="selector">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a selector or series of selectors specifying the elements to which the contained style description applies, expressed in the language specified in the <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@scheme</code> attribute.</a:documentation>
               <data type="string"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="prefixDef">
      <element name="prefixDef">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(prefix definition) (prefix definition) defines a prefixing scheme used in teidata.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [17.2.3. Using Abbreviated Pointers]</a:documentation>
         <zeroOrMore>
            <ref name="model.pLike"/>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:prefixDef[@ident]">
               <sch:let name="currIdent" value="@ident"/>
               <sch:assert test="not(following::tei:prefixDef[@ident=$currIdent])">
                             ERROR: We do not (currently) allow multiple prefixDefs with the same @ident, 
                             because our processing depends on unique ways of handling each prefix.
                           </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.patternReplacement.attributes"/>
         <attribute name="ident">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name which functions as the prefix for an abbreviated pointing scheme such as a private URI scheme. The prefix constitutes the text preceding the first colon.</a:documentation>
            <data type="token">
               <param name="pattern">[a-z][a-z0-9\+\.\-]*</param>
            </data>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="listPrefixDef">
      <element name="listPrefixDef">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of prefix definitions) contains a list of definitions of prefixing schemes used in teidata.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [17.2.3. Using Abbreviated Pointers]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="prefixDef"/>
                  <ref name="listPrefixDef"/>
               </choice>
            </oneOrMore>
         </group>
         <ref name="att.global.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. [2.3.7. The Classification Declaration 2.3. The Encoding Description]</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">(taxonomy) defines a typology either implicitly, by means of a bibliographic citation, or explicitly by a structured taxonomy. [2.3.7. The Classification Declaration]</a:documentation>
         <choice>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="category"/>
                     <ref name="taxonomy"/>
                  </choice>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <choice>
                        <ref name="model.descLike"/>
                        <ref name="gloss"/>
                     </choice>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="category"/>
                        <ref name="taxonomy"/>
                     </choice>
                  </zeroOrMore>
               </group>
            </choice>
            <group>
               <ref name="model.biblLike"/>
               <zeroOrMore>
                  <choice>
                     <ref name="category"/>
                     <ref name="taxonomy"/>
                  </choice>
               </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">(category) contains an individual descriptive category, possibly nested within a superordinate category, within a user-defined taxonomy. [2.3.7. The Classification Declaration]</a:documentation>
         <group>
            <choice>
               <oneOrMore>
                  <ref name="catDesc"/>
               </oneOrMore>
               <zeroOrMore>
                  <choice>
                     <ref name="model.descLike"/>
                     <ref name="gloss"/>
                  </choice>
               </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 <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;textDesc&gt;</code>. [2.3.7. The Classification Declaration]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.limitedPhrase"/>
               <ref name="model.catDescPart"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.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) (text-profile description) provides a detailed description of non-bibliographic aspects of a text, specifically the languages and sublanguages used, the situation in which it was produced, the participants and their setting. [2.4. The Profile Description 2.1.1. The TEI Header and Its Components]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="creation"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="particDesc"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="handNotes"/>
            </zeroOrMore>
            <oneOrMore>
               <ref name="textClass"/>
            </oneOrMore>
         </group>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <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. [11.7.2. Writing, Decoration, and Other Notations]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="creation">
      <element name="creation">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(creation) contains information about the creation of a text. [2.4.1. Creation 2.4. The Profile Description]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.limitedPhrase"/>
               <ref name="listChange"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="textClass">
      <element name="textClass">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text classification) (text classification) groups information which describes the nature or topic of a text in terms of a standard classification scheme, thesaurus, etc. [2.4.3. The Text Classification]</a:documentation>
         <oneOrMore>
            <ref name="catRef"/>
         </oneOrMore>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <empty/>
      </element>
   </define>
   <define name="catRef">
      <element name="catRef">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category reference) (category reference) specifies one or more defined categories within some taxonomy or text typology. [2.4.3. The Text Classification]</a:documentation>
         <empty/>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.source.attribute.source"/>
         <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>
               <oneOrMore>
                  <choice>
                     <value>cat:audAnthologyLead</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anthology Lead Anyone who is responsible for a group of editors who are editing plays or related works for publication in a LEMDO-generated anthology (e.g., the leads of MoMS, QME, DRE, NISE).</a:documentation>
                     <value>cat:audDeveloper</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Developer Anyone who is responsible for maintaining the repository, writing processing, running builds, or customizing a CSS file for an anthology. Normally, developers are based at UVic and work in the lemdo/code section of the repository. Anthology leads may hire a developer/designer to customize a CSS file for an anthology.</a:documentation>
                     <value>cat:audDocumenter</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Documenter Anyone who writes project documentation.</a:documentation>
                     <value>cat:audEditor</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Editor Anyone who is editing a play or related works for publication in a LEMDO anthology.</a:documentation>
                     <value>cat:audEncoder</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Encoder Anyone who is encoding texts in the LEMDO TEI P5 customization.</a:documentation>
                     <value>cat:audRemediator</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Remediator An encoder who has the responsibility of converting IML-encoded or TCP texts to the LEMDO TEI P5 customization.</a:documentation>
                     <value>cat:audRepoUser</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Repository User Anyone who commits work to the LEMDO repository, including editors and RAs who have write privileges on an edition portfolio.</a:documentation>
                     <value>cat:lbfBroadside</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Broadside Large sheet printed on one side only.</a:documentation>
                     <value>cat:lbfDuodecimo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Duodecimo Duodecimo.</a:documentation>
                     <value>cat:lbfFolio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Folio Print volume constructed from sheets folded once.</a:documentation>
                     <value>cat:lbfManuscript</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Manuscript Manuscript.</a:documentation>
                     <value>cat:lbfOctavo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Octavo Print volume constructed from sheets folded three times.</a:documentation>
                     <value>cat:lbfQuarto</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Quarto Print volume constructed from sheets folded twice.</a:documentation>
                     <value>cat:edhSourceCBJ</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Original Source: Cambridge Ben Jonson This TEI file was created based on one or more files from the Cambridge Edition of the Works of Ben Jonson Online (CEWBJO or CWBJO), originally encoded in different customization of TEI.</a:documentation>
                     <value>cat:edhSourceIML</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Original Source: IML This TEI file was created based on one or more files from the Internet Shakespeare Editions anthology, originally encoded in ISE Markup Language (a custom markup language somewhat resembling SGML).</a:documentation>
                     <value>cat:edhSourceMoEML</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Original Source: MoEML This TEI file was created based on an original encoding from <a xmlns="http://www.w3.org/1999/xhtml"
                           xmlns:rng="http://relaxng.org/ns/structure/1.0"
                           href="https://mapoflondon.uvic.ca/">The Map of Early Modern
                           London</a>.</a:documentation>
                     <value>cat:edhSourceSQL</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Original Source: SQL Database This TEI file was created from data originally captured in a SQL database structure.</a:documentation>
                     <value>cat:edhSourceTCP</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Original Source: TCP This TEI file was created based on an original encoding from the <a xmlns="http://www.w3.org/1999/xhtml"
                           xmlns:rng="http://relaxng.org/ns/structure/1.0"
                           href="https://textcreationpartnership.org/">Text Creation
                           Partnership</a>.</a:documentation>
                     <value>cat:edhSourceXWiki</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Original Source: XWiki This TEI file was created based on one or more supplementary files from the Internet Shakespeare Editions anthology, originally encoded in HTML and stored in the ISE’s XWiki system.</a:documentation>
                     <value>cat:ldtBornDig</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Born-digital Born-digital documents are anything other than primary texts</a:documentation>
                     <value>cat:ldtBornDigAbout</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">About Documents about LEMDO or another anthology.</a:documentation>
                     <value>cat:ldtBornDigAboutPolicy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Policy Documents about LEMDO policy or the policies of another anthology.</a:documentation>
                     <value>cat:ldtBornDigAnthology</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anthology Anthology files (rooted on a <code xmlns="http://www.w3.org/1999/xhtml"
                              xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;teiCorpus&gt;</code> element).</a:documentation>
                     <value>cat:ldtBornDigDatabase</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Database Entity collection files.</a:documentation>
                     <value>cat:ldtBornDigDocumentation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Documentation Encoding and editorial guidelines; programming, processing, and rendering instructions; how-to instructions; element descriptions; and records of remediation.</a:documentation>
                     <value>cat:ldtBornDigEdition</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Edition Root files for textual editions.</a:documentation>
                     <value>cat:ldtBornDigGenerated</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Generated Files created automatically during the build.</a:documentation>
                     <value>cat:ldtBornDigInfo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Information Information pages.</a:documentation>
                     <value>cat:ldtBornDigLanding</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Landing Landing pages.</a:documentation>
                     <value>cat:ldtBornDigParatext</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Paratext Ancillary files that typically form part of an edition, such as acknowledgements.</a:documentation>
                     <value>cat:ldtBornDigParatextAnnotation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Annotation Notes, glosses, and other annotations.</a:documentation>
                     <value>cat:ldtBornDigParatextBibl</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bibliography Bibliographies and reference lists.</a:documentation>
                     <value>cat:ldtBornDigParatextCharacters</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Characters Character lists and cast lists. Note that character lists for modernized texts belong in the header of the modernized text, not in a separate file.</a:documentation>
                     <value>cat:ldtBornDigParatextCollation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Apparatus Collation files.</a:documentation>
                     <value>cat:ldtBornDigParatextCritical</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Critical Critical material, such as a general introduction or a textual introduction.</a:documentation>
                     <value>cat:ldtBornDigParatextHist</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">History Documents on historical background.</a:documentation>
                     <value>cat:ldtBornDigParatextPedagogical</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Pedagogy Teaching notes, lesson plans, and other pedagogical material.</a:documentation>
                     <value>cat:ldtBornDigPrint</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Print Root files for print editions.</a:documentation>
                     <value>cat:ldtPrimary</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Primary Source Primary source documents. Use this top-level category only for supplementary texts, usually in combination with the editorial treatment letmixed.</a:documentation>
                     <value>cat:ldtPrimaryFacsimile</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Facsimile Files with <code xmlns="http://www.w3.org/1999/xhtml"
                              xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;facsimile&gt;</code> pointing to digital surrogates.</a:documentation>
                     <value>cat:ldtPrimaryParatext</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Primary Paratext Dedications, addresses, commendatory poems, and other primary source paratexts. Do not use for EMDP. Use lpt values instead.</a:documentation>
                     <value>cat:ldtPrimaryText</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Primary Source Text Edited primary source texts. Modernized texts and semi-diplomatic texts must have this value. Not to be used for supplementary texts.</a:documentation>
                     <value>cat:ldtTest</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Test Test-only document.</a:documentation>
                     <value>cat:letExcerpted</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Excerpted Texts which are not complete, usually because of editorial selection in service of a specific goal.</a:documentation>
                     <value>cat:letMixed</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mixed Texts in which a variety of possibly incongruous editorial approaches have been mixed. Use this category in combination with ldtPrimary.</a:documentation>
                     <value>cat:letModernized</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Modernized Texts that have been modernized according to a set of editorial principles.</a:documentation>
                     <value>cat:letSemiDiplomatic</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Semi-diplomatic transcription Texts in which original spelling and other features have been retained.</a:documentation>
                     <value>cat:lwtPara</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dramatic Paratext Dramatic paratext transcribed for EMDP.</a:documentation>
                     <value>cat:lwtPlay</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Play Dramatic text, semi-diplomatic or modernized.</a:documentation>
                     <value>cat:lwtPoetry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Poetry Work which is primarily non-dramatic poetry.</a:documentation>
                     <value>cat:lwtProse</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Prose Work which is primarily prose.</a:documentation>
                     <value>cat:lwtShow</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mayoral Show Mayoral show, semi-diplomatic or modernized.</a:documentation>
                     <value>cat:encyCulture</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Culture Learn about the customs, beliefs, and daily lives of people in early modern England.</a:documentation>
                     <value>cat:encyCultureDailyLife</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Daily Life</a:documentation>
                     <value>cat:encyCultureDailyLifeAdultery</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Adultery</a:documentation>
                     <value>cat:encyCultureDailyLifeAnimalBaiting</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Animal Baiting</a:documentation>
                     <value>cat:encyCultureDailyLifeAssizes</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Assizes</a:documentation>
                     <value>cat:encyCultureDailyLifeBailiff</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bailiff</a:documentation>
                     <value>cat:encyCultureDailyLifeBaking</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Baking</a:documentation>
                     <value>cat:encyCultureDailyLifeBaptism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Baptism</a:documentation>
                     <value>cat:encyCultureDailyLifeBearGardens</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bear Gardens</a:documentation>
                     <value>cat:encyCultureDailyLifeBeerAndAle</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Beer and Ale</a:documentation>
                     <value>cat:encyCultureDailyLifeChildbirth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Childbirth</a:documentation>
                     <value>cat:encyCultureDailyLifeChildhood</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Childhood</a:documentation>
                     <value>cat:encyCultureDailyLifeChildren</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Children</a:documentation>
                     <value>cat:encyCultureDailyLifeChivalry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chivalry</a:documentation>
                     <value>cat:encyCultureDailyLifeChristmas</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Christmas</a:documentation>
                     <value>cat:encyCultureDailyLifeClothing</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Clothing</a:documentation>
                     <value>cat:encyCultureDailyLifeCookingAndKitchens</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cooking and Kitchens</a:documentation>
                     <value>cat:encyCultureDailyLifeCourtiers</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Courtiers</a:documentation>
                     <value>cat:encyCultureDailyLifeCourtship</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Courtship</a:documentation>
                     <value>cat:encyCultureDailyLifeCrime</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Crime</a:documentation>
                     <value>cat:encyCultureDailyLifeDairies</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dairies</a:documentation>
                     <value>cat:encyCultureDailyLifeDiaries</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Diaries</a:documentation>
                     <value>cat:encyCultureDailyLifeEducation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Education</a:documentation>
                     <value>cat:encyCultureDailyLifeFalconry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Falconry</a:documentation>
                     <value>cat:encyCultureDailyLifeFashion</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Fashion</a:documentation>
                     <value>cat:encyCultureDailyLifeFood</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Food</a:documentation>
                     <value>cat:encyCultureDailyLifeFuneralPractices</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Funeral Practices</a:documentation>
                     <value>cat:encyCultureDailyLifeHomeRemedies</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Home Remedies</a:documentation>
                     <value>cat:encyCultureDailyLifeHonour</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Honour</a:documentation>
                     <value>cat:encyCultureDailyLifeHouseholdManagement</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Household Management</a:documentation>
                     <value>cat:encyCultureDailyLifeHousewifery</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Housewifery</a:documentation>
                     <value>cat:encyCultureDailyLifeIllegitimacy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Illegitimacy</a:documentation>
                     <value>cat:encyCultureDailyLifeImmigrants</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Immigrants</a:documentation>
                     <value>cat:encyCultureDailyLifeIncest</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Incest</a:documentation>
                     <value>cat:encyCultureDailyLifeInheritance</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Inheritance</a:documentation>
                     <value>cat:encyCultureDailyLifeLanguage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Language</a:documentation>
                     <value>cat:encyCultureDailyLifeLaw</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Law</a:documentation>
                     <value>cat:encyCultureDailyLifeLondon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">London</a:documentation>
                     <value>cat:encyCultureDailyLifeMarriage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Marriage</a:documentation>
                     <value>cat:encyCultureDailyLifeMoney</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Money</a:documentation>
                     <value>cat:encyCultureDailyLifeParents</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Parents</a:documentation>
                     <value>cat:encyCultureDailyLifeProstitution</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Prostitution</a:documentation>
                     <value>cat:encyCultureDailyLifePunishment</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Punishment</a:documentation>
                     <value>cat:encyCultureDailyLifeRecipes</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Recipes</a:documentation>
                     <value>cat:encyCultureDailyLifeRefugees</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Refugees</a:documentation>
                     <value>cat:encyCultureDailyLifeScience</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Science</a:documentation>
                     <value>cat:encyCultureDailyLifeSexuallyTransmittedInfections</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sexually Transmitted Infections</a:documentation>
                     <value>cat:encyCultureDailyLifeSocialOrder</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Social Order</a:documentation>
                     <value>cat:encyCultureDailyLifeTeeth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Teeth</a:documentation>
                     <value>cat:encyCultureDailyLifeTobacco</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tobacco</a:documentation>
                     <value>cat:encyCultureDailyLifeTorture</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Torture</a:documentation>
                     <value>cat:encyCultureDailyLifeTrials</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Trials</a:documentation>
                     <value>cat:encyCultureEducation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Education</a:documentation>
                     <value>cat:encyCultureEducationBenefitOfClergy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Benefit of Clergy</a:documentation>
                     <value>cat:encyCultureEducationClassicalLiterature</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Classical Literature</a:documentation>
                     <value>cat:encyCultureEducationGentryEducation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gentry Education</a:documentation>
                     <value>cat:encyCultureEducationGreek</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Greek</a:documentation>
                     <value>cat:encyCultureEducationHumanism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Humanism</a:documentation>
                     <value>cat:encyCultureEducationLatin</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Latin</a:documentation>
                     <value>cat:encyCultureEducationLiteracy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Literacy</a:documentation>
                     <value>cat:encyCultureGender</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gender</a:documentation>
                     <value>cat:encyCultureGenderBoys</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Boys</a:documentation>
                     <value>cat:encyCultureGenderChastity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chastity</a:documentation>
                     <value>cat:encyCultureGenderCrossdressing</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cross-dressing</a:documentation>
                     <value>cat:encyCultureGenderFemaleVirtue</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Female Virtue</a:documentation>
                     <value>cat:encyCultureGenderFemininity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Femininity</a:documentation>
                     <value>cat:encyCultureGenderGenderIdentity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gender Identity</a:documentation>
                     <value>cat:encyCultureGenderGenderedClothing</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gendered Clothing</a:documentation>
                     <value>cat:encyCultureGenderGirls</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Girls</a:documentation>
                     <value>cat:encyCultureGenderHomosexuality</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Homosexuality</a:documentation>
                     <value>cat:encyCultureGenderMasculinity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Masculinity</a:documentation>
                     <value>cat:encyCultureGenderMen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Men</a:documentation>
                     <value>cat:encyCultureGenderMisogyny</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Misogyny</a:documentation>
                     <value>cat:encyCultureGenderObedience</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Obedience</a:documentation>
                     <value>cat:encyCultureGenderPatriarchy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Patriarchy</a:documentation>
                     <value>cat:encyCultureGenderSexuality</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sexuality</a:documentation>
                     <value>cat:encyCultureGenderWomen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Women</a:documentation>
                     <value>cat:encyCultureGenderWomensWork</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Women’s Work</a:documentation>
                     <value>cat:encyCultureLiteratureArts</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Literature and the Arts</a:documentation>
                     <value>cat:encyCultureLiteratureArtsAemeliaBassanoLanyer</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lanyer, Aemelia Bassano (1569-1645)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsBaldassareCastiglione</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Castiglione, Baldassare (1478-1529)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsCicero</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cicero, Marcus Tullius (106-43 BCE)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsConductLiterature</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Conduct Literature</a:documentation>
                     <value>cat:encyCultureLiteratureArtsCourtlyLove</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Courtly Love</a:documentation>
                     <value>cat:encyCultureLiteratureArtsDance</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dance</a:documentation>
                     <value>cat:encyCultureLiteratureArtsDanteAlighieri</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Alighieri, Dante (1265-1321)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsDarkLady</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dark Lady (character)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsDedications</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dedications</a:documentation>
                     <value>cat:encyCultureLiteratureArtsDorothyLeigh</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Leigh, Dorothy (d.1616)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsFirstFolio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">First Folio (1623)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsGeorgeWilkins</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wilkins, George (fl. 1606-1607)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsGreece</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Greece</a:documentation>
                     <value>cat:encyCultureLiteratureArtsIambicPentameter</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Iambic Pentameter</a:documentation>
                     <value>cat:encyCultureLiteratureArtsInigoJones</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jones, Inigo (1573-1652)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsItaly</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Italy</a:documentation>
                     <value>cat:encyCultureLiteratureArtsJohnDonne</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Donne, John (1572-1631)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsJohnFlorio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Florio, John (1553-1625)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsLucrece</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lucrece (text)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsManuscripts</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Manuscripts</a:documentation>
                     <value>cat:encyCultureLiteratureArtsMarySidneyWroth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wroth, Mary Sidney (1587-1651)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsMasques</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Masques</a:documentation>
                     <value>cat:encyCultureLiteratureArtsMusic</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Music</a:documentation>
                     <value>cat:encyCultureLiteratureArtsNarrativePoetry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Narrative Poetry</a:documentation>
                     <value>cat:encyCultureLiteratureArtsOctavo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Octavos</a:documentation>
                     <value>cat:encyCultureLiteratureArtsOvid</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ovid (43 BCE-17/18 CE)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPaper</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Paper</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPatronage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Patronage</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPetrarch</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Petrarch, Francesco (1304-1374)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPlagiarism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Plagiarism</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPoet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Poet (character)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPrintingPractices</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Printing Practices</a:documentation>
                     <value>cat:encyCultureLiteratureArtsPublication</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Publication</a:documentation>
                     <value>cat:encyCultureLiteratureArtsQuartos</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Quartos</a:documentation>
                     <value>cat:encyCultureLiteratureArtsRhetoric</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Rhetoric</a:documentation>
                     <value>cat:encyCultureLiteratureArtsRivalPoet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Rival Poet (character)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsRobertBurton</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Burton, Robert (1577-1640)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsRobertGreene</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Greene, Robert (1558-1592)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsSatire</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Satire</a:documentation>
                     <value>cat:encyCultureLiteratureArtsSeneca</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Seneca, Lucius Annaeus (c. 4 BCE-65 CE)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsSirPhilipSidney</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sidney, Sir Philip (1554-1586)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsSonnets</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sonnets</a:documentation>
                     <value>cat:encyCultureLiteratureArtsThePrince</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Prince (text)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsThomasWyatt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wyatt, Thomas (1503-1542)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsTragedy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tragedy</a:documentation>
                     <value>cat:encyCultureLiteratureArtsTragicomedy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tragicomedy</a:documentation>
                     <value>cat:encyCultureLiteratureArtsTranslation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Translation</a:documentation>
                     <value>cat:encyCultureLiteratureArtsUtopia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Utopia (text)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsVenusAndAdonis</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Venus and Adonis (text)</a:documentation>
                     <value>cat:encyCultureLiteratureArtsWit</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wit</a:documentation>
                     <value>cat:encyCultureLiteratureArtsWomenWriters</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Women Writers</a:documentation>
                     <value>cat:encyCultureLiteratureArtsYoungMan</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Young Man (character)</a:documentation>
                     <value>cat:encyCultureOther</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Other</a:documentation>
                     <value>cat:encyCultureRace</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Race</a:documentation>
                     <value>cat:encyCultureRaceAntiSemitism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anti-Semitism</a:documentation>
                     <value>cat:encyCultureRaceBlackness</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Blackness</a:documentation>
                     <value>cat:encyCultureRaceJews</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jews</a:documentation>
                     <value>cat:encyCultureRaceMuslims</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Muslims</a:documentation>
                     <value>cat:encyCultureRaceOthello</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Othello (play)</a:documentation>
                     <value>cat:encyCultureRaceOttomanEmpire</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ottoman Empire</a:documentation>
                     <value>cat:encyCultureRaceRacialIdentity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Racial Identity</a:documentation>
                     <value>cat:encyCultureRaceRacism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Racism</a:documentation>
                     <value>cat:encyCultureRaceSlavery</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Slavery</a:documentation>
                     <value>cat:encyCultureRaceTurks</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Turks</a:documentation>
                     <value>cat:encyCultureScience</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Science</a:documentation>
                     <value>cat:encyCultureScienceAlchemy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Alchemy</a:documentation>
                     <value>cat:encyCultureScienceAstrology</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Astrology</a:documentation>
                     <value>cat:encyCultureScienceAstronomy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Astronomy</a:documentation>
                     <value>cat:encyCultureScienceBarberSurgeons</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Barber Surgeons</a:documentation>
                     <value>cat:encyCultureScienceChemistry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chemistry</a:documentation>
                     <value>cat:encyCultureScienceCosmology</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cosmology</a:documentation>
                     <value>cat:encyCultureScienceElements</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Elements</a:documentation>
                     <value>cat:encyCultureScienceFrancisBacon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bacon, Francis (1561-1626)</a:documentation>
                     <value>cat:encyCultureScienceGalen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Galen (129-216 CE)</a:documentation>
                     <value>cat:encyCultureScienceHerbalRemedies</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Herbal Remedies</a:documentation>
                     <value>cat:encyCultureScienceHumours</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Humours</a:documentation>
                     <value>cat:encyCultureScienceIsaacNewton</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Newton, Isaac (1642-1727)</a:documentation>
                     <value>cat:encyCultureScienceJohnDee</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dee, John (1527-1609)</a:documentation>
                     <value>cat:encyCultureScienceMedicalMelancholy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Medical Melancholy</a:documentation>
                     <value>cat:encyCultureScienceMedicine</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Medicine</a:documentation>
                     <value>cat:encyCultureScienceMidwifery</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Midwifery</a:documentation>
                     <value>cat:encyCultureScienceNature</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nature</a:documentation>
                     <value>cat:encyCultureScienceOccult</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Occult</a:documentation>
                     <value>cat:encyCultureSciencePlague</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Plague</a:documentation>
                     <value>cat:encyCultureScienceSanitation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sanitation</a:documentation>
                     <value>cat:encyCultureScienceSuperstition</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Superstition</a:documentation>
                     <value>cat:encyCultureScienceZodiac</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Zodiac</a:documentation>
                     <value>cat:encyHistory</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">History Discover the events, people, and politics that shaped early modern England.</a:documentation>
                     <value>cat:encyHistoryEconomics</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Economics</a:documentation>
                     <value>cat:encyHistoryEconomicsApprentices</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Apprentices</a:documentation>
                     <value>cat:encyHistoryEconomicsAristocracy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Aristocracy</a:documentation>
                     <value>cat:encyHistoryEconomicsArtisans</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Artisans</a:documentation>
                     <value>cat:encyHistoryEconomicsBakeries</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bakeries</a:documentation>
                     <value>cat:encyHistoryEconomicsBread</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bread</a:documentation>
                     <value>cat:encyHistoryEconomicsBrewery</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Brewery</a:documentation>
                     <value>cat:encyHistoryEconomicsCapitalism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Capitalism</a:documentation>
                     <value>cat:encyHistoryEconomicsCoinsAndMoney</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Coins and Money</a:documentation>
                     <value>cat:encyHistoryEconomicsDairy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dairy</a:documentation>
                     <value>cat:encyHistoryEconomicsDebt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Debt</a:documentation>
                     <value>cat:encyHistoryEconomicsDyersAndClothDyeing</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dyers and Cloth Dyeing</a:documentation>
                     <value>cat:encyHistoryEconomicsFamine</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Famine</a:documentation>
                     <value>cat:encyHistoryEconomicsFeudalism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Feudalism</a:documentation>
                     <value>cat:encyHistoryEconomicsGardens</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gardens</a:documentation>
                     <value>cat:encyHistoryEconomicsGentry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gentry</a:documentation>
                     <value>cat:encyHistoryEconomicsKitchens</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Kitchens</a:documentation>
                     <value>cat:encyHistoryEconomicsMarkets</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Markets</a:documentation>
                     <value>cat:encyHistoryEconomicsMerchants</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Merchants</a:documentation>
                     <value>cat:encyHistoryEconomicsSilkManufactureAndWeaving</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Silk Manufacture and Weaving</a:documentation>
                     <value>cat:encyHistoryEconomicsSocialStatus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Social Status</a:documentation>
                     <value>cat:encyHistoryEconomicsSugarTrade</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sugar Trade</a:documentation>
                     <value>cat:encyHistoryEconomicsTradeGuilds</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Trade Guilds</a:documentation>
                     <value>cat:encyHistoryEconomicsUsury</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Usury</a:documentation>
                     <value>cat:encyHistoryEconomicsYeoman</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Yeoman</a:documentation>
                     <value>cat:encyHistoryEnglishHistory</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">English History</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryActOfSuccession</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Act of Succession (1533)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryActOfSupremacy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Act of Supremacy (1534)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryAnneHathawayShakespeare</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shakespeare, Anne Hathaway (1556-1623)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryCardinalThomasWolsey</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wolsey, Cardinal Thomas (c.1473-1530)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryDivorce</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Divorce</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryElizabethanEra</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Elizabethan Era</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryEnglishCivilWars</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">English Civil Wars</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryGervaseMarkham</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Markham, Gervase (c.1568-1637)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryGunpowderPlot</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gunpowder Plot</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryHenryPercy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Percy, Henry (1364-1403)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryHenryWriothesley</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wriothesley, Henry, Earl of Southampton (1573-1624)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryHouseOfCommons</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">House of Commons</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryHouseOfLords</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">House of Lords</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryHuguenots</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Huguenots</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryJacobeanEra</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jacobean Era</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryLadyJaneGrey</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Grey, Lady Jane (1537-1554)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryMaryWard</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ward, Mary (1585-1645)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryNicholasCulpeper</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Culpeper, Nicholas (1616-1654)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryRobertCecil</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cecil, Robert (1563-1612)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryRobertDevereux</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Devereux, Robert (1566-1601)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryRobertDudley</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dudley, Robert (1532-1588)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryShakespearesFamily</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shakespeare’s Family</a:documentation>
                     <value>cat:encyHistoryEnglishHistorySpanishArmada</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Spanish Armada</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryStratfordUponAvon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Stratford-upon-Avon</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryStuartEra</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Stuart Era</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryThomasCranmer</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cranmer, Thomas (1489-1556)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryThomasMore</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">More, Thomas (1478-1535)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryTowerBridge</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tower Bridge</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryTowerOfLondon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tower of London</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryTreason</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Treason</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryTudorEra</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tudor Era</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryWarOfTheRoses</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Wars of the Roses (1455-1487)</a:documentation>
                     <value>cat:encyHistoryEnglishHistoryWilliamCecil</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cecil, William (1520-1598)</a:documentation>
                     <value>cat:encyHistoryMonarchs</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Monarchs</a:documentation>
                     <value>cat:encyHistoryMonarchsAnnaOfDenmark</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anna of Denmark (1574-1619)</a:documentation>
                     <value>cat:encyHistoryMonarchsAnneBoleyn</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anne Boleyn (1501-1536)</a:documentation>
                     <value>cat:encyHistoryMonarchsAnneOfCleves</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anne of Cleves (1515-1557)</a:documentation>
                     <value>cat:encyHistoryMonarchsCatherineDeValois</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Catherine de Valois, Queen (1401-1437)</a:documentation>
                     <value>cat:encyHistoryMonarchsCatherineHoward</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Catherine Howard (1523-1542)</a:documentation>
                     <value>cat:encyHistoryMonarchsEdwardIII</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Edward III of England (1312-1377)</a:documentation>
                     <value>cat:encyHistoryMonarchsEdwardVI</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Edward VI of England (1537-1553)</a:documentation>
                     <value>cat:encyHistoryMonarchsElizabethI</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Elizabeth I of England (1533-1603)</a:documentation>
                     <value>cat:encyHistoryMonarchsHenryIV</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry IV of England (1367-1413)</a:documentation>
                     <value>cat:encyHistoryMonarchsHenryV</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry V of England (1386-1422)</a:documentation>
                     <value>cat:encyHistoryMonarchsHenryVI</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VI of England (1421-1471)</a:documentation>
                     <value>cat:encyHistoryMonarchsHenryVII</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VII of England (1457-1509)</a:documentation>
                     <value>cat:encyHistoryMonarchsHenryVIII</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VIII, King of England (1491-1547)</a:documentation>
                     <value>cat:encyHistoryMonarchsJamesI</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">James I of England (1566-1625)</a:documentation>
                     <value>cat:encyHistoryMonarchsJaneSeymour</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jane Seymour (1509-1537)</a:documentation>
                     <value>cat:encyHistoryMonarchsKatherineOfAragon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Katherine of Aragon (1485-1536)</a:documentation>
                     <value>cat:encyHistoryMonarchsKatherineParr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Katherine Parr (1512-1548)</a:documentation>
                     <value>cat:encyHistoryMonarchsMacbeth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Macbeth, King of Scots (d. 1057)</a:documentation>
                     <value>cat:encyHistoryMonarchsMaryI</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mary I of England (1516-1558)</a:documentation>
                     <value>cat:encyHistoryMonarchsMaryQueenOfScots</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mary, Queen of Scots (1542-1587)</a:documentation>
                     <value>cat:encyHistoryMonarchsPhilipIIOfSpain</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Philip II of Spain (1527-1598)</a:documentation>
                     <value>cat:encyHistoryMonarchsRichardII</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Richard II of England (1367-1400)</a:documentation>
                     <value>cat:encyHistoryMonarchsRichardIII</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Richard III of England (1452-1485)</a:documentation>
                     <value>cat:encyHistoryOther</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Other</a:documentation>
                     <value>cat:encyHistoryOtherClassicalVirtues</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Virtues, Classical</a:documentation>
                     <value>cat:encyHistoryOtherDuels</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Duels</a:documentation>
                     <value>cat:encyHistoryOtherJoanOfArc</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Joan of Arc (14121431)</a:documentation>
                     <value>cat:encyHistoryOtherPrivyCouncil</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Privy Council</a:documentation>
                     <value>cat:encyHistoryOtherRomanSociety</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Roman Society</a:documentation>
                     <value>cat:encyHistoryOtherVagrants</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Vagrants</a:documentation>
                     <value>cat:encyHistoryReligion</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Religion</a:documentation>
                     <value>cat:encyHistoryReligionBibleTranslations</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bible Translations</a:documentation>
                     <value>cat:encyHistoryReligionBookOfCommonPrayer</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Book of Common Prayer</a:documentation>
                     <value>cat:encyHistoryReligionCalvinism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Calvinism</a:documentation>
                     <value>cat:encyHistoryReligionCatholicism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Catholicism</a:documentation>
                     <value>cat:encyHistoryReligionChristening</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Christening</a:documentation>
                     <value>cat:encyHistoryReligionChurchOfEngland</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Church of England</a:documentation>
                     <value>cat:encyHistoryReligionChurchOfRome</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Church of Rome</a:documentation>
                     <value>cat:encyHistoryReligionEnglishReformation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Reformation, English</a:documentation>
                     <value>cat:encyHistoryReligionHeresy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Heresy</a:documentation>
                     <value>cat:encyHistoryReligionHolidaysEct</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Holidays/Holy Days/Feast Days</a:documentation>
                     <value>cat:encyHistoryReligionIslam</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Islam</a:documentation>
                     <value>cat:encyHistoryReligionJesuits</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jesuits</a:documentation>
                     <value>cat:encyHistoryReligionJudaism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Judaism</a:documentation>
                     <value>cat:encyHistoryReligionLent</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lent</a:documentation>
                     <value>cat:encyHistoryReligionMartinLuther</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Luther, Martin (1483-1546)</a:documentation>
                     <value>cat:encyHistoryReligionMartyrdom</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Martyrdom</a:documentation>
                     <value>cat:encyHistoryReligionNunneriesAndMonasteries</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nunneries and Monasteries</a:documentation>
                     <value>cat:encyHistoryReligionProtestantism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Protestantism</a:documentation>
                     <value>cat:encyHistoryReligionPuritanism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Puritanism</a:documentation>
                     <value>cat:encyHistoryReligionRecusants</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Recusants</a:documentation>
                     <value>cat:encyHistoryReligionSatan</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Satan</a:documentation>
                     <value>cat:encyTheatre</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatre Explore the vibrant world of early modern theatre, including plays by Shakespeare and his contemporaries and the cultural impacts of performance.</a:documentation>
                     <value>cat:encyTheatreOther</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Other</a:documentation>
                     <value>cat:encyTheatreOtherBadQuarto</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bad Quarto</a:documentation>
                     <value>cat:encyTheatreOtherMasterOfTheRevels</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Master of the Revels</a:documentation>
                     <value>cat:encyTheatreOtherOfficeOfRevels</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Office of Revels</a:documentation>
                     <value>cat:encyTheatreOtherVerseDrama</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Verse Drama</a:documentation>
                     <value>cat:encyTheatrePerformance</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Performance</a:documentation>
                     <value>cat:encyTheatrePerformanceActing</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Acting</a:documentation>
                     <value>cat:encyTheatrePerformanceActors</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Actors</a:documentation>
                     <value>cat:encyTheatrePerformanceArmour</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Armour</a:documentation>
                     <value>cat:encyTheatrePerformanceAudiences</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Audiences</a:documentation>
                     <value>cat:encyTheatrePerformanceBlackCharacters</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Black Characters</a:documentation>
                     <value>cat:encyTheatrePerformanceBoyActors</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Boy Actors</a:documentation>
                     <value>cat:encyTheatrePerformanceCensorship</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Censorship</a:documentation>
                     <value>cat:encyTheatrePerformanceComedy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Comedy</a:documentation>
                     <value>cat:encyTheatrePerformanceCommediaDellArte</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Commedia dell’Arte</a:documentation>
                     <value>cat:encyTheatrePerformanceCostumes</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Costumes</a:documentation>
                     <value>cat:encyTheatrePerformanceDeathOnStage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Death on Stage</a:documentation>
                     <value>cat:encyTheatrePerformanceDiscoverySpace</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Discovery Space</a:documentation>
                     <value>cat:encyTheatrePerformanceEarlyModernPlaywrights</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Playwrights, Early Modern</a:documentation>
                     <value>cat:encyTheatrePerformanceEdwardAlleyn</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Alleyn, Edward (1566-1626)</a:documentation>
                     <value>cat:encyTheatrePerformanceElizabethanFashion</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Elizabethan Fashion</a:documentation>
                     <value>cat:encyTheatrePerformanceElizabethanTheatre</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatre, Elizabethan</a:documentation>
                     <value>cat:encyTheatrePerformanceEnglishMonarchy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Monarchy, English</a:documentation>
                     <value>cat:encyTheatrePerformanceEntrancesAndExits</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Entrances and Exits</a:documentation>
                     <value>cat:encyTheatrePerformanceEtiquette</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Etiquette</a:documentation>
                     <value>cat:encyTheatrePerformanceFemaleCharacters</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Female Characters</a:documentation>
                     <value>cat:encyTheatrePerformanceFencing</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Fencing</a:documentation>
                     <value>cat:encyTheatrePerformanceFools</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Fools</a:documentation>
                     <value>cat:encyTheatrePerformanceHellspace</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hellspace</a:documentation>
                     <value>cat:encyTheatrePerformanceHenryCondell</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Condell, Henry (1576-1627)</a:documentation>
                     <value>cat:encyTheatrePerformanceIndoorTheatres</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatres, Indoor</a:documentation>
                     <value>cat:encyTheatrePerformanceInvisibility</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Invisibility</a:documentation>
                     <value>cat:encyTheatrePerformanceJacobeanTheatre</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatre, Jacobean</a:documentation>
                     <value>cat:encyTheatrePerformanceJohnHeminges</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Heminges, John (1556-1630)</a:documentation>
                     <value>cat:encyTheatrePerformanceLanguageInTheatre</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Language in Theatre</a:documentation>
                     <value>cat:encyTheatrePerformanceLiberties</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Liberties</a:documentation>
                     <value>cat:encyTheatrePerformanceMadnessOnStage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Madness on Stage</a:documentation>
                     <value>cat:encyTheatrePerformanceMagic</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Magic</a:documentation>
                     <value>cat:encyTheatrePerformanceMistakenIdentity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mistaken Identity</a:documentation>
                     <value>cat:encyTheatrePerformanceMusicOnStage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Music on Stage</a:documentation>
                     <value>cat:encyTheatrePerformanceOmens</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Omens</a:documentation>
                     <value>cat:encyTheatrePerformanceOutdoorTheatres</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatres, Outdoor</a:documentation>
                     <value>cat:encyTheatrePerformancePlayers</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Players</a:documentation>
                     <value>cat:encyTheatrePerformancePlayingCompanies</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Playing Companies</a:documentation>
                     <value>cat:encyTheatrePerformanceProphecy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Prophecy</a:documentation>
                     <value>cat:encyTheatrePerformanceProstitution</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Prostitution</a:documentation>
                     <value>cat:encyTheatrePerformancePuritans</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Puritans</a:documentation>
                     <value>cat:encyTheatrePerformanceReligion</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Religion</a:documentation>
                     <value>cat:encyTheatrePerformanceRestorationTheatre</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatre, Restoration</a:documentation>
                     <value>cat:encyTheatrePerformanceRichardBurbage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Burbage, Richard (c.1567-1619)</a:documentation>
                     <value>cat:encyTheatrePerformanceRobertArmin</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Armin, Robert (c.1568-1615)</a:documentation>
                     <value>cat:encyTheatrePerformanceRoyalCourt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Royal Court</a:documentation>
                     <value>cat:encyTheatrePerformanceRoyalShakespeareCompany</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Royal Shakespeare Company</a:documentation>
                     <value>cat:encyTheatrePerformanceShakespeareDocumented</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shakespeare Documented</a:documentation>
                     <value>cat:encyTheatrePerformanceShakespearesGlobe</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shakespeare’s Globe</a:documentation>
                     <value>cat:encyTheatrePerformanceShareholders</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shareholders</a:documentation>
                     <value>cat:encyTheatrePerformanceSimonForman</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Forman, Simon (1554-1611)</a:documentation>
                     <value>cat:encyTheatrePerformanceSoliloquy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Soliloquy</a:documentation>
                     <value>cat:encyTheatrePerformanceSpecialEffects</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Special Effects</a:documentation>
                     <value>cat:encyTheatrePerformanceStageCombat</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Stage Combat</a:documentation>
                     <value>cat:encyTheatrePerformanceStageDirections</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Stage Directions</a:documentation>
                     <value>cat:encyTheatrePerformanceStationersRegister</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Stationers’ Register</a:documentation>
                     <value>cat:encyTheatrePerformanceSuicide</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Suicide</a:documentation>
                     <value>cat:encyTheatrePerformanceSumptuaryLaws</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sumptuary Laws</a:documentation>
                     <value>cat:encyTheatrePerformanceTheKingsMen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The King’s Men</a:documentation>
                     <value>cat:encyTheatrePerformanceTheLordAdmiralsMen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Lord Admiral’s Men</a:documentation>
                     <value>cat:encyTheatrePerformanceTheLordChamberlainsMen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Lord Chamberlain’s Men</a:documentation>
                     <value>cat:encyTheatrePerformanceTheQueensMen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Queen’s Men</a:documentation>
                     <value>cat:encyTheatrePerformanceTheatreApprentices</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Apprentices, Theatre</a:documentation>
                     <value>cat:encyTheatrePerformanceTheatreArchitecture</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatre Architecture</a:documentation>
                     <value>cat:encyTheatrePerformanceTheatreCompanies</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theatre Companies</a:documentation>
                     <value>cat:encyTheatrePerformanceWilliamKemp</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Kempe, William (C.1560-C.1603)</a:documentation>
                     <value>cat:encyTheatrePlayhouses</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Playhouses</a:documentation>
                     <value>cat:encyTheatrePlayhousesBearGarden</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Bear Garden Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesBlackfriars</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Blackfriars Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesCockpit</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Cockpit Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesCurtain</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Curtain Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesFortune</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Fortune Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesGlobe</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Globe Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesHope</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Hope Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesInnsOfCourts</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Inns of Court</a:documentation>
                     <value>cat:encyTheatrePlayhousesPhilipHenslowe</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henslowe, Philip (1550-1616)</a:documentation>
                     <value>cat:encyTheatrePlayhousesRose</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Rose Theatre</a:documentation>
                     <value>cat:encyTheatrePlayhousesSwan</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Swan Theatre</a:documentation>
                     <value>cat:encyTheatrePlaysCharacters</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Plays and Characters</a:documentation>
                     <value>cat:encyTheatrePlaysCharacters1H4</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry IV, Part One (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharacters1H6</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VI, Part 1 (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharacters2H4</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry IV, Part Two (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharacters2H6</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VI, Part 2 (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharacters3H6</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VI, Part 3 (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAShr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Taming of A Shrew (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAWTEW</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">All’s Well That Ends Well (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAYL</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">As You Like It (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAaronTheMoor</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Aaron the Moor (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAdam</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Adam (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAdo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Much Ado About Nothing (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAdonis</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Adonis (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAdriana</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Adriana (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAlch</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Alchemist (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAndrea</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Andrea (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAngelo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Angelo (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAnneBoleyn</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Anne Boleyn (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAnt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Antony and Cleopatra (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAntigonus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Antigonus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAntipholusOfEphesus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Antipholus of Ephesus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAntipholusOfSyracuse</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Antipholus of Syracuse (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAntonioMV</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Antonio (character in Merchant)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAntonioTmp</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Antonio (character in Tempest)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAriel</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ariel (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAudrey</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Audrey (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersAutolycus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Autolycus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBalthazar</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Balthazar (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBanquo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Banquo (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBaptista</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Baptista (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBardolph</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bardolph (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBart</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bartholomew Fair (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBassanio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bassanio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBeatrice</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Beatrice (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBenedick</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Benedick (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBertram</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bertram (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBiancaOth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bianca (character in Othello)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBiancaShr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bianca (character in Shrew)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBiron</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Biron (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBoyet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Boyet (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBrutus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Brutus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersBuckingham</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Buckingham (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCMC</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A Chaste Maid in Cheapside (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCaliban</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Caliban (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCalpurnia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Calpurnia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCard</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cardenio (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCardinalWolsey</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cardinal Wolsey (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCasca</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Casca (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCassius</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cassius (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCelia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Celia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCharmian</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Charmian (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersChristopherSly</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sly, Christopher (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersChss</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A Game at Chess (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersClaudioAdo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Claudio (character in Much Ado)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersClaudioMM</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Claudio (character in Measure for Measure)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersClaudius</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Claudius (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCleopatra</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cleopatra (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCor</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Coriolanus (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCordelia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cordelia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCostard</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Costard (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCrab</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Crab (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCym</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cymbeline (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersCymbeline</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cymbeline (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDQC</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dido, Queen of Carthage (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDemetrius</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Demetrius (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDesdemona</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Desdemona (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDoctorFaustus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Doctor Faustus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDoctorPinch</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Doctor Pinch (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDogberry</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dogberry (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDonArmado</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Don Armado (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDonJohn</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Don John (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDonPedro</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Don Pedro (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDrF</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Doctor Faustus, The Tragical History of (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDromioOfEphesus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dromio of Ephesus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDromioOfSyracuse</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dromio of Syracuse (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDukeFrederick</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Duke Frederick (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersDuncan</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Duncan (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersE2</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Edward II (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEMI</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Every Man in His Humour (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEarlOfGloucester</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gloucester, Earl of (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEarlOfKent</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Kent, Earl of (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEdgar</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Edgar (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEdmund</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Edmund (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEmilia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Emilia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersEnobarbus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Enobarbus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersErr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Comedy of Errors (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersFerdinand</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ferdinand (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersFeste</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Feste (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersFlorizel</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Florizel (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersFlute</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Flute (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersGhostOfKingHamlet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ghost of King Hamlet (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersGoneril</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Goneril (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersGonzalo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gonzalo (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersGratiano</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gratiano (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersGremio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gremio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersGrumio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Grumio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersH5</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry The Fifth (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersH8</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VIII, Or All Is True (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHelen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Helen (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHelena</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Helena (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHermia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hermia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHermione</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hermione (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHero</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hero (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHieronimo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hieronimo (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHolofernes</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Holofernes (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHoratio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Horatio (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHortensio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hortensio (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersHotspur</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hotspur (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersIOD</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Isle Of Dogs (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersIago</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Iago (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersInnogen</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Innogen (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersIsabellaMM</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Isabella (Character in Measure for Measure)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersIsabellaR2</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Isabella (Character In Richard II)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJC</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Caesar, Julius (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJMal</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Jew Of Malta (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJacques</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jacques (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJessica</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jessica (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJn</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">King John (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJuliet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Juliet (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersJuliusCaesar</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Caesar, Julius (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKaterina</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Katerina (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingFerdinand</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">King Ferdinand (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingHenry4</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry IV, King (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingHenry5</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry V, King (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingHenry6</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VI, King (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingHenry7</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VII, King (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingHenry8</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Henry VIII, King (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersKingLear</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">King Lear (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLLL</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Love’s Labour’s Lost (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLLW</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Love’s Labour’s Won (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLadyAnne</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lady Anne (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLadyMacbeth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lady Macbeth (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLaertes</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Laertes (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLavinia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lavinia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLearsFool</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Fool, Lear’s (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLeonato</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Leonato (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLeontes</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Leontes (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLordCapulet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Capulet, Lord (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLordMontague</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Montague, Lord (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLorenzo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lorenzo (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">King Lear (Play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLucentio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lucentio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLuciana</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Luciana (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLucio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lucio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersLysander</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lysander (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMND</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A Midsummer Night’s Dream (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMV</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Merchant of Venice (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMac</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Tragedy of Macbeth (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMacbeth</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Macbeth (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMacduff</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Macduff (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMalvolio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Malvolio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMargaret</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Margaret (characters)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMariana</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mariana (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMarina</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Marina (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMarkAntony</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mark Antony (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMasterFord</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Master Ford (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMercutio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mercutio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMiranda</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Miranda (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMistressFord</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mistress Ford (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMistressOverdone</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mistress Overdone (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMistressPage</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mistress Page (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersMistressQuickly</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Mistress Quickly (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersNell</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nell (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersNerissa</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nerissa (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersNickBottom</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Bottom, Nick (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersNurse</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nurse (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersOberon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Oberon (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersOlivia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Olivia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersOphelia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ophelia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersOrlando</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Orlando (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersOrsino</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Orsino (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersOthello</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Othello (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersParis</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Paris (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersParoles</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Paroles (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPaulina</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Paulina (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPer</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Pericles (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPerdita</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Perdita (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPericles</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Pericles (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPeterQuince</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Quince, Peter (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPetruchio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Petruchio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPistol</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Pistol (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPolixines</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Polixines (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPolonius</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Polonius (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPompey</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Pompey (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPortiaJC</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Portia (character in Julius Caesar)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPortiaMV</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Portia (character in Merchant of Venice)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPrinceHal</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hal, Prince (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPrinceHamlet</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hamlet, Prince (Character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersProspero</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Prospero (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersProteus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Proteus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPuckRobinGoodfellow</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Puck (Robin Goodfellow) (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersPyramus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Pyramus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersQueenGertrude</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gertrude, Queen (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersQueenMargaret</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Queen Margaret</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersR2</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Richard II (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersR3</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Richard III (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRegan</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Regan (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRevenge</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Revenge (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRichard2</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Richard II (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRichard3</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Richard III (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRoar</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Roaring Girl (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRobinGoodfellow</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Goodfellow, Robin (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRom</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Romeo and Juliet (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRomeo</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Romeo (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRosalind</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Rosalind (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersRosaline</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Rosaline (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSTM</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sir Thomas More (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSebastianTN</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sebastian (character in Twelfth Night)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSebastianTmp</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sebastian (character in Tempest)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersShr</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Taming of the Shrew (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersShylock</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shylock (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSilvia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Silvia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSirAndrewAguecheek</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sir Andrew Aguecheek (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSirJohnFalstaff</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Falstaff, Sir John (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSirTobyBelch</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sir Toby Belch (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersSpaT</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Spanish Tragedy (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTGV</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Two Gentlemen of Verona (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTMar</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Tragedy of Mariam (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTN</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Twelfth Night (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTNK</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Two Noble Kinsmen (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTam</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tamburlaine the Great (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTamora</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tamora (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersThaisa</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Thaisa (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTheseus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Theseus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersThisbe</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Thisbe (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTim</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Timon of Athens (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTit</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Titus Andronicus (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTitania</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Titania (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTitusAndronicus</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Titus Andronicus (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTmp</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Tempest (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTouchstone</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Touchstone (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTranio</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tranio (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTro</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Troilus and Cressida (play)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersTybalt</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tybalt (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersValentine</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Valentine (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersViola</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Viola (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersVolumnia</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Volumnia (character)</a:documentation>
                     <value>cat:encyTheatrePlaysCharactersWiv</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The Merry Wives of Windsor (play)</a:documentation>
                     <value>cat:encyTheatrePlaywrights</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Playwrights</a:documentation>
                     <value>cat:encyTheatrePlaywrightsAuthorshipControversy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Authorship Controversy</a:documentation>
                     <value>cat:encyTheatrePlaywrightsBenJonson</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Jonson, Ben (1572-1637)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsChristopherMarlowe</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Marlowe, Christopher (1564-1593)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsCollaboration</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Collaboration</a:documentation>
                     <value>cat:encyTheatrePlaywrightsElizabethCary</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cary, Elizabeth, Lady Falkland (1585-1639)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsFrancisMeres</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Meres, Francis (1565-1647)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsGeorgeChapman</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chapman, George (c. 1559-1634)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsHenryChettle</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chettle, Henry (c. 1564-1607)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsJohnFletcher</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Fletcher, John (1579-1625)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsJohnFord</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Ford, John (1586-c.1639)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsJohnLyly</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Lyly, John (1553-1606)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsJohnMarston</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Marston, John (1576-1634)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsJohnWebster</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Webster, John (c. 1580-c. 1634)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsThomasDekker</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dekker, Thomas (c.1572-1632)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsThomasHeywood</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Heywood, Thomas (1574-1641)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsThomasKyd</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Kyd, Thomas (1558-1594)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsThomasMiddleton</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Middleton, Thomas (1580-1627)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsThomasNashe</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Nashe, Thomas (1567-c.1601)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsWilliamRowley</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Rowley, William (1585-1642)</a:documentation>
                     <value>cat:encyTheatrePlaywrightsWilliamShakespeareBiography</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shakespeare, William (1564-1616) Biography</a:documentation>
                     <value>cat:encyTheatrePlaywrightsWilliamShakespeareWorks</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Shakespeare, William (1564-1616) Works</a:documentation>
                     <value>cat:encyTopics</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Topics Investigate major concepts linking people, places, and ideas in early modern England.</a:documentation>
                     <value>cat:encyTopicsPoliticsHistory</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Politics and History</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryCityOfLondon</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">City of London</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryDisorder</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Disorder</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryExecution</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Execution</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryJustice</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Justice</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryLeadership</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Leadership</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryPower</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Power</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryStuarts</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Stuarts</a:documentation>
                     <value>cat:encyTopicsPoliticsHistorySuccession</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Succession</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryTudors</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Tudors</a:documentation>
                     <value>cat:encyTopicsPoliticsHistoryWar</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">War</a:documentation>
                     <value>cat:encyTopicsReligionBelief</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Religion and Belief</a:documentation>
                     <value>cat:encyTopicsReligionBeliefChristianity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Christianity</a:documentation>
                     <value>cat:encyTopicsReligionBeliefFate</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Fate</a:documentation>
                     <value>cat:encyTopicsReligionBeliefPaganism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Paganism</a:documentation>
                     <value>cat:encyTopicsReligionBeliefSupernatural</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supernatural</a:documentation>
                     <value>cat:encyTopicsReligionBeliefWitchcraft</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Witchcraft</a:documentation>
                     <value>cat:encyTopicsSocialCultural</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Social and Cultural</a:documentation>
                     <value>cat:encyTopicsSocialCulturalBanishment</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Banishment</a:documentation>
                     <value>cat:encyTopicsSocialCulturalDeath</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Death</a:documentation>
                     <value>cat:encyTopicsSocialCulturalDisability</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Disability</a:documentation>
                     <value>cat:encyTopicsSocialCulturalFeminism</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Feminism</a:documentation>
                     <value>cat:encyTopicsSocialCulturalFolklore</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Folklore</a:documentation>
                     <value>cat:encyTopicsSocialCulturalGender</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gender</a:documentation>
                     <value>cat:encyTopicsSocialCulturalHierarchy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hierarchy</a:documentation>
                     <value>cat:encyTopicsSocialCulturalHonour</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Honour</a:documentation>
                     <value>cat:encyTopicsSocialCulturalIdentity</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Identity</a:documentation>
                     <value>cat:encyTopicsSocialCulturalMarriageOnStageAndInLife</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Marriage on Stage and in Life</a:documentation>
                     <value>cat:encyTopicsSocialCulturalParentsAndChildren</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Parents and Children</a:documentation>
                     <value>cat:encyTopicsSocialCulturalViolence</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Violence</a:documentation>
                     <value>cat:encyTopicsStatesOfMind</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">States of Mind</a:documentation>
                     <value>cat:encyTopicsStatesOfMindDeception</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Deception</a:documentation>
                     <value>cat:encyTopicsStatesOfMindDominance</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Dominance</a:documentation>
                     <value>cat:encyTopicsStatesOfMindFriendship</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Friendship</a:documentation>
                     <value>cat:encyTopicsStatesOfMindGrief</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Grief</a:documentation>
                     <value>cat:encyTopicsStatesOfMindLove</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Love</a:documentation>
                     <value>cat:encyTopicsStatesOfMindMadness</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Madness</a:documentation>
                     <value>cat:encyTopicsStatesOfMindMelancholy</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Melancholy</a:documentation>
                     <value>cat:encyTopicsStatesOfMindRevenge</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Revenge</a:documentation>
                     <value>cat:encyTopicsStatesOfMindTransformation</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Transformation</a:documentation>
                  </choice>
               </oneOrMore>
            </list>
         </attribute>
         <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, for example by a <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;taxonomy&gt;</code> element, or by some other resource.</a:documentation>
            <choice>
               <value>tax:emdDocumentTypes</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Document Types All documents in LEMDO are either born-digital documents or primary documents. Within those two general categories, LEMDO offers additional ways to categorize a file.</a:documentation>
               <value>tax:emdWorkTypes</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Types of Literary Work Types of Literary Work</a:documentation>
               <value>tax:emdBookFormats</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Early Modern Book Formats Early Modern Book Formats</a:documentation>
               <value>tax:emdEditorialTreatments</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Editorial Treatments Distinct approaches to textual editing used by LEMDO editors</a:documentation>
               <value>tax:emdDocumentHist</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Document History Various sources from which born-digital texts have made their way into the LEMDO collection.</a:documentation>
               <value>tax:emdAudiences</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">LEMDO Target Audience (documentation only) The emdAudiences taxonomy describes the potential LEMDO audiences, mostly for categorizing documentation according to its intended audience.</a:documentation>
               <value>tax:encyKey</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">EMEE Keywords</a:documentation>
            </choice>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="xenoData">
      <element name="xenoData">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(non-TEI metadata) provides a container element into which metadata in non-TEI formats may be placed. [2.5. Non-TEI Metadata]</a:documentation>
         <choice>
            <text/>
            <oneOrMore>
               <ref name="anyElement_xenoData_1"/>
            </oneOrMore>
         </choice>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="revisionDesc">
      <element name="revisionDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(revision description) (revision description) summarizes the revision history for a file. [2.6. The Revision Description 2.1.1. The TEI Header and Its Components]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="list"/>
            </oneOrMore>
            <oneOrMore>
               <ref name="listChange"/>
            </oneOrMore>
            <oneOrMore>
               <ref name="change"/>
            </oneOrMore>
         </choice>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <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.</a:documentation>
            <choice>
               <value>IML-TEI</value>
               <a:documentation>(IML to TEI The text has been programmatically converted from IML to LEMDO TEI via a series of transformations. The file is a .xml file. There are stray IML tags in these texts that we retain until we have proofed the TEI. The transcription may have been checked by an ISE editor but LEMDO has not yet checked it.) </a:documentation>
               <value>IML-TEI_INP</value>
               <a:documentation>(IML-to-TEI In Progress The programmatic conversion is in the process of being carefully checked and remediated by a LEMDO team member. The file is a .xml file.) </a:documentation>
               <value>IML-TEI_proofed</value>
               <a:documentation>(IML-to-TEI Proofed The programmatic conversion has been carefully checked and fully remediated by a LEMDO team member and/or an editor or anthology lead. The file is now ready for peer review (or for publication without peer review).) </a:documentation>
               <value>IML-TEI_proofing</value>
               <a:documentation>(IML-to-TEI Ready for Proofing The fully remediated file is ready for proofing or in the process of being proofed by a LEMDO team member, editor, or anthology lead.) </a:documentation>
               <value>TCP-TEI</value>
               <a:documentation>(TCP-to-TEI The text has been programmatically converted from TCP TEI P4 to LEMDO TEI (P5) via a series of transformations. The file is a .xml file. The transcription is only as correct as the underlying TCP transcription (which contains gaps, errors, and normalized long s characters). The TCP metadata is retained. This category is only for documents that also have the document type ldt:primary (but not ldt:primaryModern).) </a:documentation>
               <value>TCP-TEI_INP</value>
               <a:documentation>(TCP to TEI In Progress The text has been programmatically converted from TCP TEI P4 to LEMDO TEI (P5) via a series of transformations. The file is in the process of being carefully corrected, remediated, and proofed by a LEMDO team member. The file is a .xml file. This category is only for documents that also have the document type ldt:primary.) </a:documentation>
               <value>TCP-TEI_proofed</value>
               <a:documentation>(TCP to TEI Proofed This semi-diplomatic text has been programmatically converted from TCP TEI P4 to LEMDO TEI (P5) via a series of transformations and carefully corrected, remediated, and proofed by a LEMDO team member. The file is a .xml file. The transcription has been corrected; gaps have been supplied; the long s has been restored. The TEI tagging has been checked and corrected by a LEMDO team member. This category is only for documents that also have the document type ldt:primary.) </a:documentation>
               <value>TCP-TEI_proofing</value>
               <a:documentation>(TCP-to-TEI Ready for Proofing The fully remediated file is ready for proofing or in the process of being proofed by a LEMDO team member, editor, or anthology lead.) </a:documentation>
               <value>TEI_INP</value>
               <a:documentation>(TEI in Progress The text is being encoded in TEI.) </a:documentation>
               <value>TEI_collating</value>
               <a:documentation>(TEI Collation in Progress A modernized text has been created from other sources, but has not yet been remediated to fix e.g. capitalization issues or speech prefixes.) </a:documentation>
               <value>TEI_proofed</value>
               <a:documentation>(TEI Proofed The text is finished in TEI and proofed.) </a:documentation>
               <value>TEI_proofing</value>
               <a:documentation>(TEI Ready for Proofing The fully remediated file is ready for proofing or in the process of being proofed by a LEMDO team member, editor, or anthology lead.) </a:documentation>
               <value>deprecated</value>
               <a:documentation>(Deprecated This document is no longer relevant or has been superseded, but is being preserved as part of LEMDO’s digital archive.) </a:documentation>
               <value>draft</value>
               <a:documentation>(Draft Files that are being drafted.) </a:documentation>
               <value>empty</value>
               <a:documentation>(Empty Files that are empty (have no content other than a minimal TEI Header).) </a:documentation>
               <value>peerReviewed</value>
               <a:documentation>(Peer-reviewed Files that have been peer reviewed.) </a:documentation>
               <value>prgGenerated</value>
               <a:documentation>(Programmatically Generated Files that are programmatically generated using xslt. Most such files are documentation or apparatus files.) </a:documentation>
               <value>published</value>
               <a:documentation>(Published Files that have been published.) </a:documentation>
               <value>publishedWithPeerReview</value>
               <a:documentation>(Published with peer review Files that have been published after being peer-reviewed.) </a:documentation>
               <value>publishedWithoutPeerReview</value>
               <a:documentation>(Published without peer review Files that have been published before being peer-reviewed.) </a:documentation>
            </choice>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="change">
      <element name="change">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(change) documents a change or set of changes made during the production of a source document, or during the revision of an electronic file. [2.6. The Revision Description 2.4.1. Creation 12.7. Identifying Changes and Revisions]</a:documentation>
         <ref name="macro.specialPara"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:change[parent::tei:revisionDesc]">
               <sch:assert test="@when or @to or @from or @notBefore or @notAfter">ERROR: All change elements must have a dating attribute (@when, @to, @from, @notBefore, @notAfter).  </sch:assert>
            </sch:rule>
            <sch:rule context="tei:change[parent::tei:revisionDesc]">
               <sch:assert test="@who">ERROR: All change elements in revisionDesc
                                    must have @who.  </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:change[parent::tei:revisionDesc]">
               <sch:assert test="not(following-sibling::tei:change[xs:date(@when) &gt; xs:date(current()/@when)])"> ERROR: The order of &lt;changes&gt; elements in the
                                 &lt;revisionDesc&gt; in this file is not correct. Later changes should
                                 always come first. 
                              </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:change[@who]">
               <sch:assert test="starts-with(@who, $persPrefix) or starts-with(@who,$orgPrefix)">ERROR: @who attributes should point to a person in the personography
                                 or an organization in the orgography.</sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.ascribed.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.docStatus.attributes"/>
         <optional>
            <attribute name="target">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target) points to one or more elements that belong to this change.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="anyURI">
                        <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="listChange">
      <element name="listChange">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups a number of change descriptions associated with either the creation of a source text or the revision of an encoded text. [2.6. The Revision Description 12.7. Identifying Changes and Revisions]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="listChange"/>
                  <ref name="change"/>
               </choice>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="ordered"
                       a:defaultValue="true">
               <a:documentation>indicates whether the ordering of its child <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;change&gt;</code> elements is to be considered significant or not.</a:documentation>
               <data type="boolean"/>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="att.global.linking.attributes">
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
   </define>
   <define name="att.global.linking.attribute.corresp">
      <optional>
         <attribute name="corresp">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(corresponds) points to elements that correspond to the current element in some way.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.global.linking.attribute.sameAs">
      <optional>
         <attribute name="sameAs">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to an element that is the same as the current element.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.global.linking.attribute.copyOf">
      <optional>
         <attribute name="copyOf">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to an element of which the current element is a copy.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.global.linking.attribute.next">
      <optional>
         <attribute name="next">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(next) points to the next element of a virtual aggregate of which the current element is part.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="att.global.linking.attribute.prev">
      <optional>
         <attribute name="prev">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(previous) points to the previous element of a virtual aggregate of which the current element is part.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
      </optional>
   </define>
   <define name="linkGrp">
      <element name="linkGrp">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(link group) (link group) defines a collection of associations or hypertextual links. [17.1. Links]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.descLike"/>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="ptr"/>
               </choice>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.pointing.attribute.target"/>
         <ref name="att.typed.attribute.subtype"/>
         <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>
            <choice>
               <value>printInclude</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Item to be included in print document.) PDFs for printing by the publisher are created based on a composite document constructed from existing TEI documents. These documents are pulled into the containing document through linkGrps with type="printInclude".</a:documentation>
            </choice>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="ab">
      <element name="ab">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(anonymous block) (anonymous block) contains any arbitrary component-level unit of text, acting as an anonymous container for phrase or inter level elements analogous to, but without the semantic baggage of, a paragraph. [17.3. Blocks, Segments, and Anchors]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="macro.paraContent"/>
               <ref name="ab"/>
               <ref name="sp"/>
            </choice>
         </oneOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:TEI[descendant::tei:revisionDesc/@status ne 'IML-TEI']/descendant::tei:ab[@type]">
               <sch:assert test="not(@type=('setAsProse', 'setAsVerse', 'hungword', 'literaryDivision', 'song'))">
                                    ERROR: The legacy values 'setAsProse', 'setAsVerse', 'hungword', 'literaryDivision', 'song'
                                    may only be used on ab/@type in documents whose status is IML-TEI.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-ab-abstractModel-structure-ab-in-l-constraint-rule-90">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:l//tei:ab">
               <sch:assert test="ancestor::tei:floatingText | parent::tei:figure | parent::tei:note">
          Abstract model violation: Metrical lines may not contain higher-level divisions such as p or ab, unless ab is a child of figure or note, or is a descendant of floatingText.
        </sch:assert>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.fragmentable.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <ref name="att.written.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. [8.4.2. Synchronization and Overlap 17.5. Correspondence and Alignment]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.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) (arbitrary segment) represents any segmentation of text below the ‘chunk’ level. [17.3. Blocks, Segments, and Anchors 6.2. Components of the Verse Line 7.2.5. Speech Contents]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.inter"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:seg">
               <sch:assert test="not(child::tei:figure)">
                                    ERROR: seg elements cannot have figures inside them.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.notated.attributes"/>
         <ref name="att.segLike.attributes"/>
         <ref name="att.typed.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="when">
      <element name="when">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates a point in time either relative to other elements in the same timeline tag, or absolutely. [17.4.2. Placing Synchronous Events in Time]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="absolute">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies an absolute value for the time.</a:documentation>
               <choice>
                  <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>
         <optional>
            <attribute name="unit">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the unit of time in which the <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@interval</code> value is expressed, if this is not inherited from the parent <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;timeline&gt;</code>.
Suggested values include: 1] d (days); 2] h (hours); 3] min (minutes); 4] s (seconds); 5] ms (milliseconds)</a:documentation>
               <choice>
                  <value>d</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(days) </a:documentation>
                  <value>h</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hours) </a:documentation>
                  <value>min</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(minutes) </a:documentation>
                  <value>s</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seconds) </a:documentation>
                  <value>ms</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milliseconds) </a:documentation>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="interval">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a time interval either as a number or as one of the keywords defined by the datatype teidata.interval.</a:documentation>
               <choice>
                  <data type="float"/>
                  <choice>
                     <value>regular</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                     <value>irregular</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                     <value>unknown</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  </choice>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="since">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the reference point for determining the time of the current <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;when&gt;</code> element, which is obtained by adding the interval to the time of the reference point.</a:documentation>
               <data type="anyURI">
                  <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="timeline">
      <element name="timeline">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(timeline) provides a set of ordered points in time which can be linked to elements of a spoken text to create a temporal alignment of that text. [17.4.2. Placing Synchronous Events in Time]</a:documentation>
         <oneOrMore>
            <ref name="when"/>
         </oneOrMore>
         <optional>
            <attribute name="origin">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">designates the origin of the timeline, i.e. the time at which it begins.</a:documentation>
               <data type="anyURI">
                  <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="unit">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the unit of time corresponding to the <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@interval</code> value of the timeline or of its constituent points in time.
Suggested values include: 1] d (days); 2] h (hours); 3] min (minutes); 4] s (seconds); 5] ms (milliseconds)</a:documentation>
               <choice>
                  <value>d</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(days) </a:documentation>
                  <value>h</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hours) </a:documentation>
                  <value>min</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(minutes) </a:documentation>
                  <value>s</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seconds) </a:documentation>
                  <value>ms</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milliseconds) </a:documentation>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="interval">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a time interval either as a positive integral value or using one of a set of predefined codes.</a:documentation>
               <choice>
                  <data type="float"/>
                  <choice>
                     <value>regular</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                     <value>irregular</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                     <value>unknown</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  </choice>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="standOff">
      <element name="standOff">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Functions as a container element for linked data, contextual information, and stand-off annotations embedded in a TEI document. [17.10. The standOff Container]</a:documentation>
         <oneOrMore>
            <ref name="model.standOffPart"/>
         </oneOrMore>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-standOff-nested_standOff_should_be_typed-constraint-rule-92">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:standOff">
               <sch:assert test="@type or not(ancestor::tei:standOff)">This
        <sch:name/> element must have a @type attribute, since it is
        nested inside a <sch:name/>
               </sch:assert>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="listAnnotation">
      <element name="listAnnotation">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of annotations, typically encoded as <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;annotation&gt;</code>, <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;annotationBlock&gt;</code>, or <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;note&gt;</code>, possibly organized with nested <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;listAnnotation&gt;</code> elements. [17.10. The standOff Container]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.headLike"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="model.labelLike"/>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="model.annotationLike"/>
                  <ref name="listAnnotation"/>
               </choice>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.notated.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="att.msExcerpt.attributes">
      <ref name="att.msExcerpt.attribute.defective"/>
   </define>
   <define name="att.msExcerpt.attribute.defective">
      <optional>
         <attribute name="defective">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether the passage being quoted is defective, i.e. incomplete through loss or damage.</a:documentation>
         </attribute>
      </optional>
   </define>
   <define name="att.msClass.attributes">
      <ref name="att.msClass.attribute.class"/>
   </define>
   <define name="att.msClass.attribute.class">
      <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 by pointing to other elements or resources defining the classification concerned.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </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 such as an early printed book. [11.1. Overview]</a:documentation>
         <group>
            <ref name="msIdentifier"/>
            <zeroOrMore>
               <ref name="model.headLike"/>
            </zeroOrMore>
            <choice>
               <oneOrMore>
                  <ref name="model.pLike"/>
               </oneOrMore>
               <zeroOrMore>
                  <choice>
                     <ref name="msContents"/>
                     <ref name="physDesc"/>
                  </choice>
               </zeroOrMore>
            </choice>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-msDesc-one_ms_singleton_max-constraint-rule-93">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:msContents|tei:physDesc|tei:history|tei:additional">
               <sch:let name="gi" value="name(.)"/>
               <sch:report test="preceding-sibling::*[ name(.) eq $gi ]                           and                           not( following-sibling::*[ name(.) eq $gi ] )">
          Only one <sch:name/> is allowed as a child of <sch:value-of select="name(..)"/>.
        </sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.docStatus.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="locus">
      <element name="locus">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(locus) defines a location within a manuscript, manuscript part, or other object typically as a (possibly discontinuous) sequence of folio references. [11.3.5. References to Locations within a Manuscript]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="hi"/>
               <ref name="locus"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.pointing.attributes"/>
         <ref name="att.typed.attributes"/>
         <optional>
            <attribute name="scheme">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(scheme) identifies the foliation scheme in terms of which the location is being specified by pointing to some <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;foliation&gt;</code> element defining it, or to some other equivalent resource.</a:documentation>
               <data type="anyURI">
                  <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="from">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(from) specifies the starting point of the location in a normalized form, typically a page number.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="to">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(to) specifies the end-point of the location in a normalized form, typically as a page number.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <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 or similar object being described. [11.4. The Manuscript Identifier]</a:documentation>
         <group>
            <group>
               <optional>
                  <ref name="placeName"/>
               </optional>
               <optional>
                  <ref name="country"/>
               </optional>
               <optional>
                  <ref name="settlement"/>
               </optional>
               <optional>
                  <ref name="institution"/>
               </optional>
               <optional>
                  <ref name="repository"/>
               </optional>
               <zeroOrMore>
                  <ref name="idno"/>
               </zeroOrMore>
            </group>
            <zeroOrMore>
               <choice>
                  <ref name="msName"/>
                  <ref name="objectName"/>
               </choice>
            </zeroOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-msIdentifier-msId_minimal-constraint-rule-94">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:msIdentifier">
               <sch:report test="not( parent::tei:msPart )                           and                           ( child::*[1]/self::idno  or  child::*[1]/self::altIdentifier  or  normalize-space(.) eq '')">An msIdentifier must contain either a repository or location.</sch:report>
            </sch: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">(institution) contains the name of an organization such as a university or library, with which a manuscript or other object is identified, generally its holding institution. [11.4. The Manuscript Identifier]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <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">(repository) contains the name of a repository within which manuscripts or other objects are stored, possibly forming part of an institution. [11.4. The Manuscript Identifier]</a:documentation>
         <ref name="macro.phraseSeq.limited"/>
         <ref name="att.global.attributes"/>
         <ref name="att.naming.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="msName">
      <element name="msName">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript name) contains a proper noun or noun phrase used for a manuscript, or other object, as opposed to a formal identification number or classmark. [11.4. The Manuscript Identifier]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="rs"/>
               <ref name="name"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.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, manuscript part, or other object either as a series of paragraphs or as a series of structured manuscript items. [11.6. Intellectual Content]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <optional>
                  <ref name="titlePage"/>
               </optional>
               <zeroOrMore>
                  <choice>
                     <ref name="msItem"/>
                  </choice>
               </zeroOrMore>
            </group>
         </choice>
         <ref name="att.global.attributes"/>
         <ref name="att.msClass.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, manuscript part, or other object. [11.6.1. The msItem and msItemStruct Elements]</a:documentation>
         <interleave>
            <optional>
               <ref name="locus"/>
            </optional>
            <optional>
               <ref name="title"/>
            </optional>
            <zeroOrMore>
               <ref name="author"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="respStmt"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="note"/>
            </zeroOrMore>
         </interleave>
         <ref name="att.global.attributes"/>
         <ref name="att.msClass.attributes"/>
         <ref name="att.msExcerpt.attributes"/>
         <empty/>
      </element>
   </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, manuscript part, or other object optionally subdivided using more specialized elements from the model.physDescPart class. [11.7. Physical Description]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.pLike"/>
            </zeroOrMore>
            <optional>
               <ref name="objectDesc"/>
            </optional>
            <optional>
               <ref name="handDesc"/>
            </optional>
            <optional>
               <ref name="typeDesc"/>
            </optional>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-physDesc-physDescRespIsOrgsOrPeople-constraint-rule-95">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:physDesc[@resp]">
               <sch:assert test="matches(@resp, '^((pers)|(org)):')">
                                 ERROR: The @resp attribute on physDesc must point to a person (pers:...) or
                                 an organization (org:...).
                              </sch:assert>
            </sch:rule>
         </pattern>
         <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">(object description) contains a description of the physical components making up the object which is being described. [11.7.1. Object Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <optional>
                  <ref name="supportDesc"/>
               </optional>
            </group>
         </choice>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="form">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(form) 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>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <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 or other object. [11.7.1. Object Description]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <optional>
                  <ref name="collation"/>
               </optional>
            </group>
         </choice>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="material">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(material) a short project-defined name for the material composing the majority of the support.
Suggested values include: 1] paper; 2] parch (parchment); 3] mixed</a:documentation>
               <choice>
                  <value>paper</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>parch</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(parchment) </a:documentation>
                  <value>mixed</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="collation">
      <element name="collation">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(collation) contains a description of how the leaves, bifolia, or similar objects are physically arranged. [11.7.1. Object Description]</a:documentation>
         <ref name="macro.specialPara"/>
         <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 hands used in a manuscript or other object. [11.7.2. Writing, Decoration, and Other Notations]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <group>
               <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">(hands) 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">(typeface description) contains a description of the typefaces or other aspects of the printing of an incunable or other printed source. [11.7.2.1. Writing]</a:documentation>
         <choice>
            <oneOrMore>
               <ref name="model.pLike"/>
            </oneOrMore>
            <empty/>
         </choice>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="model.persNamePart">
      <choice>
         <ref name="surname"/>
         <ref name="forename"/>
         <ref name="addName"/>
      </choice>
   </define>
   <define name="model.persNamePart_alternation">
      <choice>
         <ref name="surname"/>
         <ref name="forename"/>
         <ref name="addName"/>
      </choice>
   </define>
   <define name="model.persNamePart_sequence">
      <ref name="surname"/>
      <ref name="forename"/>
      <ref name="addName"/>
   </define>
   <define name="model.persNamePart_sequenceOptional">
      <optional>
         <ref name="surname"/>
      </optional>
      <optional>
         <ref name="forename"/>
      </optional>
      <optional>
         <ref name="addName"/>
      </optional>
   </define>
   <define name="model.persNamePart_sequenceOptionalRepeatable">
      <zeroOrMore>
         <ref name="surname"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="forename"/>
      </zeroOrMore>
      <zeroOrMore>
         <ref name="addName"/>
      </zeroOrMore>
   </define>
   <define name="model.persNamePart_sequenceRepeatable">
      <oneOrMore>
         <ref name="surname"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="forename"/>
      </oneOrMore>
      <oneOrMore>
         <ref name="addName"/>
      </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. [14.2.2. Organizational Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.editLike.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 one or more of the person's forenames, surnames, honorifics, added names, etc. [14.2.1. Personal Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:person/tei:persName[ancestor::tei:particDesc]">
               <sch:assert test="not(child::tei:note)">
                             ERROR: Do not place note elements inside persNames. Add the note 
                                    to the person element after the persName.
                           </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:persName | tei:orgName">
               <sch:assert test="not(descendant::tei:anchor)">
                                    ERROR: Do not place anchor elements inside persName or orgName elements. A persName or orgName typically becomes a link itself, so it cannot host another link inside it.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.editLike.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">(surname) contains a family (inherited) name, as opposed to a given, baptismal, or nick name. [14.2.1. Personal Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.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">(forename) contains a forename, given or baptismal name. [14.2.1. Personal Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.personal.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. [14.2.1. Personal Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.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">(place name) contains an absolute or relative place name. [14.2.3. Place Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.personal.attributes"/>
         <ref name="att.typed.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. [14.2.3. Place Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.naming.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="settlement">
      <element name="settlement">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(settlement) contains the name of a settlement such as a city, town, or village identified as a single geo-political or administrative unit. [14.2.3. Place Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.naming.attributes"/>
         <ref name="att.typed.attributes"/>
         <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. [16.2.2. The Participant Description]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.naming.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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.
Sample values include: 1] caesarean (caesarean section); 2] vaginal (vaginal delivery); 3] exNihilo (ex nihilo); 4] incorporated; 5] founded; 6] established</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <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. [16.2.2. The Participant Description]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.naming.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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.
Sample values include: 1] proclaimed; 2] assumed; 3] verified; 4] clinical; 5] brain; 6] natural; 7] unnatural; 8] fragmentation; 9] dissolution</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</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. [14.2.2. Organizational Names]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.headLike"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <zeroOrMore>
               <empty/>
            </zeroOrMore>
            <oneOrMore>
               <oneOrMore>
                  <choice>
                     <ref name="org"/>
                     <ref name="listOrg"/>
                  </choice>
               </oneOrMore>
               <zeroOrMore>
                  <empty/>
               </zeroOrMore>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.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. [14.3.2. The Person Element 16.2. Contextual Information 2.4. The Profile Description 16.3.2. Declarable Elements]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.headLike"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <zeroOrMore>
               <empty/>
            </zeroOrMore>
            <oneOrMore>
               <oneOrMore>
                  <choice>
                     <ref name="model.personLike"/>
                     <ref name="listPerson"/>
                  </choice>
               </oneOrMore>
               <zeroOrMore>
                  <empty/>
               </zeroOrMore>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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>
               <choice>
                  <value>castlist</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Used to specify that a listPerson in a particDesc is a cast list.) </a:documentation>
               </choice>
            </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. [14.3.3. Organizational Data]</a:documentation>
         <group>
            <oneOrMore>
               <ref name="orgName"/>
            </oneOrMore>
            <zeroOrMore>
               <ref name="org"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="idno"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="note"/>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.typed.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>
                  <oneOrMore>
                     <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="person">
      <element name="person">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(person) provides information about an identifiable individual, for example a participant in a language interaction, or a person referred to in a historical source. [14.3.2. The Person Element 16.2.2. The Participant Description]</a:documentation>
         <group>
            <ref name="persName"/>
            <optional>
               <ref name="birth"/>
            </optional>
            <optional>
               <ref name="death"/>
            </optional>
            <zeroOrMore>
               <ref name="note"/>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.editLike.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 person.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="sex">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sex of the person.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="gender">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the gender of the person.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <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="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="objectName">
      <element name="objectName">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(name of an object) (name of an object) contains a proper noun or noun phrase used to refer to an object. As of 2023-08-02, LEMDO tags only stage properties and ship names with <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;objectName&gt;</code>. Before tagging stage properties, consult with your anthology lead. [14.2.5. Object Names]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <ref name="att.editLike.attributes"/>
         <ref name="att.personal.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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>
            <choice>
               <value>prop</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A stage property) A prop used in the production of a LEMDO play or show. Do not use this value without consulting your anthology lead.</a:documentation>
               <value>ship</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A ship) A ship’s name</a:documentation>
            </choice>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="att">
      <element name="att">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute) contains the name of an attribute appearing within running text. [23. Documentation Elements]</a:documentation>
         <data type="Name"/>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="scheme"
                       a:defaultValue="TEI">
               <a:documentation>(scheme) supplies an identifier for the scheme in which this name is defined.
Sample values include: 1] TEI (Text Encoding Initiative); 2] DBK (Docbook); 3] XX (unknown); 4] imaginary (imaginary); 5] XHTML (XHTML); 6] XML (XML); 7] XI (XI)</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="code">
      <element name="code">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains literal code from some formal language such as a programming language. [23.1.1. Phrase Level Terms]</a:documentation>
         <text/>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute name="lang">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(formal language) a name identifying the formal language in which the code is expressed.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="eg">
      <element name="eg">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(example) contains any kind of illustrative example. [23.5. Element Specifications 23.5.3. Attribute List Specification]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="egXML">
      <element name="egXML" ns="http://www.tei-c.org/ns/Examples">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(example of XML) a single XML fragment demonstrating the use of some XML, such as elements, attributes, or processing instructions, etc., in which the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;egXML&gt;</code> element functions as the root element. [23.1.1. Phrase Level Terms]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="anyElement_egXML_2"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="valid"
                       a:defaultValue="true">
               <a:documentation>indicates the intended validity of the example with respect to a schema.</a:documentation>
               <choice>
                  <value>true</value>
                  <a:documentation>the example is intended to be fully valid, assuming that its root element, or a provided root element, could have been used as a possible root element in the schema concerned.</a:documentation>
                  <value>feasible</value>
                  <a:documentation>the example could be transformed into a valid document by inserting any number of valid attributes and child elements anywhere within it; or it is valid against a version of the schema concerned in which the provision of character data, list, element, or attribute values has been made optional.</a:documentation>
                  <value>false</value>
                  <a:documentation>the example is not intended to be valid, and contains deliberate errors.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="gi">
      <element name="gi">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) contains the name (generic identifier) of an element. [23. Documentation Elements 23.5. Element Specifications]</a:documentation>
         <data type="Name"/>
         <ref name="att.global.attributes"/>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="scheme"
                       a:defaultValue="TEI">
               <a:documentation>supplies the name of the scheme in which this name is defined.
Sample values include: 1] TEI; 2] DBK (docbook); 3] XX (unknown); 4] Schematron; 5] HTML</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="ident">
      <element name="ident">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) contains an identifier or name for an object of some kind in a formal language. <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;ident&gt;</code> is used for tokens such as variable names, class names, type names, function names etc. in formal programming languages. [23.1.1. Phrase Level Terms]</a:documentation>
         <text/>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="tag">
      <element name="tag">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tag) contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters. [23. Documentation Elements]</a:documentation>
         <text/>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of XML tag intended.</a:documentation>
               <choice>
                  <value>start</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a start-tag, with delimiters &lt; and &gt; is intended</a:documentation>
                  <value>end</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">an end-tag, with delimiters &lt;/ and &gt; is intended</a:documentation>
                  <value>empty</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">an empty tag, with delimiters &lt; and /&gt; is intended</a:documentation>
                  <value>pi</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a pi (processing instruction), with delimiters &lt;? and ?&gt; is intended</a:documentation>
                  <value>comment</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a comment, with delimiters &lt;!-- and --&gt; is intended</a:documentation>
                  <value>ms</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a marked-section, with delimiters &lt;[CDATA[ and ]]&gt; is intended</a:documentation>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="scheme"
                       a:defaultValue="TEI">
               <a:documentation>supplies the name of the schema in which this tag is defined.
Sample values include: 1] TEI (text encoding initiative); 2] DBK (docbook); 3] XX (unknown); 4] Schematron; 5] HTML</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="val">
      <element name="val">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value) contains a single attribute value. [23. Documentation Elements 23.5.3. Attribute List Specification]</a:documentation>
         <text/>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="specList">
      <element name="specList">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification list) marks where a list of descriptions is to be inserted into the prose documentation. [23.1.2. Element and Attribute Descriptions]</a:documentation>
         <oneOrMore>
            <ref name="specDesc"/>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="specDesc">
      <element name="specDesc">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification description) indicates that a description of the specified element, class, or macro should be included at this point within a document. [23.1.2. Element and Attribute Descriptions]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <attribute name="key">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) supplies the identifier of the documentary element or class for which a description is to be obtained.</a:documentation>
            <data type="Name"/>
         </attribute>
         <optional>
            <attribute name="atts">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attributes) supplies attribute names for which descriptions should additionally be obtained.</a:documentation>
               <list>
                  <zeroOrMore>
                     <data type="Name"/>
                  </zeroOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="specGrpRef">
      <element name="specGrpRef">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference to a specification group) indicates that the declarations contained by the <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;specGrp&gt;</code> referenced should be inserted at this point. [23.2. Modules and Schemas]</a:documentation>
         <empty/>
         <ref name="att.global.attributes"/>
         <attribute name="target">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points at the specification group which logically belongs here.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="listRef">
      <element name="listRef">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of references) supplies a list of significant references in the current document or elsewhere. [23.4.1. Description of Components 24.5.1. Making a Unified ODD]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <oneOrMore>
               <ref name="model.ptrLike"/>
            </oneOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-listRef-TagDocsNestinglistRef-constraint-rule-98">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="( tei:classSpec | tei:dataSpec | tei:elementSpec | tei:macroSpec | tei:moduleSpec | tei:schemaSpec | tei:specGrp )/tei:listRef">
               <sch:report test="tei:listRef">In the context of tagset documentation, the listRef element must not self-nest.</sch:report>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-listRef-TagDocslistRefChildren-constraint-rule-99">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="( tei:classSpec | tei:dataSpec | tei:elementSpec | tei:macroSpec | tei:moduleSpec | tei:schemaSpec | tei:specGrp )/tei:listRef/tei:ptr | ( tei:classSpec | tei:dataSpec | tei:elementSpec | tei:macroSpec | tei:moduleSpec | tei:schemaSpec | tei:specGrp )/tei:listRef/tei:ref">
               <sch:assert test="@target and not( matches( @target,'\s') )">In the context of tagset documentation, each ptr or ref element inside a listRef must have a target attribute with only 1 pointer as its value.</sch:assert>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="constraintDecl">
      <element name="constraintDecl">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(constraint declaration) contains declarations pertaining to formal constraints expressed elsewhere in <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;constraintSpec&gt;</code> elements [23.5.2. Additional Constraints]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.identEquiv"/>
                  <ref name="model.descLike"/>
               </choice>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="anyElement_constraintDecl_3"/>
            </zeroOrMore>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-constraintDecl-one-constraintDecl-per-scheme-constraint-rule-100">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="/*[ count( //tei:constraintDecl ) gt 1 ]">
               <sch:let name="schemes"
                        value="//tei:constraintDecl[ not(ancestor::*[local-name(.) eq 'egXML'] ) ]/@scheme"/>
               <sch:let name="disctinct_schemes" value="distinct-values( $schemes )"/>
               <sch:assert test="count( $schemes ) eq count( $disctinct_schemes )">
          Each &lt;constraintDecl&gt; element should have a @scheme attribute that is distinct from that of all the other &lt;constraintDecl&gt;s.
        </sch:assert>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <attribute name="scheme">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of the language to which the declarations herein apply
Suggested values include: 1] schematron (ISO Schematron)</a:documentation>
            <choice>
               <value>schematron</value>
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ISO Schematron) </a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </choice>
         </attribute>
         <optional>
            <attribute name="queryBinding">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(query language binding) specifies the query language binding for rule-based schema expressions in <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;constraintSpec&gt;</code> elements that have a matching <code xmlns="http://www.w3.org/1999/xhtml"
                        xmlns:rng="http://relaxng.org/ns/structure/1.0">@scheme</code> attribute
Suggested values include: 1] exslt; 2] stx; 3] xslt; 4] xslt2; 5] xslt3; 6] xpath; 7] xpath2; 8] xpath3; 9] xpath31; 10] xquery; 11] xquery3; 12] xquery31</a:documentation>
               <choice>
                  <value>exslt</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>stx</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xslt</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xslt2</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xslt3</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xpath</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xpath2</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xpath3</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xpath31</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xquery</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xquery3</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>xquery31</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="model.rdgLike">
      <choice>
         <ref name="rdg"/>
      </choice>
   </define>
   <define name="model.rdgPart">
      <notAllowed/>
   </define>
   <define name="att.witnessed.attributes">
      <ref name="att.witnessed.attribute.wit"/>
   </define>
   <define name="att.witnessed.attribute.wit">
      <optional>
         <attribute name="wit">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness or witnesses) contains a space-delimited list of one or more pointers indicating the witnesses which attest to a given reading.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="app">
      <element name="app">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(apparatus entry) (apparatus entry) contains one entry in a critical apparatus, with an optional lemma and usually one or more readings or notes on the relevant passage. [13.1.1. The Apparatus Entry]</a:documentation>
         <group>
            <optional>
               <ref name="lem"/>
            </optional>
            <zeroOrMore>
               <choice>
                  <ref name="model.rdgLike"/>
                  <ref name="model.noteLike"/>
               </choice>
            </zeroOrMore>
         </group>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the variation contained in this element according to some convenient typology.
Sample values include: 1] relineation (relineation)</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <attribute name="from">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the beginning of the lemma in the base text.</a:documentation>
            <data type="anyURI">
               <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
            </data>
         </attribute>
         <optional>
            <attribute name="to">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the endpoint of the lemma in the base text.</a:documentation>
               <data type="anyURI">
                  <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
               </data>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="listApp">
      <element name="listApp">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of apparatus entries) contains a list of apparatus entries. [13.2. Linking the Apparatus to the Text]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.headLike"/>
            </zeroOrMore>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="app"/>
                  <ref name="listApp"/>
               </choice>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="lem">
      <element name="lem">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(lemma) (lemma) contains the lemma, or base text, of a textual variation. [13.1. The Apparatus Entry, Readings, and Witnesses]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <zeroOrMore>
                  <ref name="q"/>
               </zeroOrMore>
               <optional>
                  <ref name="gap"/>
               </optional>
               <zeroOrMore>
                  <ref name="note"/>
               </zeroOrMore>
               <zeroOrMore>
                  <ref name="hi"/>
               </zeroOrMore>
               <zeroOrMore>
                  <ref name="lb"/>
               </zeroOrMore>
               <zeroOrMore>
                  <ref name="g"/>
               </zeroOrMore>
               <zeroOrMore>
                  <ref name="pc"/>
               </zeroOrMore>
               <zeroOrMore>
                  <ref name="supplied"/>
               </zeroOrMore>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.written.attribute.hand"/>
         <ref name="att.witnessed.attributes"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the reading according to some useful typology.</a:documentation>
               <choice>
                  <value>substantive</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>orthographic</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic) denotes an instance where the reading is semantically the same but is spelled differently. Use to give credit to an early publication whose reading you adopt in modernized orthography in your modern text.</a:documentation>
                  <value>orthographic</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic) denotes an instance where the reading is semantically the same but is spelled differently. Use to give credit to an early publication whose reading you adopt in modernized orthography in your modern text.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="rdg">
      <element name="rdg">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reading) (reading) contains a single reading within a textual variation. [13.1. The Apparatus Entry, Readings, and Witnesses]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.divLike"/>
               <ref name="model.divPart"/>
               <ref name="titlePage"/>
               <ref name="argument"/>
               <ref name="byline"/>
               <ref name="docAuthor"/>
               <ref name="docDate"/>
               <ref name="docEdition"/>
               <ref name="docImprint"/>
               <ref name="docTitle"/>
               <ref name="epigraph"/>
               <ref name="imprimatur"/>
               <ref name="titlePart"/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.inter"/>
               <ref name="model.global"/>
               <ref name="model.rdgPart"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.responsibility.attribute.resp"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.written.attribute.hand"/>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the reading according to some useful typology.
Sample values include: 1] substantive (A substantive reading.)</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <attribute name="wit">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness or witnesses) contains a space-delimited list of one or more pointers indicating the witnesses which attest to a given reading.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
         <empty/>
      </element>
   </define>
   <define name="listWit">
      <element name="listWit">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness list) lists definitions for all the witnesses referred to by a critical apparatus, optionally grouped hierarchically. [13.1. The Apparatus Entry, Readings, and Witnesses]</a:documentation>
         <group>
            <optional>
               <ref name="model.headLike"/>
            </optional>
            <zeroOrMore>
               <ref name="desc"/>
            </zeroOrMore>
            <oneOrMore>
               <choice>
                  <ref name="witness"/>
                  <ref name="listWit"/>
               </choice>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="witness">
      <element name="witness">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness) contains either a description of a single witness referred to within the critical apparatus, or a list of witnesses which is to be referred to by a single sigil. [13.1. The Apparatus Entry, Readings, and Witnesses]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.limitedPhrase"/>
               <ref name="model.inter"/>
               <ref name="note"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:witness">
               <sch:let name="contents" value="normalize-space(.)"/>
               <sch:assert test="(@corresp and string-length($contents) = 0) or (not(@corresp) and string-length($contents) gt 0)">
                             ERROR: A witness element must EITHER be empty and link to a BIBL1 or BEED1 entry
                             using @corresp, OR have descriptive content and no @corresp attribute.
                           </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <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, combining a single TEI header with one or more members of the model.resource class. Multiple <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;TEI&gt;</code> elements may be combined within a <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;TEI&gt;</code> (or <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;teiCorpus&gt;</code>) element. [4. Default Text Structure 16.1. Varieties of Composite Text]</a:documentation>
         <group>
            <ref name="teiHeader"/>
            <choice>
               <group>
                  <oneOrMore>
                     <ref name="model.resource"/>
                  </oneOrMore>
                  <zeroOrMore>
                     <ref name="TEI"/>
                  </zeroOrMore>
               </group>
               <oneOrMore>
                  <ref name="TEI"/>
               </oneOrMore>
            </choice>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.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">(text) contains a single text of any kind, whether unitary or composite, for example a poem or drama, a collection of essays, a novel, a dictionary, or a corpus sample. [4. Default Text Structure 16.1. Varieties of Composite Text]</a:documentation>
         <choice>
            <ref name="group"/>
            <group>
               <optional>
                  <ref name="front"/>
               </optional>
               <choice>
                  <ref name="group"/>
                  <ref name="body"/>
               </choice>
               <optional>
                  <ref name="back"/>
               </optional>
            </group>
         </choice>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attributes"/>
         <ref name="att.written.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. [4. Default Text Structure]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
            <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
               <rng:group>
                  <rng:ref name="model.divTop"/>
                  <rng:zeroOrMore>
                     <rng:choice>
                        <rng:ref name="model.global"/>
                        <rng:ref name="model.divTop"/>
                     </rng:choice>
                  </rng:zeroOrMore>
               </rng:group>
            </rng:optional>
            <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
               <rng:group>
                  <rng:ref name="model.divGenLike"/>
                  <rng:zeroOrMore>
                     <rng:choice>
                        <rng:ref name="model.global"/>
                        <rng:ref name="model.divGenLike"/>
                     </rng:choice>
                  </rng:zeroOrMore>
               </rng:group>
            </rng:optional>
            <choice>
               <oneOrMore>
                  <ref name="model.divLike"/>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.global"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                  </zeroOrMore>
               </oneOrMore>
               <oneOrMore>
                  <ref name="model.div1Like"/>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.global"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <choice>
                        <ref name="model.common"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <optional>
                     <choice>
                        <oneOrMore>
                           <ref name="model.divLike"/>
                           <zeroOrMore>
                              <choice>
                                 <ref name="model.global"/>
                                 <ref name="model.divGenLike"/>
                              </choice>
                           </zeroOrMore>
                        </oneOrMore>
                        <oneOrMore>
                           <ref name="model.div1Like"/>
                           <zeroOrMore>
                              <choice>
                                 <ref name="model.global"/>
                                 <ref name="model.divGenLike"/>
                              </choice>
                           </zeroOrMore>
                        </oneOrMore>
                     </choice>
                  </optional>
               </group>
            </choice>
            <zeroOrMore>
               <ref name="model.divBottom"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="group">
      <element name="group">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(group) contains the body of a composite text, grouping together a sequence of distinct texts (or groups of such texts) which are regarded as a unit for some purpose, for example the collected works of an author, a sequence of prose essays, etc. [4. Default Text Structure 4.3.1. Grouped Texts 16.1. Varieties of Composite Text]</a:documentation>
         <group>
            <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.typed.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="div">
      <element name="div">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text division) (text division) contains a subdivision of the front, body, or back of a text. [4.1. Divisions of the Body]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.divTop"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
            <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
               <rng:group>
                  <rng:choice>
                     <oneOrMore>
                        <rng:choice>
                           <rng:ref name="model.divLike"/>
                           <rng:ref name="model.divGenLike"/>
                        </rng:choice>
                        <rng:zeroOrMore>
                           <rng:ref name="model.global"/>
                        </rng:zeroOrMore>
                     </oneOrMore>
                     <group>
                        <oneOrMore>
                           <rng:ref name="model.common"/>
                           <rng:zeroOrMore>
                              <rng:ref name="model.global"/>
                           </rng:zeroOrMore>
                        </oneOrMore>
                        <rng:zeroOrMore>
                           <rng:choice>
                              <rng:ref name="model.divLike"/>
                              <rng:ref name="model.divGenLike"/>
                           </rng:choice>
                           <rng:zeroOrMore>
                              <rng:ref name="model.global"/>
                           </rng:zeroOrMore>
                        </rng:zeroOrMore>
                     </group>
                  </rng:choice>
                  <rng:zeroOrMore>
                     <rng:ref name="model.divBottom"/>
                     <rng:zeroOrMore>
                        <rng:ref name="model.global"/>
                     </rng:zeroOrMore>
                  </rng:zeroOrMore>
               </rng:group>
            </rng:optional>
         </group>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:div[ancestor::tei:*[last()]/self::tei:div]">
               <sch:assert test="@xml:id">
                                    ERROR: All documentation divs must have an xml:id.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:*[@xml:id][ancestor::tei:*[last()]/self::tei:div]">
               <sch:assert test="starts-with(@xml:id, ancestor::tei:*[last()]/@xml:id) or matches(ancestor::tei:div[last()]/@xml:id, '^GLOSS1_')">
                                    ERROR: All xml:ids in a documentation file must begin with the xml:id
                                    of the root div element in the file.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:div[not(parent::*)][starts-with(@xml:id, 'learn_')]">
               <sch:assert test="child::tei:head">
                                    ERROR: The root div element in a documentation file must have a head element.
                                 </sch:assert>
               <sch:assert test="@ana">
                                    ERROR: The root div element in a documentation file must have @ana specifying its target audience(s).
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:div[@subtype]">
               <sch:assert test="@type and @type eq 'audience'">
                                    ERROR: If using the @subtype attribute, the @type attribute
                                           must be set to "audience".
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-div-abstractModel-structure-div-in-l-constraint-rule-106">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:l//tei:div">
               <sch:assert test="ancestor::tei:floatingText">
          Abstract model violation: Metrical lines may not contain higher-level structural elements such as div, unless div is a descendant of floatingText.
        </sch:assert>
            </sch:rule>
         </pattern>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-div-abstractModel-structure-div-in-ab-or-p-constraint-rule-107">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:div">
               <sch:report test="(ancestor::tei:p or ancestor::tei:ab) and not(ancestor::tei:floatingText)">
          Abstract model violation: p and ab may not contain higher-level structural elements such as div, unless div is a descendant of floatingText.
        </sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.lemdoAnalyticAudience.attributes"/>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.divLike.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.written.attributes"/>
         <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>
               <data type="token">
                  <param name="pattern">((or:|#)odd_[A-Z]+\d+_[a-z]+)(\s+(or:|#)odd_[A-Z]+\d+_[a-z]+)*</param>
               </data>
            </attribute>
         </optional>
         <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>
               <choice>
                  <value>audience</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Signifies that a specific audience is intended as defined in subtype) This enables us to specify particular divs as being intended for printOnly or onlineOnly.</a:documentation>
                  <value>act</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>annotations</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>Argument</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>card</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>cards</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>CastList</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>Chorus</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>dedication</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>dedicatory</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>dumbshow</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>emdp_explicit</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>emdp_headTitle</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>emdp_runningTitle</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>emdp_titlePage</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>EMDP_titlePage</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>encomium</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>epilogue</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>epistle</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>epistle[2]</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>induction</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>introduction</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>msDescs</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE. A div generated at build time from msDesc elements.) This is a required value generated as part of the build, so the value needs to be retained, but should not be used in encoding.</a:documentation>
                  <value>non-AS</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>nomode</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>particDesc</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE. A div generated at build time from a particDesc.) This is a required value generated as part of the build, so the value needs to be retained, but should not be used in encoding.</a:documentation>
                  <value>poem</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>prologue</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>scene</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A scene is major literary division in a play. Plays may be divided into scenes only, or divided into acts with child scene divs.) </a:documentation>
                  <value>section</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>setAsProse</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(OBSOLETE. This value is inherited from IML. We will deprecate the value once all the IML files are fully remediated.) </a:documentation>
                  <value>setAsVerse</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(OBSOLETE. This value is inherited from IML. We will deprecate the value once all the IML files are fully remediated.) </a:documentation>
                  <value>show</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Use only for mayoral shows, civic pageants, and other shows.) </a:documentation>
                  <value>stage</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>tableContents</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>titlePage</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(DO NOT USE. Title pages in semi-diplomatic texts should be encoded with the titlePage element and the child elements thereof. We will deprecate the value once all the IML files are fully remediated.) </a:documentation>
                  <value>to_the_reader</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               </choice>
            </attribute>
         </optional>
         <optional>
            <attribute name="subtype">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(subtype) provides a sub-categorization of the element, if needed.</a:documentation>
               <choice>
                  <value>onlineOnly</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A div intended only for online display.) Some divs are too long or obscure to be worth including in the print version, where space is at a premium, so a div tagged with this subtype will be automatically excluded from print builds.</a:documentation>
                  <value>printOnly</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(A div intended only for the print version.) A div intended only for the print edition, usually a shorter version of a div which is longer on the site.</a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="trailer">
      <element name="trailer">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a closing title or footer appearing at the end of a division of a text. [4.2.4. Content of Textual Divisions 4.2. Elements Common to All Divisions]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="lg"/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.inter"/>
               <ref name="model.lLike"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.typed.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="byline">
      <element name="byline">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(byline) contains the primary statement of responsibility given for a work on its title page or at the head or end of the work. [4.2.2. Openers and Closers 4.5. Front Matter]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="docAuthor"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="dateline">
      <element name="dateline">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(dateline) contains a brief description of the place, date, time, etc. of production of a letter, newspaper story, or other work, prefixed or suffixed to it as a kind of heading or trailer. [4.2.2. Openers and Closers]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="model.global"/>
               <ref name="docDate"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="argument">
      <element name="argument">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(argument) contains a formal list or prose description of the topics addressed by a subdivision of a text. [4.2. Elements Common to All Divisions 4.6. Title Pages]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.global"/>
                  <ref name="model.headLike"/>
               </choice>
            </zeroOrMore>
            <oneOrMore>
               <ref name="model.common"/>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </oneOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="epigraph">
      <element name="epigraph">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(epigraph) contains a quotation, anonymous or attributed, appearing at the start or end of a section or on a title page. [4.2.3. Arguments, Epigraphs, and Postscripts 4.2. Elements Common to All Divisions 4.6. Title Pages]</a:documentation>
         <zeroOrMore>
            <choice>
               <ref name="model.common"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="opener">
      <element name="opener">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(opener) groups together dateline, byline, salutation, and similar phrases appearing as a preliminary group at the start of a division, especially of a letter. [4.2. Elements Common to All Divisions]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="argument"/>
               <ref name="byline"/>
               <ref name="dateline"/>
               <ref name="epigraph"/>
               <ref name="salute"/>
               <ref name="signed"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="closer">
      <element name="closer">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(closer) groups together salutations, datelines, bylines, and similar phrases appearing as a final group at the end of a division, especially of a letter. [4.2.2. Openers and Closers 4.2. Elements Common to All Divisions]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="byline"/>
               <ref name="signed"/>
               <ref name="dateline"/>
               <ref name="salute"/>
               <ref name="model.phrase"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="salute">
      <element name="salute">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(salutation) contains a salutation or greeting prefixed to a foreword, dedicatory epistle, or other division of a text, or the salutation in the closing of a letter, preface, etc. [4.2.2. Openers and Closers]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="signed">
      <element name="signed">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(signature) contains the closing salutation, etc., appended to a foreword, dedicatory epistle, or other division of a text. [4.2.2. Openers and Closers]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.written.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. [4.6. Title Pages]</a:documentation>
         <group>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
            <ref name="model.titlepagePart"/>
            <zeroOrMore>
               <choice>
                  <ref name="model.titlepagePart"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
         </group>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <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="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </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. [4.6. Title Pages]</a:documentation>
         <group>
            <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">(title part) contains a subsection or division of the title of a work, as indicated on a title page. [4.6. Title Pages]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <optional>
            <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                       name="type"
                       a:defaultValue="main">
               <a:documentation>(type) specifies the role of this subdivision of the title.
Suggested values include: 1] main (main); 2] sub (subordinate); 3] alt (alternate); 4] short (short); 5] desc (descriptive)</a:documentation>
               <choice>
                  <value>main</value>
                  <a:documentation>(main) 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>(short) abbreviated form of title</a:documentation>
                  <value>desc</value>
                  <a:documentation>(descriptive) descriptive paraphrase of the work</a:documentation>
                  <data type="token">
                     <param name="pattern">[^\p{C}\p{Z}]+</param>
                  </data>
               </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). [4.6. Title Pages]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.canonical.attributes"/>
         <ref name="att.cmc.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="imprimatur">
      <element name="imprimatur">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(imprimatur) contains a formal statement authorizing the publication of a work, sometimes required to appear on a title page or its verso. [4.6. Title Pages]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.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. [4.6. Title Pages]</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. [4.6. Title Pages]</a:documentation>
         <zeroOrMore>
            <choice>
               <text/>
               <ref name="model.gLike"/>
               <ref name="model.phrase"/>
               <ref name="pubPlace"/>
               <ref name="docDate"/>
               <ref name="publisher"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="docDate">
      <element name="docDate">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document date) contains the date of a document, as given on a title page or in a dateline. [4.6. Title Pages]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <ref name="att.global.attributes"/>
         <ref name="att.calendarSystem.attributes"/>
         <ref name="att.cmc.attributes"/>
         <ref name="att.datable.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="front">
      <element name="front">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(front matter) TEI definition: (front matter) contains any prefatory matter (headers, abstracts, title page, prefaces, dedications, etc.) found at the start of a document, before the main body. LEMDO uses the front element in semi-diplomatic transcriptions only for non-spoken material, such as title pages (contained within a titlePage element), dedicatory epistles (contained within a div element), character lists (contained within a castList element), and cast lists (also contained within a castList element). In modern texts, LEMDO uses the front element only for modernized versions of non-spoken text that appears in the base text. Consult with your anthology lead before you include such material. [4.6. Title Pages 4. Default Text Structure]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.frontPart"/>
                  <ref name="model.pLike"/>
                  <ref name="model.pLike.front"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
            <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
               <rng:group>
                  <rng:choice>
                     <group>
                        <rng:ref name="model.div1Like"/>
                        <rng:zeroOrMore>
                           <rng:choice>
                              <rng:ref name="model.div1Like"/>
                              <rng:ref name="model.frontPart"/>
                              <rng:ref name="model.global"/>
                           </rng:choice>
                        </rng:zeroOrMore>
                     </group>
                     <group>
                        <rng:ref name="model.divLike"/>
                        <rng:zeroOrMore>
                           <rng:choice>
                              <rng:ref name="model.divLike"/>
                              <rng:ref name="model.frontPart"/>
                              <rng:ref name="model.global"/>
                           </rng:choice>
                        </rng:zeroOrMore>
                     </group>
                  </rng:choice>
                  <optional>
                     <rng:ref name="model.divBottom"/>
                     <rng:zeroOrMore>
                        <rng:choice>
                           <rng:ref name="model.divBottom"/>
                           <rng:ref name="model.global"/>
                        </rng:choice>
                     </rng:zeroOrMore>
                  </optional>
               </rng:group>
            </rng:optional>
         </group>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="back">
      <element name="back">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(back matter) TEI definition: (back matter) contains any appendixes, etc. following the main part of a text. LEMDO uses the back element in semi-diplomatic transcriptions only for non-spoken material, such as finis, colophons, character lists, and cast lists. In modern texts, LEMDO uses the back element only for modernized versions of non-spoken text that appears in the base text. Consult with your anthology lead before you include such material. [4.7. Back Matter 4. Default Text Structure]</a:documentation>
         <group>
            <zeroOrMore>
               <choice>
                  <ref name="model.frontPart"/>
                  <ref name="model.pLike.front"/>
                  <ref name="model.pLike"/>
                  <ref name="model.listLike"/>
                  <ref name="model.global"/>
               </choice>
            </zeroOrMore>
            <optional>
               <choice>
                  <group>
                     <ref name="model.div1Like"/>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.frontPart"/>
                           <ref name="model.div1Like"/>
                           <ref name="model.global"/>
                        </choice>
                     </zeroOrMore>
                  </group>
                  <group>
                     <ref name="model.divLike"/>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.frontPart"/>
                           <ref name="model.divLike"/>
                           <ref name="model.global"/>
                        </choice>
                     </zeroOrMore>
                  </group>
               </choice>
            </optional>
            <rng:optional xmlns:rng="http://relaxng.org/ns/structure/1.0">
               <rng:group>
                  <rng:ref name="model.divBottomPart"/>
                  <rng:zeroOrMore>
                     <rng:choice>
                        <rng:ref name="model.divBottomPart"/>
                        <rng:ref name="model.global"/>
                     </rng:choice>
                  </rng:zeroOrMore>
               </rng:group>
            </rng:optional>
         </group>
         <ref name="att.global.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 one or more images, portions of an image, or surfaces which correspond to the current element.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.global.change.attributes">
      <ref name="att.global.change.attribute.change"/>
   </define>
   <define name="att.global.change.attribute.change">
      <optional>
         <attribute name="change">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to one or more <code xmlns="http://www.w3.org/1999/xhtml"
                     xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;change&gt;</code> elements documenting a state or revision campaign to which the element bearing this attribute and its children have been assigned by the encoder.</a:documentation>
            <list>
               <oneOrMore>
                  <data type="anyURI">
                     <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                  </data>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </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. [12.1. Digital Facsimiles]</a:documentation>
         <group>
            <optional>
               <ref name="front"/>
            </optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.graphicLike"/>
                     <ref name="surface"/>
                  </choice>
               </oneOrMore>
               <oneOrMore>
                  <ref name="facsimile"/>
               </oneOrMore>
            </choice>
            <optional>
               <ref name="back"/>
            </optional>
         </group>
         <pattern xmlns="http://purl.oclc.org/dsdl/schematron"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0"
                  id="lemdo_all-facsimile-no_facsimile_text_nodes-constraint-rule-108">
            <sch:rule xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                      context="tei:facsimile//tei:line | tei:facsimile//tei:zone">
               <sch:report test="child::text()[ normalize-space(.) ne '']">
          A facsimile element represents a text with images, thus
          transcribed text should not be present within it.
        </sch:report>
            </sch:rule>
         </pattern>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="surface">
      <element name="surface">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a written surface as a two-dimensional coordinate space, optionally grouping one or more graphic representations of that space, zones of interest within that space, and transcriptions of the writing within them. [12.1. Digital Facsimiles 12.2.2. Embedded Transcription]</a:documentation>
         <oneOrMore>
            <choice>
               <ref name="anchor"/>
               <ref name="graphic"/>
               <ref name="media"/>
               <ref name="note"/>
               <ref name="surface"/>
               <ref name="label"/>
            </choice>
         </oneOrMore>
         <group>
            <optional>
               <ref name="timeline"/>
            </optional>
            <zeroOrMore>
               <choice>
                  <ref name="model.global"/>
                  <ref name="model.labelLike"/>
                  <ref name="model.graphicLike"/>
               </choice>
            </zeroOrMore>
            <zeroOrMore>
               <choice>
                  <ref name="surface"/>
               </choice>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </group>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <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>
               <choice>
                  <value>titlePage</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(This surface includes or constitutes the title page of the document.) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="fw">
      <element name="fw">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(forme work) (forme work) contains a running head (e.g. a header, footer), catchword, or similar material appearing on the current page. [12.6. Headers, Footers, and Similar Matter]</a:documentation>
         <ref name="macro.phraseSeq"/>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:fw[@type]">
               <sch:assert test="not(descendant::tei:fw)">
                                   ERROR: Do not nest forme work elements which have @type attributes.
                                </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:fw">
               <sch:assert test="@type or child::tei:fw[@type]">
                                    ERROR: forme work elements nested inside fw, or not containing other fws, must have @type attributes.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:fw">
               <sch:assert test="ancestor::tei:TEI[descendant::tei:catRef[contains(@target, 'SemiDiplomatic')]] or not(ancestor::tei:TEI)">
                                    ERROR: forme work elements are only allowed in semi-diplomatic texts
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attributes"/>
         <ref name="att.placement.attributes"/>
         <ref name="att.typed.attribute.subtype"/>
         <ref name="att.written.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.</a:documentation>
               <choice>
                  <value>runningTitle</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(a running title at the top of the page) </a:documentation>
                  <value>pageNum</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(a page number or foliation number) </a:documentation>
                  <value>sig</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(a signature number or gathering symbol) </a:documentation>
                  <value>catch</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(a catchword) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <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 <code xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:rng="http://relaxng.org/ns/structure/1.0">&lt;handNote&gt;</code> elements documenting the different hands identified within the source texts. [12.3.2.1. Document Hands]</a:documentation>
         <oneOrMore>
            <ref name="handNote"/>
         </oneOrMore>
         <ref name="att.global.attributes"/>
         <empty/>
      </element>
   </define>
   <define name="space">
      <element name="space">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(space) indicates the location of a significant space in the text. [12.4.1. Space]</a:documentation>
         <zeroOrMore>
            <choice>
               <ref name="model.descLike"/>
               <ref name="model.certLike"/>
            </choice>
         </zeroOrMore>
         <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                      xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                      xmlns:rng="http://relaxng.org/ns/structure/1.0"
                      xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                      xmlns:xi="http://www.w3.org/2001/XInclude"
                      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <sch:rule context="tei:space">
               <sch:assert test="not(some $c in $catRefs satisfies (matches($c/@target,'Modern')))">
                                    ERROR: &lt;space&gt; element is not allowed in Modern Texts. LEMDO does not capture page layout.
                                 </sch:assert>
            </sch:rule>
         </sch:pattern>
         <ref name="att.global.attribute.xmlid"/>
         <ref name="att.global.attribute.n"/>
         <ref name="att.global.attribute.xmllang"/>
         <ref name="att.global.change.attribute.change"/>
         <ref name="att.global.facs.attribute.facs"/>
         <ref name="att.global.linking.attribute.corresp"/>
         <ref name="att.global.linking.attribute.sameAs"/>
         <ref name="att.global.linking.attribute.copyOf"/>
         <ref name="att.global.linking.attribute.next"/>
         <ref name="att.global.linking.attribute.prev"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.style"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.global.responsibility.attribute.cert"/>
         <ref name="att.global.source.attribute.source"/>
         <ref name="att.dimensions.attribute.quantity"/>
         <ref name="att.dimensions.attribute.extent"/>
         <ref name="att.dimensions.attribute.precision"/>
         <ref name="att.dimensions.attribute.scope"/>
         <ref name="att.typed.attributes"/>
         <optional>
            <attribute name="resp">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) (responsible party) indicates the individual responsible for identifying and measuring the space.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="anyURI">
                        <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="unit">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement</a:documentation>
               <choice>
                  <value>line</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Space is measured in lines) </a:documentation>
                  <value>char</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Space is measured in m characters (CSS em)) </a:documentation>
                  <value>cm</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Space is measured in physical centimeters) </a:documentation>
               </choice>
            </attribute>
         </optional>
         <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>
         <empty/>
      </element>
   </define>
   <define name="supplied">
      <element name="supplied">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(supplied) signifies text supplied by the transcriber or editor for any reason, including damage in the original and obvious omissions by the author, compositor, or scribe. [12.3.3.1. Damage, Illegibility, and Supplied Text]</a:documentation>
         <ref name="macro.paraContent"/>
         <ref name="att.global.attributes"/>
         <ref name="att.dimensions.attributes"/>
         <ref name="att.editLike.attributes"/>
         <optional>
            <attribute name="reason">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">one or more words indicating why the text has had to be supplied, e.g. overbinding, faded-ink, lost-folio, omitted-in-original.</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>editorial</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(supplied by the editor (use for editorial stage directions in modern texts, with caveat that such stage directions should be minimal; do not start directing the play)) </a:documentation>
                        <value>bleed-through</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heavily inked type on reverse side of page obscures text (print only)) </a:documentation>
                        <value>broken-type</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(type appears malformed or fractured (print only)) </a:documentation>
                        <value>damage</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(there is dirt on the page, tearing, etc (use for ms and print)) </a:documentation>
                        <value>error-in-original</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(illegibility resulting from compositing/copying error (ms and print)) </a:documentation>
                        <value>faded-ink</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(illegibility resulting from faded ink on the page (ms and print)) </a:documentation>
                        <value>gap-in-inking</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(type not sufficiently inked (print only)) </a:documentation>
                        <value>smudged-ink</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(smudging dating from the original print or copying process (ms and print)) </a:documentation>
                        <value>lost-folio</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(gap resulting from missing leaf (ms and print)) </a:documentation>
                        <value>original-cropped</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original leaf has been cut in a way that removes part of the text (ms and print)) </a:documentation>
                        <value>scan-cropped</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(facsimile photograph/scan does not include the whole page (ms and print)) </a:documentation>
                        <value>scan-unclear</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(facsimile photograph is not clear, out-of-focus, etc (ms and print)) </a:documentation>
                        <value>unclear</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fallback value to be used if there is not a more precise value (ms and print)) </a:documentation>
                     </choice>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="metamark">
      <element name="metamark">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains or describes any kind of graphic or written signal within a document the function of which is to determine how it should be read rather than forming part of the actual content of the document. [12.3.4.2. Metamarks]</a:documentation>
         <ref name="macro.specialPara"/>
         <ref name="att.global.attributes"/>
         <ref name="att.placement.attributes"/>
         <optional>
            <attribute name="function">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the function (for example status, insertion, deletion, transposition) of the metamark.</a:documentation>
               <data type="token">
                  <param name="pattern">[^\p{C}\p{Z}]+</param>
               </data>
            </attribute>
         </optional>
         <optional>
            <attribute name="target">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies one or more elements to which the metamark applies.</a:documentation>
               <list>
                  <oneOrMore>
                     <data type="anyURI">
                        <param name="pattern">(((doc)|(marc)|(wsb)|(estc)|(leme)|(gb)|(mol)|(resp)|(or)|(edt)|(pros)|(hand)|(pers)|(prod)|(anth)|(org)|(gloss)|(g)|(lig)|(ldt)|(cat)|(tax)|(aud)|(simple)|(bibl)|(not)|(beed)|(lew)|(rnd)|(sourcefacs)|(sourceperf)|(sip)|(static)|(img)|(edimg)|(bin)|(facs)|(perf)|(deep)|(ebba)|(role)|(https?)|(mailto)|(urn)|(tln)):|#)[^\s]+</param>
                     </data>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <empty/>
      </element>
   </define>
   <define name="att.lemdoAnalyticAudience.attributes">
      <ref name="att.lemdoAnalyticAudience.attribute.ana"/>
   </define>
   <define name="att.lemdoAnalyticAudience.attribute.ana">
      <optional>
         <attribute name="ana">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(analysis) Contains one or more pointers to elements containing categories of audience for documentation, derived from the matching taxonomy.</a:documentation>
            <list>
               <oneOrMore>
                  <choice>
                     <value>audRemediator</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Remediator) An encoder who has the responsibility of converting IML-encoded or TCP texts to the LEMDO TEI P5 customization.</a:documentation>
                     <value>audEncoder</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Encoder) Anyone who is encoding texts in the LEMDO TEI P5 customization.</a:documentation>
                     <value>audEditor</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Editor) Anyone who is editing a play or related works for publication in a LEMDO anthology.</a:documentation>
                     <value>audAnthologyLead</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Anthology Lead) Anyone who is responsible for a group of editors who are editing plays or related works for publication in a LEMDO-generated anthology (e.g., the leads of MoMS, QME, DRE, NISE).</a:documentation>
                     <value>audDeveloper</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Developer) Anyone who is responsible for maintaining the repository, writing processing, running builds, or customizing a CSS file for an anthology. Normally, developers are based at UVic and work in the lemdo/code section of the repository. Anthology leads may hire a developer/designer to customize a CSS file for an anthology.</a:documentation>
                     <value>audRepoUser</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Repository User) Anyone who commits work to the LEMDO repository, including editors and RAs who have write privileges on an edition portfolio.</a:documentation>
                     <value>audDocumenter</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Documenter) Anyone who writes project documentation.</a:documentation>
                     <value>published</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Published) Files that have been published.</a:documentation>
                     <value>peerReviewed</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Peer-reviewed) Files that have been peer reviewed.</a:documentation>
                     <value>draft</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Draft) Files that are being drafted.</a:documentation>
                     <value>empty</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Empty) Files that are empty (have no content other than a minimal TEI Header).</a:documentation>
                     <value>deprecated</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(Deprecated) This document is no longer relevant or has been superseded, but is being preserved as part of LEMDO’s digital archive.</a:documentation>
                  </choice>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <start>
      <choice>
         <ref name="TEI"/>
         <ref name="teiCorpus"/>
         <ref name="div"/>
      </choice>
   </start>
   <sch:ns xmlns="http://www.tei-c.org/ns/1.0"
           xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
           xmlns:rng="http://relaxng.org/ns/structure/1.0"
           xmlns:sch="http://purl.oclc.org/dsdl/schematron"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           prefix="tei"
           uri="http://www.tei-c.org/ns/1.0"/>
   <sch:ns xmlns="http://www.tei-c.org/ns/1.0"
           xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
           xmlns:rng="http://relaxng.org/ns/structure/1.0"
           xmlns:sch="http://purl.oclc.org/dsdl/schematron"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           prefix="xs"
           uri="http://www.w3.org/2001/XMLSchema"/>
   <sch:ns xmlns="http://www.tei-c.org/ns/1.0"
           xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
           xmlns:rng="http://relaxng.org/ns/structure/1.0"
           xmlns:sch="http://purl.oclc.org/dsdl/schematron"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           prefix="rng"
           uri="http://relaxng.org/ns/structure/1.0"/>
   <sch:ns xmlns="http://www.tei-c.org/ns/1.0"
           xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
           xmlns:rng="http://relaxng.org/ns/structure/1.0"
           xmlns:sch="http://purl.oclc.org/dsdl/schematron"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           prefix="rna"
           uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
   <sch:ns xmlns="http://www.tei-c.org/ns/1.0"
           xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
           xmlns:rng="http://relaxng.org/ns/structure/1.0"
           xmlns:sch="http://purl.oclc.org/dsdl/schematron"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           prefix="sch"
           uri="http://purl.oclc.org/dsdl/schematron"/>
   <sch:ns xmlns="http://www.tei-c.org/ns/1.0"
           xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
           xmlns:rng="http://relaxng.org/ns/structure/1.0"
           xmlns:sch="http://purl.oclc.org/dsdl/schematron"
           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           prefix="sch1x"
           uri="http://www.ascc.net/xml/schematron"/>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:let name="spaceRegex" value="'(^\s)|(\s$)'"/>
      <sch:let name="persPrefix" value="'pers'"/>
      <sch:let name="prosPrefix" value="'pros'"/>
      <sch:let name="biblPrefix" value="'bibl'"/>
      <sch:let name="docPrefix" value="'doc'"/>
      <sch:let name="orgPrefix" value="'org'"/>
      <sch:let name="binPrefix" value="'bin'"/>
      <sch:let name="imgPrefix" value="'img'"/>
      <sch:let name="docId" value="root(/)/tei:*/@xml:id"/>
      <sch:let name="docUri" value="document-uri(/)"/>
      <sch:let name="appPattern" value="'^tln:\d+(\.\d+)?(\|\d+)?$'"/>
      <sch:let name="docIds" value="//tei:*[@xml:id]/@xml:id"/>
      <sch:let name="catRefs" value="//tei:catRef"/>
      <sch:let name="renditions" value="//tei:rendition"/>
      <sch:let name="entityFileIds"
               value="('TAXO1', 'PROS1', 'PERS1', 'PROD1', 'BEED1', 'ORGS1', 'BIBL1', 'BIBL1_A', 'BIBL1_B', 'BIBL1_C', 'BIBL1_D', 'BIBL1_E', 'BIBL1_G', 'BIBL1_G', 'BIBL1_H', 'BIBL1_I', 'BIBL1_J', 'BIBL1_K', 'BIBL1_L', 'BIBL1_M', 'BIBL1_N', 'BIBL1_O', 'BIBL1_P', 'BIBL1_Q', 'BIBL1_R', 'BIBL1_S', 'BIBL1_T', 'BIBL1_U', 'BIBL1_V', 'BIBL1_W', 'BIBL1_X', 'BIBL1_Y', 'BIBL1_Z', 'GLOSS1', 'HAND1')"/>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@target[contains(., '//')]]">
         <sch:assert test="not(matches(@target, '\s'))">ERROR: URLs in the @target attribute should not contain spaces.</sch:assert>
         <sch:assert test="not(contains(@target, 'proxy'))">ERROR: URLs in the @target attribute should not point to proxy servers, because these URLs are not public.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@target[contains(., '//')] or @url[contains(., '//')]]">
         <sch:assert test="not(matches(@target, '^http://.+\.uvic\.ca/.*') or matches(@url, '^http://.+\.uvic\.ca/.*'))">ERROR: All UVic URLs should use https, not http.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:graphic">
         <sch:assert test="not(matches(@url, '[A-Z]$'))">
                            ERROR: Image filenames must have lower-case extensions:
                            .png, .jpg etc. Do not use upper-case file extensions.
                          </sch:assert>
         <sch:assert test="matches(@url, '\.((png)|(svg)|(jpg))$') or not(matches(@url, '^\s*img:'))">
                                 ERROR: Image filenames must have extensions of .jpg, .png, or .svg.
                              </sch:assert>
         <sch:let name="fName" value="tokenize(@url, '[:/]')[last()]"/>
         <sch:assert test="encode-for-uri($fName) eq $fName">
                                 ERROR: This filename contains characters unsuitable for web publication.
                                 Use only upper- and lower-case ASCII characters, digits, hyphens, and underscores
                                 in filenames.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:surface/tei:graphic">
         <sch:assert test="matches(@url, '\.[a-z]+$')">
                                 ERROR: Image filenames must have lower-case extensions:
                                 .png, .jpg etc. Do not use upper-case file extensions.
                              </sch:assert>
         <sch:assert test="matches(@url, '^\s*sourcefacs:[A-Za-z\d_/\.]+\s*$')">
                                 ERROR: @url attributes on surface graphics should take the form:
                                 sourcefacs:FOLDER/FILENAME.ext
                              </sch:assert>
         <sch:assert test="substring-after(@url, '.') eq replace(substring-after(@mimeType, '/'), 'e', '') and matches(@mimeType, '/(png|jpeg)$')">
                                 ERROR: The mime type for png graphics is image/png, and for jpg graphics it is image/jpeg.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@target][matches(@target, '^\s*bin:')]">
         <sch:assert test="matches(@target, '\.pdf\s*$')">
                                 ERROR: The only binary files which you can link to are PDFs
                                 (with a lower-case .pdf extension).
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@target][matches(@target, '\.pdf$')]">
         <sch:assert test="matches(@target, '://') or matches(@target, '^bin:')">
                                 ERROR: Point to local .pdf files using the bin: prefix.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:surface">
         <sch:assert test="not(contains(@xml:id, '.'))">
                                 ERROR: The xml:ids of surface elements must not include periods.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:graphic[@mimeType]">
         <sch:assert test="not(normalize-space(@mimeType) eq 'image/jpg')">
                                 ERROR: The @mimeType for jpg images is "image/jpeg".
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:person[@xml:id][$docId='PERS1'] | tei:person[@xml:id][$docId='PROS1'] | tei:bibl[@xml:id][starts-with($docId,'BIBL1')] | tei:org[@xml:id][starts-with($docId,'ORGS1')]">
         <sch:assert test="matches(@xml:id,'^[A-Z]{4}\d+$') or (@xml:id=('DRE1','QME1','ISE1'))">ERROR: Every <sch:value-of select="local-name()"/> should have an id
                              that is a sequence of 4 uppercase letters and a number. </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[not(@xml:id = $entityFileIds) and not(ends-with(@xml:id, '_template')) and not(matches(@xml:id, '^BIBL1_[A-Z]$')) and not(descendant::tei:revisionDesc[@status='prgGenerated'])]/descendant::tei:*[@xml:id][not(self::tei:rendition) and not(@xml:id='staticSearch')]">
         <sch:assert test="starts-with(@xml:id, ancestor::tei:TEI/@xml:id || '_')">
                                 ERROR: @xml:id attributes should begin with the @xml:id of their ancestor TEI
                                 element followed by an underscore.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[@xml:id = $entityFileIds][not(@xml:id = 'TAXO1')]/descendant::*[not(self::tei:div or self::tei:handNotes)][@xml:id]">
         <sch:assert test="matches(@xml:id, '^[A-Z]{3,4}\d+$')">
                                 ERROR: @xml:id attributes in database files should follow a pattern of 3–4 uppercase letters followed by a number.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="/tei:TEI[not(ancestor::tei:teiCorpus)] | /tei:teiCorpus | /tei:div[not(ancestor::tei:*) and not(contains(document-uri(/), 'tempEgXML'))][@xml:id]">
         <sch:assert test="@xml:id and matches($docUri,concat('[/\\]',$docId,'.xm[l_]$'))"> ERROR: Document
                              xml:id (<sch:value-of select="$docId"/>) does not match the document file
                              name (<sch:value-of select="$docUri"/>). </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:revisionDesc[@status=('IML-TEI', 'IML-TEI_INP', 'IML-TEI_proofed')]">
         <sch:assert test="not(ancestor::tei:TEI/descendant::tei:catRef[starts-with(@target, 'cat:ldtBornDigDocumentation')])">Status IML is not allowed for documentation files. Instead, use the appropriate TEI status.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:textClass">
         <sch:assert test="not((child::tei:catRef[contains(@target, 'ldtPrimary')]) and (child::tei:catRef[contains(@target, 'ldtBornDig')]))">
                                 ERROR: A text cannot be simultaneously ldtPrimary and ldtBornDig.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:textClass">
         <sch:assert test="child::tei:catRef[contains(@target, 'ldtPrimary')] or child::tei:catRef[contains(@target, 'ldtBornDig')]">
                                 ERROR: A text must be either ldtPrimary or ldtBornDig.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:revisionDesc[@status=('TCP-TEI', 'TCP-TEI_INP', 'TCP-TEI_proofed')]">
         <sch:assert test="ancestor::tei:TEI/descendant::tei:catRef[contains(@target, 'Primary')]">Status TCP is not allowed for non primary files. Instead, use the appropriate IML or TEI status.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[not(some $c in $catRefs satisfies (matches($c/@target,'Documentation')))][not(some $c in $catRefs satisfies (matches($c/@target,'Primary')))][ancestor::tei:TEI/descendant::tei:revisionDesc[@status]][not(ancestor::tei:TEI//tei:revisionDesc[@status=('IML-TEI', 'TCP-TEI')])][not(ancestor-or-self::tei:code)][not(ancestor::tei:TEI/@xml:id='lemdo_spec_tag')][not(ancestor-or-self::tei:gap[@reason='invalid'])][not(ancestor-or-self::tei:eg)][not(ancestor-or-self::tei:quote)][not(ancestor-or-self::tei:q)][not(ancestor-or-self::tei:title[@level='m'])][text()]">
         <sch:assert test="not(matches(string-join(text(),''), '[&#34;“”]'))">
                                 ERROR: Quotations are not allowed in text, except in semi-diplomatic texts. Use the proper element (quote, q, soCalled, or title for example).</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[not(some $c in $catRefs satisfies (matches($c/@target,'Documentation')))][not(some $c in $catRefs satisfies (matches($c/@target,'Primary')))][ancestor::tei:TEI/descendant::tei:revisionDesc[@status]][not(ancestor::tei:TEI//tei:revisionDesc[@status=('IML-TEI', 'TCP-TEI')])][not(ancestor-or-self::tei:code)][not(ancestor::tei:TEI/@xml:id='lemdo_spec_tag')][not(ancestor-or-self::tei:gap[@reason='invalid'])][not(ancestor-or-self::tei:eg)][not(ancestor-or-self::tei:quote)][not(ancestor-or-self::tei:q)][not(ancestor-or-self::tei:title[@level='m'])][text()]">
         <sch:assert test="not(matches(string-join(child::text(),''), '[&#34;‘]'))">
                                 ERROR: Single quotations are not allowed in text. Use the proper element (quote, q, or soCalled for example).</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[not(self::tei:eg or self::tei:code or self::tei:q or self::tei:quote)][not(ancestor::tei:TEI/descendant::tei:revisionDesc[@status='IML-TEI'])]/text()">
         <sch:assert test="not(matches(., ''''))">
                                 ERROR: Straight apostrophes are not allowed in text. Use curly apostrophes instead. The shortcut to add a curly apostrophe is ctrl+shift+’ (on PC or Unix) and command+shift+’ (on iOS).</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:particDesc/tei:listPerson[@type='castlist']/tei:person/tei:note">
         <sch:assert test="not(matches(., '[&#34;''‘“”]'))">
                                 ERROR: Quotation marks and straight apostrophes are not allowed in text. Use curly apostrophes or 
                                 use the proper element (quote, q, or soCalled for example).
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[descendant::tei:catRef[contains(@target, 'ldtBornDigParatext')]]/descendant::tei:cit">
         <sch:assert test="ancestor::tei:p or ancestor::tei:note">
                                 ERROR: cit elements should be inside p elements or note elements;
                                 block quotations belong inside paragraphs.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@resp]">
         <sch:assert test="starts-with(@resp,$persPrefix)">ERROR: @resp should point
                              to a person in the personography using the 'pers’ prefix.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:name[@ref]">
         <sch:assert test="starts-with(@ref,$persPrefix) or starts-with(@ref,$prosPrefix) or starts-with(@ref,$orgPrefix)">ERROR: Name/@ref should point to a person in the personography using
                              the 'pers’ prefix, a historical person in the prosography using the 'pros' prefix, or an organization in the orgography using the 'org’
                              prefix.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:let name="personographyIds"
               value="if (doc-available('../PERS1.xml')) then doc('../PERS1.xml')//tei:TEI//tei:*/@xml:id else doc('../original/PERS1.xml')//tei:TEI//tei:*/@xml:id"/>
      <sch:rule context="tei:name[starts-with(@ref,$persPrefix)]">
         <sch:assert test="some $p in $personographyIds satisfies (matches($p, substring-after(@ref, ':')))">ERROR: Name/@ref should point to a person in the personography
                                 if it has the 'pers’ prefix.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:let name="prosographyIds"
               value="if (doc-available('../PROS1.xml')) then doc('../PROS1.xml')//tei:TEI//tei:*/@xml:id else doc('../original/PROS1.xml')//tei:TEI//tei:*/@xml:id"/>
      <sch:rule context="tei:name[starts-with(@ref,$prosPrefix)]">
         <sch:assert test="some $h in $prosographyIds satisfies (matches($h, substring-after(@ref, ':')))">ERROR: Name/@ref should point to a historical person in the prosography if it has the 'pros' prefix.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:name[starts-with(@ref,$orgPrefix)]">
         <sch:let name="orgographyIds"
                  value="if (doc-available('../ORGS1.xml')) then doc('../ORGS1.xml')//tei:TEI//tei:*/@xml:id else doc('../original/ORGS1.xml')//tei:TEI//tei:*/@xml:id"/>
         <sch:assert test="some $o in $orgographyIds satisfies (matches($o, substring-after(@ref, ':')))">ERROR: Name/@ref should point to an organization in the orgography if it has the 'org’ prefix.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:ref[@type='bibl'][@target]">
         <sch:assert test="matches(@target,'^(bibl)|(prod)|(beed):')">ERROR: Bibl references should
                              start with either the 'bibl' or the 'prod' prefix.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:person/tei:note">
         <sch:assert test="tei:p"> ERROR: Personography biography notes must have at
                              least one child paragraph. </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:bibl[starts-with($docId, 'BIBL1')]/tei:title[not(ends-with(., 'ff.'))]">
         <sch:assert test="not(matches(., '[a-z]\.$'))"> HINT: Final periods usually belong outside title tags. Are you sure this 
                                 final period is actually part of
                              the title? </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:author[ancestor::tei:bibl] | tei:editor[ancestor::tei:bibl] | tei:pubPlace[ancestor::tei:bibl] | tei:publisher[ancestor::tei:bibl] | tei:idno[ancestor::tei:bibl] | tei:date[ancestor::tei:bibl] | tei:title[ancestor::tei:bibl]">
         <sch:let name="elem" value="local-name(.)"/>
         <sch:assert test="not(matches(.,$spaceRegex))"> ERROR: <sch:value-of select="$elem"/> should not begin or end with spaces. Please remove
                              empty spaces from the beginning and end of <sch:value-of select="$elem"/>
                              elements.  </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:date[ancestor::tei:bibl]">
         <sch:assert test="not(ends-with(.,'.'))">ERROR: Final periods belong outside
                              of date tags.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:bibl[starts-with($docId,'BIBL1')]">
         <sch:assert test="not(matches(string-join(text(),''), '[&#34;“”]'))"> ERROR:
                              Quotation mark characters are not permitted. Use the appropriate
                              element (&lt;quote&gt;, &lt;title&gt;, &lt;mentioned&gt;,
                              &lt;soCalled&gt;, etc) instead.  </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:taxonomy[@xml:id = 'emdRespTaxonomy']/tei:category[starts-with(@corresp, 'marc:')]">
         <sch:assert test="string-length(normalize-space(tei:catDesc/tei:gloss[@type = 'marc'])) gt 0"> ERROR: All categories that point to the LOC has a have an associated
                              gloss.  </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:category">
         <sch:assert test="child::tei:catDesc/child::tei:term"> ERROR: All categories must have a child catDesc element with a child term element providing the caption for the category.  </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:taxonomy">
         <sch:assert test="child::tei:desc/child::tei:term"> ERROR: All taxonomies must have a child desc element with a child term element providing the caption for the taxonomy.  </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:span">
         <sch:assert test="tei:term"> ERROR: Annotation missing required element
                              "term". </sch:assert>
         <sch:assert test="count(tei:term) = 1"> ERROR: All annotations should only
                              have one term. </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:catRef[@target = 'cat:ldtBornDigParatextCollation']">
         <sch:assert test="preceding::tei:fileDesc/tei:notesStmt/tei:relatedItem">
                              ERROR: All apparatus documents must explicitly reference an associated
                              text in the &lt;notesStmt&gt;/&lt;relatedItem&gt; element in the
                              teiHeader. </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:div[matches(@xml:id, '_a\d+$')]">
         <sch:let name="actNum" value="xs:integer(replace(@xml:id, '^.+_a(\d+)$', '$1'))"/>
         <sch:assert test="(root(.)/tei:*[not(self::tei:TEI)]) or ($actNum = 1) or (preceding-sibling::tei:div[1][ends-with(@xml:id, '_a' || xs:string($actNum - 1))])">
                            ERROR: The @xml:id of this act div does not follow logically from the @xml:id of the preceding act div.
                          </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:div[matches(@xml:id, '_s\d+$')]">
         <sch:let name="sceneNum"
                  value="xs:integer(replace(@xml:id, '^.+_s(\d+)$', '$1'))"/>
         <sch:assert test="(root(.)/tei:*[not(self::tei:TEI)]) or ($sceneNum = 0) or (($sceneNum = 1) and (not(preceding-sibling::tei:div[1][matches(@xml:id, '_s\d$')]))) or (preceding-sibling::tei:div[1][ends-with(@xml:id, '_s' || xs:string($sceneNum - 1))])">
                           ERROR: The @xml:id of this scene div does not follow logically from the @xml:id of the preceding scene div.
                         </sch:assert>
         <sch:assert test="not(parent::tei:div[matches(@xml:id, '_((a)|(pr)|(bt)|(ps))\d+$')]) or (starts-with(@xml:id, parent::tei:div/@xml:id))">
                               ERROR: The @xml:id of this scene div does not match that of its parent div.
                             </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:sp[matches(@xml:id, '_sp\d+$')]">
         <sch:let name="spNum" value="xs:integer(replace(@xml:id, '^.+_sp(\d+)$', '$1'))"/>
         <sch:assert test="(root(.)/tei:*[not(self::tei:TEI)]) or ($spNum = 1) or (preceding::tei:sp[matches(@xml:id, '_sp\d+$')][1][ends-with(@xml:id, '_sp' || xs:string($spNum - 1))]) or (ancestor::tei:sp[matches(@xml:id, '_sp\d+$')][1][ends-with(@xml:id, '_sp' || xs:string($spNum - 1))])">
                           ERROR: The @xml:id of this speech does not follow logically from the @xml:id of the preceding speech.
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:p[matches(@xml:id, '_p\d+$')]">
         <sch:let name="pNum" value="xs:integer(replace(@xml:id, '^.+_p(\d+)$', '$1'))"/>
         <sch:assert test="(root(.)/tei:*[not(self::tei:TEI)]) or ($pNum = 1) or (preceding::tei:p[not(ancestor::tei:cit)][matches(@xml:id, '_p\d+$')][1][ends-with(@xml:id, '_p' || xs:string($pNum - 1))])">
                                 ERROR: The @xml:id of this paragraph does not follow logically from the @xml:id of the preceding paragraph.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:p[ancestor::tei:cit]">
         <sch:assert test="not(@xml:id)">
                                 ERROR: Paragraphs inside block quotations should not have @xml:id attributes.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[@xml:id=('emdH5_FM', 'emdAYL_M', 'emdOth_M', 'emdRho_M')][descendant::tei:catRef[starts-with(@target, 'cat:ldtPrimary')]]/tei:text/descendant::tei:div">
         <sch:assert test="@n[matches(., '^((\d+)|(Prologue)|(Epilogue)|(Chorus))$')] or @type[.=('dedication', 'encomium')]">
                                 All div elements in the play text of a modern edition intended for print must have @n indicating what 
                                 number act or scene they are, or one of "Prologue", "Epilogue", "Chorus", or "Other".
                              </sch:assert>
         <sch:assert test="@type[. = ('act', 'scene', 'prologue', 'epilogue', 'chorus', 'dedication', 'encomium')]">
                                 All div elements in the play text of a modern edition intended for print must have @type specifying what 
                                 type of division they are.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:respStmt[not(ancestor::tei:sourceDesc)]/tei:*[local-name() = ('persName', 'orgName')]">
         <sch:assert test="@ref">
                              ERROR: All respStmt/names must have a ref that points to a person, historical person, or organization.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@type='marginal']">
         <sch:assert test="not(ancestor::tei:note[@type='annotation'])"> ERROR: Do not use marginal notes in
                              annotations. 
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@type='annotation']/tei:note">
         <sch:assert test="@type"> ERROR: All annotative notes need to be
                              appropriately typed. 
                           </sch:assert>
         <sch:assert test="not(@type='annotation')"> ERROR: you can't nest an annotation inside another annotation. 
                             </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@type='annotation']">
         <sch:assert test="@target or parent::*:egXML or not(parent::*)"> ERROR: All annotation notes must have a target attribute.
                              </sch:assert>
         <sch:assert test="not(matches(@target, '\s'))"> ERROR: @target attributes must not 
                                 contain spaces. To annotate a span of text, use @target and @targetEnd.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@type='editorial']">
         <sch:assert test="not(ancestor::tei:span)">ERROR: Do not use
                              note/@type=’editorial’ within standoff annotations.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@type='gloss']">
         <sch:assert test="not(ancestor::tei:q or ancestor::tei:quote)">ERROR: Do not use
                           note/@type=’gloss’ within quotations. Use @type=’editorial’ instead.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[@type='longCaption']">
         <sch:assert test="ancestor::tei:figure">ERROR: Long caption
                           notes can only be contained within a figure element.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:bibl[ancestor::tei:text]">
         <sch:assert test="ancestor::tei:listBibl or ancestor::tei:cit">ERROR: bibl elements should only be used in a block quote
                           with the cit element or in a listBibl in BIBL1.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:quote[not(ancestor::tei:cit)][some $n in $catRefs satisfies (contains($n/@target,'BornDig'))]">
         <sch:assert test="not(descendant::tei:p | descendant::tei:lg | descendant::tei:ab | descendant::tei:stage | descendant::tei:l)">ERROR: Do not put block level elements within a regular quotation. If you are marking up a block of text, nest the quote element within a cit element to make a block quotation.</sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:app[@from and @to][not(starts-with(@from,'tln:') or starts-with(@to,'tln:'))] | tei:note[@type='annotation'][@target and @targetEnd][not(starts-with(@target,'tln:') or starts-with(@targetEnd,'tln:'))]">
         <sch:let name="left" value="if (self::tei:app) then @from else @target"/>
         <sch:let name="right" value="if (self::tei:app) then @to else @targetEnd"/>
         <sch:assert test="not($left = $right)">
                              ERROR: <sch:value-of select="local-name($left)"/> and <sch:value-of select="local-name($right)"/> are identical values. If you want to annotate an entire element, just use <sch:value-of select="local-name($left)"/>.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[processing-instruction(lemdo-import)]">
         <sch:assert test="self::tei:teiCorpus">
                                 ERROR: Only use lemdo-import processing instructions in corpus documents
                                 where a TEI element would normally go.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:teiCorpus[processing-instruction(lemdo-import)]">
         <sch:assert test="every $p in processing-instruction() satisfies contains($p, '_edition')">
                                 ERROR: lemdo-import processing instructions may only import edition files.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:sp/tei:ab| tei:sp/tei:p |tei:sp/tei:lg">
         <sch:assert test="string-length(normalize-space(string-join(descendant::text(),''))) gt 0 or (comment()[contains(., 'Empty ab')])">
                              ERROR: Speech must have contents.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:sp[some $c in $catRefs satisfies (matches($c/@target,'Modern'))][ancestor::tei:TEI/descendant::tei:revisionDesc[@status[not(.=('IML-TEI', 'TCP-TEI', 'TEI_collating'))]]]">
         <sch:assert test="@who[matches(., '(^(spkr:other)|(#[a-zA-Z0-9\-_]+)$)')]">
                                 ERROR: The speech element must have a who attribute, either refering to the speaker id in the listPerson or otherwise having a value of spkr:other.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:ab[some $c in $catRefs satisfies (matches($c/@target,'Modern'))]">
         <sch:assert test="not(@type='setAsVerse')" role="warning">
                              WARNING: &lt;ab&gt; elements with @type verse should be changed to lg elements ASAP.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@part='I'][not(ancestor::tei:quote)]">
         <sch:let name="part" value="@part"/>
         <sch:let name="thisEl" value="."/>
         <sch:let name="thisElName" value="local-name($thisEl)"/>
         <sch:let name="followingElOfType"
                  value="$thisEl/following::tei:*[local-name()=$thisElName][1]"/>
         <sch:assert test="$followingElOfType[@part and @part=('M','F')]">
                              ERROR: This <sch:value-of select="$thisElName"/> has part value 'I’ but no following M or F.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@part='M'][not(ancestor::tei:quote)]">
         <sch:let name="part" value="@part"/>
         <sch:let name="thisEl" value="."/>
         <sch:let name="thisElName" value="local-name($thisEl)"/>
         <sch:let name="followingElOfType"
                  value="$thisEl/following::tei:*[local-name()=$thisElName][1]"/>
         <sch:assert test="$followingElOfType[@part and @part=('M','F')]">
                              ERROR: This <sch:value-of select="$thisElName"/> has part value 'M’, but no following M or F <sch:value-of select="$thisElName"/>.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@part='F'][not(ancestor::tei:quote)]">
         <sch:let name="part" value="@part"/>
         <sch:let name="thisEl" value="."/>
         <sch:let name="thisElName" value="local-name($thisEl)"/>
         <sch:let name="precedingElOfType"
                  value="$thisEl/preceding::tei:*[local-name()=$thisElName][1]"/>
         <sch:assert test="$precedingElOfType[@part and @part=('I','M')]">
                              ERROR: This <sch:value-of select="$thisElName"/> has part value 'F’, but no preceding I or M <sch:value-of select="$thisElName"/>.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:l[count(*)=1][tei:stage]">
         <sch:assert test="not(every $n in child::text() satisfies (matches($n,'^\s+$')))">
                              ERROR: Do not tag stage directions as verse lines.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[not(ancestor-or-self::tei:code)][not(ancestor::tei:TEI/@xml:id='lemdo_spec_tag')][not(ancestor-or-self::tei:gap[@reason='invalid'])][not(ancestor-or-self::tei:eg)][text()][not(ancestor-or-self::tei:quote)][not(ancestor-or-self::tei:rdg)]">
         <sch:assert test="not(matches(string-join(text(),''),'(&lt;|&gt;)'))">
                              ERROR: Don’t use explicit angle brackets in text. If you want to reference an element, use the gi element or the code element.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[text()][not(self::tei:code or self::tei:item[ancestor::tei:*[starts-with(@xml:id, 'lemdo_spec_')]] or self::tei:bibl[@type='cip'] or self::tei:rendition or self::tei:lem or self::tei:rdg or self::tei:quote or self::tei:mentioned)][text()][(some $c in $catRefs satisfies matches($c/@target,'(Modern)|(BornDig)')) or (./root()/*[local-name(.) = 'div'])]">
         <sch:assert test="not(matches(string-join(child::text(), ''),'(--)|(––)'))">
                           ERROR: Use the em-dash character (—), not double hyphens or en-dashes.
                         </sch:assert>
      </sch:rule>
      <sch:rule context="*:egXML[not(@valid='false')]/descendant::*[text()][not(self::*:code or ancestor::tei:*[starts-with(@xml:id, 'lemdo_spec_')])]">
         <sch:assert test="not(matches(string-join(child::text(), ''),'(--)|(––)'))">
                              ERROR: Use the em-dash character (—), not double hyphens or en-dashes.
                            </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:l[not(matches($docId,'^emd((MND)|(Tim)|(MV))'))][some $c in $catRefs satisfies (matches($c/@target,'Modern'))][not(ancestor::tei:TEI//tei:revisionDesc[@status='TEI_collating'])][not(@part=('M','F'))][not(@prev)]">
         <sch:let name="text"
                  value="normalize-space(string-join(descendant::text()[not(ancestor::tei:stage)],''))"/>
         <xsl:variable name="punctuation">['"‘’,\(-–—\s\.]</xsl:variable>
         <sch:assert test="if (matches($text,'^—') or matches($text,'^\.') or $text='') then true() else matches($text,concat('^',$punctuation,'*[A-Z–]'))">
                              ERROR: Modern verse lines should start with a capital.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[text()][not(self::tei:rdg or self::tei:lem or self::tei:quote or self::tei:code or self::tei:idno or self::tei:pc or self::tei:bibl[@type='cip'])][some $c in $catRefs satisfies (matches($c/@target,'Modern'))][ancestor::tei:TEI/descendant::tei:revisionDesc[@status[not(.=('IML-TEI', 'TCP-TEI', 'TEI_collating'))]]][not(some $c in $catRefs satisfies (matches($c/@target, 'Mixed')))]">
         <sch:let name="text" value="normalize-space(string-join(text(),''))"/>
         <sch:assert test="not(matches($text,'\[|\]'))">
                              ERROR: Do not use square brackets to denote editorially supplied text in modern or born-digital documents. Use the supplied element instead.
                           </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[descendant::tei:catRef[contains(@target, 'ParatextCritical')]][not(descendant::tei:revisionDesc[@status='IML-TEI'])]/descendant::tei:*[not(self::tei:idno) and not(self::tei:pc)]">
         <sch:let name="text" value="normalize-space(string-join(text(),''))"/>
         <sch:assert test="not(matches($text, '\[|\]'))">
                                 ERROR: Do not use square brackets to denote editorially supplied text in
                                 quoting text that contains square brackets, wrap each one in a pc element. The quotation needs to be wrapped in the quote element. 
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[ends-with(@xml:id, '_edition')]/tei:text/descendant::tei:ref[starts-with(@target, 'doc:')]">
         <sch:let name="ref" value="xs:string(@target)"/>
         <sch:assert test="$ref = ancestor::tei:TEI/tei:teiHeader/tei:fileDesc/tei:notesStmt/tei:relatedItem/@target">
                                 ERROR: You have linked to <xsl:value-of select="$ref"/> but that document does not appear as a relatedItem in the header.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:head">
         <sch:assert test="not(descendant::*:egXML)">
                                 ERROR: egXML elements cannot appear in head elements.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:list[ancestor::*[last()][self::tei:div]]">
         <sch:assert test="not(child::tei:head)">
                                 ERROR: Don't put head elements in lists in documentation. Create a div with a head, and put the list in there.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:gi | tei:att">
         <sch:assert test="not(ancestor::tei:ref) or not(ancestor::*[last()][self::div])">
                                 ERROR: Don't put gi or att inside ref elements; links within links are not valid.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:persName[@ref] | tei:orgName[@ref] | tei:ref[@target]">
         <sch:assert test="not(ancestor::tei:ref)">
                                 ERROR: Don't put ref, persName or orgName elements inside ref elements; links within links are not valid.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:persName | tei:orgName | tei:name | tei:ref">
         <sch:assert test="not(matches(., '[,;]\s*$'))">
                                 ERROR: Don't enclose a final comma or other punctuation which is not part
                                 of a name inside the name tag, or inside a link created with a ref element.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[not(matches(@xml:id, '_index$'))][not(ancestor::tei:teiCorpus)][descendant::tei:catRef[matches(@target, 'ornDig')]][not(descendant::tei:catRef[matches(@target, '((BornDigPrint)|(nnotation)|(atabase)|(Documentation))')])]/child::tei:text">
         <sch:assert test="not(child::tei:front)">
                            ERROR: This kind of born-digital document should not have a front element.
                            Front matter is drawn from the teiHeader. Put any byline elements in the 
                            body.
                          </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="*:egXML[@valid='true'][ancestor::tei:div[starts-with(@xml:id, 'learn_')]]">
         <sch:assert test="count(child::*) = 1 and not(child::node()[1][self::text() and normalize-space(.) ne ''])">
                           ERROR: An egXML must have one and only one child element,
                           unless it is valid="false".
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="*:egXML[ancestor::tei:div[starts-with(@xml:id, 'learn_')]]">
         <sch:assert test="not(@valid='feasible')">
                           ERROR: Do not use @valid="feasible" in LEMDO documentation. All good
                           examples are @valid="true", and examples of what NOT to do are 
                           @valid="false".
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="*:egXML[ancestor::tei:div[starts-with(@xml:id, 'learn_')]]">
         <sch:assert test="@valid">
                           ERROR: All egXMLs in LEMDO documentation must have the @valid attribute. 
                           All good examples are @valid="true", and examples of what NOT to do are 
                           @valid="false".
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:textClass[child::tei:catRef[@target = ('cat:letMixed', 'cat:letExcerpted')]]">
         <sch:assert test="not(child::tei:catRef[@target = ('cat:ldtBornDigitalParatextCritical', 'cat:ldtPrimaryText')])">
                           ERROR: If a file has letMixed or letExcerpted, it cannot have ldtBornDigitalParatextCritical or 
                           ldtPrimaryText. In other words, supplementary texts must be either ldtBornDigitalParatext OR 
                           ldtPrimary.
                              </sch:assert>
         <sch:assert test="not(child::tei:catRef[matches(@target, '^cat:((lwt)|(lbf))')])">
                               ERROR: If a file has letMixed or letExcerpted, it cannot have any lwt (work type) 
                               or lbf (book format) catRefs.
                             </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:tagsDecl">
         <sch:assert test="child::tei:*">
                           ERROR: Empty tagsDecl elements are not allowed. Please delete the tagsDecl
                           or add one or more child elements.
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@xml:lang]">
         <sch:assert test="not(matches(@xml:lang, '\s+'))">
                                 ERROR: Spaces are not allowed in @xml:lang values.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:byline">
         <sch:assert test="not(child::tei:figure)">
                                 ERROR: The figure element is not allowed inside a byline.
                                 Instead, fragment your byline into two pieces around the figure
                                 and link them with @next and @prev.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="text()">
         <sch:assert test="not(matches(., '[&#x80;-&#x9f;]'))">
                                 ERROR: This text node contains one or more control characters which are not allowed
                                 in our texts. They may have originated in an old word-processor file
                                 which was saved in the obsolete Windows 1252 encoding.
                              </sch:assert>
         <sch:assert test="not(matches(., ' [^:]'))">
                                 ERROR: This text node contains one or more non-breaking spaces (U+00A0).
                                 Avoid using these, because they have unexpected effects on page layout.
                              </sch:assert>
         <sch:assert test="not(contains(., ' '))">
                                 ERROR: This text node a narrow non-breaking space (U+202F).
                                 Avoid using these, because they have unexpected effects on page layout.
                                 This often happens when you copy-paste from a highly formatted source
                                 such as a PDF.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:stage | tei:seg | tei:hi">
         <sch:assert test="not(descendant::tei:label or descendant::tei:ab)">
                            ERROR: label and ab elements are not allowed inside stage, hi, or seg elements.
                                   If you need to style one of these elements, put the @rendition attribute on the label or stage element itself.
                          </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[matches(@xml:id, '_(annotation|collation)$')]/descendant::tei:note[@type='annotation']">
         <sch:let name="targDocId"
                  value="replace(ancestor::tei:TEI/@xml:id, '_(annotation|collation)$', '')"/>
         <sch:assert test="not(@target) or starts-with(@target, concat('doc:', $targDocId, '#', $targDocId)) or starts-with(@target, 'tln:')">
                                 The @target value must point to an anchor in the document <sch:value-of select="$targDocId"/>.
                              </sch:assert>
         <sch:assert test="not(@targetEnd) or starts-with(@targetEnd, concat('doc:', $targDocId, '#', $targDocId)) or starts-with(@targetEnd, 'tln:')">
                                 The @target value must point to an anchor in the document <sch:value-of select="$targDocId"/>.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*/@*[starts-with(., 'doc:')]">
         <sch:assert test="not(matches(., '\.xml\s*(#|$)'))">
                                 ERROR: When linking with the doc: prefix, do NOT include the .xml file suffix.
                                 Just use the xml:id of the target document.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[not(matches(@xml:id, '_template$'))]">
         <sch:assert test="not(descendant::*/@*[local-name(.) = ('target', 'id', 'targetEnd')][contains(., 'emdABBR')])">
                                 ERROR: The value 'emdABBR...' for ids and pointers is only valid in templates, and should not be used
                                        in actual documents.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[descendant::tei:revisionDesc/@status = 'published']/descendant::tei:editionStmt">
         <sch:assert test="matches(., 'Released\s+with\s+.+?\s+(\.*\d)+')">
                                 ERROR: editionStmt elements must contain the string "released with".
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="@*|text()">
         <sch:assert test="not(contains(., 'jenkins' || '.' || 'hcmc' || '.' || 'uvic' || '.' || 'ca'))">
                           ERROR: Links to the Jenkins server are NOT ALLOWED in documents.
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:teiHeader">
         <sch:assert test="not(descendant::tei:anchor)">
                           ERROR: Anchors are not allowed in metadata.
                         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:ref[@target]">
         <sch:assert test="not(descendant::tei:anchor)">
                                 ERROR: Anchors are not allowed in ref elements.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:p[@xml:id]">
         <sch:assert test="not(ancestor::tei:quote or ancestor::tei:cit)">
                                 ERROR: Paragraphs in quotations should not have ids.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:note[ancestor::tei:note]">
         <sch:assert test="ancestor::tei:note[@type='annotation']">
                                 ERROR: note elements may not be nested except in the context of annotations.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:ptr[@target[starts-with(., '#')]] | tei:ref[@target[starts-with(., '#')]]">
         <sch:let name="targ" value="substring-after(@target, '#')"/>
         <sch:assert test="ancestor::*[last()]//*[@xml:id = $targ] or ancestor::*[last()]/matches(@xml:id, 'lemdo_spec_')">
                                 ERROR: The pointer #<sch:value-of select="$targ"/> must point to an xml:id in this file.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:l">
         <sch:assert test="string-length(normalize-space(.)) gt 0">
                                 ERROR: Poetic lines must not be empty. Do you mean to use an lb element?
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:TEI[contains(@xml:id, '_annotation')]/tei:text">
         <sch:assert test="not(child::tei:front)">
                                 ERROR: front elements are not allowed in annotation files.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@xml:id]">
         <sch:assert test="not(@xml:id = following::tei:*/@xml:id)">
                                 ERROR: @xml:id attributes must be unique. <xsl:value-of select="@xml:id"/> is not.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:titlePart">
         <sch:assert test="not(descendant::tei:figure)">
                                 ERROR: figure elements are not allowed in titlePart.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="text()[not(ancestor::tei:q or ancestor::tei:quote or ancestor::tei:soCalled or ancestor::tei:mentioned)][not(//tei:textClass/tei:catRef[@target='cat:edhSourceCBJ'])]">
         <sch:assert test="not(matches(., '(^|\W)[Ss]ig.?\s*[A-Z][a-z]*\d+(r|v)'))">
                                 ERROR: Do not use "sig" or "sig." or "Sig" or "Sig." etc. before a signature: just use the signature.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[@*]">
         <sch:assert test="not(@*[matches(., 'doc:[^#]+_anc_')])">
            <xsl:for-each select="@*[matches(., 'doc:[^#]+_anc_')]">
                                    ERROR: <sch:value-of select="."/> looks like
                                    an attempt to link to an anchor, but it needs to
                                    be a complete reference to a document followed by 
                                    a hash and the anchor id.
                                 </xsl:for-each>
         </sch:assert>
      </sch:rule>
   </sch:pattern>
   <sch:pattern xmlns="http://www.tei-c.org/ns/1.0"
                xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <sch:rule context="tei:*[matches(@target, '^(pers|pros|bibl):')]">
         <sch:assert test="not(ancestor::tei:listPerson[not(@type='castlist')] or ancestor::tei:listBibl)">
                                 ERROR: Do not link from one entity (person or bibl item) to 
                                 another, because this can cause recursive linking that is 
                                 unmanageable at build time.
                              </sch:assert>
      </sch:rule>
   </sch:pattern>
</grammar>
