<?xml version="1.0"?>
<rng:grammar xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsp="http://apache.org/xsp/core/v1" xmlns:xs="http://www.w3.org/2001/XInclude" xmlns:rng="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://www.tei-c.org/ns/1.0"><!--Schema generated 2004-12-17T12:55:11Z
-->
	    
	  <rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/analysis.rng"-->
  <rng:define name="w"><rng:element name="w"><rng:ref name="w.content"/><rng:ref name="w.attributes"/></rng:element></rng:define><rng:define name="w.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="add"/><rng:ref name="c"/><rng:ref name="del"/><rng:ref name="dipl"/><rng:ref name="facs"/><rng:ref name="foreign"/><rng:ref name="hi"/><rng:ref name="lemma"/><rng:ref name="m"/><rng:ref name="norm"/><rng:ref name="pal"/><rng:ref name="seg"/><rng:ref name="sic"/><rng:ref name="supplied"/><rng:ref name="tei.Incl"/><rng:ref name="tei.fragmentary"/><rng:ref name="unclear"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="w.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:optional><rng:ref name="w.attributes.lemma"/></rng:optional><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="w"><rng:text/></rng:attribute></rng:optional><rng:optional><rng:attribute name="pos"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:attribute></rng:optional><rng:optional><rng:attribute name="reg"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="m"><rng:element name="m"><rng:ref name="m.content"/><rng:ref name="m.attributes"/></rng:element></rng:define><rng:define name="m.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="tei.segment"/><rng:ref name="c"/><rng:ref name="facs"/><rng:ref name="dipl"/><rng:ref name="norm"/><rng:ref name="pal"/><rng:ref name="lemma"/><rng:ref name="tei.Incl"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="tei.seg" combine="choice"><rng:ref name="m"/></rng:define><rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.analysis" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.analysis.attributes" combine="choice">
    <rng:ref name="tei.analysis.attributes.ana"/>
  </define>
  <rng:define name="tei.analysis.attributes.ana">
    <rng:optional>
      <rng:attribute name="ana">
        <rng:ref name="tei.analysis.attributes.ana.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.analysis.attributes.ana.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="c">
    <rng:element name="c">
      <rng:ref name="c.content"/>
      <rng:ref name="c.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="c.content">
    <rng:text/>
  </rng:define>
  <rng:define name="c.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.seg.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="c">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="c"/>
  </define>
  <rng:define name="cl">
    <rng:element name="cl">
      <rng:ref name="cl.content"/>
      <rng:ref name="cl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="cl.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="cl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.seg.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="cl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="cl"/>
  </define>
  <rng:define name="interp">
    <rng:element name="interp">
      <rng:ref name="interp.content"/>
      <rng:ref name="interp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="interp.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="interp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.interpret.attributes"/>
    <rng:ref name="interp.attributes.value"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="interp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="interp.attributes.value">
    <rng:attribute name="value">
      <rng:ref name="interp.attributes.value.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="interp.attributes.value.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="interp"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.interpret" combine="choice">
    <rng:ref name="interp"/>
  </define>
  <rng:define name="interpGrp">
    <rng:element name="interpGrp">
      <rng:ref name="interpGrp.content"/>
      <rng:ref name="interpGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="interpGrp.content">
    <rng:zeroOrMore>
      <rng:ref name="interp"/>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="interpGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.interpret.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="interpGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.interpret" combine="choice">
    <rng:ref name="interpGrp"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="interpGrp"/>
  </define>
  
  
  <rng:define name="m.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.seg.attributes"/>
    <rng:ref name="m.attributes.baseForm"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="m">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="m.attributes.baseForm">
    <rng:optional>
      <rng:attribute name="baseForm">
        <rng:ref name="m.attributes.baseForm.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="m.attributes.baseForm.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="m"/>
  </define>
  <rng:define name="phr">
    <rng:element name="phr">
      <rng:ref name="phr.content"/>
      <rng:ref name="phr.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="phr.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="phr.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.seg.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="phr">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="phr"/>
  </define>
  <rng:define name="s">
    <rng:element name="s">
      <rng:ref name="s.content"/>
      <rng:ref name="s.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="s.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="s.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.seg.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="s">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="s"/>
  </define>
  <rng:define name="span">
    <rng:element name="span">
      <rng:ref name="span.content"/>
      <rng:ref name="span.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="span.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="span.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.interpret.attributes"/>
    <rng:ref name="span.attributes.value"/>
    <rng:ref name="span.attributes.from"/>
    <rng:ref name="span.attributes.to"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="span">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="span.attributes.value">
    <rng:attribute name="value">
      <rng:ref name="span.attributes.value.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="span.attributes.value.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="span.attributes.from">
    <rng:attribute name="from">
      <rng:ref name="span.attributes.from.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="span.attributes.from.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="span.attributes.to">
    <rng:optional>
      <rng:attribute name="to">
        <rng:ref name="span.attributes.to.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="span.attributes.to.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.interpret" combine="choice">
    <rng:ref name="span"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="span"/>
  </define>
  <rng:define name="spanGrp">
    <rng:element name="spanGrp">
      <rng:ref name="spanGrp.content"/>
      <rng:ref name="spanGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="spanGrp.content">
    <rng:zeroOrMore>
      <rng:ref name="span"/>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="spanGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.interpret.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="spanGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.interpret" combine="choice">
    <rng:ref name="spanGrp"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="spanGrp"/>
  </define>
  
  
  
  <rng:define name="w.attributes.lemma">
    <rng:optional>
      <rng:attribute name="lemma">
        <rng:ref name="w.attributes.lemma.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="w.attributes.lemma.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="w"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/core.rng"-->
  <rng:define name="tei.names.attributes" combine="choice"><rng:ref name="tei.names.attributes.role"/></rng:define><rng:define name="tei.names.attributes.role"><rng:optional><rng:attribute name="role"><rng:ref name="tei.names.attributes.role.content"/></rng:attribute></rng:optional></rng:define><rng:define name="tei.names.attributes.role.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="term"><rng:element name="term"><rng:ref name="term.content"/><rng:ref name="term.attributes"/></rng:element></rng:define><rng:define name="term.attributes"><rng:ref name="tei.global.attributes"/><rng:optional><rng:ref name="term.attributes.type"/></rng:optional><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="term"><rng:text/></rng:attribute></rng:optional><rng:optional><rng:attribute name="reg"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="lg"><rng:element name="lg"><rng:ref name="lg.content"/><rng:ref name="lg.attributes"/></rng:element></rng:define><rng:define name="lg.content"><rng:group><rng:zeroOrMore><rng:choice><rng:ref name="tei.divtop"/><rng:ref name="tei.Incl"/></rng:choice></rng:zeroOrMore><rng:choice><rng:ref name="l"/><rng:ref name="lg"/><rng:ref name="p"/></rng:choice><rng:zeroOrMore><rng:choice><rng:ref name="l"/><rng:ref name="lg"/><rng:ref name="tei.Incl"/></rng:choice></rng:zeroOrMore><rng:zeroOrMore><rng:ref name="tei.divbot"/><rng:zeroOrMore><rng:ref name="tei.Incl"/></rng:zeroOrMore></rng:zeroOrMore></rng:group></rng:define><rng:define name="tei.chunk" combine="choice"><rng:ref name="lg"/></rng:define><rng:define name="tei.divn" combine="choice"><rng:ref name="lg"/></rng:define><rng:define name="l"><rng:element name="l"><rng:ref name="l.content"/><rng:ref name="l.attributes"/></rng:element></rng:define><rng:define name="l.content"><rng:ref name="macro.paraContent"/></rng:define><rng:define name="tei.chunk" combine="choice"><rng:ref name="l"/></rng:define><rng:define name="tei.hqinter" combine="choice"><rng:ref name="l"/></rng:define><rng:define name="tei.enjamb" combine="choice"><rng:ref name="l"/></rng:define><rng:define name="tei.metrical" combine="choice"><rng:ref name="l"/></rng:define><rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <rng:define name="IGNORE">
    <notAllowed xmlns="http://relaxng.org/ns/structure/1.0"/>
  </rng:define>
  <rng:define name="INCLUDE">
    <empty xmlns="http://relaxng.org/ns/structure/1.0"/>
  </rng:define>
<!--Weird special cases-->
  <rng:define name="TEI...end">
    <notAllowed xmlns="http://relaxng.org/ns/structure/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="mix.dictionaries" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="mix.drama" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="mix.spoken" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="mix.verse" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.dictionaries" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.spoken" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <rng:define name="tei.comp.terminology">
    <choice xmlns="http://relaxng.org/ns/structure/1.0">
      <notAllowed/>
    </choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="mix.terminology" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="mix.seg" combine="choice">
    <choice>
      <notAllowed/>
    </choice>
  </define>
<!--1. classes-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.TEIform" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.TEIform.attributes" combine="choice">
    <rng:ref name="tei.TEIform.attributes.TEIform"/>
  </define>
  <rng:define name="tei.TEIform.attributes.TEIform">
    <rng:optional>
      <rng:attribute name="TEIform">
        <rng:ref name="tei.TEIform.attributes.TEIform.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.TEIform.attributes.TEIform.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="NCName"/>
  </rng:define>
<!--2. elements-->
  <rng:define name="TEI">
    <rng:element name="TEI">
      <rng:ref name="TEI.content"/>
      <rng:ref name="TEI.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="TEI.content">
    <rng:group>
      <rng:ref name="tei.teiHeader"/>
      <rng:ref name="tei.teiText"/>
    </rng:group>
  </rng:define>
  <rng:define name="TEI.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="TEI.attributes.version"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="TEI">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="TEI.attributes.version">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="version" a:defaultValue="5.0">
        <rng:ref name="TEI.attributes.version.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="TEI.attributes.version.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="decimal"/>
  </rng:define>
  <rng:define name="abbr">
    <rng:element name="abbr">
      <rng:ref name="abbr.content"/>
      <rng:ref name="abbr.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="abbr.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="abbr.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="abbr.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="abbr">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="abbr.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="abbr.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="abbr.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="abbr"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="abbr"/>
  </define>
  <rng:define name="add">
    <rng:element name="add">
      <rng:ref name="add.content"/>
      <rng:ref name="add.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="add.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="add.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="add.attributes.place"/>
    <rng:ref name="add.attributes.resp"/>
    <rng:ref name="add.attributes.cert"/>
    <rng:ref name="add.attributes.hand"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="add">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="add.attributes.place">
    <rng:optional>
      <rng:attribute name="place">
        <rng:ref name="add.attributes.place.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="add.attributes.place.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="add.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="add.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="add.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="add.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="add.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="add.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="add.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="add.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="add.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="add"/>
  </define>
  <rng:define name="addrLine">
    <rng:element name="addrLine">
      <rng:ref name="addrLine.content"/>
      <rng:ref name="addrLine.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="addrLine.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="addrLine.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="addrLine">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="address">
    <rng:element name="address">
      <rng:ref name="address.content"/>
      <rng:ref name="address.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="address.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:ref name="addrLine"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:zeroOrMore>
          <rng:ref name="tei.addrPart"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:zeroOrMore>
      </rng:choice>
    </rng:group>
  </rng:define>
  <rng:define name="address.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="address">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="address"/>
  </define>
  <rng:define name="altIdent">
    <rng:element name="altIdent">
      <rng:ref name="altIdent.content"/>
      <rng:ref name="altIdent.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="altIdent.content">
    <rng:text/>
  </rng:define>
  <rng:define name="altIdent.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="altIdent">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="altIdent"/>
  </define>
  <rng:define name="analytic">
    <rng:element name="analytic">
      <rng:ref name="analytic.content"/>
      <rng:ref name="analytic.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="analytic.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="author"/>
        <rng:ref name="editor"/>
        <rng:ref name="respStmt"/>
        <rng:ref name="title"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="analytic.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="analytic">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="analytic"/>
  </define>
  <rng:define name="author">
    <rng:element name="author">
      <rng:ref name="author.content"/>
      <rng:ref name="author.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="author.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="author.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="author">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="author"/>
  </define>
  <rng:define name="bibl">
    <rng:element name="bibl">
      <rng:ref name="bibl.content"/>
      <rng:ref name="bibl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="bibl.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.biblPart"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="bibl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="bibl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.bibl" combine="choice">
    <rng:ref name="bibl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="bibl"/>
  </define>
  <rng:define name="biblFull">
    <rng:element name="biblFull">
      <rng:ref name="biblFull.content"/>
      <rng:ref name="biblFull.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="biblFull.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:group>
        <rng:ref name="titleStmt"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:group>
      <rng:optional>
        <rng:ref name="editionStmt"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:optional>
        <rng:ref name="extent"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:group>
        <rng:ref name="publicationStmt"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:group>
      <rng:optional>
        <rng:ref name="seriesStmt"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:optional>
        <rng:ref name="notesStmt"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:ref name="sourceDesc"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="biblFull.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="biblFull">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.bibl" combine="choice">
    <rng:ref name="biblFull"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="biblFull"/>
  </define>
  <rng:define name="biblScope">
    <rng:element name="biblScope">
      <rng:ref name="biblScope.content"/>
      <rng:ref name="biblScope.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="biblScope.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="biblScope.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="biblScope.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="biblScope">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="biblScope.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="biblScope.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="biblScope.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="biblScope"/>
  </define>
  <rng:define name="biblStruct">
    <rng:element name="biblStruct">
      <rng:ref name="biblStruct.content"/>
      <rng:ref name="biblStruct.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="biblStruct.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="analytic"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:group>
          <rng:ref name="monogr"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:group>
        <rng:zeroOrMore>
          <rng:ref name="series"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:zeroOrMore>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:group>
            <rng:ref name="note"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:ref name="idno"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:group>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="biblStruct.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="biblStruct">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.bibl" combine="choice">
    <rng:ref name="biblStruct"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="biblStruct"/>
  </define>
  <rng:define name="cb">
    <rng:element name="cb">
      <rng:ref name="cb.content"/>
      <rng:ref name="cb.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="cb.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="cb.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="cb.attributes.ed"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="cb">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="cb.attributes.ed">
    <rng:optional>
      <rng:attribute name="ed">
        <rng:ref name="cb.attributes.ed.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="cb.attributes.ed.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys" combine="choice">
    <rng:ref name="cb"/>
  </define>
  <rng:define name="choice">
    <rng:element name="choice">
      <rng:ref name="choice.content"/>
      <rng:ref name="choice.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="choice.content">
    <rng:group>
      <rng:group>
        <rng:ref name="tei.chooseable"/>
      </rng:group>
      <rng:group>
        <rng:oneOrMore>
          <rng:ref name="tei.chooseable"/>
        </rng:oneOrMore>
      </rng:group>
    </rng:group>
  </rng:define>
  <rng:define name="choice.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="choice">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="choice"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="choice"/>
  </define>
  <rng:define name="cit">
    <rng:element name="cit">
      <rng:ref name="cit.content"/>
      <rng:ref name="cit.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="cit.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="q"/>
        <rng:ref name="quote"/>
        <rng:ref name="tei.bibl"/>
        <rng:ref name="tei.loc"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="cit.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="cit">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqinter" combine="choice">
    <rng:ref name="cit"/>
  </define>
  <rng:define name="corr">
    <rng:element name="corr">
      <rng:ref name="corr.content"/>
      <rng:ref name="corr.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="corr.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="corr.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="corr.attributes.resp"/>
    <rng:ref name="corr.attributes.cert"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="corr">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="corr.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="corr.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="corr.attributes.resp.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="corr.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="corr.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="corr.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="corr"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="corr"/>
  </define>
  <rng:define name="date">
    <rng:element name="date">
      <rng:ref name="date.content"/>
      <rng:ref name="date.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="date.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="date.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="date.attributes.calendar"/>
    <rng:ref name="date.attributes.value"/>
    <rng:ref name="date.attributes.certainty"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="date">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="date.attributes.calendar">
    <rng:optional>
      <rng:attribute name="calendar">
        <rng:ref name="date.attributes.calendar.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="date.attributes.calendar.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="date.attributes.value">
    <rng:optional>
      <rng:attribute name="value">
        <rng:ref name="date.attributes.value.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="date.attributes.value.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="date.attributes.certainty">
    <rng:optional>
      <rng:attribute name="certainty">
        <rng:ref name="date.attributes.certainty.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="date.attributes.certainty.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="date"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.date" combine="choice">
    <rng:ref name="date"/>
  </define>
  <rng:define name="dateRange">
    <rng:element name="dateRange">
      <rng:ref name="dateRange.content"/>
      <rng:ref name="dateRange.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="dateRange.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="dateRange.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="dateRange.attributes.calendar"/>
    <rng:ref name="dateRange.attributes.from"/>
    <rng:ref name="dateRange.attributes.to"/>
    <rng:ref name="dateRange.attributes.exact"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="dateRange">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="dateRange.attributes.calendar">
    <rng:optional>
      <rng:attribute name="calendar">
        <rng:ref name="dateRange.attributes.calendar.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dateRange.attributes.calendar.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="dateRange.attributes.from">
    <rng:optional>
      <rng:attribute name="from">
        <rng:ref name="dateRange.attributes.from.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dateRange.attributes.from.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="dateRange.attributes.to">
    <rng:optional>
      <rng:attribute name="to">
        <rng:ref name="dateRange.attributes.to.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dateRange.attributes.to.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="dateRange.attributes.exact">
    <rng:optional>
      <rng:attribute name="exact">
        <rng:ref name="dateRange.attributes.exact.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dateRange.attributes.exact.content">
    <rng:choice>
      <rng:value>to</rng:value>
      <rng:value>from</rng:value>
      <rng:value>both</rng:value>
      <rng:value>none</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="dateRange"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.date" combine="choice">
    <rng:ref name="dateRange"/>
  </define>
  <rng:define name="del">
    <rng:element name="del">
      <rng:ref name="del.content"/>
      <rng:ref name="del.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="del.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="del.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="del.attributes.type"/>
    <rng:ref name="del.attributes.status"/>
    <rng:ref name="del.attributes.resp"/>
    <rng:ref name="del.attributes.cert"/>
    <rng:ref name="del.attributes.hand"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="del">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="del.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="del.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="del.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="del.attributes.status">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unremarkable">
        <rng:ref name="del.attributes.status.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="del.attributes.status.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="del.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="del.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="del.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="del.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="del.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="del.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="del.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="del.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="del.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="del"/>
  </define>
  <rng:define name="desc">
    <rng:element name="desc">
      <rng:ref name="desc.content"/>
      <rng:ref name="desc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="desc.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="desc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="desc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="distinct">
    <rng:element name="distinct">
      <rng:ref name="distinct.content"/>
      <rng:ref name="distinct.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="distinct.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="distinct.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="distinct.attributes.type"/>
    <rng:ref name="distinct.attributes.time"/>
    <rng:ref name="distinct.attributes.space"/>
    <rng:ref name="distinct.attributes.social"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="distinct">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="distinct.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="distinct.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="distinct.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="distinct.attributes.time">
    <rng:optional>
      <rng:attribute name="time">
        <rng:ref name="distinct.attributes.time.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="distinct.attributes.time.content">
    <rng:text/>
  </rng:define>
  <rng:define name="distinct.attributes.space">
    <rng:optional>
      <rng:attribute name="space">
        <rng:ref name="distinct.attributes.space.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="distinct.attributes.space.content">
    <rng:text/>
  </rng:define>
  <rng:define name="distinct.attributes.social">
    <rng:optional>
      <rng:attribute name="social">
        <rng:ref name="distinct.attributes.social.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="distinct.attributes.social.content">
    <rng:text/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="distinct"/>
  </define>
  <rng:define name="divGen">
    <rng:element name="divGen">
      <rng:ref name="divGen.content"/>
      <rng:ref name="divGen.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="divGen.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="divGen.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="divGen.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="divGen">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="divGen.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="divGen.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="divGen.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.front" combine="choice">
    <rng:ref name="divGen"/>
  </define>
  <rng:define name="editor">
    <rng:element name="editor">
      <rng:ref name="editor.content"/>
      <rng:ref name="editor.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="editor.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="editor.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="editor.attributes.role"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="editor">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="editor.attributes.role">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="role" a:defaultValue="editor">
        <rng:ref name="editor.attributes.role.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="editor.attributes.role.content">
    <rng:text/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="editor"/>
  </define>
  <rng:define name="emph">
    <rng:element name="emph">
      <rng:ref name="emph.content"/>
      <rng:ref name="emph.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="emph.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="emph.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="emph">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="emph"/>
  </define>
  <rng:define name="equiv">
    <rng:element name="equiv">
      <rng:ref name="equiv.content"/>
      <rng:ref name="equiv.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="equiv.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="equiv.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="equiv.attributes.name"/>
    <rng:ref name="equiv.attributes.uri"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="equiv">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="equiv.attributes.name">
    <rng:optional>
      <rng:attribute name="name">
        <rng:ref name="equiv.attributes.name.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="equiv.attributes.name.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="equiv.attributes.uri">
    <rng:optional>
      <rng:attribute name="uri">
        <rng:ref name="equiv.attributes.uri.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="equiv.attributes.uri.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="anyURI"/>
  </rng:define>
  <rng:define name="expan">
    <rng:element name="expan">
      <rng:ref name="expan.content"/>
      <rng:ref name="expan.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="expan.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="expan.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="expan.attributes.resp"/>
    <rng:ref name="expan.attributes.cert"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="expan">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="expan.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="expan.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="expan.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="expan.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="expan.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="expan.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="expan"/>
  </define>
  <rng:define name="foreign">
    <rng:element name="foreign">
      <rng:ref name="foreign.content"/>
      <rng:ref name="foreign.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="foreign.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="foreign.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="foreign">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="foreign"/>
  </define>
  <rng:define name="gap">
    <rng:element name="gap">
      <rng:ref name="gap.content"/>
      <rng:ref name="gap.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="gap.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="gap.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="gap.attributes.desc"/>
    <rng:ref name="gap.attributes.reason"/>
    <rng:ref name="gap.attributes.resp"/>
    <rng:ref name="gap.attributes.hand"/>
    <rng:ref name="gap.attributes.agent"/>
    <rng:ref name="gap.attributes.extent"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="gap">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="gap.attributes.desc">
    <rng:optional>
      <rng:attribute name="desc">
        <rng:ref name="gap.attributes.desc.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gap.attributes.desc.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="gap.attributes.reason">
    <rng:optional>
      <rng:attribute name="reason">
        <rng:ref name="gap.attributes.reason.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gap.attributes.reason.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="gap.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="gap.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gap.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="gap.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="gap.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gap.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="gap.attributes.agent">
    <rng:optional>
      <rng:attribute name="agent">
        <rng:ref name="gap.attributes.agent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gap.attributes.agent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="gap.attributes.extent">
    <rng:optional>
      <rng:attribute name="extent">
        <rng:ref name="gap.attributes.extent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gap.attributes.extent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.editIncl" combine="choice">
    <rng:ref name="gap"/>
  </define>
  <rng:define name="gloss">
    <rng:element name="gloss">
      <rng:ref name="gloss.content"/>
      <rng:ref name="gloss.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="gloss.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="gloss.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="gloss.attributes.target"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="gloss">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="gloss.attributes.target">
    <rng:optional>
      <rng:attribute name="target">
        <rng:ref name="gloss.attributes.target.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="gloss.attributes.target.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="gloss"/>
  </define>
  <rng:define name="graphic">
    <rng:element name="graphic">
      <rng:ref name="graphic.content"/>
      <rng:ref name="graphic.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="graphic.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="graphic.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.xPointer.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="graphic">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="graphic"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="graphic"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.xPointer" combine="choice">
    <rng:ref name="graphic"/>
  </define>
  <rng:define name="head">
    <rng:element name="head">
      <rng:ref name="head.content"/>
      <rng:ref name="head.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="head.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="head.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="head.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="head">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="head.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="head.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="head.attributes.type.content">
    <rng:text/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="head"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="head"/>
  </define>
  <rng:define name="headItem">
    <rng:element name="headItem">
      <rng:ref name="headItem.content"/>
      <rng:ref name="headItem.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="headItem.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="headItem.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="headItem">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="headLabel">
    <rng:element name="headLabel">
      <rng:ref name="headLabel.content"/>
      <rng:ref name="headLabel.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="headLabel.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="headLabel.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="headLabel">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="hi">
    <rng:element name="hi">
      <rng:ref name="hi.content"/>
      <rng:ref name="hi.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="hi.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="hi.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="hi">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="hi"/>
  </define>
  <rng:define name="imprint">
    <rng:element name="imprint">
      <rng:ref name="imprint.content"/>
      <rng:ref name="imprint.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="imprint.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="pubPlace"/>
        <rng:ref name="publisher"/>
        <rng:ref name="date"/>
        <rng:ref name="biblScope"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="imprint.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="imprint">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="imprint"/>
  </define>
  <rng:define name="index">
    <rng:element name="index">
      <rng:ref name="index.content"/>
      <rng:ref name="index.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="index.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="index.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="index.attributes.index"/>
    <rng:ref name="index.attributes.level1"/>
    <rng:ref name="index.attributes.level2"/>
    <rng:ref name="index.attributes.level3"/>
    <rng:ref name="index.attributes.level4"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="index">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="index.attributes.index">
    <rng:optional>
      <rng:attribute name="index">
        <rng:ref name="index.attributes.index.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="index.attributes.index.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="index.attributes.level1">
    <rng:attribute name="level1">
      <rng:ref name="index.attributes.level1.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="index.attributes.level1.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="index.attributes.level2">
    <rng:optional>
      <rng:attribute name="level2">
        <rng:ref name="index.attributes.level2.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="index.attributes.level2.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="index.attributes.level3">
    <rng:optional>
      <rng:attribute name="level3">
        <rng:ref name="index.attributes.level3.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="index.attributes.level3.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="index.attributes.level4">
    <rng:optional>
      <rng:attribute name="level4">
        <rng:ref name="index.attributes.level4.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="index.attributes.level4.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="index"/>
  </define>
  <rng:define name="item">
    <rng:element name="item">
      <rng:ref name="item.content"/>
      <rng:ref name="item.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="item.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="item.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="item">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  
  
  <rng:define name="l.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.metrical.attributes"/>
    <rng:ref name="tei.enjamb.attributes"/>
    <rng:ref name="l.attributes.part"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="l">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="l.attributes.part">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <rng:ref name="l.attributes.part.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="l.attributes.part.content">
    <rng:choice>
      <rng:value>Y</rng:value>
      <rng:value>N</rng:value>
      <rng:value>I</rng:value>
      <rng:value>M</rng:value>
      <rng:value>F</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:ref name="l"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metrical" combine="choice">
    <rng:ref name="l"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.enjamb" combine="choice">
    <rng:ref name="l"/>
  </define>
  <rng:define name="label">
    <rng:element name="label">
      <rng:ref name="label.content"/>
      <rng:ref name="label.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="label.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="label.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="label">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.lists" combine="choice">
    <rng:ref name="label"/>
  </define>
  <rng:define name="lb">
    <rng:element name="lb">
      <rng:ref name="lb.content"/>
      <rng:ref name="lb.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lb.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="lb.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="lb.attributes.ed"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lb">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="lb.attributes.ed">
    <rng:optional>
      <rng:attribute name="ed">
        <rng:ref name="lb.attributes.ed.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="lb.attributes.ed.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys" combine="choice">
    <rng:ref name="lb"/>
  </define>
  
  
  <rng:define name="lg.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lg">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:ref name="lg"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="lg"/>
  </define>
  <rng:define name="list">
    <rng:element name="list">
      <rng:ref name="list.content"/>
      <rng:ref name="list.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="list.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="item"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:zeroOrMore>
        <rng:group>
          <rng:optional>
            <rng:ref name="headLabel"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:optional>
          <rng:optional>
            <rng:ref name="headItem"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:optional>
          <rng:oneOrMore>
            <rng:ref name="label"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
            <rng:ref name="item"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
        </rng:group>
      </rng:choice>
    </rng:group>
  </rng:define>
  <rng:define name="list.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="list.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="list">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="list.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="simple">
        <rng:ref name="list.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="list.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.lists" combine="choice">
    <rng:ref name="list"/>
  </define>
  <rng:define name="listBibl">
    <rng:element name="listBibl">
      <rng:ref name="listBibl.content"/>
      <rng:ref name="listBibl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="listBibl.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:group>
        <rng:ref name="tei.bibl"/>
      </rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.bibl"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
    </rng:group>
  </rng:define>
  <rng:define name="listBibl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="listBibl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.lists" combine="choice">
    <rng:ref name="listBibl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="listBibl"/>
  </define>
  <rng:define name="measure">
    <rng:element name="measure">
      <rng:ref name="measure.content"/>
      <rng:ref name="measure.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="measure.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="measure.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="measure.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="measure">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="measure.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="measure.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="measure.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="measure"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="measure"/>
  </define>
  <rng:define name="meeting">
    <rng:element name="meeting">
      <rng:ref name="meeting.content"/>
      <rng:ref name="meeting.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="meeting.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="meeting.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="meeting">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="mentioned">
    <rng:element name="mentioned">
      <rng:ref name="mentioned.content"/>
      <rng:ref name="mentioned.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="mentioned.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="mentioned.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="mentioned">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="mentioned"/>
  </define>
  <rng:define name="milestone">
    <rng:element name="milestone">
      <rng:ref name="milestone.content"/>
      <rng:ref name="milestone.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="milestone.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="milestone.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="milestone.attributes.ed"/>
    <rng:ref name="milestone.attributes.unit"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="milestone">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="milestone.attributes.ed">
    <rng:optional>
      <rng:attribute name="ed">
        <rng:ref name="milestone.attributes.ed.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="milestone.attributes.ed.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="milestone.attributes.unit">
    <rng:attribute name="unit">
      <rng:ref name="milestone.attributes.unit.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="milestone.attributes.unit.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys" combine="choice">
    <rng:ref name="milestone"/>
  </define>
  <rng:define name="monogr">
    <rng:element name="monogr">
      <rng:ref name="monogr.content"/>
      <rng:ref name="monogr.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="monogr.content">
    <rng:group>
      <rng:optional>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
        <rng:choice>
          <rng:group>
            <rng:choice>
              <rng:ref name="author"/>
              <rng:ref name="editor"/>
              <rng:ref name="respStmt"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="author"/>
                <rng:ref name="editor"/>
                <rng:ref name="respStmt"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
            <rng:oneOrMore>
              <rng:ref name="title"/>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:oneOrMore>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="editor"/>
                <rng:ref name="respStmt"/>
              </rng:choice>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:oneOrMore>
              <rng:ref name="title"/>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:oneOrMore>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="author"/>
                <rng:ref name="editor"/>
                <rng:ref name="respStmt"/>
              </rng:choice>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:zeroOrMore>
          </rng:group>
        </rng:choice>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="note"/>
          <rng:ref name="meeting"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
      <rng:zeroOrMore>
        <rng:ref name="edition"/>
        <rng:zeroOrMore>
          <rng:choice>
            <rng:ref name="editor"/>
            <rng:ref name="respStmt"/>
            <rng:ref name="tei.Incl"/>
          </rng:choice>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
      <rng:ref name="imprint"/>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="imprint"/>
          <rng:ref name="extent"/>
          <rng:ref name="biblScope"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="monogr.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="monogr">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="monogr"/>
  </define>
  <rng:define name="name">
    <rng:element name="name">
      <rng:ref name="name.content"/>
      <rng:ref name="name.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="name.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="name.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="name.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="name">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="name.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="name.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="name.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="name"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.agent" combine="choice">
    <rng:ref name="name"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="name"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.addrPart" combine="choice">
    <rng:ref name="name"/>
  </define>
  <rng:define name="note">
    <rng:element name="note">
      <rng:ref name="note.content"/>
      <rng:ref name="note.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="note.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="note.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="note.attributes.type"/>
    <rng:ref name="note.attributes.resp"/>
    <rng:ref name="note.attributes.place"/>
    <rng:ref name="note.attributes.anchored"/>
    <rng:ref name="note.attributes.target"/>
    <rng:ref name="note.attributes.targetEnd"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="note">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="note.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="note.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="note.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="note.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="note.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="note.attributes.resp.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="note.attributes.place">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="place" a:defaultValue="unspecified">
        <rng:ref name="note.attributes.place.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="note.attributes.place.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="note.attributes.anchored">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="anchored" a:defaultValue="true">
        <rng:ref name="note.attributes.anchored.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="note.attributes.anchored.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="boolean"/>
  </rng:define>
  <rng:define name="note.attributes.target">
    <rng:optional>
      <rng:attribute name="target">
        <rng:ref name="note.attributes.target.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="note.attributes.target.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="note.attributes.targetEnd">
    <rng:optional>
      <rng:attribute name="targetEnd">
        <rng:ref name="note.attributes.targetEnd.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="note.attributes.targetEnd.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.notes" combine="choice">
    <rng:ref name="note"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="note"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.dictionaryTopLevel" combine="choice">
    <rng:ref name="note"/>
  </define>
  <rng:define name="num">
    <rng:element name="num">
      <rng:ref name="num.content"/>
      <rng:ref name="num.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="num.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="num.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="num.attributes.type"/>
    <rng:ref name="num.attributes.value"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="num">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="num.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="num.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="num.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="num.attributes.value">
    <rng:optional>
      <rng:attribute name="value">
        <rng:ref name="num.attributes.value.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="num.attributes.value.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="num"/>
  </define>
  <rng:define name="orig">
    <rng:element name="orig">
      <rng:ref name="orig.content"/>
      <rng:ref name="orig.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="orig.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="orig.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="orig">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="orig"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="orig"/>
  </define>
  <rng:define name="p">
    <rng:element name="p">
      <rng:ref name="p.content"/>
      <rng:ref name="p.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="p.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="p.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="p">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.paragraph" combine="choice">
    <rng:ref name="p"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:ref name="p"/>
  </define>
  <rng:define name="pb">
    <rng:element name="pb">
      <rng:ref name="pb.content"/>
      <rng:ref name="pb.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="pb.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="pb.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="pb.attributes.ed"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="pb">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="pb.attributes.ed">
    <rng:optional>
      <rng:attribute name="ed">
        <rng:ref name="pb.attributes.ed.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="pb.attributes.ed.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys" combine="choice">
    <rng:ref name="pb"/>
  </define>
  <rng:define name="postBox">
    <rng:element name="postBox">
      <rng:ref name="postBox.content"/>
      <rng:ref name="postBox.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="postBox.content">
    <rng:text/>
  </rng:define>
  <rng:define name="postBox.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="postBox">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.addrPart" combine="choice">
    <rng:ref name="postBox"/>
  </define>
  <rng:define name="postCode">
    <rng:element name="postCode">
      <rng:ref name="postCode.content"/>
      <rng:ref name="postCode.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="postCode.content">
    <rng:text/>
  </rng:define>
  <rng:define name="postCode.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="postCode">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.addrPart" combine="choice">
    <rng:ref name="postCode"/>
  </define>
  <rng:define name="ptr">
    <rng:element name="ptr">
      <rng:ref name="ptr.content"/>
      <rng:ref name="ptr.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="ptr.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="ptr.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointer.attributes"/>
    <rng:ref name="ptr.attributes.target"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="ptr">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="ptr.attributes.target">
    <rng:attribute name="target">
      <rng:ref name="ptr.attributes.target.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="ptr.attributes.target.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.loc" combine="choice">
    <rng:ref name="ptr"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="ptr"/>
  </define>
  <rng:define name="pubPlace">
    <rng:element name="pubPlace">
      <rng:ref name="pubPlace.content"/>
      <rng:ref name="pubPlace.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="pubPlace.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="pubPlace.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="pubPlace">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="pubPlace"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="pubPlace"/>
  </define>
  <rng:define name="publisher">
    <rng:element name="publisher">
      <rng:ref name="publisher.content"/>
      <rng:ref name="publisher.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="publisher.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="publisher.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="publisher">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="publisher"/>
  </define>
  <rng:define name="q">
    <rng:element name="q">
      <rng:ref name="q.content"/>
      <rng:ref name="q.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="q.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="q.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="q.attributes.type"/>
    <rng:ref name="q.attributes.direct"/>
    <rng:ref name="q.attributes.who"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="q">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="q.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="q.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="q.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="q.attributes.direct">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="direct" a:defaultValue="unknown">
        <rng:ref name="q.attributes.direct.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="q.attributes.direct.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <rng:define name="q.attributes.who">
    <rng:optional>
      <rng:attribute name="who">
        <rng:ref name="q.attributes.who.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="q.attributes.who.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqinter" combine="choice">
    <rng:ref name="q"/>
  </define>
  <rng:define name="quote">
    <rng:element name="quote">
      <rng:ref name="quote.content"/>
      <rng:ref name="quote.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="quote.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="quote.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="quote">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqinter" combine="choice">
    <rng:ref name="quote"/>
  </define>
  <rng:define name="ref">
    <rng:element name="ref">
      <rng:ref name="ref.content"/>
      <rng:ref name="ref.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="ref.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="ref.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointer.attributes"/>
    <rng:ref name="ref.attributes.target"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="ref">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="ref.attributes.target">
    <rng:optional>
      <rng:attribute name="target">
        <rng:ref name="ref.attributes.target.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="ref.attributes.target.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.loc" combine="choice">
    <rng:ref name="ref"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="ref"/>
  </define>
  <rng:define name="reg">
    <rng:element name="reg">
      <rng:ref name="reg.content"/>
      <rng:ref name="reg.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="reg.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="reg.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="reg.attributes.resp"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="reg">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="reg.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="reg.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="reg.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="reg"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="reg"/>
  </define>
  <rng:define name="resp">
    <rng:element name="resp">
      <rng:ref name="resp.content"/>
      <rng:ref name="resp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="resp.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="resp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="resp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="respStmt">
    <rng:element name="respStmt">
      <rng:ref name="respStmt.content"/>
      <rng:ref name="respStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="respStmt.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="resp"/>
        <rng:ref name="name"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="respStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="respStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="respStmt"/>
  </define>
  <rng:define name="rs">
    <rng:element name="rs">
      <rng:ref name="rs.content"/>
      <rng:ref name="rs.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="rs.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="rs.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="rs.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="rs">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="rs.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="rs.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="rs.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="rs"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="rs"/>
  </define>
  <rng:define name="series">
    <rng:element name="series">
      <rng:ref name="series.content"/>
      <rng:ref name="series.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="series.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="title"/>
        <rng:ref name="editor"/>
        <rng:ref name="respStmt"/>
        <rng:ref name="biblScope"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="series.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="series">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="series"/>
  </define>
  <rng:define name="sic">
    <rng:element name="sic">
      <rng:ref name="sic.content"/>
      <rng:ref name="sic.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="sic.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="sic.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="sic">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="sic"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="sic"/>
  </define>
  <rng:define name="soCalled">
    <rng:element name="soCalled">
      <rng:ref name="soCalled.content"/>
      <rng:ref name="soCalled.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="soCalled.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="soCalled.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="soCalled">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="soCalled"/>
  </define>
  <rng:define name="sp">
    <rng:element name="sp">
      <rng:ref name="sp.content"/>
      <rng:ref name="sp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="sp.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="speaker"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="p"/>
          <rng:ref name="l"/>
          <rng:ref name="lg"/>
          <rng:ref name="tei.segment"/>
          <rng:ref name="stage"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="sp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="sp.attributes.who"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="sp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="sp.attributes.who">
    <rng:optional>
      <rng:attribute name="who">
        <rng:ref name="sp.attributes.who.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="sp.attributes.who.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:ref name="sp"/>
  </define>
  <rng:define name="speaker">
    <rng:element name="speaker">
      <rng:ref name="speaker.content"/>
      <rng:ref name="speaker.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="speaker.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="speaker.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="speaker">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="stage">
    <rng:element name="stage">
      <rng:ref name="stage.content"/>
      <rng:ref name="stage.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="stage.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="stage.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="stage.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="stage">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="stage.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="stage.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="stage.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="stage"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="stage"/>
  </define>
  <rng:define name="street">
    <rng:element name="street">
      <rng:ref name="street.content"/>
      <rng:ref name="street.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="street.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="street.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="street">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.addrPart" combine="choice">
    <rng:ref name="street"/>
  </define>
  <rng:define name="teiCorpus">
    <rng:element name="teiCorpus">
      <rng:ref name="teiCorpus.content"/>
      <rng:ref name="teiCorpus.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="teiCorpus.content">
    <rng:group>
      <rng:ref name="teiHeader"/>
      <rng:oneOrMore>
        <rng:ref name="TEI"/>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="teiCorpus.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="teiCorpus">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  
  <rng:define name="term.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  
  <rng:define name="term.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="term.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="term.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="term"/>
  </define>
  <rng:define name="time">
    <rng:element name="time">
      <rng:ref name="time.content"/>
      <rng:ref name="time.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="time.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="time.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="time.attributes.value"/>
    <rng:ref name="time.attributes.type"/>
    <rng:ref name="time.attributes.zone"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="time">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="time.attributes.value">
    <rng:optional>
      <rng:attribute name="value">
        <rng:ref name="time.attributes.value.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="time.attributes.value.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="time"/>
  </rng:define>
  <rng:define name="time.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="time.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="time.attributes.type.content">
    <rng:choice>
      <rng:value>am</rng:value>
      <rng:value>pm</rng:value>
      <rng:value>military</rng:value>
      <rng:value>descriptive</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="time.attributes.zone">
    <rng:optional>
      <rng:attribute name="zone">
        <rng:ref name="time.attributes.zone.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="time.attributes.zone.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="time"/>
  </define>
  <rng:define name="timeRange">
    <rng:element name="timeRange">
      <rng:ref name="timeRange.content"/>
      <rng:ref name="timeRange.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="timeRange.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="timeRange.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="timeRange.attributes.from"/>
    <rng:ref name="timeRange.attributes.to"/>
    <rng:ref name="timeRange.attributes.exact"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="timeRange">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="timeRange.attributes.from">
    <rng:optional>
      <rng:attribute name="from">
        <rng:ref name="timeRange.attributes.from.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="timeRange.attributes.from.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="time"/>
  </rng:define>
  <rng:define name="timeRange.attributes.to">
    <rng:optional>
      <rng:attribute name="to">
        <rng:ref name="timeRange.attributes.to.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="timeRange.attributes.to.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="time"/>
  </rng:define>
  <rng:define name="timeRange.attributes.exact">
    <rng:optional>
      <rng:attribute name="exact">
        <rng:ref name="timeRange.attributes.exact.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="timeRange.attributes.exact.content">
    <rng:choice>
      <rng:value>to</rng:value>
      <rng:value>from</rng:value>
      <rng:value>both</rng:value>
      <rng:value>none</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="timeRange"/>
  </define>
  <rng:define name="title">
    <rng:element name="title">
      <rng:ref name="title.content"/>
      <rng:ref name="title.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="title.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="title.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="title.attributes.level"/>
    <rng:ref name="title.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="title">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="title.attributes.level">
    <rng:optional>
      <rng:attribute name="level">
        <rng:ref name="title.attributes.level.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="title.attributes.level.content">
    <rng:choice>
      <rng:value>a</rng:value>
      <rng:value>m</rng:value>
      <rng:value>j</rng:value>
      <rng:value>s</rng:value>
      <rng:value>u</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="title.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="title.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="title.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:ref name="title"/>
  </define>
  <rng:define name="unclear">
    <rng:element name="unclear">
      <rng:ref name="unclear.content"/>
      <rng:ref name="unclear.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="unclear.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="unclear.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="unclear.attributes.reason"/>
    <rng:ref name="unclear.attributes.resp"/>
    <rng:ref name="unclear.attributes.cert"/>
    <rng:ref name="unclear.attributes.hand"/>
    <rng:ref name="unclear.attributes.agent"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="unclear">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="unclear.attributes.reason">
    <rng:optional>
      <rng:attribute name="reason">
        <rng:ref name="unclear.attributes.reason.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="unclear.attributes.reason.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="unclear.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="unclear.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="unclear.attributes.resp.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="unclear.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="unclear.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="unclear.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="unclear.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="unclear.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="unclear.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="unclear.attributes.agent">
    <rng:optional>
      <rng:attribute name="agent">
        <rng:ref name="unclear.attributes.agent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="unclear.attributes.agent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="unclear"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="unclear"/>
  </define>
<!--3. macros-->
  <rng:define name="gen.drama">
    <rng:notAllowed/>
  </rng:define>
  <rng:define name="gen.spoken">
    <rng:notAllowed/>
  </rng:define>
  <rng:define name="gen.dictionaries">
    <rng:notAllowed/>
  </rng:define>
  <rng:define name="gen.verse">
    <rng:notAllowed/>
  </rng:define>
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/corpus.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
<!--1. classes-->
<!--2. elements-->
  <rng:define name="activity">
    <rng:element name="activity">
      <rng:ref name="activity.content"/>
      <rng:ref name="activity.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="activity.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="activity.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="activity">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="affiliation">
    <rng:element name="affiliation">
      <rng:ref name="affiliation.content"/>
      <rng:ref name="affiliation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="affiliation.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="affiliation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="affiliation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="affiliation"/>
  </define>
  <rng:define name="birth">
    <rng:element name="birth">
      <rng:ref name="birth.content"/>
      <rng:ref name="birth.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="birth.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="birth.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="birth.attributes.date"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="birth">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="birth.attributes.date">
    <rng:optional>
      <rng:attribute name="date">
        <rng:ref name="birth.attributes.date.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="birth.attributes.date.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="birth"/>
  </define>
  <rng:define name="channel">
    <rng:element name="channel">
      <rng:ref name="channel.content"/>
      <rng:ref name="channel.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="channel.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="channel.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="channel.attributes.mode"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="channel">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="channel.attributes.mode">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="x">
        <rng:ref name="channel.attributes.mode.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="channel.attributes.mode.content">
    <rng:choice>
      <rng:value>s</rng:value>
      <rng:value>w</rng:value>
      <rng:value>sw</rng:value>
      <rng:value>ws</rng:value>
      <rng:value>m</rng:value>
      <rng:value>x</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="constitution">
    <rng:element name="constitution">
      <rng:ref name="constitution.content"/>
      <rng:ref name="constitution.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="constitution.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="constitution.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="constitution.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="constitution">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="constitution.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="single">
        <rng:ref name="constitution.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="constitution.attributes.type.content">
    <rng:choice>
      <rng:value>single</rng:value>
      <rng:value>composite</rng:value>
      <rng:value>frags</rng:value>
      <rng:value>unknown</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="derivation">
    <rng:element name="derivation">
      <rng:ref name="derivation.content"/>
      <rng:ref name="derivation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="derivation.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="derivation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="derivation.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="derivation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="derivation.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="derivation.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="derivation.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="domain">
    <rng:element name="domain">
      <rng:ref name="domain.content"/>
      <rng:ref name="domain.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="domain.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="domain.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="domain.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="domain">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="domain.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="domain.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="domain.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="education">
    <rng:element name="education">
      <rng:ref name="education.content"/>
      <rng:ref name="education.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="education.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="education.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="education">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="education"/>
  </define>
  <rng:define name="factuality">
    <rng:element name="factuality">
      <rng:ref name="factuality.content"/>
      <rng:ref name="factuality.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="factuality.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="factuality.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="factuality.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="factuality">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="factuality.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="factuality.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="factuality.attributes.type.content">
    <rng:choice>
      <rng:value>fiction</rng:value>
      <rng:value>fact</rng:value>
      <rng:value>mixed</rng:value>
      <rng:value>inapplicable</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="firstLang">
    <rng:element name="firstLang">
      <rng:ref name="firstLang.content"/>
      <rng:ref name="firstLang.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="firstLang.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="firstLang.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="firstLang">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="firstLang"/>
  </define>
  <rng:define name="interaction">
    <rng:element name="interaction">
      <rng:ref name="interaction.content"/>
      <rng:ref name="interaction.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="interaction.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="interaction.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="interaction.attributes.type"/>
    <rng:ref name="interaction.attributes.active"/>
    <rng:ref name="interaction.attributes.passive"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="interaction">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="interaction.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="interaction.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="interaction.attributes.type.content">
    <rng:choice>
      <rng:value>none</rng:value>
      <rng:value>partial</rng:value>
      <rng:value>complete</rng:value>
      <rng:value>inapplicable</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="interaction.attributes.active">
    <rng:optional>
      <rng:attribute name="active">
        <rng:ref name="interaction.attributes.active.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="interaction.attributes.active.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="interaction.attributes.passive">
    <rng:optional>
      <rng:attribute name="passive">
        <rng:ref name="interaction.attributes.passive.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="interaction.attributes.passive.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="langKnown">
    <rng:element name="langKnown">
      <rng:ref name="langKnown.content"/>
      <rng:ref name="langKnown.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="langKnown.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="langKnown.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="langKnown">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="langKnown"/>
  </define>
  <rng:define name="locale">
    <rng:element name="locale">
      <rng:ref name="locale.content"/>
      <rng:ref name="locale.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="locale.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="locale.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="locale">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="occupation">
    <rng:element name="occupation">
      <rng:ref name="occupation.content"/>
      <rng:ref name="occupation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="occupation.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="occupation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="occupation.attributes.scheme"/>
    <rng:ref name="occupation.attributes.code"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="occupation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="occupation.attributes.scheme">
    <rng:optional>
      <rng:attribute name="scheme">
        <rng:ref name="occupation.attributes.scheme.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="occupation.attributes.scheme.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="occupation.attributes.code">
    <rng:optional>
      <rng:attribute name="code">
        <rng:ref name="occupation.attributes.code.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="occupation.attributes.code.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="occupation"/>
  </define>
  <rng:define name="particDesc">
    <rng:element name="particDesc">
      <rng:ref name="particDesc.content"/>
      <rng:ref name="particDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="particDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="person"/>
            <rng:ref name="personGrp"/>
          </rng:choice>
        </rng:oneOrMore>
        <rng:optional>
          <rng:ref name="particLinks"/>
        </rng:optional>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="particDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="particDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:ref name="particDesc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="particDesc"/>
  </define>
  <rng:define name="particLinks">
    <rng:element name="particLinks">
      <rng:ref name="particLinks.content"/>
      <rng:ref name="particLinks.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="particLinks.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="relation"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="particLinks.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="particLinks">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="person">
    <rng:element name="person">
      <rng:ref name="person.content"/>
      <rng:ref name="person.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="person.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:ref name="tei.demographic"/>
      </rng:zeroOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="person.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="person.attributes.role"/>
    <rng:ref name="person.attributes.sex"/>
    <rng:ref name="person.attributes.age"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="person">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="person.attributes.role">
    <rng:optional>
      <rng:attribute name="role">
        <rng:ref name="person.attributes.role.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="person.attributes.role.content">
    <rng:text/>
  </rng:define>
  <rng:define name="person.attributes.sex">
    <rng:optional>
      <rng:attribute name="sex">
        <rng:ref name="person.attributes.sex.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="person.attributes.sex.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Sex"/>
  </rng:define>
  <rng:define name="person.attributes.age">
    <rng:optional>
      <rng:attribute name="age">
        <rng:ref name="person.attributes.age.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="person.attributes.age.content">
    <rng:text/>
  </rng:define>
  <rng:define name="personGrp">
    <rng:element name="personGrp">
      <rng:ref name="personGrp.content"/>
      <rng:ref name="personGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="personGrp.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:ref name="tei.demographic"/>
      </rng:zeroOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="personGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="personGrp.attributes.role"/>
    <rng:ref name="personGrp.attributes.sex"/>
    <rng:ref name="personGrp.attributes.age"/>
    <rng:ref name="personGrp.attributes.size"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="personGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="personGrp.attributes.role">
    <rng:optional>
      <rng:attribute name="role">
        <rng:ref name="personGrp.attributes.role.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="personGrp.attributes.role.content">
    <rng:text/>
  </rng:define>
  <rng:define name="personGrp.attributes.sex">
    <rng:optional>
      <rng:attribute name="sex">
        <rng:ref name="personGrp.attributes.sex.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="personGrp.attributes.sex.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Sex"/>
  </rng:define>
  <rng:define name="personGrp.attributes.age">
    <rng:optional>
      <rng:attribute name="age">
        <rng:ref name="personGrp.attributes.age.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="personGrp.attributes.age.content">
    <rng:text/>
  </rng:define>
  <rng:define name="personGrp.attributes.size">
    <rng:optional>
      <rng:attribute name="size">
        <rng:ref name="personGrp.attributes.size.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="personGrp.attributes.size.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="preparedness">
    <rng:element name="preparedness">
      <rng:ref name="preparedness.content"/>
      <rng:ref name="preparedness.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="preparedness.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="preparedness.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="preparedness.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="preparedness">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="preparedness.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="preparedness.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="preparedness.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="purpose">
    <rng:element name="purpose">
      <rng:ref name="purpose.content"/>
      <rng:ref name="purpose.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="purpose.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="purpose.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="purpose.attributes.type"/>
    <rng:ref name="purpose.attributes.degree"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="purpose">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="purpose.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="purpose.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="purpose.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="purpose.attributes.degree">
    <rng:optional>
      <rng:attribute name="degree">
        <rng:ref name="purpose.attributes.degree.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="purpose.attributes.degree.content">
    <rng:choice>
      <rng:value>high</rng:value>
      <rng:value>medium</rng:value>
      <rng:value>low</rng:value>
      <rng:value>unknown</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="relation">
    <rng:element name="relation">
      <rng:ref name="relation.content"/>
      <rng:ref name="relation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="relation.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="relation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="relation.attributes.type"/>
    <rng:ref name="relation.attributes.desc"/>
    <rng:ref name="relation.attributes.active"/>
    <rng:ref name="relation.attributes.passive"/>
    <rng:ref name="relation.attributes.mutual"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="relation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="relation.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="personal">
        <rng:ref name="relation.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="relation.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="relation.attributes.desc">
    <rng:attribute name="desc">
      <rng:ref name="relation.attributes.desc.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="relation.attributes.desc.content">
    <rng:text/>
  </rng:define>
  <rng:define name="relation.attributes.active">
    <rng:attribute name="active">
      <rng:ref name="relation.attributes.active.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="relation.attributes.active.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="relation.attributes.passive">
    <rng:attribute name="passive">
      <rng:ref name="relation.attributes.passive.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="relation.attributes.passive.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="relation.attributes.mutual">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mutual" a:defaultValue="true">
        <rng:ref name="relation.attributes.mutual.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="relation.attributes.mutual.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="boolean"/>
  </rng:define>
  <rng:define name="residence">
    <rng:element name="residence">
      <rng:ref name="residence.content"/>
      <rng:ref name="residence.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="residence.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="residence.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="residence">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="residence"/>
  </define>
  <rng:define name="setting">
    <rng:element name="setting">
      <rng:ref name="setting.content"/>
      <rng:ref name="setting.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="setting.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="name"/>
          <rng:ref name="time"/>
          <rng:ref name="date"/>
          <rng:ref name="locale"/>
          <rng:ref name="activity"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="setting.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="setting.attributes.who"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="setting">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="setting.attributes.who">
    <rng:optional>
      <rng:attribute name="who">
        <rng:ref name="setting.attributes.who.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="setting.attributes.who.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="settingDesc">
    <rng:element name="settingDesc">
      <rng:ref name="settingDesc.content"/>
      <rng:ref name="settingDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="settingDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="setting"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="settingDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="settingDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:ref name="settingDesc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="settingDesc"/>
  </define>
  <rng:define name="socecStatus">
    <rng:element name="socecStatus">
      <rng:ref name="socecStatus.content"/>
      <rng:ref name="socecStatus.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="socecStatus.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="socecStatus.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="socecStatus.attributes.scheme"/>
    <rng:ref name="socecStatus.attributes.code"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="socecStatus">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="socecStatus.attributes.scheme">
    <rng:optional>
      <rng:attribute name="scheme">
        <rng:ref name="socecStatus.attributes.scheme.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="socecStatus.attributes.scheme.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="socecStatus.attributes.code">
    <rng:optional>
      <rng:attribute name="code">
        <rng:ref name="socecStatus.attributes.code.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="socecStatus.attributes.code.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="socecStatus"/>
  </define>
  <rng:define name="textDesc">
    <rng:element name="textDesc">
      <rng:ref name="textDesc.content"/>
      <rng:ref name="textDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="textDesc.content">
    <rng:group>
      <rng:ref name="channel"/>
      <rng:ref name="constitution"/>
      <rng:ref name="derivation"/>
      <rng:ref name="domain"/>
      <rng:ref name="factuality"/>
      <rng:ref name="interaction"/>
      <rng:ref name="preparedness"/>
      <rng:oneOrMore>
        <rng:ref name="purpose"/>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="textDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="textDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.categorize" combine="choice">
    <rng:ref name="textDesc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="textDesc"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/figures.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <rng:define name="formulaNotations">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.Formula">
    <rng:text/>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="cell">
    <rng:element name="cell">
      <rng:ref name="cell.content"/>
      <rng:ref name="cell.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="cell.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="cell.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="cell.attributes.role"/>
    <rng:ref name="cell.attributes.rows"/>
    <rng:ref name="cell.attributes.cols"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="cell">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="cell.attributes.role">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="role" a:defaultValue="data">
        <rng:ref name="cell.attributes.role.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="cell.attributes.role.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="cell.attributes.rows">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="rows" a:defaultValue="1">
        <rng:ref name="cell.attributes.rows.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="cell.attributes.rows.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="cell.attributes.cols">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="cols" a:defaultValue="1">
        <rng:ref name="cell.attributes.cols.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="cell.attributes.cols.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="figDesc">
    <rng:element name="figDesc">
      <rng:ref name="figDesc.content"/>
      <rng:ref name="figDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="figDesc.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="figDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="figDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="figure">
    <rng:element name="figure">
      <rng:ref name="figure.content"/>
      <rng:ref name="figure.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="figure.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:ref name="p"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="figDesc"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:optional>
        <rng:ref name="text"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
    </rng:group>
  </rng:define>
  <rng:define name="figure.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:choice>
        <rng:ref name="figure.attributes.entity"/>
        <rng:ref name="figure.attributes.url"/>
      </rng:choice>
    </rng:optional>
    <rng:ref name="figure.attributes.width"/>
    <rng:ref name="figure.attributes.height"/>
    <rng:ref name="figure.attributes.scale"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="figure">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="figure.attributes.entity">
    <rng:attribute name="entity">
      <rng:ref name="figure.attributes.entity.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="figure.attributes.entity.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="ENTITY"/>
  </rng:define>
  <rng:define name="figure.attributes.url">
    <rng:attribute name="url">
      <rng:ref name="figure.attributes.url.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="figure.attributes.url.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="anyURI"/>
  </rng:define>
  <rng:define name="figure.attributes.width">
    <rng:optional>
      <rng:attribute name="width">
        <rng:ref name="figure.attributes.width.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="figure.attributes.width.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="figure.attributes.height">
    <rng:optional>
      <rng:attribute name="height">
        <rng:ref name="figure.attributes.height.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="figure.attributes.height.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="figure.attributes.scale">
    <rng:optional>
      <rng:attribute name="scale">
        <rng:ref name="figure.attributes.scale.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="figure.attributes.scale.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="figure"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="figure"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="figure"/>
  </define>
  <rng:define name="formula">
    <rng:element name="formula">
      <rng:ref name="formula.content"/>
      <rng:ref name="formula.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="formula.content">
    <rng:ref name="datatype.Formula"/>
  </rng:define>
  <rng:define name="formula.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="formula.attributes.notation"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="formula">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="formula.attributes.notation">
    <rng:optional>
      <rng:attribute name="notation">
        <rng:ref name="formula.attributes.notation.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="formula.attributes.notation.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="formulaNotations"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="formula"/>
  </define>
  <rng:define name="row">
    <rng:element name="row">
      <rng:ref name="row.content"/>
      <rng:ref name="row.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="row.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="cell"/>
        <rng:ref name="table"/>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="row.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="row.attributes.role"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="row">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="row.attributes.role">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="role" a:defaultValue="data">
        <rng:ref name="row.attributes.role.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="row.attributes.role.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="table">
    <rng:element name="table">
      <rng:ref name="table.content"/>
      <rng:ref name="table.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="table.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="head"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:oneOrMore>
        <rng:ref name="row"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="table.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="table.attributes.rows"/>
    <rng:ref name="table.attributes.cols"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="table">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="table.attributes.rows">
    <rng:optional>
      <rng:attribute name="rows">
        <rng:ref name="table.attributes.rows.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="table.attributes.rows.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="table.attributes.cols">
    <rng:optional>
      <rng:attribute name="cols">
        <rng:ref name="table.attributes.cols.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="table.attributes.cols.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="table"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="table"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/header.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
<!--1. classes-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.header" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.header.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.sourcedesc" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.sourcedesc.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.categorize" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.categorize.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile.attributes" combine="choice">
    <rng:empty/>
  </define>
<!--2. elements-->
  <rng:define name="authority">
    <rng:element name="authority">
      <rng:ref name="authority.content"/>
      <rng:ref name="authority.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="authority.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="authority.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="authority">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="availability">
    <rng:element name="availability">
      <rng:ref name="availability.content"/>
      <rng:ref name="availability.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="availability.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="availability.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="availability.attributes.status"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="availability">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="availability.attributes.status">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unknown">
        <rng:ref name="availability.attributes.status.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="availability.attributes.status.content">
    <rng:choice>
      <rng:value>free</rng:value>
      <rng:value>unknown</rng:value>
      <rng:value>restricted</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="broadcast">
    <rng:element name="broadcast">
      <rng:ref name="broadcast.content"/>
      <rng:ref name="broadcast.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="broadcast.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:ref name="bibl"/>
      <rng:ref name="biblStruct"/>
      <rng:ref name="biblFull"/>
      <rng:ref name="recording"/>
    </rng:choice>
  </rng:define>
  <rng:define name="broadcast.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="broadcast">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="broadcast"/>
  </define>
  <rng:define name="catDesc">
    <rng:element name="catDesc">
      <rng:ref name="catDesc.content"/>
      <rng:ref name="catDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="catDesc.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.categorize"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="catDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="catDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="catRef">
    <rng:element name="catRef">
      <rng:ref name="catRef.content"/>
      <rng:ref name="catRef.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="catRef.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="catRef.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="catRef.attributes.target"/>
    <rng:ref name="catRef.attributes.scheme"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="catRef">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="catRef.attributes.target">
    <rng:attribute name="target">
      <rng:ref name="catRef.attributes.target.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="catRef.attributes.target.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="catRef.attributes.scheme">
    <rng:optional>
      <rng:attribute name="scheme">
        <rng:ref name="catRef.attributes.scheme.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="catRef.attributes.scheme.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="category">
    <rng:element name="category">
      <rng:ref name="category.content"/>
      <rng:ref name="category.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="category.content">
    <rng:group>
      <rng:ref name="catDesc"/>
      <rng:zeroOrMore>
        <rng:ref name="category"/>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="category.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="category">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="change">
    <rng:element name="change">
      <rng:ref name="change.content"/>
      <rng:ref name="change.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="change.content">
    <rng:group>
      <rng:ref name="date"/>
      <rng:oneOrMore>
        <rng:ref name="respStmt"/>
      </rng:oneOrMore>
      <rng:ref name="item"/>
    </rng:group>
  </rng:define>
  <rng:define name="change.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="change">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="classCode">
    <rng:element name="classCode">
      <rng:ref name="classCode.content"/>
      <rng:ref name="classCode.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="classCode.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="classCode.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="classCode.attributes.scheme"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="classCode">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="classCode.attributes.scheme">
    <rng:attribute name="scheme">
      <rng:ref name="classCode.attributes.scheme.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="classCode.attributes.scheme.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="classDecl">
    <rng:element name="classDecl">
      <rng:ref name="classDecl.content"/>
      <rng:ref name="classDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="classDecl.content">
    <rng:oneOrMore>
      <rng:ref name="taxonomy"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="classDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="classDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="classDecl"/>
  </define>
  <rng:define name="correction">
    <rng:element name="correction">
      <rng:ref name="correction.content"/>
      <rng:ref name="correction.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="correction.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="correction.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:ref name="correction.attributes.status"/>
    <rng:ref name="correction.attributes.method"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="correction">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="correction.attributes.status">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unknown">
        <rng:ref name="correction.attributes.status.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="correction.attributes.status.content">
    <rng:choice>
      <rng:value>high</rng:value>
      <rng:value>medium</rng:value>
      <rng:value>low</rng:value>
      <rng:value>unknown</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="correction.attributes.method">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method" a:defaultValue="silent">
        <rng:ref name="correction.attributes.method.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="correction.attributes.method.content">
    <rng:choice>
      <rng:value>silent</rng:value>
      <rng:value>tags</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="correction"/>
  </define>
  <rng:define name="creation">
    <rng:element name="creation">
      <rng:ref name="creation.content"/>
      <rng:ref name="creation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="creation.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="creation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="creation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="distributor">
    <rng:element name="distributor">
      <rng:ref name="distributor.content"/>
      <rng:ref name="distributor.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="distributor.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="distributor.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="distributor">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="distributor"/>
  </define>
  <rng:define name="edition">
    <rng:element name="edition">
      <rng:ref name="edition.content"/>
      <rng:ref name="edition.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="edition.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="edition.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="edition">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="edition"/>
  </define>
  <rng:define name="editionStmt">
    <rng:element name="editionStmt">
      <rng:ref name="editionStmt.content"/>
      <rng:ref name="editionStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="editionStmt.content">
    <rng:choice>
      <rng:group>
        <rng:ref name="edition"/>
        <rng:zeroOrMore>
          <rng:ref name="respStmt"/>
        </rng:zeroOrMore>
      </rng:group>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="editionStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="editionStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="editorialDecl">
    <rng:element name="editorialDecl">
      <rng:ref name="editorialDecl.content"/>
      <rng:ref name="editorialDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="editorialDecl.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="correction"/>
            <rng:ref name="normalization"/>
            <rng:ref name="quotation"/>
            <rng:ref name="hyphenation"/>
            <rng:ref name="interpretation"/>
            <rng:ref name="segmentation"/>
            <rng:ref name="stdVals"/>
          </rng:choice>
        </rng:oneOrMore>
        <rng:zeroOrMore>
          <rng:ref name="p"/>
        </rng:zeroOrMore>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="editorialDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="editorialDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="editorialDecl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="editorialDecl"/>
  </define>
  <rng:define name="encodingDesc">
    <rng:element name="encodingDesc">
      <rng:ref name="encodingDesc.content"/>
      <rng:ref name="encodingDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="encodingDesc.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.encoding"/>
      </rng:zeroOrMore>
      <rng:zeroOrMore>
        <rng:ref name="p"/>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="encodingDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="encodingDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.header" combine="choice">
    <rng:ref name="encodingDesc"/>
  </define>
  <rng:define name="equipment">
    <rng:element name="equipment">
      <rng:ref name="equipment.content"/>
      <rng:ref name="equipment.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="equipment.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="equipment.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="equipment">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="equipment"/>
  </define>
  <rng:define name="extent">
    <rng:element name="extent">
      <rng:ref name="extent.content"/>
      <rng:ref name="extent.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="extent.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="extent.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="extent">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="extent"/>
  </define>
  <rng:define name="fileDesc">
    <rng:element name="fileDesc">
      <rng:ref name="fileDesc.content"/>
      <rng:ref name="fileDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="fileDesc.content">
    <rng:group>
      <rng:ref name="titleStmt"/>
      <rng:optional>
        <rng:ref name="editionStmt"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="extent"/>
      </rng:optional>
      <rng:ref name="publicationStmt"/>
      <rng:optional>
        <rng:ref name="seriesStmt"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="notesStmt"/>
      </rng:optional>
      <rng:oneOrMore>
        <rng:ref name="sourceDesc"/>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="fileDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="fileDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="fsdDecl">
    <rng:element name="fsdDecl">
      <rng:ref name="fsdDecl.content"/>
      <rng:ref name="fsdDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="fsdDecl.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="fsdDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="fsdDecl.attributes.type"/>
    <rng:ref name="fsdDecl.attributes.fsd"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="fsdDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="fsdDecl.attributes.type">
    <rng:attribute name="type">
      <rng:ref name="fsdDecl.attributes.type.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="fsdDecl.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="fsdDecl.attributes.fsd">
    <rng:attribute name="fsd">
      <rng:ref name="fsdDecl.attributes.fsd.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="fsdDecl.attributes.fsd.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="ENTITY"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="fsdDecl"/>
  </define>
  <rng:define name="funder">
    <rng:element name="funder">
      <rng:ref name="funder.content"/>
      <rng:ref name="funder.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="funder.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="funder.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="funder">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="hyphenation">
    <rng:element name="hyphenation">
      <rng:ref name="hyphenation.content"/>
      <rng:ref name="hyphenation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="hyphenation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="hyphenation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:ref name="hyphenation.attributes.eol"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="hyphenation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="hyphenation.attributes.eol">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="eol" a:defaultValue="some">
        <rng:ref name="hyphenation.attributes.eol.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hyphenation.attributes.eol.content">
    <rng:choice>
      <rng:value>all</rng:value>
      <rng:value>some</rng:value>
      <rng:value>hard</rng:value>
      <rng:value>none</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="hyphenation"/>
  </define>
  <rng:define name="idno">
    <rng:element name="idno">
      <rng:ref name="idno.content"/>
      <rng:ref name="idno.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="idno.content">
    <rng:text/>
  </rng:define>
  <rng:define name="idno.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="idno.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="idno">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="idno.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="idno.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="idno.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="idno"/>
  </define>
  <rng:define name="interpretation">
    <rng:element name="interpretation">
      <rng:ref name="interpretation.content"/>
      <rng:ref name="interpretation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="interpretation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="interpretation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="interpretation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="interpretation"/>
  </define>
  <rng:define name="keywords">
    <rng:element name="keywords">
      <rng:ref name="keywords.content"/>
      <rng:ref name="keywords.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="keywords.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="term"/>
      </rng:oneOrMore>
      <rng:ref name="list"/>
    </rng:choice>
  </rng:define>
  <rng:define name="keywords.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="keywords.attributes.scheme"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="keywords">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="keywords.attributes.scheme">
    <rng:attribute name="scheme">
      <rng:ref name="keywords.attributes.scheme.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="keywords.attributes.scheme.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="langUsage">
    <rng:element name="langUsage">
      <rng:ref name="langUsage.content"/>
      <rng:ref name="langUsage.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="langUsage.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="p"/>
        <rng:ref name="language"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="langUsage.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="langUsage">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:ref name="langUsage"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="langUsage"/>
  </define>
  <rng:define name="language">
    <rng:element name="language">
      <rng:ref name="language.content"/>
      <rng:ref name="language.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="language.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="language.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="language.attributes.wsd"/>
    <rng:ref name="language.attributes.usage"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="language">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="language.attributes.wsd">
    <rng:optional>
      <rng:attribute name="wsd">
        <rng:ref name="language.attributes.wsd.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="language.attributes.wsd.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="ENTITY"/>
  </rng:define>
  <rng:define name="language.attributes.usage">
    <rng:optional>
      <rng:attribute name="usage">
        <rng:ref name="language.attributes.usage.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="language.attributes.usage.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="metDecl">
    <rng:element name="metDecl">
      <rng:ref name="metDecl.content"/>
      <rng:ref name="metDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="metDecl.content">
    <rng:choice>
      <rng:ref name="macro.componentSeq"/>
      <rng:oneOrMore>
        <rng:ref name="metSym"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="metDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:ref name="metDecl.attributes.type"/>
    <rng:ref name="metDecl.attributes.pattern"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="metDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="metDecl.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="met real">
        <rng:ref name="metDecl.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="metDecl.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="metDecl.attributes.pattern">
    <rng:optional>
      <rng:attribute name="pattern">
        <rng:ref name="metDecl.attributes.pattern.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="metDecl.attributes.pattern.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="metDecl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="metDecl"/>
  </define>
  <rng:define name="metSym">
    <rng:element name="metSym">
      <rng:ref name="metSym.content"/>
      <rng:ref name="metSym.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="metSym.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="metSym.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="metSym.attributes.value"/>
    <rng:ref name="metSym.attributes.terminal"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="metSym">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="metSym.attributes.value">
    <rng:attribute name="value">
      <rng:ref name="metSym.attributes.value.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="metSym.attributes.value.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="metSym.attributes.terminal">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="terminal" a:defaultValue="true">
        <rng:ref name="metSym.attributes.terminal.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="metSym.attributes.terminal.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="boolean"/>
  </rng:define>
  <rng:define name="normalization">
    <rng:element name="normalization">
      <rng:ref name="normalization.content"/>
      <rng:ref name="normalization.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="normalization.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="normalization.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:ref name="normalization.attributes.source"/>
    <rng:ref name="normalization.attributes.method"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="normalization">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="normalization.attributes.source">
    <rng:optional>
      <rng:attribute name="source">
        <rng:ref name="normalization.attributes.source.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="normalization.attributes.source.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="normalization.attributes.method">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method" a:defaultValue="silent">
        <rng:ref name="normalization.attributes.method.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="normalization.attributes.method.content">
    <rng:choice>
      <rng:value>silent</rng:value>
      <rng:value>tags</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="normalization"/>
  </define>
  <rng:define name="notesStmt">
    <rng:element name="notesStmt">
      <rng:ref name="notesStmt.content"/>
      <rng:ref name="notesStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="notesStmt.content">
    <rng:oneOrMore>
      <rng:ref name="note"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="notesStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="notesStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="principal">
    <rng:element name="principal">
      <rng:ref name="principal.content"/>
      <rng:ref name="principal.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="principal.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="principal.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="principal">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="profileDesc">
    <rng:element name="profileDesc">
      <rng:ref name="profileDesc.content"/>
      <rng:ref name="profileDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="profileDesc.content">
    <rng:group>
      <rng:optional>
        <rng:ref name="creation"/>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:ref name="tei.profile"/>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="profileDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="profileDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.header" combine="choice">
    <rng:ref name="profileDesc"/>
  </define>
  <rng:define name="projectDesc">
    <rng:element name="projectDesc">
      <rng:ref name="projectDesc.content"/>
      <rng:ref name="projectDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="projectDesc.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="projectDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="projectDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="projectDesc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="projectDesc"/>
  </define>
  <rng:define name="publicationStmt">
    <rng:element name="publicationStmt">
      <rng:ref name="publicationStmt.content"/>
      <rng:ref name="publicationStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="publicationStmt.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="publisher"/>
          <rng:ref name="distributor"/>
          <rng:ref name="authority"/>
          <rng:ref name="pubPlace"/>
          <rng:ref name="address"/>
          <rng:ref name="idno"/>
          <rng:ref name="availability"/>
          <rng:ref name="date"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="publicationStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="publicationStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="quotation">
    <rng:element name="quotation">
      <rng:ref name="quotation.content"/>
      <rng:ref name="quotation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="quotation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="quotation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:ref name="quotation.attributes.marks"/>
    <rng:ref name="quotation.attributes.form"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="quotation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="quotation.attributes.marks">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="marks" a:defaultValue="all">
        <rng:ref name="quotation.attributes.marks.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="quotation.attributes.marks.content">
    <rng:choice>
      <rng:value>none</rng:value>
      <rng:value>some</rng:value>
      <rng:value>all</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="quotation.attributes.form">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="form" a:defaultValue="unknown">
        <rng:ref name="quotation.attributes.form.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="quotation.attributes.form.content">
    <rng:choice>
      <rng:value>data</rng:value>
      <rng:value>rend</rng:value>
      <rng:value>std</rng:value>
      <rng:value>nonstd</rng:value>
      <rng:value>unknown</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="quotation"/>
  </define>
  <rng:define name="recording">
    <rng:element name="recording">
      <rng:ref name="recording.content"/>
      <rng:ref name="recording.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="recording.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="respStmt"/>
          <rng:ref name="equipment"/>
          <rng:ref name="broadcast"/>
          <rng:ref name="date"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="recording.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:ref name="recording.attributes.type"/>
    <rng:ref name="recording.attributes.dur"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="recording">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="recording.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="audio">
        <rng:ref name="recording.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="recording.attributes.type.content">
    <rng:choice>
      <rng:value>audio</rng:value>
      <rng:value>video</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="recording.attributes.dur">
    <rng:optional>
      <rng:attribute name="dur">
        <rng:ref name="recording.attributes.dur.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="recording.attributes.dur.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="duration"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="recording"/>
  </define>
  <rng:define name="recordingStmt">
    <rng:element name="recordingStmt">
      <rng:ref name="recordingStmt.content"/>
      <rng:ref name="recordingStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="recordingStmt.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="recording"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="recordingStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="recordingStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.sourcedesc" combine="choice">
    <rng:ref name="recordingStmt"/>
  </define>
  <rng:define name="refsDecl">
    <rng:element name="refsDecl">
      <rng:ref name="refsDecl.content"/>
      <rng:ref name="refsDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="refsDecl.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="step"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="state"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="refsDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="refsDecl.attributes.doctype"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="refsDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="refsDecl.attributes.doctype">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="doctype" a:defaultValue="TEI">
        <rng:ref name="refsDecl.attributes.doctype.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="refsDecl.attributes.doctype.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="refsDecl"/>
  </define>
  <rng:define name="rendition">
    <rng:element name="rendition">
      <rng:ref name="rendition.content"/>
      <rng:ref name="rendition.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="rendition.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="rendition.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="rendition">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="revisionDesc">
    <rng:element name="revisionDesc">
      <rng:ref name="revisionDesc.content"/>
      <rng:ref name="revisionDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="revisionDesc.content">
    <rng:choice>
      <rng:ref name="list"/>
      <rng:oneOrMore>
        <rng:ref name="change"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="revisionDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="revisionDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="samplingDecl">
    <rng:element name="samplingDecl">
      <rng:ref name="samplingDecl.content"/>
      <rng:ref name="samplingDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="samplingDecl.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="samplingDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="samplingDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="samplingDecl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="samplingDecl"/>
  </define>
  <rng:define name="scriptStmt">
    <rng:element name="scriptStmt">
      <rng:ref name="scriptStmt.content"/>
      <rng:ref name="scriptStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="scriptStmt.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:ref name="bibl"/>
      <rng:ref name="biblFull"/>
      <rng:ref name="biblStruct"/>
    </rng:choice>
  </rng:define>
  <rng:define name="scriptStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="scriptStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.sourcedesc" combine="choice">
    <rng:ref name="scriptStmt"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="scriptStmt"/>
  </define>
  <rng:define name="segmentation">
    <rng:element name="segmentation">
      <rng:ref name="segmentation.content"/>
      <rng:ref name="segmentation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="segmentation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="segmentation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="segmentation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="segmentation"/>
  </define>
  <rng:define name="seriesStmt">
    <rng:element name="seriesStmt">
      <rng:ref name="seriesStmt.content"/>
      <rng:ref name="seriesStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="seriesStmt.content">
    <rng:choice>
      <rng:group>
        <rng:oneOrMore>
          <rng:ref name="title"/>
        </rng:oneOrMore>
        <rng:zeroOrMore>
          <rng:choice>
            <rng:ref name="idno"/>
            <rng:ref name="respStmt"/>
          </rng:choice>
        </rng:zeroOrMore>
      </rng:group>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="seriesStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="seriesStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="sourceDesc">
    <rng:element name="sourceDesc">
      <rng:ref name="sourceDesc.content"/>
      <rng:ref name="sourceDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="sourceDesc.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="p"/>
        <rng:ref name="bibl"/>
        <rng:ref name="biblFull"/>
        <rng:ref name="biblStruct"/>
        <rng:ref name="listBibl"/>
        <rng:ref name="tei.sourcedesc"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="sourceDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="sourceDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="sourceDesc"/>
  </define>
  <rng:define name="sponsor">
    <rng:element name="sponsor">
      <rng:ref name="sponsor.content"/>
      <rng:ref name="sponsor.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="sponsor.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="sponsor.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="sponsor">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="state">
    <rng:element name="state">
      <rng:ref name="state.content"/>
      <rng:ref name="state.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="state.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="state.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="state.attributes.ed"/>
    <rng:ref name="state.attributes.unit"/>
    <rng:ref name="state.attributes.length"/>
    <rng:ref name="state.attributes.delim"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="state">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="state.attributes.ed">
    <rng:optional>
      <rng:attribute name="ed">
        <rng:ref name="state.attributes.ed.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="state.attributes.ed.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="state.attributes.unit">
    <rng:attribute name="unit">
      <rng:ref name="state.attributes.unit.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="state.attributes.unit.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="state.attributes.length">
    <rng:optional>
      <rng:attribute name="length">
        <rng:ref name="state.attributes.length.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="state.attributes.length.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="state.attributes.delim">
    <rng:optional>
      <rng:attribute name="delim">
        <rng:ref name="state.attributes.delim.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="state.attributes.delim.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="stdVals">
    <rng:element name="stdVals">
      <rng:ref name="stdVals.content"/>
      <rng:ref name="stdVals.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="stdVals.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="stdVals.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="stdVals">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="stdVals"/>
  </define>
  <rng:define name="step">
    <rng:element name="step">
      <rng:ref name="step.content"/>
      <rng:ref name="step.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="step.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="step.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="step.attributes.refunit"/>
    <rng:ref name="step.attributes.length"/>
    <rng:ref name="step.attributes.delim"/>
    <rng:ref name="step.attributes.from"/>
    <rng:ref name="step.attributes.to"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="step">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="step.attributes.refunit">
    <rng:optional>
      <rng:attribute name="refunit">
        <rng:ref name="step.attributes.refunit.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="step.attributes.refunit.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="step.attributes.length">
    <rng:optional>
      <rng:attribute name="length">
        <rng:ref name="step.attributes.length.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="step.attributes.length.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="step.attributes.delim">
    <rng:optional>
      <rng:attribute name="delim">
        <rng:ref name="step.attributes.delim.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="step.attributes.delim.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="step.attributes.from">
    <rng:attribute name="from">
      <rng:ref name="step.attributes.from.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="step.attributes.from.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Extptr"/>
  </rng:define>
  <rng:define name="step.attributes.to">
    <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="to" a:defaultValue="DITTO">
      <rng:ref name="step.attributes.to.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="step.attributes.to.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Extptr"/>
  </rng:define>
  <rng:define name="tagUsage">
    <rng:element name="tagUsage">
      <rng:ref name="tagUsage.content"/>
      <rng:ref name="tagUsage.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="tagUsage.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="tagUsage.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tagUsage.attributes.gi"/>
    <rng:ref name="tagUsage.attributes.occurs"/>
    <rng:ref name="tagUsage.attributes.withId"/>
    <rng:ref name="tagUsage.attributes.render"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="tagUsage">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="tagUsage.attributes.gi">
    <rng:attribute name="gi">
      <rng:ref name="tagUsage.attributes.gi.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="tagUsage.attributes.gi.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tagUsage.attributes.occurs">
    <rng:optional>
      <rng:attribute name="occurs">
        <rng:ref name="tagUsage.attributes.occurs.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tagUsage.attributes.occurs.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="tagUsage.attributes.withId">
    <rng:optional>
      <rng:attribute name="withId">
        <rng:ref name="tagUsage.attributes.withId.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tagUsage.attributes.withId.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="tagUsage.attributes.render">
    <rng:optional>
      <rng:attribute name="render">
        <rng:ref name="tagUsage.attributes.render.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tagUsage.attributes.render.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tagsDecl">
    <rng:element name="tagsDecl">
      <rng:ref name="tagsDecl.content"/>
      <rng:ref name="tagsDecl.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="tagsDecl.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="rendition"/>
      </rng:zeroOrMore>
      <rng:zeroOrMore>
        <rng:ref name="tagUsage"/>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="tagsDecl.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="tagsDecl">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="tagsDecl"/>
  </define>
  <rng:define name="taxonomy">
    <rng:element name="taxonomy">
      <rng:ref name="taxonomy.content"/>
      <rng:ref name="taxonomy.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="taxonomy.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="category"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:choice>
          <rng:ref name="bibl"/>
          <rng:ref name="biblStruct"/>
          <rng:ref name="biblFull"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="category"/>
        </rng:zeroOrMore>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="taxonomy.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="taxonomy">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="teiHeader">
    <rng:element name="teiHeader">
      <rng:ref name="teiHeader.content"/>
      <rng:ref name="teiHeader.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="teiHeader.content">
    <rng:group>
      <rng:ref name="fileDesc"/>
      <rng:zeroOrMore>
        <rng:ref name="tei.header"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="revisionDesc"/>
      </rng:optional>
    </rng:group>
  </rng:define>
  <rng:define name="teiHeader.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="teiHeader.attributes.type"/>
    <rng:ref name="teiHeader.attributes.creator"/>
    <rng:ref name="teiHeader.attributes.status"/>
    <rng:ref name="teiHeader.attributes.dateCreated"/>
    <rng:ref name="teiHeader.attributes.dateUpdated"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="teiHeader">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="teiHeader.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="text">
        <rng:ref name="teiHeader.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="teiHeader.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="teiHeader.attributes.creator">
    <rng:optional>
      <rng:attribute name="creator">
        <rng:ref name="teiHeader.attributes.creator.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="teiHeader.attributes.creator.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="teiHeader.attributes.status">
    <rng:optional>
      <rng:attribute name="status">
        <rng:ref name="teiHeader.attributes.status.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="teiHeader.attributes.status.content">
    <rng:choice>
      <rng:value>new</rng:value>
      <rng:value>update</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="teiHeader.attributes.dateCreated">
    <rng:optional>
      <rng:attribute name="dateCreated">
        <rng:ref name="teiHeader.attributes.dateCreated.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="teiHeader.attributes.dateCreated.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="teiHeader.attributes.dateUpdated">
    <rng:optional>
      <rng:attribute name="dateUpdated">
        <rng:ref name="teiHeader.attributes.dateUpdated.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="teiHeader.attributes.dateUpdated.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.teiHeader" combine="choice">
    <rng:ref name="teiHeader"/>
  </define>
  <rng:define name="textClass">
    <rng:element name="textClass">
      <rng:ref name="textClass.content"/>
      <rng:ref name="textClass.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="textClass.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="classCode"/>
        <rng:ref name="catRef"/>
        <rng:ref name="keywords"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="textClass.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declarable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="textClass">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:ref name="textClass"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:ref name="textClass"/>
  </define>
  <rng:define name="titleStmt">
    <rng:element name="titleStmt">
      <rng:ref name="titleStmt.content"/>
      <rng:ref name="titleStmt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="titleStmt.content">
    <rng:group>
      <rng:oneOrMore>
        <rng:ref name="title"/>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="author"/>
          <rng:ref name="editor"/>
          <rng:ref name="sponsor"/>
          <rng:ref name="funder"/>
          <rng:ref name="principal"/>
          <rng:ref name="respStmt"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="titleStmt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="titleStmt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="variantEncoding">
    <rng:element name="variantEncoding">
      <rng:ref name="variantEncoding.content"/>
      <rng:ref name="variantEncoding.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="variantEncoding.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="variantEncoding.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="variantEncoding.attributes.method"/>
    <rng:ref name="variantEncoding.attributes.location"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="variantEncoding">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="variantEncoding.attributes.method">
    <rng:attribute name="method">
      <rng:ref name="variantEncoding.attributes.method.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="variantEncoding.attributes.method.content">
    <rng:choice>
      <rng:value>location-referenced</rng:value>
      <rng:value>double-end-point</rng:value>
      <rng:value>parallel-segmentation</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="variantEncoding.attributes.location">
    <rng:attribute name="location">
      <rng:ref name="variantEncoding.attributes.location.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="variantEncoding.attributes.location.content">
    <rng:choice>
      <rng:value>internal</rng:value>
      <rng:value>external</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.encoding" combine="choice">
    <rng:ref name="variantEncoding"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/linking.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.linking" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.linking.attributes" combine="choice">
    <rng:ref name="tei.linking.attributes.corresp"/>
    <rng:ref name="tei.linking.attributes.synch"/>
    <rng:ref name="tei.linking.attributes.sameAs"/>
    <rng:ref name="tei.linking.attributes.copyOf"/>
    <rng:ref name="tei.linking.attributes.next"/>
    <rng:ref name="tei.linking.attributes.prev"/>
    <rng:ref name="tei.linking.attributes.exclude"/>
    <rng:ref name="tei.linking.attributes.select"/>
  </define>
  <rng:define name="tei.linking.attributes.corresp">
    <rng:optional>
      <rng:attribute name="corresp">
        <rng:ref name="tei.linking.attributes.corresp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.corresp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.synch">
    <rng:optional>
      <rng:attribute name="synch">
        <rng:ref name="tei.linking.attributes.synch.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.synch.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.sameAs">
    <rng:optional>
      <rng:attribute name="sameAs">
        <rng:ref name="tei.linking.attributes.sameAs.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.sameAs.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.copyOf">
    <rng:optional>
      <rng:attribute name="copyOf">
        <rng:ref name="tei.linking.attributes.copyOf.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.copyOf.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.next">
    <rng:optional>
      <rng:attribute name="next">
        <rng:ref name="tei.linking.attributes.next.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.next.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.prev">
    <rng:optional>
      <rng:attribute name="prev">
        <rng:ref name="tei.linking.attributes.prev.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.prev.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.exclude">
    <rng:optional>
      <rng:attribute name="exclude">
        <rng:ref name="tei.linking.attributes.exclude.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.exclude.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="tei.linking.attributes.select">
    <rng:optional>
      <rng:attribute name="select">
        <rng:ref name="tei.linking.attributes.select.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.linking.attributes.select.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer.attributes" combine="choice">
    <rng:ref name="tei.pointer.attributes.type"/>
    <rng:ref name="tei.pointer.attributes.resp"/>
    <rng:ref name="tei.pointer.attributes.crdate"/>
    <rng:ref name="tei.pointer.attributes.targType"/>
    <rng:ref name="tei.pointer.attributes.targOrder"/>
    <rng:ref name="tei.pointer.attributes.evaluate"/>
  </define>
  <rng:define name="tei.pointer.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.pointer.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointer.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.pointer.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="tei.pointer.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointer.attributes.resp.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.pointer.attributes.crdate">
    <rng:optional>
      <rng:attribute name="crdate">
        <rng:ref name="tei.pointer.attributes.crdate.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointer.attributes.crdate.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="tei.pointer.attributes.targType">
    <rng:optional>
      <rng:attribute name="targType">
        <rng:ref name="tei.pointer.attributes.targType.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointer.attributes.targType.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.pointer.attributes.targOrder">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="targOrder" a:defaultValue="unknown">
        <rng:ref name="tei.pointer.attributes.targOrder.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointer.attributes.targOrder.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <rng:define name="tei.pointer.attributes.evaluate">
    <rng:optional>
      <rng:attribute name="evaluate">
        <rng:ref name="tei.pointer.attributes.evaluate.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointer.attributes.evaluate.content">
    <rng:choice>
      <rng:value>all</rng:value>
      <rng:value>one</rng:value>
      <rng:value>none</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointerGroup" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="tei.pointerGroup"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointerGroup.attributes" combine="choice">
    <rng:ref name="tei.pointer.attributes"/>
    <rng:ref name="tei.pointerGroup.attributes.domains"/>
    <rng:ref name="tei.pointerGroup.attributes.targFunc"/>
  </define>
  <rng:define name="tei.pointerGroup.attributes.domains">
    <rng:optional>
      <rng:attribute name="domains">
        <rng:ref name="tei.pointerGroup.attributes.domains.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointerGroup.attributes.domains.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="tei.pointerGroup.attributes.targFunc">
    <rng:optional>
      <rng:attribute name="targFunc">
        <rng:ref name="tei.pointerGroup.attributes.targFunc.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.pointerGroup.attributes.targFunc.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="NMTOKENS"/>
  </rng:define>
  <rng:define name="mix.seg">
    <rng:group>
      <rng:ref name="seg"/>
      <rng:oneOrMore>
        <rng:ref name="seg"/>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="ab">
    <rng:element name="ab">
      <rng:ref name="ab.content"/>
      <rng:ref name="ab.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="ab.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="ab.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:ref name="ab.attributes.part"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="ab">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="ab.attributes.part">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <rng:ref name="ab.attributes.part.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="ab.attributes.part.content">
    <rng:choice>
      <rng:value>Y</rng:value>
      <rng:value>N</rng:value>
      <rng:value>I</rng:value>
      <rng:value>M</rng:value>
      <rng:value>F</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.segment" combine="choice">
    <rng:ref name="ab"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:ref name="ab"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="ab"/>
  </define>
  <rng:define name="alt">
    <rng:element name="alt">
      <rng:ref name="alt.content"/>
      <rng:ref name="alt.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="alt.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="alt.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointer.attributes"/>
    <rng:ref name="alt.attributes.targets"/>
    <rng:ref name="alt.attributes.mode"/>
    <rng:ref name="alt.attributes.weights"/>
    <rng:ref name="alt.attributes.wScale"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="alt">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="alt.attributes.targets">
    <rng:attribute name="targets">
      <rng:ref name="alt.attributes.targets.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="alt.attributes.targets.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="alt.attributes.mode">
    <rng:optional>
      <rng:attribute name="mode">
        <rng:ref name="alt.attributes.mode.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="alt.attributes.mode.content">
    <rng:choice>
      <rng:value>excl</rng:value>
      <rng:value>incl</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="alt.attributes.weights">
    <rng:optional>
      <rng:attribute name="weights">
        <rng:ref name="alt.attributes.weights.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="alt.attributes.weights.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="alt.attributes.wScale">
    <rng:optional>
      <rng:attribute name="wScale">
        <rng:ref name="alt.attributes.wScale.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="alt.attributes.wScale.content">
    <rng:choice>
      <rng:value>perc</rng:value>
      <rng:value>real</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="alt"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="alt"/>
  </define>
  <rng:define name="altGrp">
    <rng:element name="altGrp">
      <rng:ref name="altGrp.content"/>
      <rng:ref name="altGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="altGrp.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="alt"/>
        <rng:ref name="ptr"/>
        <rng:ref name="xptr"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="altGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointerGroup.attributes"/>
    <rng:ref name="altGrp.attributes.mode"/>
    <rng:ref name="altGrp.attributes.wScale"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="altGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="altGrp.attributes.mode">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="excl">
        <rng:ref name="altGrp.attributes.mode.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="altGrp.attributes.mode.content">
    <rng:choice>
      <rng:value>excl</rng:value>
      <rng:value>incl</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="altGrp.attributes.wScale">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="wScale" a:defaultValue="perc">
        <rng:ref name="altGrp.attributes.wScale.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="altGrp.attributes.wScale.content">
    <rng:choice>
      <rng:value>perc</rng:value>
      <rng:value>real</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointerGroup" combine="choice">
    <rng:ref name="altGrp"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="altGrp"/>
  </define>
  <rng:define name="anchor">
    <rng:element name="anchor">
      <rng:ref name="anchor.content"/>
      <rng:ref name="anchor.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="anchor.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="anchor.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="anchor">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.Incl" combine="choice">
    <rng:ref name="anchor"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="anchor"/>
  </define>
  <rng:define name="join">
    <rng:element name="join">
      <rng:ref name="join.content"/>
      <rng:ref name="join.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="join.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="join.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointer.attributes"/>
    <rng:ref name="join.attributes.targets"/>
    <rng:ref name="join.attributes.result"/>
    <rng:ref name="join.attributes.desc"/>
    <rng:ref name="join.attributes.scope"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="join">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="join.attributes.targets">
    <rng:attribute name="targets">
      <rng:ref name="join.attributes.targets.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="join.attributes.targets.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="join.attributes.result">
    <rng:optional>
      <rng:attribute name="result">
        <rng:ref name="join.attributes.result.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="join.attributes.result.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="join.attributes.desc">
    <rng:optional>
      <rng:attribute name="desc">
        <rng:ref name="join.attributes.desc.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="join.attributes.desc.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="join.attributes.scope">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scope" a:defaultValue="root">
        <rng:ref name="join.attributes.scope.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="join.attributes.scope.content">
    <rng:choice>
      <rng:value>root</rng:value>
      <rng:value>branches</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="join"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="join"/>
  </define>
  <rng:define name="joinGrp">
    <rng:element name="joinGrp">
      <rng:ref name="joinGrp.content"/>
      <rng:ref name="joinGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="joinGrp.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="join"/>
        <rng:ref name="ptr"/>
        <rng:ref name="xptr"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="joinGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointerGroup.attributes"/>
    <rng:ref name="joinGrp.attributes.result"/>
    <rng:ref name="joinGrp.attributes.desc"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="joinGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="joinGrp.attributes.result">
    <rng:optional>
      <rng:attribute name="result">
        <rng:ref name="joinGrp.attributes.result.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="joinGrp.attributes.result.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="joinGrp.attributes.desc">
    <rng:optional>
      <rng:attribute name="desc">
        <rng:ref name="joinGrp.attributes.desc.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="joinGrp.attributes.desc.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointerGroup" combine="choice">
    <rng:ref name="joinGrp"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="joinGrp"/>
  </define>
  <rng:define name="link">
    <rng:element name="link">
      <rng:ref name="link.content"/>
      <rng:ref name="link.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="link.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="link.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointer.attributes"/>
    <rng:ref name="link.attributes.targets"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="link">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="link.attributes.targets">
    <rng:attribute name="targets">
      <rng:ref name="link.attributes.targets.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="link.attributes.targets.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="link"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="link"/>
  </define>
  <rng:define name="linkGrp">
    <rng:element name="linkGrp">
      <rng:ref name="linkGrp.content"/>
      <rng:ref name="linkGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="linkGrp.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="link"/>
        <rng:ref name="ptr"/>
        <rng:ref name="xptr"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="linkGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.pointerGroup.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="linkGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointerGroup" combine="choice">
    <rng:ref name="linkGrp"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="linkGrp"/>
  </define>
  <rng:define name="seg">
    <rng:element name="seg">
      <rng:ref name="seg.content"/>
      <rng:ref name="seg.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="seg.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="seg.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.seg.attributes"/>
    <rng:ref name="seg.attributes.subtype"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="seg">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="seg.attributes.subtype">
    <rng:optional>
      <rng:attribute name="subtype">
        <rng:ref name="seg.attributes.subtype.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="seg.attributes.subtype.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.segment" combine="choice">
    <rng:ref name="seg"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:ref name="seg"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:ref name="seg"/>
  </define>
  <rng:define name="timeline">
    <rng:element name="timeline">
      <rng:ref name="timeline.content"/>
      <rng:ref name="timeline.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="timeline.content">
    <rng:oneOrMore>
      <rng:ref name="when"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="timeline.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="timeline.attributes.origin"/>
    <rng:ref name="timeline.attributes.unit"/>
    <rng:ref name="timeline.attributes.interval"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="timeline">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="timeline.attributes.origin">
    <rng:attribute name="origin">
      <rng:ref name="timeline.attributes.origin.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="timeline.attributes.origin.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="timeline.attributes.unit">
    <rng:optional>
      <rng:attribute name="unit">
        <rng:ref name="timeline.attributes.unit.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="timeline.attributes.unit.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="NMTOKEN"/>
  </rng:define>
  <rng:define name="timeline.attributes.interval">
    <rng:optional>
      <rng:attribute name="interval">
        <rng:ref name="timeline.attributes.interval.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="timeline.attributes.interval.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:ref name="timeline"/>
  </define>
  <rng:define name="when">
    <rng:element name="when">
      <rng:ref name="when.content"/>
      <rng:ref name="when.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="when.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="when.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="when.attributes.absolute"/>
    <rng:ref name="when.attributes.unit"/>
    <rng:ref name="when.attributes.interval"/>
    <rng:ref name="when.attributes.since"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="when">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="when.attributes.absolute">
    <rng:optional>
      <rng:attribute name="absolute">
        <rng:ref name="when.attributes.absolute.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="when.attributes.absolute.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="time"/>
  </rng:define>
  <rng:define name="when.attributes.unit">
    <rng:optional>
      <rng:attribute name="unit">
        <rng:ref name="when.attributes.unit.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="when.attributes.unit.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="when.attributes.interval">
    <rng:optional>
      <rng:attribute name="interval">
        <rng:ref name="when.attributes.interval.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="when.attributes.interval.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="when.attributes.since">
    <rng:optional>
      <rng:attribute name="since">
        <rng:ref name="when.attributes.since.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="when.attributes.since.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="xptr">
    <rng:element name="xptr">
      <rng:ref name="xptr.content"/>
      <rng:ref name="xptr.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="xptr.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="xptr.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.xPointer.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="xptr">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.loc" combine="choice">
    <rng:ref name="xptr"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.xPointer" combine="choice">
    <rng:ref name="xptr"/>
  </define>
  <rng:define name="xref">
    <rng:element name="xref">
      <rng:ref name="xref.content"/>
      <rng:ref name="xref.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="xref.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="xref.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.xPointer.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="xref">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.loc" combine="choice">
    <rng:ref name="xref"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.xPointer" combine="choice">
    <rng:ref name="xref"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/msdescription.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured.attributes" combine="choice">
    <rng:ref name="tei.measured.attributes.units"/>
    <rng:ref name="tei.measured.attributes.scope"/>
  </define>
  <rng:define name="tei.measured.attributes.units">
    <rng:optional>
      <rng:attribute name="units">
        <rng:ref name="tei.measured.attributes.units.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.measured.attributes.units.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.measured.attributes.scope">
    <rng:optional>
      <rng:attribute name="scope">
        <rng:ref name="tei.measured.attributes.scope.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.measured.attributes.scope.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable.attributes" combine="choice">
    <rng:ref name="tei.datable.attributes.notBefore"/>
    <rng:ref name="tei.datable.attributes.notAfter"/>
    <rng:ref name="tei.datable.attributes.certainty"/>
    <rng:ref name="tei.datable.attributes.evidence"/>
  </define>
  <rng:define name="tei.datable.attributes.notBefore">
    <rng:optional>
      <rng:attribute name="notBefore">
        <rng:ref name="tei.datable.attributes.notBefore.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.datable.attributes.notBefore.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="tei.datable.attributes.notAfter">
    <rng:optional>
      <rng:attribute name="notAfter">
        <rng:ref name="tei.datable.attributes.notAfter.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.datable.attributes.notAfter.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="tei.datable.attributes.certainty">
    <rng:optional>
      <rng:attribute name="certainty">
        <rng:ref name="tei.datable.attributes.certainty.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.datable.attributes.certainty.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.datable.attributes.evidence">
    <rng:optional>
      <rng:attribute name="evidence">
        <rng:ref name="tei.datable.attributes.evidence.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.datable.attributes.evidence.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="accMat">
    <rng:element name="accMat">
      <rng:ref name="accMat.content"/>
      <rng:ref name="accMat.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="accMat.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="accMat.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="accMat.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="accMat">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="accMat.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="accMat.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="accMat.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="acquisition">
    <rng:element name="acquisition">
      <rng:ref name="acquisition.content"/>
      <rng:ref name="acquisition.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="acquisition.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="acquisition.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="acquisition">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="acquisition"/>
  </define>
  <rng:define name="additional">
    <rng:element name="additional">
      <rng:ref name="additional.content"/>
      <rng:ref name="additional.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="additional.content">
    <rng:group>
      <rng:optional>
        <rng:ref name="adminInfo"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="surrogates"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="listBibl"/>
      </rng:optional>
    </rng:group>
  </rng:define>
  <rng:define name="additional.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="additional">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="additions">
    <rng:element name="additions">
      <rng:ref name="additions.content"/>
      <rng:ref name="additions.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="additions.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="additions.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="additions">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="adminInfo">
    <rng:element name="adminInfo">
      <rng:ref name="adminInfo.content"/>
      <rng:ref name="adminInfo.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="adminInfo.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="recordHist"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="availability"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="custodialHist"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="note"/>
        </rng:optional>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="adminInfo.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="adminInfo">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="altIdentifier">
    <rng:element name="altIdentifier">
      <rng:ref name="altIdentifier.content"/>
      <rng:ref name="altIdentifier.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="altIdentifier.content">
    <rng:group>
      <rng:optional>
        <rng:ref name="country"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="region"/>
      </rng:optional>
      <rng:ref name="settlement"/>
      <rng:optional>
        <rng:ref name="institution"/>
      </rng:optional>
      <rng:ref name="repository"/>
      <rng:optional>
        <rng:ref name="collection"/>
      </rng:optional>
      <rng:ref name="idno"/>
    </rng:group>
  </rng:define>
  <rng:define name="altIdentifier.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="altIdentifier">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="altName">
    <rng:element name="altName">
      <rng:ref name="altName.content"/>
      <rng:ref name="altName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="altName.content">
    <rng:text/>
  </rng:define>
  <rng:define name="altName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="altName.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="altName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="altName.attributes.type">
    <rng:attribute name="type">
      <rng:ref name="altName.attributes.type.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="altName.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="binding">
    <rng:element name="binding">
      <rng:ref name="binding.content"/>
      <rng:ref name="binding.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="binding.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="tei.paragraph"/>
        <rng:ref name="decoNote"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="binding.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:ref name="binding.attributes.contemporary"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="binding">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="binding.attributes.contemporary">
    <rng:optional>
      <rng:attribute name="contemporary">
        <rng:ref name="binding.attributes.contemporary.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="binding.attributes.contemporary.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="binding"/>
  </define>
  <rng:define name="bindingDesc">
    <rng:element name="bindingDesc">
      <rng:ref name="bindingDesc.content"/>
      <rng:ref name="bindingDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="bindingDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="p"/>
          <rng:ref name="decoNote"/>
        </rng:choice>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="summary"/>
        </rng:optional>
        <rng:oneOrMore>
          <rng:ref name="binding"/>
        </rng:oneOrMore>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="bindingDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="bindingDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="collation">
    <rng:element name="collation">
      <rng:ref name="collation.content"/>
      <rng:ref name="collation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="collation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="collation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="collation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="collection">
    <rng:element name="collection">
      <rng:ref name="collection.content"/>
      <rng:ref name="collection.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="collection.content">
    <rng:text/>
  </rng:define>
  <rng:define name="collection.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="collection">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="collection"/>
  </define>
  <rng:define name="colophon">
    <rng:element name="colophon">
      <rng:ref name="colophon.content"/>
      <rng:ref name="colophon.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="colophon.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="colophon.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="colophon">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="condition">
    <rng:element name="condition">
      <rng:ref name="condition.content"/>
      <rng:ref name="condition.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="condition.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="condition.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="condition">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="custEvent">
    <rng:element name="custEvent">
      <rng:ref name="custEvent.content"/>
      <rng:ref name="custEvent.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="custEvent.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="custEvent.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:ref name="custEvent.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="custEvent">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="custEvent.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="custEvent.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="custEvent.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="custEvent"/>
  </define>
  <rng:define name="custodialHist">
    <rng:element name="custodialHist">
      <rng:ref name="custodialHist.content"/>
      <rng:ref name="custodialHist.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="custodialHist.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="custEvent"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="custodialHist.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="custodialHist">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="decoDesc">
    <rng:element name="decoDesc">
      <rng:ref name="decoDesc.content"/>
      <rng:ref name="decoDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="decoDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="decoNote"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="decoDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="decoDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="decoNote">
    <rng:element name="decoNote">
      <rng:ref name="decoNote.content"/>
      <rng:ref name="decoNote.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="decoNote.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="decoNote.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="decoNote.attributes.type"/>
    <rng:ref name="decoNote.attributes.subtype"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="decoNote">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="decoNote.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="decoNote.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="decoNote.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="decoNote.attributes.subtype">
    <rng:optional>
      <rng:attribute name="subtype">
        <rng:ref name="decoNote.attributes.subtype.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="decoNote.attributes.subtype.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="depth">
    <rng:element name="depth">
      <rng:ref name="depth.content"/>
      <rng:ref name="depth.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="depth.content">
    <rng:text/>
  </rng:define>
  <rng:define name="depth.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.measured.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="depth">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured" combine="choice">
    <rng:ref name="depth"/>
  </define>
  <rng:define name="dimensions">
    <rng:element name="dimensions">
      <rng:ref name="dimensions.content"/>
      <rng:ref name="dimensions.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="dimensions.content">
    <rng:oneOrMore>
      <rng:optional>
        <rng:ref name="height"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="width"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="depth"/>
      </rng:optional>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="dimensions.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.measured.attributes"/>
    <rng:ref name="dimensions.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="dimensions">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="dimensions.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="dimensions.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dimensions.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured" combine="choice">
    <rng:ref name="dimensions"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="dimensions"/>
  </define>
  <rng:define name="explicit">
    <rng:element name="explicit">
      <rng:ref name="explicit.content"/>
      <rng:ref name="explicit.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="explicit.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="explicit.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="explicit.attributes.defective"/>
    <rng:ref name="explicit.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="explicit">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="explicit.attributes.defective">
    <rng:optional>
      <rng:attribute name="defective">
        <rng:ref name="explicit.attributes.defective.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="explicit.attributes.defective.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <rng:define name="explicit.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="explicit.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="explicit.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="filiation">
    <rng:element name="filiation">
      <rng:ref name="filiation.content"/>
      <rng:ref name="filiation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="filiation.content">
    <rng:ref name="macro.specialPara"/>
  </rng:define>
  <rng:define name="filiation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="filiation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="filiation"/>
  </define>
  <rng:define name="foliation">
    <rng:element name="foliation">
      <rng:ref name="foliation.content"/>
      <rng:ref name="foliation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="foliation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="foliation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="foliation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="handDesc">
    <rng:element name="handDesc">
      <rng:ref name="handDesc.content"/>
      <rng:ref name="handDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="handDesc.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="handNote"/>
        <rng:ref name="tei.paragraph"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="handDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="handDesc.attributes.hands"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="handDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="handDesc.attributes.hands">
    <rng:optional>
      <rng:attribute name="hands">
        <rng:ref name="handDesc.attributes.hands.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handDesc.attributes.hands.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="handNote">
    <rng:element name="handNote">
      <rng:ref name="handNote.content"/>
      <rng:ref name="handNote.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="handNote.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="handNote.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="handNote.attributes.scribe"/>
    <rng:ref name="handNote.attributes.script"/>
    <rng:ref name="handNote.attributes.medium"/>
    <rng:ref name="handNote.attributes.scope"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="handNote">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="handNote.attributes.scribe">
    <rng:optional>
      <rng:attribute name="scribe">
        <rng:ref name="handNote.attributes.scribe.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handNote.attributes.scribe.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="handNote.attributes.script">
    <rng:optional>
      <rng:attribute name="script">
        <rng:ref name="handNote.attributes.script.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handNote.attributes.script.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="handNote.attributes.medium">
    <rng:optional>
      <rng:attribute name="medium">
        <rng:ref name="handNote.attributes.medium.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handNote.attributes.medium.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="handNote.attributes.scope">
    <rng:optional>
      <rng:attribute name="scope">
        <rng:ref name="handNote.attributes.scope.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handNote.attributes.scope.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="height">
    <rng:element name="height">
      <rng:ref name="height.content"/>
      <rng:ref name="height.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="height.content">
    <rng:text/>
  </rng:define>
  <rng:define name="height.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.measured.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="height">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured" combine="choice">
    <rng:ref name="height"/>
  </define>
  <rng:define name="heraldry">
    <rng:element name="heraldry">
      <rng:ref name="heraldry.content"/>
      <rng:ref name="heraldry.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="heraldry.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="heraldry.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="heraldry">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="heraldry"/>
  </define>
  <rng:define name="history">
    <rng:element name="history">
      <rng:ref name="history.content"/>
      <rng:ref name="history.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="history.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="origin"/>
        </rng:optional>
        <rng:zeroOrMore>
          <rng:ref name="provenance"/>
        </rng:zeroOrMore>
        <rng:optional>
          <rng:ref name="acquisition"/>
        </rng:optional>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="history.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="history">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="incipit">
    <rng:element name="incipit">
      <rng:ref name="incipit.content"/>
      <rng:ref name="incipit.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="incipit.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="incipit.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="incipit.attributes.defective"/>
    <rng:ref name="incipit.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="incipit">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="incipit.attributes.defective">
    <rng:optional>
      <rng:attribute name="defective">
        <rng:ref name="incipit.attributes.defective.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="incipit.attributes.defective.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <rng:define name="incipit.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="incipit.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="incipit.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="institution">
    <rng:element name="institution">
      <rng:ref name="institution.content"/>
      <rng:ref name="institution.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="institution.content">
    <rng:text/>
  </rng:define>
  <rng:define name="institution.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="institution">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="institution"/>
  </define>
  <rng:define name="layout">
    <rng:element name="layout">
      <rng:ref name="layout.content"/>
      <rng:ref name="layout.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="layout.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="layout.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="layout.attributes.columns"/>
    <rng:ref name="layout.attributes.ruledLines"/>
    <rng:ref name="layout.attributes.writtenLines"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="layout">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="layout.attributes.columns">
    <rng:optional>
      <rng:attribute name="columns">
        <rng:ref name="layout.attributes.columns.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="layout.attributes.columns.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="layout.attributes.ruledLines">
    <rng:optional>
      <rng:attribute name="ruledLines">
        <rng:ref name="layout.attributes.ruledLines.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="layout.attributes.ruledLines.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="layout.attributes.writtenLines">
    <rng:optional>
      <rng:attribute name="writtenLines">
        <rng:ref name="layout.attributes.writtenLines.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="layout.attributes.writtenLines.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="layoutDesc">
    <rng:element name="layoutDesc">
      <rng:ref name="layoutDesc.content"/>
      <rng:ref name="layoutDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="layoutDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:ref name="layout"/>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="layoutDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="layoutDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="locus">
    <rng:element name="locus">
      <rng:ref name="locus.content"/>
      <rng:ref name="locus.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="locus.content">
    <rng:text/>
  </rng:define>
  <rng:define name="locus.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="locus.attributes.scheme"/>
    <rng:ref name="locus.attributes.from"/>
    <rng:ref name="locus.attributes.to"/>
    <rng:ref name="locus.attributes.targets"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="locus">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="locus.attributes.scheme">
    <rng:optional>
      <rng:attribute name="scheme">
        <rng:ref name="locus.attributes.scheme.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="locus.attributes.scheme.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="locus.attributes.from">
    <rng:optional>
      <rng:attribute name="from">
        <rng:ref name="locus.attributes.from.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="locus.attributes.from.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="locus.attributes.to">
    <rng:optional>
      <rng:attribute name="to">
        <rng:ref name="locus.attributes.to.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="locus.attributes.to.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="locus.attributes.targets">
    <rng:optional>
      <rng:attribute name="targets">
        <rng:ref name="locus.attributes.targets.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="locus.attributes.targets.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="material">
    <rng:element name="material">
      <rng:ref name="material.content"/>
      <rng:ref name="material.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="material.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="material.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="material">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="material"/>
  </define>
  <rng:define name="msContents">
    <rng:element name="msContents">
      <rng:ref name="msContents.content"/>
      <rng:ref name="msContents.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="msContents.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="summary"/>
        </rng:optional>
        <rng:oneOrMore>
          <rng:ref name="msItem"/>
        </rng:oneOrMore>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="msContents.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="msContents.attributes.class"/>
    <rng:ref name="msContents.attributes.defective"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="msContents">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="msContents.attributes.class">
    <rng:optional>
      <rng:attribute name="class">
        <rng:ref name="msContents.attributes.class.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="msContents.attributes.class.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="msContents.attributes.defective">
    <rng:optional>
      <rng:attribute name="defective">
        <rng:ref name="msContents.attributes.defective.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="msContents.attributes.defective.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <rng:define name="msDescription">
    <rng:element name="msDescription">
      <rng:ref name="msDescription.content"/>
      <rng:ref name="msDescription.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="msDescription.content">
    <rng:group>
      <rng:ref name="msIdentifier"/>
      <rng:zeroOrMore>
        <rng:ref name="head"/>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:ref name="p"/>
        </rng:oneOrMore>
        <rng:group>
          <rng:optional>
            <rng:ref name="msContents"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="physDesc"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="history"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="additional"/>
          </rng:optional>
          <rng:zeroOrMore>
            <rng:ref name="msPart"/>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
    </rng:group>
  </rng:define>
  <rng:define name="msDescription.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="msDescription.attributes.type"/>
    <rng:ref name="msDescription.attributes.status"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="msDescription">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="msDescription.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="msDescription.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="msDescription.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="msDescription.attributes.status">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="uni">
        <rng:ref name="msDescription.attributes.status.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="msDescription.attributes.status.content">
    <rng:text/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.sourcedesc" combine="choice">
    <rng:ref name="msDescription"/>
  </define>
  <rng:define name="msIdentifier">
    <rng:element name="msIdentifier">
      <rng:ref name="msIdentifier.content"/>
      <rng:ref name="msIdentifier.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="msIdentifier.content">
    <rng:group>
      <rng:optional>
        <rng:ref name="country"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="region"/>
      </rng:optional>
      <rng:ref name="settlement"/>
      <rng:optional>
        <rng:ref name="institution"/>
      </rng:optional>
      <rng:ref name="repository"/>
      <rng:optional>
        <rng:ref name="collection"/>
      </rng:optional>
      <rng:ref name="idno"/>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="altIdentifier"/>
          <rng:ref name="altName"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="msIdentifier.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="msIdentifier">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:ref name="msIdentifier"/>
  </define>
  <rng:define name="msItem">
    <rng:element name="msItem">
      <rng:ref name="msItem.content"/>
      <rng:ref name="msItem.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="msItem.content">
    <rng:group>
      <rng:optional>
        <rng:ref name="locus"/>
      </rng:optional>
      <rng:choice>
        <rng:oneOrMore>
          <rng:ref name="tei.paragraph"/>
        </rng:oneOrMore>
        <rng:group>
          <rng:zeroOrMore>
            <rng:ref name="author"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="respStmt"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="title"/>
          </rng:zeroOrMore>
          <rng:optional>
            <rng:ref name="rubric"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="incipit"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="explicit"/>
          </rng:optional>
          <rng:zeroOrMore>
            <rng:ref name="colophon"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="decoNote"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="langUsage"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="listBibl"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="q"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="bibl"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="filiation"/>
          </rng:zeroOrMore>
          <rng:zeroOrMore>
            <rng:ref name="note"/>
          </rng:zeroOrMore>
          <rng:optional>
            <rng:ref name="textLang"/>
          </rng:optional>
          <rng:zeroOrMore>
            <rng:ref name="msItem"/>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
    </rng:group>
  </rng:define>
  <rng:define name="msItem.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="msItem.attributes.class"/>
    <rng:ref name="msItem.attributes.defective"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="msItem">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="msItem.attributes.class">
    <rng:optional>
      <rng:attribute name="class">
        <rng:ref name="msItem.attributes.class.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="msItem.attributes.class.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="msItem.attributes.defective">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="defective" a:defaultValue="false">
        <rng:ref name="msItem.attributes.defective.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="msItem.attributes.defective.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <rng:define name="msPart">
    <rng:element name="msPart">
      <rng:ref name="msPart.content"/>
      <rng:ref name="msPart.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="msPart.content">
    <rng:group>
      <rng:ref name="altIdentifier"/>
      <rng:zeroOrMore>
        <rng:ref name="head"/>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:ref name="p"/>
        </rng:oneOrMore>
        <rng:group>
          <rng:optional>
            <rng:ref name="msContents"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="physDesc"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="history"/>
          </rng:optional>
          <rng:optional>
            <rng:ref name="additional"/>
          </rng:optional>
          <rng:zeroOrMore>
            <rng:ref name="msPart"/>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
    </rng:group>
  </rng:define>
  <rng:define name="msPart.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="msPart">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="musicNotation">
    <rng:element name="musicNotation">
      <rng:ref name="musicNotation.content"/>
      <rng:ref name="musicNotation.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="musicNotation.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="musicNotation.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="musicNotation">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="objectDesc">
    <rng:element name="objectDesc">
      <rng:ref name="objectDesc.content"/>
      <rng:ref name="objectDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="objectDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="supportDesc"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="layoutDesc"/>
        </rng:optional>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="objectDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="objectDesc.attributes.form"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="objectDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="objectDesc.attributes.form">
    <rng:optional>
      <rng:attribute name="form">
        <rng:ref name="objectDesc.attributes.form.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="objectDesc.attributes.form.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="origDate">
    <rng:element name="origDate">
      <rng:ref name="origDate.content"/>
      <rng:ref name="origDate.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="origDate.content">
    <rng:text/>
  </rng:define>
  <rng:define name="origDate.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="origDate">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="origDate"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="origDate"/>
  </define>
  <rng:define name="origPlace">
    <rng:element name="origPlace">
      <rng:ref name="origPlace.content"/>
      <rng:ref name="origPlace.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="origPlace.content">
    <rng:text/>
  </rng:define>
  <rng:define name="origPlace.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="origPlace">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="origPlace"/>
  </define>
  <rng:define name="origin">
    <rng:element name="origin">
      <rng:ref name="origin.content"/>
      <rng:ref name="origin.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="origin.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="origin.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="origin">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="origin"/>
  </define>
  <rng:define name="physDesc">
    <rng:element name="physDesc">
      <rng:ref name="physDesc.content"/>
      <rng:ref name="physDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="physDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="objectDesc"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="handDesc"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="musicNotation"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="decoDesc"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="additions"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="bindingDesc"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="sealDesc"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="accMat"/>
        </rng:optional>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="physDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="physDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="provenance">
    <rng:element name="provenance">
      <rng:ref name="provenance.content"/>
      <rng:ref name="provenance.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="provenance.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="provenance.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="provenance">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="provenance"/>
  </define>
  <rng:define name="recordHist">
    <rng:element name="recordHist">
      <rng:ref name="recordHist.content"/>
      <rng:ref name="recordHist.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="recordHist.content">
    <rng:group>
      <rng:ref name="source"/>
      <rng:zeroOrMore>
        <rng:ref name="change"/>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="recordHist.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="recordHist">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="repository">
    <rng:element name="repository">
      <rng:ref name="repository.content"/>
      <rng:ref name="repository.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="repository.content">
    <rng:text/>
  </rng:define>
  <rng:define name="repository.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="repository">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="rubric">
    <rng:element name="rubric">
      <rng:ref name="rubric.content"/>
      <rng:ref name="rubric.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="rubric.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="rubric.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="rubric.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="rubric">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="rubric.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="rubric.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="rubric.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="seal">
    <rng:element name="seal">
      <rng:ref name="seal.content"/>
      <rng:ref name="seal.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="seal.content">
    <rng:oneOrMore>
      <rng:choice>
        <rng:ref name="tei.paragraph"/>
        <rng:ref name="decoNote"/>
      </rng:choice>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="seal.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.datable.attributes"/>
    <rng:ref name="seal.attributes.contemporary"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="seal">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="seal.attributes.contemporary">
    <rng:optional>
      <rng:attribute name="contemporary">
        <rng:ref name="seal.attributes.contemporary.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="seal.attributes.contemporary.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable" combine="choice">
    <rng:ref name="seal"/>
  </define>
  <rng:define name="sealDesc">
    <rng:element name="sealDesc">
      <rng:ref name="sealDesc.content"/>
      <rng:ref name="sealDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="sealDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="p"/>
      </rng:oneOrMore>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="decoNote"/>
          <rng:ref name="seal"/>
        </rng:choice>
      </rng:oneOrMore>
    </rng:choice>
  </rng:define>
  <rng:define name="sealDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="sealDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="secfol">
    <rng:element name="secfol">
      <rng:ref name="secfol.content"/>
      <rng:ref name="secfol.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="secfol.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="secfol.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="secfol">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="secfol"/>
  </define>
  <rng:define name="signatures">
    <rng:element name="signatures">
      <rng:ref name="signatures.content"/>
      <rng:ref name="signatures.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="signatures.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="signatures.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="signatures">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="signatures"/>
  </define>
  <rng:define name="source">
    <rng:element name="source">
      <rng:ref name="source.content"/>
      <rng:ref name="source.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="source.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="source.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="source">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="summary">
    <rng:element name="summary">
      <rng:ref name="summary.content"/>
      <rng:ref name="summary.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="summary.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="summary.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="summary">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="support">
    <rng:element name="support">
      <rng:ref name="support.content"/>
      <rng:ref name="support.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="support.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="support.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="support">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="supportDesc">
    <rng:element name="supportDesc">
      <rng:ref name="supportDesc.content"/>
      <rng:ref name="supportDesc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="supportDesc.content">
    <rng:choice>
      <rng:oneOrMore>
        <rng:ref name="tei.paragraph"/>
      </rng:oneOrMore>
      <rng:group>
        <rng:optional>
          <rng:ref name="support"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="extent"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="foliation"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="collation"/>
        </rng:optional>
        <rng:optional>
          <rng:ref name="condition"/>
        </rng:optional>
      </rng:group>
    </rng:choice>
  </rng:define>
  <rng:define name="supportDesc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="supportDesc.attributes.material"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="supportDesc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="supportDesc.attributes.material">
    <rng:optional>
      <rng:attribute name="material">
        <rng:ref name="supportDesc.attributes.material.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="supportDesc.attributes.material.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="surrogates">
    <rng:element name="surrogates">
      <rng:ref name="surrogates.content"/>
      <rng:ref name="surrogates.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="surrogates.content">
    <rng:oneOrMore>
      <rng:ref name="tei.paragraph"/>
    </rng:oneOrMore>
  </rng:define>
  <rng:define name="surrogates.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="surrogates">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="textLang">
    <rng:element name="textLang">
      <rng:ref name="textLang.content"/>
      <rng:ref name="textLang.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="textLang.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="textLang.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="textLang.attributes.langKey"/>
    <rng:ref name="textLang.attributes.otherLangs"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="textLang">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="textLang.attributes.langKey">
    <rng:optional>
      <rng:attribute name="langKey">
        <rng:ref name="textLang.attributes.langKey.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="textLang.attributes.langKey.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="textLang.attributes.otherLangs">
    <rng:optional>
      <rng:attribute name="otherLangs">
        <rng:ref name="textLang.attributes.otherLangs.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="textLang.attributes.otherLangs.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="watermark">
    <rng:element name="watermark">
      <rng:ref name="watermark.content"/>
      <rng:ref name="watermark.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="watermark.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="watermark.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="watermark">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="watermark"/>
  </define>
  <rng:define name="width">
    <rng:element name="width">
      <rng:ref name="width.content"/>
      <rng:ref name="width.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="width.content">
    <rng:text/>
  </rng:define>
  <rng:define name="width.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.measured.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="width">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured" combine="choice">
    <rng:ref name="width"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/namesdates.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart.attributes" combine="choice">
    <rng:ref name="tei.personPart.attributes.key"/>
    <rng:ref name="tei.personPart.attributes.reg"/>
    <rng:ref name="tei.personPart.attributes.type"/>
    <rng:ref name="tei.personPart.attributes.full"/>
    <rng:ref name="tei.personPart.attributes.sort"/>
  </define>
  <rng:define name="tei.personPart.attributes.key">
    <rng:optional>
      <rng:attribute name="key">
        <rng:ref name="tei.personPart.attributes.key.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.personPart.attributes.key.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.personPart.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="tei.personPart.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.personPart.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.personPart.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.personPart.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.personPart.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="tei.personPart.attributes.full">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="full" a:defaultValue="yes">
        <rng:ref name="tei.personPart.attributes.full.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.personPart.attributes.full.content">
    <rng:choice>
      <rng:value>yes</rng:value>
      <rng:value>abb</rng:value>
      <rng:value>init</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="tei.personPart.attributes.sort">
    <rng:optional>
      <rng:attribute name="sort">
        <rng:ref name="tei.personPart.attributes.sort.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.personPart.attributes.sort.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr.attributes" combine="choice">
    <rng:ref name="tei.temporalExpr.attributes.value"/>
    <rng:ref name="tei.temporalExpr.attributes.key"/>
    <rng:ref name="tei.temporalExpr.attributes.reg"/>
    <rng:ref name="tei.temporalExpr.attributes.type"/>
    <rng:ref name="tei.temporalExpr.attributes.full"/>
  </define>
  <rng:define name="tei.temporalExpr.attributes.value">
    <rng:optional>
      <rng:attribute name="value">
        <rng:ref name="tei.temporalExpr.attributes.value.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.value.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.key">
    <rng:optional>
      <rng:attribute name="key">
        <rng:ref name="tei.temporalExpr.attributes.key.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.key.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="tei.temporalExpr.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.temporalExpr.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.full">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="full" a:defaultValue="yes">
        <rng:ref name="tei.temporalExpr.attributes.full.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.temporalExpr.attributes.full.content">
    <rng:choice>
      <rng:value>yes</rng:value>
      <rng:value>abb</rng:value>
      <rng:value>init</rng:value>
    </rng:choice>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="addName">
    <rng:element name="addName">
      <rng:ref name="addName.content"/>
      <rng:ref name="addName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="addName.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="addName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.personPart.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="addName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:ref name="addName"/>
  </define>
  <rng:define name="bloc">
    <rng:element name="bloc">
      <rng:ref name="bloc.content"/>
      <rng:ref name="bloc.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="bloc.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="bloc.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="bloc">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="bloc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="bloc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="bloc"/>
  </define>
  <rng:define name="country">
    <rng:element name="country">
      <rng:ref name="country.content"/>
      <rng:ref name="country.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="country.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="country.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="country">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="country"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="country"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="country"/>
  </define>
  <rng:define name="dateStruct">
    <rng:element name="dateStruct">
      <rng:ref name="dateStruct.content"/>
      <rng:ref name="dateStruct.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="dateStruct.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.temporalExpr"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="dateStruct.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:ref name="dateStruct.attributes.calendar"/>
    <rng:ref name="dateStruct.attributes.exact"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="dateStruct">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="dateStruct.attributes.calendar">
    <rng:optional>
      <rng:attribute name="calendar">
        <rng:ref name="dateStruct.attributes.calendar.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dateStruct.attributes.calendar.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="dateStruct.attributes.exact">
    <rng:optional>
      <rng:attribute name="exact">
        <rng:ref name="dateStruct.attributes.exact.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="dateStruct.attributes.exact.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="dateStruct"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.date" combine="choice">
    <rng:ref name="dateStruct"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="dateStruct"/>
  </define>
  <rng:define name="day">
    <rng:element name="day">
      <rng:ref name="day.content"/>
      <rng:ref name="day.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="day.content">
    <rng:text/>
  </rng:define>
  <rng:define name="day.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="day">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="day"/>
  </define>
  <rng:define name="distance">
    <rng:element name="distance">
      <rng:ref name="distance.content"/>
      <rng:ref name="distance.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="distance.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="distance.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:ref name="distance.attributes.exact"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="distance">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="distance.attributes.exact">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="exact" a:defaultValue="unknown">
        <rng:ref name="distance.attributes.exact.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="distance.attributes.exact.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.UBoolean"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="distance"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="distance"/>
  </define>
  <rng:define name="foreName">
    <rng:element name="foreName">
      <rng:ref name="foreName.content"/>
      <rng:ref name="foreName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="foreName.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="foreName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.personPart.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="foreName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:ref name="foreName"/>
  </define>
  <rng:define name="genName">
    <rng:element name="genName">
      <rng:ref name="genName.content"/>
      <rng:ref name="genName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="genName.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="genName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.personPart.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="genName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:ref name="genName"/>
  </define>
  <rng:define name="geog">
    <rng:element name="geog">
      <rng:ref name="geog.content"/>
      <rng:ref name="geog.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="geog.content">
    <rng:text/>
  </rng:define>
  <rng:define name="geog.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="geog">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="geog"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="geog"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="geog"/>
  </define>
  <rng:define name="geogName">
    <rng:element name="geogName">
      <rng:ref name="geogName.content"/>
      <rng:ref name="geogName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="geogName.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="geog"/>
        <rng:ref name="name"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="geogName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="geogName.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="geogName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="geogName.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="geogName.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="geogName.attributes.type.content">
    <rng:text/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="geogName"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="geogName"/>
  </define>
  <rng:define name="hour">
    <rng:element name="hour">
      <rng:ref name="hour.content"/>
      <rng:ref name="hour.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="hour.content">
    <rng:text/>
  </rng:define>
  <rng:define name="hour.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="hour">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="hour"/>
  </define>
  <rng:define name="minute">
    <rng:element name="minute">
      <rng:ref name="minute.content"/>
      <rng:ref name="minute.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="minute.content">
    <rng:text/>
  </rng:define>
  <rng:define name="minute.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="minute">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="minute"/>
  </define>
  <rng:define name="month">
    <rng:element name="month">
      <rng:ref name="month.content"/>
      <rng:ref name="month.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="month.content">
    <rng:text/>
  </rng:define>
  <rng:define name="month.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="month">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="month"/>
  </define>
  <rng:define name="nameLink">
    <rng:element name="nameLink">
      <rng:ref name="nameLink.content"/>
      <rng:ref name="nameLink.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="nameLink.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="nameLink.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.personPart.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="nameLink">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:ref name="nameLink"/>
  </define>
  <rng:define name="occasion">
    <rng:element name="occasion">
      <rng:ref name="occasion.content"/>
      <rng:ref name="occasion.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="occasion.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="occasion.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="occasion">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="occasion"/>
  </define>
  <rng:define name="offset">
    <rng:element name="offset">
      <rng:ref name="offset.content"/>
      <rng:ref name="offset.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="offset.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="offset.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="offset">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="offset"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="offset"/>
  </define>
  <rng:define name="orgDivn">
    <rng:element name="orgDivn">
      <rng:ref name="orgDivn.content"/>
      <rng:ref name="orgDivn.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="orgDivn.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="orgDivn.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="orgDivn.attributes.type"/>
    <rng:ref name="orgDivn.attributes.reg"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="orgDivn">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="orgDivn.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="orgDivn.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgDivn.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgDivn.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="orgDivn.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgDivn.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgName">
    <rng:element name="orgName">
      <rng:ref name="orgName.content"/>
      <rng:ref name="orgName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="orgName.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="orgTitle"/>
        <rng:ref name="orgType"/>
        <rng:ref name="orgDivn"/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="orgName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="orgName.attributes.type"/>
    <rng:ref name="orgName.attributes.key"/>
    <rng:ref name="orgName.attributes.reg"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="orgName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="orgName.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="orgName.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgName.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgName.attributes.key">
    <rng:optional>
      <rng:attribute name="key">
        <rng:ref name="orgName.attributes.key.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgName.attributes.key.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgName.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="orgName.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgName.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="orgName"/>
  </define>
  <rng:define name="orgTitle">
    <rng:element name="orgTitle">
      <rng:ref name="orgTitle.content"/>
      <rng:ref name="orgTitle.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="orgTitle.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="orgTitle.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="orgTitle.attributes.type"/>
    <rng:ref name="orgTitle.attributes.reg"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="orgTitle">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="orgTitle.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="orgTitle.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgTitle.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgTitle.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="orgTitle.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgTitle.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgType">
    <rng:element name="orgType">
      <rng:ref name="orgType.content"/>
      <rng:ref name="orgType.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="orgType.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="orgType.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="orgType.attributes.type"/>
    <rng:ref name="orgType.attributes.reg"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="orgType">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="orgType.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="orgType.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgType.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="orgType.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="orgType.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="orgType.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="persName">
    <rng:element name="persName">
      <rng:ref name="persName.content"/>
      <rng:ref name="persName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="persName.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.personPart"/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="persName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="persName.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="persName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="persName.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="persName.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="persName.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:ref name="persName"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="persName"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="persName"/>
  </define>
  <rng:define name="placeName">
    <rng:element name="placeName">
      <rng:ref name="placeName.content"/>
      <rng:ref name="placeName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="placeName.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.placePart"/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="placeName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="placeName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="placeName"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="placeName"/>
  </define>
  <rng:define name="region">
    <rng:element name="region">
      <rng:ref name="region.content"/>
      <rng:ref name="region.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="region.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="region.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="region">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="region"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="region"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="region"/>
  </define>
  <rng:define name="roleName">
    <rng:element name="roleName">
      <rng:ref name="roleName.content"/>
      <rng:ref name="roleName.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="roleName.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="roleName.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.personPart.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="roleName">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:ref name="roleName"/>
  </define>
  <rng:define name="second">
    <rng:element name="second">
      <rng:ref name="second.content"/>
      <rng:ref name="second.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="second.content">
    <rng:text/>
  </rng:define>
  <rng:define name="second.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="second">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="second"/>
  </define>
  <rng:define name="settlement">
    <rng:element name="settlement">
      <rng:ref name="settlement.content"/>
      <rng:ref name="settlement.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="settlement.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="settlement.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.names.attributes"/>
    <rng:ref name="tei.typed.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="settlement">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:ref name="settlement"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:ref name="settlement"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:ref name="settlement"/>
  </define>
  <rng:define name="surname">
    <rng:element name="surname">
      <rng:ref name="surname.content"/>
      <rng:ref name="surname.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="surname.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="surname.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.personPart.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="surname">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart" combine="choice">
    <rng:ref name="surname"/>
  </define>
  <rng:define name="timeStruct">
    <rng:element name="timeStruct">
      <rng:ref name="timeStruct.content"/>
      <rng:ref name="timeStruct.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="timeStruct.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.temporalExpr"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="timeStruct.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:ref name="timeStruct.attributes.zone"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="timeStruct">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="timeStruct.attributes.zone">
    <rng:optional>
      <rng:attribute name="zone">
        <rng:ref name="timeStruct.attributes.zone.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="timeStruct.attributes.zone.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:ref name="timeStruct"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="timeStruct"/>
  </define>
  <rng:define name="week">
    <rng:element name="week">
      <rng:ref name="week.content"/>
      <rng:ref name="week.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="week.content">
    <rng:text/>
  </rng:define>
  <rng:define name="week.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="week">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="week"/>
  </define>
  <rng:define name="year">
    <rng:element name="year">
      <rng:ref name="year.content"/>
      <rng:ref name="year.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="year.content">
    <rng:text/>
  </rng:define>
  <rng:define name="year.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.temporalExpr.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="year">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr" combine="choice">
    <rng:ref name="year"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/tei.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
<!--0. predeclared classes-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metrical.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.enjamb.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.formPointers.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.measured.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.datable.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.linking.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.analysis.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.personPart.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.placePart" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.temporalExpr.attributes" combine="choice">
    <rng:empty/>
  </define>
<!--1. classes-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.global" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.linking" combine="choice">
    <rng:ref name="tei.global"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.analysis" combine="choice">
    <rng:ref name="tei.global"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.global.attributes" combine="choice">
    <rng:ref name="tei.linking.attributes"/>
    <rng:ref name="tei.analysis.attributes"/>
    <rng:ref name="tei.global.attributes.id"/>
    <rng:ref name="tei.global.attributes.n"/>
    <rng:ref name="tei.global.attributes.lang"/>
    <rng:ref name="tei.global.attributes.rend"/>
  </define>
  <rng:define name="tei.global.attributes.id">
    <rng:optional>
      <rng:attribute name="id">
        <rng:ref name="tei.global.attributes.id.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.global.attributes.id.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="ID"/>
  </rng:define>
  <rng:define name="tei.global.attributes.n">
    <rng:optional>
      <rng:attribute name="n">
        <rng:ref name="tei.global.attributes.n.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.global.attributes.n.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.global.attributes.lang">
    <rng:optional>
      <rng:attribute name="lang">
        <rng:ref name="tei.global.attributes.lang.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.global.attributes.lang.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.global.attributes.rend">
    <rng:optional>
      <rng:attribute name="rend">
        <rng:ref name="tei.global.attributes.rend.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.global.attributes.rend.content">
    <rng:text/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring.attributes" combine="choice">
    <rng:ref name="tei.declaring.attributes.decls"/>
  </define>
  <rng:define name="tei.declaring.attributes.decls">
    <rng:optional>
      <rng:attribute name="decls">
        <rng:ref name="tei.declaring.attributes.decls.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.declaring.attributes.decls.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declarable.attributes" combine="choice">
    <rng:ref name="tei.declarable.attributes.default"/>
  </define>
  <rng:define name="tei.declarable.attributes.default">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="default" a:defaultValue="false">
        <rng:ref name="tei.declarable.attributes.default.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.declarable.attributes.default.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="boolean"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.typed.attributes" combine="choice">
    <rng:ref name="tei.typed.attributes.type"/>
    <rng:ref name="tei.typed.attributes.subtype"/>
  </define>
  <rng:define name="tei.typed.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.typed.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.typed.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.typed.attributes.subtype">
    <rng:optional>
      <rng:attribute name="subtype">
        <rng:ref name="tei.typed.attributes.subtype.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.typed.attributes.subtype.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.interpret" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.interpret.attributes" combine="choice">
    <rng:ref name="tei.interpret.attributes.resp"/>
    <rng:ref name="tei.interpret.attributes.type"/>
    <rng:ref name="tei.interpret.attributes.inst"/>
  </define>
  <rng:define name="tei.interpret.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="tei.interpret.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.interpret.attributes.resp.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.interpret.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.interpret.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.interpret.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.interpret.attributes.inst">
    <rng:optional>
      <rng:attribute name="inst">
        <rng:ref name="tei.interpret.attributes.inst.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.interpret.attributes.inst.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metrical" combine="choice">
    <rng:ref name="tei.divn"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn.attributes" combine="choice">
    <rng:ref name="tei.metrical.attributes"/>
    <rng:ref name="tei.divn.attributes.type"/>
    <rng:ref name="tei.divn.attributes.org"/>
    <rng:ref name="tei.divn.attributes.sample"/>
    <rng:ref name="tei.divn.attributes.part"/>
  </define>
  <rng:define name="tei.divn.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.divn.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.divn.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="tei.divn.attributes.org">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="org" a:defaultValue="uniform">
        <rng:ref name="tei.divn.attributes.org.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.divn.attributes.org.content">
    <rng:choice>
      <rng:value>composite</rng:value>
      <rng:value>uniform</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="tei.divn.attributes.sample">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="sample" a:defaultValue="complete">
        <rng:ref name="tei.divn.attributes.sample.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.divn.attributes.sample.content">
    <rng:choice>
      <rng:value>initial</rng:value>
      <rng:value>medial</rng:value>
      <rng:value>final</rng:value>
      <rng:value>unknown</rng:value>
      <rng:value>complete</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="tei.divn.attributes.part">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <rng:ref name="tei.divn.attributes.part.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.divn.attributes.part.content">
    <rng:choice>
      <rng:value>Y</rng:value>
      <rng:value>N</rng:value>
      <rng:value>I</rng:value>
      <rng:value>M</rng:value>
      <rng:value>F</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.names.attributes" combine="choice">
    <rng:ref name="tei.names.attributes.key"/>
    <rng:ref name="tei.names.attributes.reg"/>
  </define>
  <rng:define name="tei.names.attributes.key">
    <rng:optional>
      <rng:attribute name="key">
        <rng:ref name="tei.names.attributes.key.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.names.attributes.key.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.names.attributes.reg">
    <rng:optional>
      <rng:attribute name="reg">
        <rng:ref name="tei.names.attributes.reg.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.names.attributes.reg.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.seg"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metrical" combine="choice">
    <rng:ref name="tei.seg"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg.attributes" combine="choice">
    <rng:ref name="tei.metrical.attributes"/>
    <rng:ref name="tei.seg.attributes.type"/>
    <rng:ref name="tei.seg.attributes.function"/>
    <rng:ref name="tei.seg.attributes.part"/>
  </define>
  <rng:define name="tei.seg.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.seg.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.seg.attributes.type.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="tei.seg.attributes.function">
    <rng:optional>
      <rng:attribute name="function">
        <rng:ref name="tei.seg.attributes.function.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.seg.attributes.function.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.seg.attributes.part">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <rng:ref name="tei.seg.attributes.part.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.seg.attributes.part.content">
    <rng:choice>
      <rng:value>Y</rng:value>
      <rng:value>N</rng:value>
      <rng:value>I</rng:value>
      <rng:value>M</rng:value>
      <rng:value>F</rng:value>
    </rng:choice>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.timed" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.timed.attributes" combine="choice">
    <rng:ref name="tei.timed.attributes.start"/>
    <rng:ref name="tei.timed.attributes.end"/>
    <rng:ref name="tei.timed.attributes.dur"/>
  </define>
  <rng:define name="tei.timed.attributes.start">
    <rng:optional>
      <rng:attribute name="start">
        <rng:ref name="tei.timed.attributes.start.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.timed.attributes.start.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.timed.attributes.end">
    <rng:optional>
      <rng:attribute name="end">
        <rng:ref name="tei.timed.attributes.end.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.timed.attributes.end.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="tei.timed.attributes.dur">
    <rng:optional>
      <rng:attribute name="dur">
        <rng:ref name="tei.timed.attributes.dur.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.timed.attributes.dur.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.xPointer" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.pointer" combine="choice">
    <rng:ref name="tei.xPointer"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.xPointer.attributes" combine="choice">
    <rng:ref name="tei.pointer.attributes"/>
    <rng:optional>
      <rng:choice>
        <rng:ref name="tei.xPointer.attributes.doc"/>
        <rng:ref name="tei.xPointer.attributes.url"/>
      </rng:choice>
    </rng:optional>
    <rng:ref name="tei.xPointer.attributes.from"/>
    <rng:ref name="tei.xPointer.attributes.to"/>
  </define>
  <rng:define name="tei.xPointer.attributes.doc">
    <rng:attribute name="doc">
      <rng:ref name="tei.xPointer.attributes.doc.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.doc.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="ENTITY"/>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.url">
    <rng:attribute name="url">
      <rng:ref name="tei.xPointer.attributes.url.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.url.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="anyURI"/>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.from">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="from" a:defaultValue="ROOT">
        <rng:ref name="tei.xPointer.attributes.from.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.from.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Extptr"/>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.to">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="to" a:defaultValue="DITTO">
        <rng:ref name="tei.xPointer.attributes.to.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.xPointer.attributes.to.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Extptr"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.teiHeader" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.teiHeader.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.teiText" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.teiText.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.hqphrase"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqphrase.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.date" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.date.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.data"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.data.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.edit"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.loc" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.loc"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.loc.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase.verse" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.phrase.verse"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase.verse.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.Incl" combine="choice">
    <rng:ref name="tei.metadata"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metadata.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.Incl" combine="choice">
    <rng:ref name="tei.refsys"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.editIncl" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.Incl" combine="choice">
    <rng:ref name="tei.editIncl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.editIncl.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.Incl" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.Incl.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.oddDecl" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.oddDecl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.oddDecl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.oddDecl.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.oddRef" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.oddRef"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.oddRef"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.oddRef.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.oddPhr" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="tei.oddPhr"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.oddPhr.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqinter" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.hqinter"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.hqinter"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.hqinter.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.bibl" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.bibl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.bibl"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.bibl.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.lists" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.lists"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.lists"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.lists.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.notes" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.notes"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.notes"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.notes.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.stageDirection" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.drama" combine="choice">
    <rng:ref name="tei.stageDirection"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="tei.stageDirection"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.stageDirection.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.complexVal" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.featureVal" combine="choice">
    <rng:ref name="tei.complexVal"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.complexVal.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.singleVal" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.featureVal" combine="choice">
    <rng:ref name="tei.singleVal"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.singleVal.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.featureVal" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.featureVal.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.dictionaryTopLevel" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.dictionaryTopLevel.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:ref name="tei.chunk"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.segment" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.segment.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.paragraph" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.paragraph.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.common.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.agent" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.agent.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.addrPart" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.addrPart.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.biblPart.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.demographic.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.dramafront" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.front" combine="choice">
    <rng:ref name="tei.dramafront"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.dramafront.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.front" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.front.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chooseable.attributes" combine="choice">
    <rng:empty/>
  </define>
<!--2. elements-->
<!--3. macros-->
  <rng:define name="TEI.extensions.ent">
    <rng:notAllowed/>
  </rng:define>
  <rng:define name="TEI.extensions.dtd">
    <rng:notAllowed/>
  </rng:define>
  <rng:define name="TEI.elementNames">
    <rng:notAllowed/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.component" combine="choice">
    <rng:choice>
      <rng:ref name="tei.common"/>
      <rng:ref name="mix.verse"/>
      <rng:ref name="mix.drama"/>
      <rng:ref name="mix.spoken"/>
      <rng:ref name="mix.dictionaries"/>
    </rng:choice>
  </define>
  <rng:define name="macro.phrasegroup">
    <rng:choice>
      <rng:text/>
      <rng:ref name="tei.phrase"/>
      <rng:ref name="tei.Incl"/>
    </rng:choice>
  </rng:define>
  <rng:define name="macro.phraseSeq">
    <rng:zeroOrMore>
      <rng:ref name="macro.phrasegroup"/>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="macro.glossSeq">
    <rng:group>
      <rng:optional>
        <rng:ref name="altIdent"/>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:ref name="equiv"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="gloss"/>
      </rng:optional>
      <rng:optional>
        <rng:ref name="desc"/>
      </rng:optional>
    </rng:group>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="macro.componentSeq" combine="choice">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:ref name="macro.component"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </define>
  <rng:define name="macro.paraContent">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.inter"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="macro.specialPara">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.inter"/>
        <rng:ref name="tei.chunk"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="datatype.Certainty">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.Code">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.Extptr">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.Key">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.Language">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.Sex">
    <rng:choice>
      <rng:value>m</rng:value>
      <rng:value>f</rng:value>
      <rng:value>u</rng:value>
      <rng:value>x</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="datatype.Token">
    <rng:text/>
  </rng:define>
  <rng:define name="datatype.UBoolean">
    <rng:choice>
      <rng:value>true</rng:value>
      <rng:value>false</rng:value>
      <rng:value>unknown</rng:value>
      <rng:value>unspecified</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="datatype.Choice">
    <rng:text/>
  </rng:define>
  <rng:define name="TEI.prose">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.verse">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.drama">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.spoken">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.dictionaries">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.terminology">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.general">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.mixed">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.linking">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.analysis">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.fs">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.certainty">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.transcr">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.textcrit">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.names.dates">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.tagdocs">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.nets">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.figures">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.corpus">
    <rng:ref name="IGNORE"/>
  </rng:define>
  <rng:define name="TEI.msdescription">
    <rng:ref name="IGNORE"/>
  </rng:define>
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/textcrit.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fragmentary" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fragmentary.attributes" combine="choice">
    <rng:ref name="tei.fragmentary.attributes.wit"/>
  </define>
  <rng:define name="tei.fragmentary.attributes.wit">
    <rng:optional>
      <rng:attribute name="wit">
        <rng:ref name="tei.fragmentary.attributes.wit.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.fragmentary.attributes.wit.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.readings" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.readings.attributes" combine="choice">
    <rng:ref name="tei.readings.attributes.wit"/>
    <rng:ref name="tei.readings.attributes.type"/>
    <rng:ref name="tei.readings.attributes.cause"/>
    <rng:ref name="tei.readings.attributes.varSeq"/>
    <rng:ref name="tei.readings.attributes.resp"/>
    <rng:ref name="tei.readings.attributes.hand"/>
  </define>
  <rng:define name="tei.readings.attributes.wit">
    <rng:optional>
      <rng:attribute name="wit">
        <rng:ref name="tei.readings.attributes.wit.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.readings.attributes.wit.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="tei.readings.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="tei.readings.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.readings.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.readings.attributes.cause">
    <rng:optional>
      <rng:attribute name="cause">
        <rng:ref name="tei.readings.attributes.cause.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.readings.attributes.cause.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.readings.attributes.varSeq">
    <rng:optional>
      <rng:attribute name="varSeq">
        <rng:ref name="tei.readings.attributes.varSeq.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.readings.attributes.varSeq.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="nonNegativeInteger"/>
  </rng:define>
  <rng:define name="tei.readings.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="tei.readings.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.readings.attributes.resp.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="tei.readings.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="tei.readings.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.readings.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="app">
    <rng:element name="app">
      <rng:ref name="app.content"/>
      <rng:ref name="app.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="app.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="lem"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
        <rng:optional>
          <rng:ref name="wit"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:optional>
      </rng:optional>
      <rng:oneOrMore>
        <rng:choice>
          <rng:group>
            <rng:ref name="rdg"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
            <rng:optional>
              <rng:ref name="wit"/>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:optional>
          </rng:group>
          <rng:group>
            <rng:ref name="rdgGrp"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
            <rng:optional>
              <rng:ref name="wit"/>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:optional>
          </rng:group>
        </rng:choice>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="app.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="app.attributes.type"/>
    <rng:ref name="app.attributes.from"/>
    <rng:ref name="app.attributes.to"/>
    <rng:ref name="app.attributes.loc"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="app">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="app.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="app.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="app.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="app.attributes.from">
    <rng:optional>
      <rng:attribute name="from">
        <rng:ref name="app.attributes.from.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="app.attributes.from.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="app.attributes.to">
    <rng:optional>
      <rng:attribute name="to">
        <rng:ref name="app.attributes.to.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="app.attributes.to.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="app.attributes.loc">
    <rng:optional>
      <rng:attribute name="loc">
        <rng:ref name="app.attributes.loc.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="app.attributes.loc.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="app"/>
  </define>
  <rng:define name="lacunaEnd">
    <rng:element name="lacunaEnd">
      <rng:ref name="lacunaEnd.content"/>
      <rng:ref name="lacunaEnd.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lacunaEnd.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="lacunaEnd.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.fragmentary.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lacunaEnd">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fragmentary" combine="choice">
    <rng:ref name="lacunaEnd"/>
  </define>
  <rng:define name="lacunaStart">
    <rng:element name="lacunaStart">
      <rng:ref name="lacunaStart.content"/>
      <rng:ref name="lacunaStart.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lacunaStart.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="lacunaStart.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.fragmentary.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lacunaStart">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fragmentary" combine="choice">
    <rng:ref name="lacunaStart"/>
  </define>
  <rng:define name="lem">
    <rng:element name="lem">
      <rng:ref name="lem.content"/>
      <rng:ref name="lem.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lem.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.inter"/>
        <rng:ref name="tei.Incl"/>
        <rng:ref name="tei.fragmentary"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="lem.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.readings.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lem">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.readings" combine="choice">
    <rng:ref name="lem"/>
  </define>
  <rng:define name="rdg">
    <rng:element name="rdg">
      <rng:ref name="rdg.content"/>
      <rng:ref name="rdg.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="rdg.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.inter"/>
        <rng:ref name="tei.Incl"/>
        <rng:ref name="tei.fragmentary"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="rdg.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.readings.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="rdg">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.readings" combine="choice">
    <rng:ref name="rdg"/>
  </define>
  <rng:define name="rdgGrp">
    <rng:element name="rdgGrp">
      <rng:ref name="rdgGrp.content"/>
      <rng:ref name="rdgGrp.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="rdgGrp.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:oneOrMore>
        <rng:choice>
          <rng:group>
            <rng:ref name="rdgGrp"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:ref name="rdg"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
            <rng:optional>
              <rng:ref name="wit"/>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:optional>
          </rng:group>
        </rng:choice>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="rdgGrp.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.readings.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="rdgGrp">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.readings" combine="choice">
    <rng:ref name="rdgGrp"/>
  </define>
  <rng:define name="wit">
    <rng:element name="wit">
      <rng:ref name="wit.content"/>
      <rng:ref name="wit.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="wit.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="wit.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="wit">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="witDetail">
    <rng:element name="witDetail">
      <rng:ref name="witDetail.content"/>
      <rng:ref name="witDetail.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="witDetail.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="witDetail.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="witDetail.attributes.target"/>
    <rng:ref name="witDetail.attributes.resp"/>
    <rng:ref name="witDetail.attributes.wit"/>
    <rng:ref name="witDetail.attributes.type"/>
    <rng:ref name="witDetail.attributes.place"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="witDetail">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="witDetail.attributes.target">
    <rng:attribute name="target">
      <rng:ref name="witDetail.attributes.target.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="witDetail.attributes.target.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREFS"/>
  </rng:define>
  <rng:define name="witDetail.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="witDetail.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="witDetail.attributes.resp.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="witDetail.attributes.wit">
    <rng:attribute name="wit">
      <rng:ref name="witDetail.attributes.wit.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="witDetail.attributes.wit.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="witDetail.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="witDetail.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="witDetail.attributes.type.content">
    <rng:text/>
  </rng:define>
  <rng:define name="witDetail.attributes.place">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="place" a:defaultValue="apparatus">
        <rng:ref name="witDetail.attributes.place.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="witDetail.attributes.place.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.notes" combine="choice">
    <rng:ref name="witDetail"/>
  </define>
  <rng:define name="witEnd">
    <rng:element name="witEnd">
      <rng:ref name="witEnd.content"/>
      <rng:ref name="witEnd.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="witEnd.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="witEnd.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.fragmentary.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="witEnd">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fragmentary" combine="choice">
    <rng:ref name="witEnd"/>
  </define>
  <rng:define name="witList">
    <rng:element name="witList">
      <rng:ref name="witList.content"/>
      <rng:ref name="witList.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="witList.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:oneOrMore>
        <rng:ref name="witness"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="witList.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="witList">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.chunk" combine="choice">
    <rng:ref name="witList"/>
  </define>
  <rng:define name="witStart">
    <rng:element name="witStart">
      <rng:ref name="witStart.content"/>
      <rng:ref name="witStart.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="witStart.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="witStart.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.fragmentary.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="witStart">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fragmentary" combine="choice">
    <rng:ref name="witStart"/>
  </define>
  <rng:define name="witness">
    <rng:element name="witness">
      <rng:ref name="witness.content"/>
      <rng:ref name="witness.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="witness.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="witness.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="witness.attributes.sigil"/>
    <rng:ref name="witness.attributes.included"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="witness">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="witness.attributes.sigil">
    <rng:attribute name="sigil">
      <rng:ref name="witness.attributes.sigil.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="witness.attributes.sigil.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="witness.attributes.included">
    <rng:optional>
      <rng:attribute name="included">
        <rng:ref name="witness.attributes.included.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="witness.attributes.included.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/textstructure.rng"-->
  <rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
<!--1. classes-->
<!--2. elements-->
  <rng:define name="argument">
    <rng:element name="argument">
      <rng:ref name="argument.content"/>
      <rng:ref name="argument.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="argument.content">
    <rng:group>
      <rng:optional>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
        <rng:ref name="head"/>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:group>
          <rng:ref name="macro.component"/>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:group>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="argument.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="argument">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="argument"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="argument"/>
  </define>
  <rng:define name="back">
    <rng:element name="back">
      <rng:ref name="back.content"/>
      <rng:ref name="back.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="back.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.front"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:choice>
          <rng:group>
            <rng:ref name="tei.divtop"/>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="tei.divtop"/>
                <rng:ref name="titlePage"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:ref name="div"/>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="div"/>
                <rng:ref name="tei.front"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:ref name="div1"/>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="div1"/>
                <rng:ref name="tei.front"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:group>
        </rng:choice>
      </rng:optional>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="trailer"/>
          <rng:ref name="closer"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="back.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="back">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="back"/>
  </define>
  <rng:define name="body">
    <rng:element name="body">
      <rng:ref name="body.content"/>
      <rng:ref name="body.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="body.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:group>
            <rng:zeroOrMore>
              <rng:ref name="divGen"/>
              <rng:zeroOrMore>
                <rng:ref name="tei.Incl"/>
              </rng:zeroOrMore>
            </rng:zeroOrMore>
            <rng:optional>
              <rng:choice>
                <rng:group>
                  <rng:ref name="div"/>
                  <rng:zeroOrMore>
                    <rng:choice>
                      <rng:ref name="div"/>
                      <rng:ref name="divGen"/>
                      <rng:ref name="tei.Incl"/>
                    </rng:choice>
                  </rng:zeroOrMore>
                </rng:group>
                <rng:group>
                  <rng:ref name="div0"/>
                  <rng:zeroOrMore>
                    <rng:choice>
                      <rng:ref name="div0"/>
                      <rng:ref name="divGen"/>
                      <rng:ref name="tei.Incl"/>
                    </rng:choice>
                  </rng:zeroOrMore>
                </rng:group>
                <rng:group>
                  <rng:ref name="div1"/>
                  <rng:zeroOrMore>
                    <rng:choice>
                      <rng:ref name="div1"/>
                      <rng:ref name="divGen"/>
                      <rng:ref name="tei.Incl"/>
                    </rng:choice>
                  </rng:zeroOrMore>
                </rng:group>
              </rng:choice>
            </rng:optional>
          </rng:group>
        </rng:group>
        <rng:group>
          <rng:zeroOrMore>
            <rng:ref name="divGen"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
          <rng:choice>
            <rng:group>
              <rng:ref name="div"/>
              <rng:zeroOrMore>
                <rng:choice>
                  <rng:ref name="div"/>
                  <rng:ref name="divGen"/>
                  <rng:ref name="tei.Incl"/>
                </rng:choice>
              </rng:zeroOrMore>
            </rng:group>
            <rng:group>
              <rng:ref name="div0"/>
              <rng:zeroOrMore>
                <rng:choice>
                  <rng:ref name="div0"/>
                  <rng:ref name="divGen"/>
                  <rng:ref name="tei.Incl"/>
                </rng:choice>
              </rng:zeroOrMore>
            </rng:group>
            <rng:group>
              <rng:ref name="div1"/>
              <rng:zeroOrMore>
                <rng:choice>
                  <rng:ref name="div1"/>
                  <rng:ref name="divGen"/>
                  <rng:ref name="tei.Incl"/>
                </rng:choice>
              </rng:zeroOrMore>
            </rng:group>
          </rng:choice>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="body.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="body">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="body"/>
  </define>
  <rng:define name="byline">
    <rng:element name="byline">
      <rng:ref name="byline.content"/>
      <rng:ref name="byline.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="byline.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="docAuthor"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="byline.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="byline">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="byline"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="byline"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="byline"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="byline"/>
  </define>
  <rng:define name="closer">
    <rng:element name="closer">
      <rng:ref name="closer.content"/>
      <rng:ref name="closer.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="closer.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="signed"/>
        <rng:ref name="dateline"/>
        <rng:ref name="salute"/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="closer.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="closer">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="closer"/>
  </define>
  <rng:define name="dateline">
    <rng:element name="dateline">
      <rng:ref name="dateline.content"/>
      <rng:ref name="dateline.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="dateline.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="date"/>
        <rng:ref name="time"/>
        <rng:ref name="name"/>
        <rng:ref name="address"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="dateline.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="dateline">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="dateline"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="dateline"/>
  </define>
  <rng:define name="div">
    <rng:element name="div">
      <rng:ref name="div.content"/>
      <rng:ref name="div.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div"/>
  </define>
  <rng:define name="div0">
    <rng:element name="div0">
      <rng:ref name="div0.content"/>
      <rng:ref name="div0.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div0.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div1"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div1"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div0.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div0">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div0"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div0"/>
  </define>
  <rng:define name="div1">
    <rng:element name="div1">
      <rng:ref name="div1.content"/>
      <rng:ref name="div1.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div1.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div2"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div2"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div1.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div1">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div1"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div1"/>
  </define>
  <rng:define name="div2">
    <rng:element name="div2">
      <rng:ref name="div2.content"/>
      <rng:ref name="div2.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div2.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div3"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div3"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div2.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div2">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div2"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div2"/>
  </define>
  <rng:define name="div3">
    <rng:element name="div3">
      <rng:ref name="div3.content"/>
      <rng:ref name="div3.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div3.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div4"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div4"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div3.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div3">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div3"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div3"/>
  </define>
  <rng:define name="div4">
    <rng:element name="div4">
      <rng:ref name="div4.content"/>
      <rng:ref name="div4.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div4.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div5"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div5"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div4.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div4">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div4"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div4"/>
  </define>
  <rng:define name="div5">
    <rng:element name="div5">
      <rng:ref name="div5.content"/>
      <rng:ref name="div5.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div5.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div6"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div6"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div5.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div5">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div5"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div5"/>
  </define>
  <rng:define name="div6">
    <rng:element name="div6">
      <rng:ref name="div6.content"/>
      <rng:ref name="div6.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div6.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:choice>
        <rng:oneOrMore>
          <rng:choice>
            <rng:ref name="div7"/>
            <rng:ref name="divGen"/>
          </rng:choice>
          <rng:zeroOrMore>
            <rng:ref name="tei.Incl"/>
          </rng:zeroOrMore>
        </rng:oneOrMore>
        <rng:group>
          <rng:oneOrMore>
            <rng:ref name="macro.component"/>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:oneOrMore>
          <rng:zeroOrMore>
            <rng:choice>
              <rng:ref name="div7"/>
              <rng:ref name="divGen"/>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:ref name="tei.Incl"/>
            </rng:zeroOrMore>
          </rng:zeroOrMore>
        </rng:group>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div6.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div6">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div6"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div6"/>
  </define>
  <rng:define name="div7">
    <rng:element name="div7">
      <rng:ref name="div7.content"/>
      <rng:ref name="div7.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="div7.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:oneOrMore>
        <rng:ref name="macro.component"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="div7.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="div7">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="div7"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="div7"/>
  </define>
  <rng:define name="docAuthor">
    <rng:element name="docAuthor">
      <rng:ref name="docAuthor.content"/>
      <rng:ref name="docAuthor.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="docAuthor.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="docAuthor.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="docAuthor">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="docAuthor"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="docAuthor"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="docAuthor"/>
  </define>
  <rng:define name="docDate">
    <rng:element name="docDate">
      <rng:ref name="docDate.content"/>
      <rng:ref name="docDate.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="docDate.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="docDate.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="docDate.attributes.value"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="docDate">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="docDate.attributes.value">
    <rng:optional>
      <rng:attribute name="value">
        <rng:ref name="docDate.attributes.value.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="docDate.attributes.value.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="date"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="docDate"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="docDate"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="docDate"/>
  </define>
  <rng:define name="docEdition">
    <rng:element name="docEdition">
      <rng:ref name="docEdition.content"/>
      <rng:ref name="docEdition.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="docEdition.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="docEdition.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="docEdition">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="docEdition"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="docEdition"/>
  </define>
  <rng:define name="docImprint">
    <rng:element name="docImprint">
      <rng:ref name="docImprint.content"/>
      <rng:ref name="docImprint.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="docImprint.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="pubPlace"/>
        <rng:ref name="docDate"/>
        <rng:ref name="publisher"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="docImprint.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="docImprint">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="docImprint"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="docImprint"/>
  </define>
  <rng:define name="docTitle">
    <rng:element name="docTitle">
      <rng:ref name="docTitle.content"/>
      <rng:ref name="docTitle.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="docTitle.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:oneOrMore>
        <rng:ref name="titlePart"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="docTitle.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="docTitle">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="docTitle"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="docTitle"/>
  </define>
  <rng:define name="epigraph">
    <rng:element name="epigraph">
      <rng:ref name="epigraph.content"/>
      <rng:ref name="epigraph.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="epigraph.content">
    <rng:ref name="macro.componentSeq"/>
  </rng:define>
  <rng:define name="epigraph.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="epigraph">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="epigraph"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="epigraph"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="epigraph"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="epigraph"/>
  </define>
  <rng:define name="front">
    <rng:element name="front">
      <rng:ref name="front.content"/>
      <rng:ref name="front.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="front.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.front"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:choice>
          <rng:group>
            <rng:ref name="tei.fmchunk"/>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="tei.fmchunk"/>
                <rng:ref name="titlePage"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:ref name="div"/>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="div"/>
                <rng:ref name="tei.front"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:group>
          <rng:group>
            <rng:ref name="div1"/>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:ref name="div1"/>
                <rng:ref name="tei.front"/>
                <rng:ref name="tei.Incl"/>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:group>
        </rng:choice>
      </rng:optional>
    </rng:group>
  </rng:define>
  <rng:define name="front.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="front">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="front"/>
  </define>
  <rng:define name="group">
    <rng:element name="group">
      <rng:ref name="group.content"/>
      <rng:ref name="group.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="group.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.divtop"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
      <rng:group>
        <rng:choice>
          <rng:ref name="text"/>
          <rng:ref name="group"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:choice>
            <rng:ref name="text"/>
            <rng:ref name="group"/>
            <rng:ref name="tei.Incl"/>
          </rng:choice>
        </rng:zeroOrMore>
      </rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.divbot"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="group.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="group">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="group"/>
  </define>
  <rng:define name="imprimatur">
    <rng:element name="imprimatur">
      <rng:ref name="imprimatur.content"/>
      <rng:ref name="imprimatur.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="imprimatur.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="imprimatur.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="imprimatur">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="imprimatur"/>
  </define>
  <rng:define name="opener">
    <rng:element name="opener">
      <rng:ref name="opener.content"/>
      <rng:ref name="opener.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="opener.content">
    <rng:zeroOrMore>
      <rng:choice>
        <rng:text/>
        <rng:ref name="tei.phrase"/>
        <rng:ref name="argument"/>
        <rng:ref name="byline"/>
        <rng:ref name="dateline"/>
        <rng:ref name="epigraph"/>
        <rng:ref name="salute"/>
        <rng:ref name="signed"/>
        <rng:ref name="tei.Incl"/>
      </rng:choice>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="opener.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="opener">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="opener"/>
  </define>
  <rng:define name="salute">
    <rng:element name="salute">
      <rng:ref name="salute.content"/>
      <rng:ref name="salute.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="salute.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="salute.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="salute">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="salute"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="salute"/>
  </define>
  <rng:define name="signed">
    <rng:element name="signed">
      <rng:ref name="signed.content"/>
      <rng:ref name="signed.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="signed.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="signed.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="signed">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divtop" combine="choice">
    <rng:ref name="signed"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="signed"/>
  </define>
  <rng:define name="text">
    <rng:element name="text">
      <rng:ref name="text.content"/>
      <rng:ref name="text.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="text.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="front"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:choice>
        <rng:ref name="body"/>
        <rng:ref name="group"/>
      </rng:choice>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="back"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
    </rng:group>
  </rng:define>
  <rng:define name="text.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.declaring.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="text">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.inter" combine="choice">
    <rng:ref name="text"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.declaring" combine="choice">
    <rng:ref name="text"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.teiText" combine="choice">
    <rng:ref name="text"/>
  </define>
  <rng:define name="titlePage">
    <rng:element name="titlePage">
      <rng:ref name="titlePage.content"/>
      <rng:ref name="titlePage.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="titlePage.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:ref name="tei.tpParts"/>
      <rng:zeroOrMore>
        <rng:choice>
          <rng:ref name="tei.tpParts"/>
          <rng:ref name="tei.Incl"/>
        </rng:choice>
      </rng:zeroOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="titlePage.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="titlePage.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="titlePage">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="titlePage.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="titlePage.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="titlePage.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.front" combine="choice">
    <rng:ref name="titlePage"/>
  </define>
  <rng:define name="titlePart">
    <rng:element name="titlePart">
      <rng:ref name="titlePart.content"/>
      <rng:ref name="titlePart.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="titlePart.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="titlePart.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="titlePart.attributes.type"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="titlePart">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="titlePart.attributes.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="main">
        <rng:ref name="titlePart.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="titlePart.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.tpParts" combine="choice">
    <rng:ref name="titlePart"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.fmchunk" combine="choice">
    <rng:ref name="titlePart"/>
  </define>
  <rng:define name="trailer">
    <rng:element name="trailer">
      <rng:ref name="trailer.content"/>
      <rng:ref name="trailer.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="trailer.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="trailer.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="trailer">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divbot" combine="choice">
    <rng:ref name="trailer"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/transcr.rng"-->
  <rng:define name="supplied"><rng:element name="supplied"><rng:ref name="supplied.content"/><rng:ref name="supplied.attributes"/></rng:element></rng:define><rng:define name="supplied.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="facs"/><rng:ref name="dipl"/><rng:ref name="norm"/><rng:ref name="tei.phrase"/><rng:ref name="tei.inter"/><rng:ref name="tei.Incl"/><rng:ref name="tei.fragmentary"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="supplied.attributes"><rng:ref name="tei.global.attributes"/><rng:optional><rng:ref name="supplied.attributes.reason"/></rng:optional><rng:optional><rng:ref name="supplied.attributes.resp"/></rng:optional><rng:optional><rng:ref name="supplied.attributes.hand"/></rng:optional><rng:optional><rng:ref name="supplied.attributes.agent"/></rng:optional><rng:optional><rng:ref name="supplied.attributes.source"/></rng:optional><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="supplied"><rng:text/></rng:attribute></rng:optional><rng:optional><rng:attribute name="type"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
<!--1. classes-->
<!--2. elements-->
  <rng:define name="addSpan">
    <rng:element name="addSpan">
      <rng:ref name="addSpan.content"/>
      <rng:ref name="addSpan.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="addSpan.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="addSpan.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="addSpan.attributes.type"/>
    <rng:ref name="addSpan.attributes.place"/>
    <rng:ref name="addSpan.attributes.resp"/>
    <rng:ref name="addSpan.attributes.cert"/>
    <rng:ref name="addSpan.attributes.hand"/>
    <rng:ref name="addSpan.attributes.to"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="addSpan">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="addSpan.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="addSpan.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="addSpan.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="addSpan.attributes.place">
    <rng:optional>
      <rng:attribute name="place">
        <rng:ref name="addSpan.attributes.place.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="addSpan.attributes.place.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="addSpan.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="addSpan.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="addSpan.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="addSpan.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="addSpan.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="addSpan.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="addSpan.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="addSpan.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="addSpan.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="addSpan.attributes.to">
    <rng:attribute name="to">
      <rng:ref name="addSpan.attributes.to.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="addSpan.attributes.to.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.editIncl" combine="choice">
    <rng:ref name="addSpan"/>
  </define>
  <rng:define name="damage">
    <rng:element name="damage">
      <rng:ref name="damage.content"/>
      <rng:ref name="damage.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="damage.content">
    <rng:ref name="macro.paraContent"/>
  </rng:define>
  <rng:define name="damage.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="damage.attributes.type"/>
    <rng:ref name="damage.attributes.extent"/>
    <rng:ref name="damage.attributes.resp"/>
    <rng:ref name="damage.attributes.hand"/>
    <rng:ref name="damage.attributes.agent"/>
    <rng:ref name="damage.attributes.degree"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="damage">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="damage.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="damage.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="damage.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="damage.attributes.extent">
    <rng:optional>
      <rng:attribute name="extent">
        <rng:ref name="damage.attributes.extent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="damage.attributes.extent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="damage.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="damage.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="damage.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="damage.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="damage.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="damage.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="damage.attributes.agent">
    <rng:optional>
      <rng:attribute name="agent">
        <rng:ref name="damage.attributes.agent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="damage.attributes.agent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="damage.attributes.degree">
    <rng:optional>
      <rng:attribute name="degree">
        <rng:ref name="damage.attributes.degree.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="damage.attributes.degree.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="damage"/>
  </define>
  <rng:define name="delSpan">
    <rng:element name="delSpan">
      <rng:ref name="delSpan.content"/>
      <rng:ref name="delSpan.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="delSpan.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="delSpan.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="delSpan.attributes.type"/>
    <rng:ref name="delSpan.attributes.resp"/>
    <rng:ref name="delSpan.attributes.cert"/>
    <rng:ref name="delSpan.attributes.hand"/>
    <rng:ref name="delSpan.attributes.to"/>
    <rng:ref name="delSpan.attributes.status"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="delSpan">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="delSpan.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="delSpan.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="delSpan.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="delSpan.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="delSpan.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="delSpan.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="delSpan.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="delSpan.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="delSpan.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="delSpan.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="delSpan.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="delSpan.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="delSpan.attributes.to">
    <rng:attribute name="to">
      <rng:ref name="delSpan.attributes.to.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="delSpan.attributes.to.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="delSpan.attributes.status">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unremarkable">
        <rng:ref name="delSpan.attributes.status.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="delSpan.attributes.status.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.editIncl" combine="choice">
    <rng:ref name="delSpan"/>
  </define>
  <rng:define name="fw">
    <rng:element name="fw">
      <rng:ref name="fw.content"/>
      <rng:ref name="fw.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="fw.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="fw.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="fw.attributes.type"/>
    <rng:ref name="fw.attributes.place"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="fw">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="fw.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="fw.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="fw.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="fw.attributes.place">
    <rng:optional>
      <rng:attribute name="place">
        <rng:ref name="fw.attributes.place.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="fw.attributes.place.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.refsys" combine="choice">
    <rng:ref name="fw"/>
  </define>
  <rng:define name="hand">
    <rng:element name="hand">
      <rng:ref name="hand.content"/>
      <rng:ref name="hand.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="hand.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="hand.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="hand.attributes.hand"/>
    <rng:ref name="hand.attributes.scribe"/>
    <rng:ref name="hand.attributes.style"/>
    <rng:ref name="hand.attributes.mainLang"/>
    <rng:ref name="hand.attributes.ink"/>
    <rng:ref name="hand.attributes.character"/>
    <rng:ref name="hand.attributes.first"/>
    <rng:ref name="hand.attributes.resp"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="hand">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="hand.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="hand.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.hand.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="hand.attributes.scribe">
    <rng:optional>
      <rng:attribute name="scribe">
        <rng:ref name="hand.attributes.scribe.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.scribe.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="hand.attributes.style">
    <rng:optional>
      <rng:attribute name="style">
        <rng:ref name="hand.attributes.style.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.style.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="hand.attributes.mainLang">
    <rng:optional>
      <rng:attribute name="mainLang">
        <rng:ref name="hand.attributes.mainLang.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.mainLang.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="hand.attributes.ink">
    <rng:optional>
      <rng:attribute name="ink">
        <rng:ref name="hand.attributes.ink.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.ink.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="hand.attributes.character">
    <rng:optional>
      <rng:attribute name="character">
        <rng:ref name="hand.attributes.character.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.character.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="hand.attributes.first">
    <rng:optional>
      <rng:attribute name="first">
        <rng:ref name="hand.attributes.first.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.first.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="boolean"/>
  </rng:define>
  <rng:define name="hand.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="hand.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="hand.attributes.resp.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="handList">
    <rng:element name="handList">
      <rng:ref name="handList.content"/>
      <rng:ref name="handList.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="handList.content">
    <rng:zeroOrMore>
      <rng:ref name="hand"/>
    </rng:zeroOrMore>
  </rng:define>
  <rng:define name="handList.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="handList">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:ref name="handList"/>
  </define>
  <rng:define name="handShift">
    <rng:element name="handShift">
      <rng:ref name="handShift.content"/>
      <rng:ref name="handShift.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="handShift.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="handShift.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="handShift.attributes.new"/>
    <rng:ref name="handShift.attributes.old"/>
    <rng:ref name="handShift.attributes.style"/>
    <rng:ref name="handShift.attributes.ink"/>
    <rng:ref name="handShift.attributes.character"/>
    <rng:ref name="handShift.attributes.resp"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="handShift">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="handShift.attributes.new">
    <rng:attribute name="new">
      <rng:ref name="handShift.attributes.new.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="handShift.attributes.new.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="handShift.attributes.old">
    <rng:attribute name="old">
      <rng:ref name="handShift.attributes.old.content"/>
    </rng:attribute>
  </rng:define>
  <rng:define name="handShift.attributes.old.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="handShift.attributes.style">
    <rng:optional>
      <rng:attribute name="style">
        <rng:ref name="handShift.attributes.style.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handShift.attributes.style.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="handShift.attributes.ink">
    <rng:optional>
      <rng:attribute name="ink">
        <rng:ref name="handShift.attributes.ink.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handShift.attributes.ink.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="handShift.attributes.character">
    <rng:optional>
      <rng:attribute name="character">
        <rng:ref name="handShift.attributes.character.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handShift.attributes.character.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="handShift.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="handShift.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="handShift.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.profile" combine="choice">
    <rng:ref name="handShift"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase" combine="choice">
    <rng:ref name="handShift"/>
  </define>
  <rng:define name="restore">
    <rng:element name="restore">
      <rng:ref name="restore.content"/>
      <rng:ref name="restore.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="restore.content">
    <rng:ref name="macro.phraseSeq"/>
  </rng:define>
  <rng:define name="restore.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="restore.attributes.desc"/>
    <rng:ref name="restore.attributes.cert"/>
    <rng:ref name="restore.attributes.type"/>
    <rng:ref name="restore.attributes.resp"/>
    <rng:ref name="restore.attributes.hand"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="restore">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="restore.attributes.desc">
    <rng:optional>
      <rng:attribute name="desc">
        <rng:ref name="restore.attributes.desc.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="restore.attributes.desc.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="restore.attributes.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <rng:ref name="restore.attributes.cert.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="restore.attributes.cert.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="restore.attributes.type">
    <rng:optional>
      <rng:attribute name="type">
        <rng:ref name="restore.attributes.type.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="restore.attributes.type.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="restore.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="restore.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="restore.attributes.resp.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="restore.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="restore.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="restore.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="restore"/>
  </define>
  <rng:define name="space">
    <rng:element name="space">
      <rng:ref name="space.content"/>
      <rng:ref name="space.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="space.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="space.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="space.attributes.dim"/>
    <rng:ref name="space.attributes.extent"/>
    <rng:ref name="space.attributes.resp"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="space">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <rng:define name="space.attributes.dim">
    <rng:optional>
      <rng:attribute name="dim">
        <rng:ref name="space.attributes.dim.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="space.attributes.dim.content">
    <rng:choice>
      <rng:value>horizontal</rng:value>
      <rng:value>vertical</rng:value>
    </rng:choice>
  </rng:define>
  <rng:define name="space.attributes.extent">
    <rng:optional>
      <rng:attribute name="extent">
        <rng:ref name="space.attributes.extent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="space.attributes.extent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="space.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="space.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="space.attributes.resp.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="space"/>
  </define>
  
  
  
  <rng:define name="supplied.attributes.reason">
    <rng:optional>
      <rng:attribute name="reason">
        <rng:ref name="supplied.attributes.reason.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="supplied.attributes.reason.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="supplied.attributes.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <rng:ref name="supplied.attributes.resp.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="supplied.attributes.resp.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="supplied.attributes.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <rng:ref name="supplied.attributes.hand.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="supplied.attributes.hand.content">
    <rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/>
  </rng:define>
  <rng:define name="supplied.attributes.agent">
    <rng:optional>
      <rng:attribute name="agent">
        <rng:ref name="supplied.attributes.agent.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="supplied.attributes.agent.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="supplied.attributes.source">
    <rng:optional>
      <rng:attribute name="source">
        <rng:ref name="supplied.attributes.source.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="supplied.attributes.source.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice">
    <rng:ref name="supplied"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:div ns="http://www.tei-c.org/ns/1.0">
  <!--include "http://localhost/schema/relaxng/p5/verse.rng"-->
  <rng:define name="tei.metrical.attributes" combine="choice"><rng:ref name="tei.metrical.attributes.ass"/><rng:ref name="tei.metrical.attributes.all"/><rng:ref name="tei.metrical.attributes.met"/></rng:define><rng:define name="tei.metrical.attributes.type"><rng:notAllowed/></rng:define><rng:define name="tei.metrical.attributes.ass"><rng:optional><rng:attribute name="ass"><rng:ref name="tei.metrical.attributes.ass.content"/></rng:attribute></rng:optional></rng:define><rng:define name="tei.metrical.attributes.ass.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="tei.metrical.attributes.all"><rng:optional><rng:attribute name="all"><rng:ref name="tei.metrical.attributes.all.content"/></rng:attribute></rng:optional></rng:define><rng:define name="tei.metrical.attributes.all.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="tei.metrical.attributes.met"><rng:optional><rng:attribute name="met"><rng:ref name="tei.metrical.attributes.met.content"/></rng:attribute></rng:optional></rng:define><rng:define name="tei.metrical.attributes.met.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:div datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!--Schema generated 2004-11-30T23:14:06Z
Copyright 2004 TEI Consortium. 
This is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This material is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this file; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 
To contact the TEI Consortium use the following addresses.
For general (non-technical) enquiries: For membership enquiries: For technical enqiries, particularly about the Guidelines, DTDs,
   schemas, or software available from the TEI-C: via physical mail:
TEI Office, 
AKSIS, 
Allegaten 27, 
N-5007 Bergen, 
Norway, 
or
TEI c/o IATH,
Alderman Library, University of Virginia,
P.O. Box 400115,
Charlottesville, VA 22904-4115,
USA
-->
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse.attributes" combine="choice">
    <rng:empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metrical" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.metrical.attributes" combine="choice">
    <rng:ref name="tei.metrical.attributes.met"/>
    <rng:ref name="tei.metrical.attributes.real"/>
    <rng:ref name="tei.metrical.attributes.rhyme"/>
  </define>
  
  
  <rng:define name="tei.metrical.attributes.real">
    <rng:optional>
      <rng:attribute name="real">
        <rng:ref name="tei.metrical.attributes.real.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.metrical.attributes.real.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <rng:define name="tei.metrical.attributes.rhyme">
    <rng:optional>
      <rng:attribute name="rhyme">
        <rng:ref name="tei.metrical.attributes.rhyme.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.metrical.attributes.rhyme.content">
    <rng:ref xmlns="http://www.tei-c.org/ns/1.0" name="datatype.Key"/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.enjamb" combine="choice">
    <rng:notAllowed/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.enjamb.attributes" combine="choice">
    <rng:ref name="tei.enjamb.attributes.enjamb"/>
  </define>
  <rng:define name="tei.enjamb.attributes.enjamb">
    <rng:optional>
      <rng:attribute name="enjamb">
        <rng:ref name="tei.enjamb.attributes.enjamb.content"/>
      </rng:attribute>
    </rng:optional>
  </rng:define>
  <rng:define name="tei.enjamb.attributes.enjamb.content">
    <rng:text xmlns="http://www.tei-c.org/ns/1.0"/>
  </rng:define>
  <rng:define name="mix.verse">
    <rng:ref name="tei.comp.verse"/>
  </rng:define>
<!--1. classes-->
<!--2. elements-->
  <rng:define name="caesura">
    <rng:element name="caesura">
      <rng:ref name="caesura.content"/>
      <rng:ref name="caesura.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="caesura.content">
    <rng:empty/>
  </rng:define>
  <rng:define name="caesura.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="caesura">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.phrase.verse" combine="choice">
    <rng:ref name="caesura"/>
  </define>
  <rng:define name="lg1">
    <rng:element name="lg1">
      <rng:ref name="lg1.content"/>
      <rng:ref name="lg1.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lg1.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="l"/>
          <rng:ref name="lg2"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="lg1.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lg1">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <rng:ref name="lg1"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="lg1"/>
  </define>
  <rng:define name="lg2">
    <rng:element name="lg2">
      <rng:ref name="lg2.content"/>
      <rng:ref name="lg2.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lg2.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="l"/>
          <rng:ref name="lg3"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="lg2.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lg2">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <rng:ref name="lg2"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="lg2"/>
  </define>
  <rng:define name="lg3">
    <rng:element name="lg3">
      <rng:ref name="lg3.content"/>
      <rng:ref name="lg3.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lg3.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="l"/>
          <rng:ref name="lg4"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="lg3.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lg3">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <rng:ref name="lg3"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="lg3"/>
  </define>
  <rng:define name="lg4">
    <rng:element name="lg4">
      <rng:ref name="lg4.content"/>
      <rng:ref name="lg4.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lg4.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="l"/>
          <rng:ref name="lg5"/>
        </rng:choice>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="lg4.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lg4">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <rng:ref name="lg4"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="lg4"/>
  </define>
  <rng:define name="lg5">
    <rng:element name="lg5">
      <rng:ref name="lg5.content"/>
      <rng:ref name="lg5.attributes"/>
    </rng:element>
  </rng:define>
  <rng:define name="lg5.content">
    <rng:group>
      <rng:zeroOrMore>
        <rng:ref name="tei.Incl"/>
      </rng:zeroOrMore>
      <rng:optional>
        <rng:ref name="head"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:optional>
      <rng:oneOrMore>
        <rng:ref name="l"/>
        <rng:zeroOrMore>
          <rng:ref name="tei.Incl"/>
        </rng:zeroOrMore>
      </rng:oneOrMore>
    </rng:group>
  </rng:define>
  <rng:define name="lg5.attributes">
    <rng:ref name="tei.global.attributes"/>
    <rng:ref name="tei.divn.attributes"/>
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lg5">
        <rng:text/>
      </rng:attribute>
    </rng:optional>
    <rng:empty/>
  </rng:define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.comp.verse" combine="choice">
    <rng:ref name="lg5"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.divn" combine="choice">
    <rng:ref name="lg5"/>
  </define>
<!--3. macros-->
</rng:div></rng:div><rng:define name="dipl"><rng:element name="dipl"><rng:ref name="dipl.content"/><rng:ref name="dipl.attributes"/></rng:element></rng:define><rng:define name="dipl.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="tei.phrase"/><rng:ref name="note"/><rng:ref name="tei.fragmentary"/><rng:ref name="tei.Incl"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="dipl.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:ref name="dipl.attributes.resp"/><rng:ref name="dipl.attributes.reg"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="dipl"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="dipl.attributes.resp"><rng:optional><rng:attribute name="resp"><rng:ref name="dipl.attributes.resp.content"/></rng:attribute></rng:optional></rng:define><rng:define name="dipl.attributes.resp.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="dipl.attributes.reg"><rng:optional><rng:attribute name="reg"><rng:ref name="dipl.attributes.reg.content"/></rng:attribute></rng:optional></rng:define><rng:define name="dipl.attributes.reg.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="dipl"/></define><rng:define name="expunged"><rng:element name="expunged"><rng:ref name="expunged.content"/><rng:ref name="expunged.attributes"/></rng:element></rng:define><rng:define name="expunged.content"><rng:text/></rng:define><rng:define name="expunged.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="expunged"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="expunged.attributes.type"><rng:optional><rng:attribute name="type"><rng:ref name="expunged.attributes.type.content"/></rng:attribute></rng:optional></rng:define><rng:define name="expunged.attributes.type.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="expunged.attributes.status"><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unremarkable"><rng:ref name="expunged.attributes.status.content"/></rng:attribute></rng:optional></rng:define><rng:define name="expunged.attributes.status.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="expunged.attributes.resp"><rng:optional><rng:attribute name="resp"><rng:ref name="expunged.attributes.resp.content"/></rng:attribute></rng:optional></rng:define><rng:define name="expunged.attributes.resp.content"><rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/></rng:define><rng:define name="expunged.attributes.cert"><rng:optional><rng:attribute name="cert"><rng:ref name="expunged.attributes.cert.content"/></rng:attribute></rng:optional></rng:define><rng:define name="expunged.attributes.cert.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="expunged.attributes.hand"><rng:optional><rng:attribute name="hand"><rng:ref name="expunged.attributes.hand.content"/></rng:attribute></rng:optional></rng:define><rng:define name="expunged.attributes.hand.content"><rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.edit" combine="choice"><rng:ref name="expunged"/></define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="expunged"/></define><rng:define name="facs"><rng:element name="facs"><rng:ref name="facs.content"/><rng:ref name="facs.attributes"/></rng:element></rng:define><rng:define name="facs.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="tei.phrase"/><rng:ref name="note"/><rng:ref name="tei.fragmentary"/><rng:ref name="tei.Incl"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="facs.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:ref name="facs.attributes.resp"/><rng:ref name="facs.attributes.reg"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="facs"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="facs.attributes.resp"><rng:optional><rng:attribute name="resp"><rng:ref name="facs.attributes.resp.content"/></rng:attribute></rng:optional></rng:define><rng:define name="facs.attributes.resp.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="facs.attributes.reg"><rng:optional><rng:attribute name="reg"><rng:ref name="facs.attributes.reg.content"/></rng:attribute></rng:optional></rng:define><rng:define name="facs.attributes.reg.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="facs"/></define><rng:define name="lemma"><rng:element name="lemma"><rng:ref name="lemma.content"/><rng:ref name="lemma.attributes"/></rng:element></rng:define><rng:define name="lemma.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="tei.phrase"/><rng:ref name="tei.Incl"/><rng:ref name="tei.inter"/><rng:ref name="tei.fragmentary"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="lemma.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="lemma"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="lemma"/></define><rng:define name="norm"><rng:element name="norm"><rng:ref name="norm.content"/><rng:ref name="norm.attributes"/></rng:element></rng:define><rng:define name="norm.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="tei.phrase"/><rng:ref name="note"/><rng:ref name="tei.fragmentary"/><rng:ref name="tei.Incl"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="norm.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:ref name="norm.attributes.resp"/><rng:ref name="norm.attributes.orig"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="norm"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="norm.attributes.resp"><rng:optional><rng:attribute name="resp"><rng:ref name="norm.attributes.resp.content"/></rng:attribute></rng:optional></rng:define><rng:define name="norm.attributes.resp.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="norm.attributes.orig"><rng:optional><rng:attribute name="orig"><rng:ref name="norm.attributes.orig.content"/></rng:attribute></rng:optional></rng:define><rng:define name="norm.attributes.orig.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="norm"/></define><rng:define name="pal"><rng:element name="pal"><rng:ref name="pal.content"/><rng:ref name="pal.attributes"/></rng:element></rng:define><rng:define name="pal.content"><rng:zeroOrMore><rng:choice><rng:text/><rng:ref name="tei.phrase"/><rng:ref name="note"/><rng:ref name="tei.fragmentary"/></rng:choice></rng:zeroOrMore></rng:define><rng:define name="pal.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="pal"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="pal.attributes.reg"><rng:optional><rng:attribute name="reg"><rng:ref name="pal.attributes.reg.content"/></rng:attribute></rng:optional></rng:define><rng:define name="pal.attributes.reg.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="pal.attributes.resp"><rng:optional><rng:attribute name="resp"><rng:ref name="pal.attributes.resp.content"/></rng:attribute></rng:optional></rng:define><rng:define name="pal.attributes.resp.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="pal"/></define><rng:define name="punct"><rng:element name="punct"><rng:ref name="punct.content"/><rng:ref name="punct.attributes"/></rng:element></rng:define><rng:define name="punct.content"><rng:ref name="macro.phraseSeq"/></rng:define><rng:define name="punct.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="tei.seg.attributes"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="punct"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="punct.attributes.pos"><rng:optional><rng:attribute name="pos"><rng:ref name="punct.attributes.pos.content"/></rng:attribute></rng:optional></rng:define><rng:define name="punct.attributes.pos.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="punct.attributes.reg"><rng:optional><rng:attribute name="reg"><rng:ref name="punct.attributes.reg.content"/></rng:attribute></rng:optional></rng:define><rng:define name="punct.attributes.reg.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.seg" combine="choice"><rng:ref name="punct"/></define><rng:define name="textSpan"><rng:element name="textSpan"><rng:ref name="textSpan.content"/><rng:ref name="textSpan.attributes"/></rng:element></rng:define><rng:define name="textSpan.content"><rng:empty/></rng:define><rng:define name="textSpan.attributes"><rng:ref name="tei.global.attributes"/><rng:ref name="textSpan.attributes.category"/><rng:ref name="textSpan.attributes.type"/><rng:ref name="textSpan.attributes.place"/><rng:ref name="textSpan.attributes.resp"/><rng:ref name="textSpan.attributes.cert"/><rng:ref name="textSpan.attributes.hand"/><rng:ref name="textSpan.attributes.to"/><rng:ref name="textSpan.attributes.source"/><rng:ref name="textSpan.attributes.agent"/><rng:optional><rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="TEIform" a:defaultValue="textSpan"><rng:text/></rng:attribute></rng:optional><rng:empty/></rng:define><rng:define name="textSpan.attributes.category"><rng:optional><rng:attribute name="category"><rng:ref name="textSpan.attributes.category.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.category.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="textSpan.attributes.type"><rng:optional><rng:attribute name="type"><rng:ref name="textSpan.attributes.type.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.type.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="textSpan.attributes.place"><rng:optional><rng:attribute name="place"><rng:ref name="textSpan.attributes.place.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.place.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="textSpan.attributes.resp"><rng:optional><rng:attribute name="resp"><rng:ref name="textSpan.attributes.resp.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.resp.content"><rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/></rng:define><rng:define name="textSpan.attributes.cert"><rng:optional><rng:attribute name="cert"><rng:ref name="textSpan.attributes.cert.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.cert.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="textSpan.attributes.hand"><rng:optional><rng:attribute name="hand"><rng:ref name="textSpan.attributes.hand.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.hand.content"><rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/></rng:define><rng:define name="textSpan.attributes.to"><rng:optional><rng:attribute name="to"><rng:ref name="textSpan.attributes.to.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.to.content"><rng:data xmlns="http://www.tei-c.org/ns/1.0" type="IDREF"/></rng:define><rng:define name="textSpan.attributes.source"><rng:optional><rng:attribute name="source"><rng:ref name="textSpan.attributes.source.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.source.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><rng:define name="textSpan.attributes.agent"><rng:optional><rng:attribute name="agent"><rng:ref name="textSpan.attributes.agent.content"/></rng:attribute></rng:optional></rng:define><rng:define name="textSpan.attributes.agent.content"><rng:text xmlns="http://www.tei-c.org/ns/1.0"/></rng:define><define xmlns="http://relaxng.org/ns/structure/1.0" name="tei.editIncl" combine="choice"><rng:ref name="textSpan"/></define><start xmlns="http://relaxng.org/ns/structure/1.0"><choice><ref name="TEI"/><ref name="teiCorpus"/></choice></start></rng:grammar>

