<?xml version="1.0" encoding="UTF-8"?>
<!-- TEI DTD  generated on 2004-07-16 -->
<!--
  ** Text Encoding Initiative Consortium:
  ** Guidelines for Electronic Text Encoding and Interchange.
  ** Compiled version of TEI Lite, a view of the the TEI DTD, as
  ** documented in TEI U5. Based on the 2004-07-15 TEI P4 (XML) DTD.
  **
  ** Copyright 2004 TEI Consortium.
  **
  ** This document type declaration 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 DTD 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 DTD fragment; if not, write to the
  **   Free Software Foundation, Inc.
  **   59 Temple Place, Suite 330
  **   Boston, MA  02111-1307
  **   USA
-->
<!--
  ** Modified versions this DTD may well validate non-conformant
  ** documents. To create DTDs that validate only TEI conformant
  ** documents customizations should be performed only as specified by
  ** chapter 29 of the Guidelines, "Modifying and Customizing the TEI
  ** DTD". This can often be most easily accomplished by obtaining the
  ** customization files used to make this file (available at
  ** http://www.tei-c.org/Lite/DTD/teilitex.dtd and
  ** http://www.tei-c.org/Lite/DTD/teilitex.ent), modifying those files
  ** to suit your needs, and then generating a compiled DTD like this
  ** one using the "pizza chef" at http://www.tei-c.org/pizza.html.
  **
  ** Users not following these recomendations, but rather directly
  ** modifying this file, are asked to change the root element name
  ** from "TEI.2" to something that does not start with the letters
  ** "TEI" or "tei".
  **
  ** These materials are subject to revision; the TEI Consortium plans
  ** to maintain these Guidelines for 5 years past the publication of
  ** the next major version (P5), during which period current versions
  ** of this (P4) DTD should be available from the Consortium website
  ** at http://www.tei-c.org/.
  ** 
  ** To contact the TEI Consortium use the following addresses.
  ** - For general (non-technical) enquiries: info@tei-c.org
  ** - For membership enquiries: membership@tei-c.org
  ** - For technical enqiries, particularly about the Guidelines, DTDs,
  **    schemas, or software available from the TEI-C: editors@tei-c.org
  ** - via physical mail:
  **     TEI Office         TEI c/o IATH
  **     AKSIS              Alderman Library, University of Virginia
  **     Allegaten 27       P.O. Box 400115
  **     N-5007 Bergen      Charlottesville, VA  22904-4115
  **     Norway             USA
-->
<!--
  ** This file is the equivalent of the following DOCTYPE declaration:
  ** <!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD Main DTD Driver File//EN"
  **                        "http://www.tei-c.org/P4X/DTD/tei2.dtd" [
  **    <!ENTITY % TEI.prose    'INCLUDE' >
  **    <!ENTITY % TEI.linking  'INCLUDE' >
  **    <!ENTITY % TEI.analysis 'INCLUDE' >
  **    <!ENTITY % TEI.figures  'INCLUDE' >
  **    <!ENTITY % TEI.XML      'INCLUDE' >
  **    <!ENTITY % TEI.extensions.ent SYSTEM 'http://www.tei-c.org/Lite/DTD/teilitex.ent' >
  **    <!ENTITY % TEI.extensions.dtd SYSTEM 'http://www.tei-c.org/Lite/DTD/teilitex.dtd' >
  ** ]>
  ** and was actually created by maketeidtd using the driver
  ** file at http://www.tei-c.org/Lite/DTD/teixlite.dec.
-->
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <define name="TEI.2">
    <element name="TEI.2">
      <ref name="attlist.TEI.2"/>
      <ref name="teiHeader"/>
      <ref name="text"/>
    </element>
  </define>
  <define name="attlist.TEI.2" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="TEI.2"/>
    </optional>
  </define>
  <define name="gi">
    <element name="gi">
      <ref name="attlist.gi"/>
      <text/>
    </element>
  </define>
  <define name="attlist.gi" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEI" a:defaultValue="yes">
        <choice>
          <value>yes</value>
          <value>no</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="gi"/>
    </optional>
  </define>
  <define name="eg">
    <element name="eg">
      <ref name="attlist.eg"/>
      <text/>
    </element>
  </define>
  <define name="attlist.eg" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="eg"/>
    </optional>
  </define>
  <define name="code">
    <element name="code">
      <ref name="attlist.code"/>
      <text/>
    </element>
  </define>
  <define name="attlist.code" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
  </define>
  <define name="ident">
    <element name="ident">
      <ref name="attlist.ident"/>
      <text/>
    </element>
  </define>
  <define name="attlist.ident" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
  </define>
  <define name="kw">
    <element name="kw">
      <ref name="attlist.kw"/>
      <text/>
    </element>
  </define>
  <define name="attlist.kw" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
  </define>
  <define name="teiHeader">
    <element name="teiHeader">
      <ref name="attlist.teiHeader"/>
      <ref name="fileDesc"/>
      <zeroOrMore>
        <ref name="encodingDesc"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="profileDesc"/>
      </zeroOrMore>
      <optional>
        <ref name="revisionDesc"/>
      </optional>
    </element>
  </define>
  <define name="attlist.teiHeader" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type" a:defaultValue="text"/>
    </optional>
    <optional>
      <attribute name="creator"/>
    </optional>
    <optional>
      <attribute name="status" a:defaultValue="new">
        <choice>
          <value>new</value>
          <value>update</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="date.created"/>
    </optional>
    <optional>
      <attribute name="date.updated"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="teiHeader"/>
    </optional>
  </define>
  <define name="fileDesc">
    <element name="fileDesc">
      <ref name="attlist.fileDesc"/>
      <ref name="titleStmt"/>
      <optional>
        <ref name="editionStmt"/>
      </optional>
      <optional>
        <ref name="extent"/>
      </optional>
      <ref name="publicationStmt"/>
      <optional>
        <ref name="seriesStmt"/>
      </optional>
      <optional>
        <ref name="notesStmt"/>
      </optional>
      <oneOrMore>
        <ref name="sourceDesc"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.fileDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="fileDesc"/>
    </optional>
  </define>
  <define name="titleStmt">
    <element name="titleStmt">
      <ref name="attlist.titleStmt"/>
      <oneOrMore>
        <ref name="title"/>
      </oneOrMore>
      <zeroOrMore>
        <choice>
          <ref name="author"/>
          <ref name="editor"/>
          <ref name="sponsor"/>
          <ref name="funder"/>
          <ref name="principal"/>
          <ref name="respStmt"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.titleStmt" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="titleStmt"/>
    </optional>
  </define>
  <define name="sponsor">
    <element name="sponsor">
      <ref name="attlist.sponsor"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.sponsor" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="sponsor"/>
    </optional>
  </define>
  <define name="funder">
    <element name="funder">
      <ref name="attlist.funder"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.funder" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="funder"/>
    </optional>
  </define>
  <define name="principal">
    <element name="principal">
      <ref name="attlist.principal"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.principal" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="principal"/>
    </optional>
  </define>
  <define name="editionStmt">
    <element name="editionStmt">
      <ref name="attlist.editionStmt"/>
      <choice>
        <group>
          <ref name="edition"/>
          <zeroOrMore>
            <ref name="respStmt"/>
          </zeroOrMore>
        </group>
        <oneOrMore>
          <ref name="p"/>
        </oneOrMore>
      </choice>
    </element>
  </define>
  <define name="attlist.editionStmt" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="editionStmt"/>
    </optional>
  </define>
  <define name="edition">
    <element name="edition">
      <ref name="attlist.edition"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.edition" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="edition"/>
    </optional>
  </define>
  <define name="extent">
    <element name="extent">
      <ref name="attlist.extent"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.extent" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="extent"/>
    </optional>
  </define>
  <define name="publicationStmt">
    <element name="publicationStmt">
      <ref name="attlist.publicationStmt"/>
      <choice>
        <oneOrMore>
          <ref name="p"/>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="publisher"/>
            <ref name="distributor"/>
            <ref name="authority"/>
            <ref name="pubPlace"/>
            <ref name="address"/>
            <ref name="idno"/>
            <ref name="availability"/>
            <ref name="date"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
      </choice>
    </element>
  </define>
  <define name="attlist.publicationStmt" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="publicationStmt"/>
    </optional>
  </define>
  <define name="distributor">
    <element name="distributor">
      <ref name="attlist.distributor"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.distributor" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="distributor"/>
    </optional>
  </define>
  <define name="authority">
    <element name="authority">
      <ref name="attlist.authority"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.authority" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="authority"/>
    </optional>
  </define>
  <define name="idno">
    <element name="idno">
      <ref name="attlist.idno"/>
      <text/>
    </element>
  </define>
  <define name="attlist.idno" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="idno"/>
    </optional>
  </define>
  <define name="availability">
    <element name="availability">
      <ref name="attlist.availability"/>
      <oneOrMore>
        <ref name="p"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.availability" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="status" a:defaultValue="unknown">
        <choice>
          <value>free</value>
          <value>unknown</value>
          <value>restricted</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="availability"/>
    </optional>
  </define>
  <define name="seriesStmt">
    <element name="seriesStmt">
      <ref name="attlist.seriesStmt"/>
      <choice>
        <group>
          <oneOrMore>
            <ref name="title"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="idno"/>
              <ref name="respStmt"/>
            </choice>
          </zeroOrMore>
        </group>
        <oneOrMore>
          <ref name="p"/>
        </oneOrMore>
      </choice>
    </element>
  </define>
  <define name="attlist.seriesStmt" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="seriesStmt"/>
    </optional>
  </define>
  <define name="notesStmt">
    <element name="notesStmt">
      <ref name="attlist.notesStmt"/>
      <oneOrMore>
        <ref name="note"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.notesStmt" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="notesStmt"/>
    </optional>
  </define>
  <define name="sourceDesc">
    <element name="sourceDesc">
      <ref name="attlist.sourceDesc"/>
      <oneOrMore>
        <choice>
          <ref name="p"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="listBibl"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.sourceDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="sourceDesc"/>
    </optional>
  </define>
  <define name="encodingDesc">
    <element name="encodingDesc">
      <ref name="attlist.encodingDesc"/>
      <zeroOrMore>
        <ref name="projectDesc"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="samplingDecl"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="editorialDecl"/>
      </zeroOrMore>
      <optional>
        <ref name="tagsDecl"/>
      </optional>
      <zeroOrMore>
        <ref name="refsDecl"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="classDecl"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="p"/>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.encodingDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="encodingDesc"/>
    </optional>
  </define>
  <define name="projectDesc">
    <element name="projectDesc">
      <ref name="attlist.projectDesc"/>
      <oneOrMore>
        <ref name="p"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.projectDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="projectDesc"/>
    </optional>
  </define>
  <define name="samplingDecl">
    <element name="samplingDecl">
      <ref name="attlist.samplingDecl"/>
      <oneOrMore>
        <ref name="p"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.samplingDecl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="samplingDecl"/>
    </optional>
  </define>
  <define name="editorialDecl">
    <element name="editorialDecl">
      <ref name="attlist.editorialDecl"/>
      <oneOrMore>
        <ref name="p"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.editorialDecl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="editorialDecl"/>
    </optional>
  </define>
  <define name="tagsDecl">
    <element name="tagsDecl">
      <ref name="attlist.tagsDecl"/>
      <zeroOrMore>
        <ref name="rendition"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="tagUsage"/>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.tagsDecl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="tagsDecl"/>
    </optional>
  </define>
  <define name="tagUsage">
    <element name="tagUsage">
      <ref name="attlist.tagUsage"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.tagUsage" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <attribute name="gi"/>
    <optional>
      <attribute name="occurs"/>
    </optional>
    <optional>
      <attribute name="ident"/>
    </optional>
    <optional>
      <attribute name="render">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="tagUsage"/>
    </optional>
  </define>
  <define name="rendition">
    <element name="rendition">
      <ref name="attlist.rendition"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.rendition" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="rendition"/>
    </optional>
  </define>
  <define name="refsDecl">
    <element name="refsDecl">
      <ref name="attlist.refsDecl"/>
      <oneOrMore>
        <ref name="p"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.refsDecl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="doctype" a:defaultValue="TEI.2"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="refsDecl"/>
    </optional>
  </define>
  <define name="classDecl">
    <element name="classDecl">
      <ref name="attlist.classDecl"/>
      <oneOrMore>
        <ref name="taxonomy"/>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.classDecl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="classDecl"/>
    </optional>
  </define>
  <define name="taxonomy">
    <element name="taxonomy">
      <ref name="attlist.taxonomy"/>
      <choice>
        <oneOrMore>
          <ref name="category"/>
        </oneOrMore>
        <group>
          <choice>
            <ref name="bibl"/>
            <ref name="biblFull"/>
          </choice>
          <zeroOrMore>
            <ref name="category"/>
          </zeroOrMore>
        </group>
      </choice>
    </element>
  </define>
  <define name="attlist.taxonomy" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="taxonomy"/>
    </optional>
  </define>
  <define name="category">
    <element name="category">
      <ref name="attlist.category"/>
      <ref name="catDesc"/>
      <zeroOrMore>
        <ref name="category"/>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.category" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="category"/>
    </optional>
  </define>
  <define name="catDesc">
    <element name="catDesc">
      <ref name="attlist.catDesc"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.catDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="catDesc"/>
    </optional>
  </define>
  <define name="profileDesc">
    <element name="profileDesc">
      <ref name="attlist.profileDesc"/>
      <optional>
        <ref name="creation"/>
      </optional>
      <zeroOrMore>
        <ref name="langUsage"/>
      </zeroOrMore>
      <zeroOrMore>
        <ref name="textClass"/>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.profileDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="profileDesc"/>
    </optional>
  </define>
  <define name="creation">
    <element name="creation">
      <ref name="attlist.creation"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.creation" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="creation"/>
    </optional>
  </define>
  <define name="langUsage">
    <element name="langUsage">
      <ref name="attlist.langUsage"/>
      <oneOrMore>
        <choice>
          <ref name="p"/>
          <ref name="language"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.langUsage" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="langUsage"/>
    </optional>
  </define>
  <define name="language">
    <element name="language">
      <ref name="attlist.language"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.language" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="wsd">
        <data type="ENTITY"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="usage">
        <data type="NMTOKEN"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="language"/>
    </optional>
  </define>
  <define name="textClass">
    <element name="textClass">
      <ref name="attlist.textClass"/>
      <zeroOrMore>
        <choice>
          <ref name="classCode"/>
          <ref name="catRef"/>
          <ref name="keywords"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.textClass" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="textClass"/>
    </optional>
  </define>
  <define name="keywords">
    <element name="keywords">
      <ref name="attlist.keywords"/>
      <choice>
        <oneOrMore>
          <ref name="term"/>
        </oneOrMore>
        <ref name="list"/>
      </choice>
    </element>
  </define>
  <define name="attlist.keywords" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="scheme">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="keywords"/>
    </optional>
  </define>
  <define name="classCode">
    <element name="classCode">
      <ref name="attlist.classCode"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.classCode" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="scheme">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="classCode"/>
    </optional>
  </define>
  <define name="catRef">
    <element name="catRef">
      <ref name="attlist.catRef"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.catRef" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <attribute name="target">
      <data type="IDREFS"/>
    </attribute>
    <optional>
      <attribute name="scheme">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="catRef"/>
    </optional>
  </define>
  <define name="revisionDesc">
    <element name="revisionDesc">
      <ref name="attlist.revisionDesc"/>
      <choice>
        <ref name="list"/>
        <oneOrMore>
          <ref name="change"/>
        </oneOrMore>
      </choice>
    </element>
  </define>
  <define name="attlist.revisionDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="revisionDesc"/>
    </optional>
  </define>
  <define name="change">
    <element name="change">
      <ref name="attlist.change"/>
      <ref name="date"/>
      <oneOrMore>
        <ref name="respStmt"/>
      </oneOrMore>
      <ref name="item"/>
    </element>
  </define>
  <define name="attlist.change" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="change"/>
    </optional>
  </define>
  <define name="p">
    <element name="p">
      <ref name="attlist.p"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.p" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="p"/>
    </optional>
  </define>
  <define name="foreign">
    <element name="foreign">
      <ref name="attlist.foreign"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.foreign" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="foreign"/>
    </optional>
  </define>
  <define name="emph">
    <element name="emph">
      <ref name="attlist.emph"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.emph" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="emph"/>
    </optional>
  </define>
  <define name="hi">
    <element name="hi">
      <ref name="attlist.hi"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.hi" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="hi"/>
    </optional>
  </define>
  <define name="q">
    <element name="q">
      <ref name="attlist.q"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.q" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="direct" a:defaultValue="unspecified">
        <choice>
          <value>y</value>
          <value>n</value>
          <value>unspecified</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="who"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="q"/>
    </optional>
  </define>
  <define name="cit">
    <element name="cit">
      <ref name="attlist.cit"/>
      <oneOrMore>
        <choice>
          <ref name="q"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.cit" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="cit"/>
    </optional>
  </define>
  <define name="soCalled">
    <element name="soCalled">
      <ref name="attlist.soCalled"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.soCalled" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="soCalled"/>
    </optional>
  </define>
  <define name="term">
    <element name="term">
      <ref name="attlist.term"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.term" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="term"/>
    </optional>
  </define>
  <define name="mentioned">
    <element name="mentioned">
      <ref name="attlist.mentioned"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.mentioned" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="mentioned"/>
    </optional>
  </define>
  <define name="gloss">
    <element name="gloss">
      <ref name="attlist.gloss"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.gloss" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="target">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="gloss"/>
    </optional>
  </define>
  <define name="name">
    <element name="name">
      <ref name="attlist.name"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.name" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="key"/>
    </optional>
    <optional>
      <attribute name="reg"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="name"/>
    </optional>
  </define>
  <define name="rs">
    <element name="rs">
      <ref name="attlist.rs"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.rs" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="key"/>
    </optional>
    <optional>
      <attribute name="reg"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="rs"/>
    </optional>
  </define>
  <define name="num">
    <element name="num">
      <ref name="attlist.num"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.num" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="value"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="num"/>
    </optional>
  </define>
  <define name="date">
    <element name="date">
      <ref name="attlist.date"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.date" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="calendar"/>
    </optional>
    <optional>
      <attribute name="value"/>
    </optional>
    <optional>
      <attribute name="certainty"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="date"/>
    </optional>
  </define>
  <define name="time">
    <element name="time">
      <ref name="attlist.time"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.time" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="value"/>
    </optional>
    <optional>
      <attribute name="type">
        <choice>
          <value>am</value>
          <value>pm</value>
          <value>24hour</value>
          <value>descriptive</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="zone"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="time"/>
    </optional>
  </define>
  <define name="abbr">
    <element name="abbr">
      <ref name="attlist.abbr"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.abbr" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="expan"/>
    </optional>
    <optional>
      <attribute name="resp">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="cert"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="abbr"/>
    </optional>
  </define>
  <define name="sic">
    <element name="sic">
      <ref name="attlist.sic"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.sic" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="corr"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="cert"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="sic"/>
    </optional>
  </define>
  <define name="corr">
    <element name="corr">
      <ref name="attlist.corr"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.corr" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="sic"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="cert"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="corr"/>
    </optional>
  </define>
  <define name="reg">
    <element name="reg">
      <ref name="attlist.reg"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.reg" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="orig"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="reg"/>
    </optional>
  </define>
  <define name="orig">
    <element name="orig">
      <ref name="attlist.orig"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.orig" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="reg"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="orig"/>
    </optional>
  </define>
  <define name="gap">
    <element name="gap">
      <ref name="attlist.gap"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.gap" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="desc"/>
    </optional>
    <optional>
      <attribute name="reason"/>
    </optional>
    <optional>
      <attribute name="resp">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="hand">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="agent"/>
    </optional>
    <optional>
      <attribute name="extent"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="gap"/>
    </optional>
  </define>
  <define name="add">
    <element name="add">
      <ref name="attlist.add"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.add" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="place"/>
    </optional>
    <optional>
      <attribute name="resp">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="cert"/>
    </optional>
    <optional>
      <attribute name="hand">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="add"/>
    </optional>
  </define>
  <define name="del">
    <element name="del">
      <ref name="attlist.del"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.del" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="status" a:defaultValue="unremarkable"/>
    </optional>
    <optional>
      <attribute name="resp">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="cert"/>
    </optional>
    <optional>
      <attribute name="hand">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="del"/>
    </optional>
  </define>
  <define name="unclear">
    <element name="unclear">
      <ref name="attlist.unclear"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.unclear" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="reason"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="cert"/>
    </optional>
    <optional>
      <attribute name="hand">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="agent"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="unclear"/>
    </optional>
  </define>
  <define name="address">
    <element name="address">
      <ref name="attlist.address"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <ref name="addrLine"/>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <ref name="name"/>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </zeroOrMore>
      </choice>
    </element>
  </define>
  <define name="attlist.address" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="address"/>
    </optional>
  </define>
  <define name="addrLine">
    <element name="addrLine">
      <ref name="attlist.addrLine"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.addrLine" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="addrLine"/>
    </optional>
  </define>
  <define name="ptr">
    <element name="ptr">
      <ref name="attlist.ptr"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.ptr" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="crdate"/>
    </optional>
    <optional>
      <attribute name="targType"/>
    </optional>
    <optional>
      <attribute name="targOrder" a:defaultValue="U">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>U</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="evaluate">
        <choice>
          <value>all</value>
          <value>one</value>
          <value>none</value>
        </choice>
      </attribute>
    </optional>
    <attribute name="target">
      <data type="IDREFS"/>
    </attribute>
    <optional>
      <attribute name="TEIform" a:defaultValue="ptr"/>
    </optional>
  </define>
  <define name="ref">
    <element name="ref">
      <ref name="attlist.ref"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.ref" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="crdate"/>
    </optional>
    <optional>
      <attribute name="targType"/>
    </optional>
    <optional>
      <attribute name="targOrder" a:defaultValue="U">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>U</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="evaluate">
        <choice>
          <value>all</value>
          <value>one</value>
          <value>none</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="target">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="ref"/>
    </optional>
  </define>
  <define name="list">
    <element name="list">
      <ref name="attlist.list"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="head"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <choice>
        <zeroOrMore>
          <ref name="item"/>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </zeroOrMore>
        <oneOrMore>
          <ref name="label"/>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
          <ref name="item"/>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
      </choice>
    </element>
  </define>
  <define name="attlist.list" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type" a:defaultValue="simple"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="list"/>
    </optional>
  </define>
  <define name="item">
    <element name="item">
      <ref name="attlist.item"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.item" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="item"/>
    </optional>
  </define>
  <define name="label">
    <element name="label">
      <ref name="attlist.label"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.label" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="label"/>
    </optional>
  </define>
  <define name="head">
    <element name="head">
      <ref name="attlist.head"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.head" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="head"/>
    </optional>
  </define>
  <define name="note">
    <element name="note">
      <ref name="attlist.note"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.note" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="place" a:defaultValue="unspecified"/>
    </optional>
    <optional>
      <attribute name="anchored" a:defaultValue="yes">
        <choice>
          <value>yes</value>
          <value>no</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="target">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="targetEnd">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="note"/>
    </optional>
  </define>
  <define name="index">
    <element name="index">
      <ref name="attlist.index"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.index" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="index"/>
    </optional>
    <attribute name="level1"/>
    <optional>
      <attribute name="level2"/>
    </optional>
    <optional>
      <attribute name="level3"/>
    </optional>
    <optional>
      <attribute name="level4"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="index"/>
    </optional>
  </define>
  <define name="divGen">
    <element name="divGen">
      <ref name="attlist.divGen"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.divGen" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="divGen"/>
    </optional>
  </define>
  <define name="milestone">
    <element name="milestone">
      <ref name="attlist.milestone"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.milestone" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="ed"/>
    </optional>
    <attribute name="unit"/>
    <optional>
      <attribute name="TEIform" a:defaultValue="milestone"/>
    </optional>
  </define>
  <define name="pb">
    <element name="pb">
      <ref name="attlist.pb"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.pb" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="ed"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="pb"/>
    </optional>
  </define>
  <define name="lb">
    <element name="lb">
      <ref name="attlist.lb"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.lb" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="ed"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="lb"/>
    </optional>
  </define>
  <define name="bibl">
    <element name="bibl">
      <ref name="attlist.bibl"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="author"/>
          <ref name="biblScope"/>
          <ref name="edition"/>
          <ref name="editor"/>
          <ref name="extent"/>
          <ref name="idno"/>
          <ref name="imprint"/>
          <ref name="note"/>
          <ref name="pubPlace"/>
          <ref name="publisher"/>
          <ref name="respStmt"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.bibl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="bibl"/>
    </optional>
  </define>
  <define name="biblFull">
    <element name="biblFull">
      <ref name="attlist.biblFull"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <ref name="titleStmt"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="editionStmt"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <optional>
        <ref name="extent"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <ref name="publicationStmt"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="seriesStmt"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <optional>
        <ref name="notesStmt"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <zeroOrMore>
        <ref name="sourceDesc"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.biblFull" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="biblFull"/>
    </optional>
  </define>
  <define name="listBibl">
    <element name="listBibl">
      <ref name="attlist.listBibl"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="head"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <choice>
        <ref name="bibl"/>
        <ref name="biblFull"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="trailer"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
    </element>
  </define>
  <define name="attlist.listBibl" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="default" a:defaultValue="NO">
        <choice>
          <value>YES</value>
          <value>NO</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="listBibl"/>
    </optional>
  </define>
  <define name="author">
    <element name="author">
      <ref name="attlist.author"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.author" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="author"/>
    </optional>
  </define>
  <define name="editor">
    <element name="editor">
      <ref name="attlist.editor"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.editor" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="role" a:defaultValue="editor"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="editor"/>
    </optional>
  </define>
  <define name="respStmt">
    <element name="respStmt">
      <ref name="attlist.respStmt"/>
      <oneOrMore>
        <choice>
          <ref name="resp"/>
          <ref name="name"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.respStmt" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="respStmt"/>
    </optional>
  </define>
  <define name="resp">
    <element name="resp">
      <ref name="attlist.resp"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.resp" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="resp"/>
    </optional>
  </define>
  <define name="title">
    <element name="title">
      <ref name="attlist.title"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.title" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="level">
        <choice>
          <value>a</value>
          <value>m</value>
          <value>j</value>
          <value>s</value>
          <value>u</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="title"/>
    </optional>
  </define>
  <define name="imprint">
    <element name="imprint">
      <ref name="attlist.imprint"/>
      <zeroOrMore>
        <choice>
          <ref name="pubPlace"/>
          <ref name="publisher"/>
          <ref name="date"/>
          <ref name="biblScope"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.imprint" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="imprint"/>
    </optional>
  </define>
  <define name="publisher">
    <element name="publisher">
      <ref name="attlist.publisher"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.publisher" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="publisher"/>
    </optional>
  </define>
  <define name="biblScope">
    <element name="biblScope">
      <ref name="attlist.biblScope"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.biblScope" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="biblScope"/>
    </optional>
  </define>
  <define name="pubPlace">
    <element name="pubPlace">
      <ref name="attlist.pubPlace"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.pubPlace" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="key"/>
    </optional>
    <optional>
      <attribute name="reg"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="pubPlace"/>
    </optional>
  </define>
  <define name="l">
    <element name="l">
      <ref name="attlist.l"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.l" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="l"/>
    </optional>
  </define>
  <define name="lg">
    <element name="lg">
      <ref name="attlist.lg"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <ref name="l"/>
        <ref name="lg"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.lg" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="lg"/>
    </optional>
  </define>
  <define name="sp">
    <element name="sp">
      <ref name="attlist.sp"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="speaker"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="p"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="ab"/>
          <ref name="seg"/>
          <ref name="stage"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.sp" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="who">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="sp"/>
    </optional>
  </define>
  <define name="speaker">
    <element name="speaker">
      <ref name="attlist.speaker"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.speaker" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="speaker"/>
    </optional>
  </define>
  <define name="stage">
    <element name="stage">
      <ref name="attlist.stage"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.stage" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="stage"/>
    </optional>
  </define>
  <define name="text">
    <element name="text">
      <ref name="attlist.text"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="front"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <choice>
        <ref name="body"/>
        <ref name="group"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="back"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
    </element>
  </define>
  <define name="attlist.text" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="text"/>
    </optional>
  </define>
  <define name="body">
    <element name="body">
      <ref name="attlist.body"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <ref name="divGen"/>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
          <optional>
            <choice>
              <group>
                <ref name="div"/>
                <zeroOrMore>
                  <choice>
                    <ref name="div"/>
                    <ref name="divGen"/>
                    <ref name="anchor"/>
                    <ref name="gap"/>
                    <ref name="figure"/>
                    <ref name="index"/>
                    <ref name="interp"/>
                    <ref name="interpGrp"/>
                    <ref name="lb"/>
                    <ref name="milestone"/>
                    <ref name="pb"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <ref name="div0"/>
                <zeroOrMore>
                  <choice>
                    <ref name="div0"/>
                    <ref name="divGen"/>
                    <ref name="anchor"/>
                    <ref name="gap"/>
                    <ref name="figure"/>
                    <ref name="index"/>
                    <ref name="interp"/>
                    <ref name="interpGrp"/>
                    <ref name="lb"/>
                    <ref name="milestone"/>
                    <ref name="pb"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <ref name="div1"/>
                <zeroOrMore>
                  <choice>
                    <ref name="div1"/>
                    <ref name="divGen"/>
                    <ref name="anchor"/>
                    <ref name="gap"/>
                    <ref name="figure"/>
                    <ref name="index"/>
                    <ref name="interp"/>
                    <ref name="interpGrp"/>
                    <ref name="lb"/>
                    <ref name="milestone"/>
                    <ref name="pb"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <zeroOrMore>
            <ref name="divGen"/>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
          <choice>
            <group>
              <ref name="div"/>
              <zeroOrMore>
                <choice>
                  <ref name="div"/>
                  <ref name="divGen"/>
                  <ref name="anchor"/>
                  <ref name="gap"/>
                  <ref name="figure"/>
                  <ref name="index"/>
                  <ref name="interp"/>
                  <ref name="interpGrp"/>
                  <ref name="lb"/>
                  <ref name="milestone"/>
                  <ref name="pb"/>
                </choice>
              </zeroOrMore>
            </group>
            <group>
              <ref name="div0"/>
              <zeroOrMore>
                <choice>
                  <ref name="div0"/>
                  <ref name="divGen"/>
                  <ref name="anchor"/>
                  <ref name="gap"/>
                  <ref name="figure"/>
                  <ref name="index"/>
                  <ref name="interp"/>
                  <ref name="interpGrp"/>
                  <ref name="lb"/>
                  <ref name="milestone"/>
                  <ref name="pb"/>
                </choice>
              </zeroOrMore>
            </group>
            <group>
              <ref name="div1"/>
              <zeroOrMore>
                <choice>
                  <ref name="div1"/>
                  <ref name="divGen"/>
                  <ref name="anchor"/>
                  <ref name="gap"/>
                  <ref name="figure"/>
                  <ref name="index"/>
                  <ref name="interp"/>
                  <ref name="interpGrp"/>
                  <ref name="lb"/>
                  <ref name="milestone"/>
                  <ref name="pb"/>
                </choice>
              </zeroOrMore>
            </group>
          </choice>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.body" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="body"/>
    </optional>
  </define>
  <define name="group">
    <element name="group">
      <ref name="attlist.group"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <ref name="text"/>
        <ref name="group"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="text"/>
          <ref name="group"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.group" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="group"/>
    </optional>
  </define>
  <define name="div">
    <element name="div">
      <ref name="attlist.div"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div"/>
    </optional>
  </define>
  <define name="div0">
    <element name="div0">
      <ref name="attlist.div0"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div1"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div1"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div0" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div0"/>
    </optional>
  </define>
  <define name="div1">
    <element name="div1">
      <ref name="attlist.div1"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div2"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div2"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div1" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div1"/>
    </optional>
  </define>
  <define name="div2">
    <element name="div2">
      <ref name="attlist.div2"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div3"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div3"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div2" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div2"/>
    </optional>
  </define>
  <define name="div3">
    <element name="div3">
      <ref name="attlist.div3"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div4"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div4"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div3" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div3"/>
    </optional>
  </define>
  <define name="div4">
    <element name="div4">
      <ref name="attlist.div4"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div5"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div5"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div4" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div4"/>
    </optional>
  </define>
  <define name="div5">
    <element name="div5">
      <ref name="attlist.div5"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div6"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div6"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div5" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div5"/>
    </optional>
  </define>
  <define name="div6">
    <element name="div6">
      <ref name="attlist.div6"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="div7"/>
            <ref name="divGen"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="anchor"/>
              <ref name="gap"/>
              <ref name="figure"/>
              <ref name="index"/>
              <ref name="interp"/>
              <ref name="interpGrp"/>
              <ref name="lb"/>
              <ref name="milestone"/>
              <ref name="pb"/>
            </choice>
          </zeroOrMore>
        </oneOrMore>
        <group>
          <oneOrMore>
            <choice>
              <ref name="eg"/>
              <ref name="bibl"/>
              <ref name="biblFull"/>
              <ref name="ab"/>
              <ref name="l"/>
              <ref name="lg"/>
              <ref name="p"/>
              <ref name="sp"/>
              <ref name="cit"/>
              <ref name="q"/>
              <ref name="label"/>
              <ref name="list"/>
              <ref name="listBibl"/>
              <ref name="note"/>
              <ref name="stage"/>
              <ref name="table"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="div7"/>
              <ref name="divGen"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </zeroOrMore>
        </group>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div6" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div6"/>
    </optional>
  </define>
  <define name="div7">
    <element name="div7">
      <ref name="attlist.div7"/>
      <zeroOrMore>
        <choice>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="epigraph"/>
          <ref name="head"/>
          <ref name="opener"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <oneOrMore>
        <choice>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </oneOrMore>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="closer"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="trailer"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.div7" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="org" a:defaultValue="uniform">
        <choice>
          <value>composite</value>
          <value>uniform</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="sample" a:defaultValue="complete">
        <choice>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="div7"/>
    </optional>
  </define>
  <define name="trailer">
    <element name="trailer">
      <ref name="attlist.trailer"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.trailer" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="trailer"/>
    </optional>
  </define>
  <define name="byline">
    <element name="byline">
      <ref name="attlist.byline"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="docAuthor"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.byline" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="byline"/>
    </optional>
  </define>
  <define name="dateline">
    <element name="dateline">
      <ref name="attlist.dateline"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="date"/>
          <ref name="time"/>
          <ref name="name"/>
          <ref name="address"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.dateline" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="dateline"/>
    </optional>
  </define>
  <define name="argument">
    <element name="argument">
      <ref name="attlist.argument"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="head"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.argument" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="argument"/>
    </optional>
  </define>
  <define name="epigraph">
    <element name="epigraph">
      <ref name="attlist.epigraph"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="ab"/>
          <ref name="l"/>
          <ref name="lg"/>
          <ref name="p"/>
          <ref name="sp"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.epigraph" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="epigraph"/>
    </optional>
  </define>
  <define name="opener">
    <element name="opener">
      <ref name="attlist.opener"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="argument"/>
          <ref name="byline"/>
          <ref name="dateline"/>
          <ref name="epigraph"/>
          <ref name="salute"/>
          <ref name="signed"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.opener" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="opener"/>
    </optional>
  </define>
  <define name="closer">
    <element name="closer">
      <ref name="attlist.closer"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="signed"/>
          <ref name="dateline"/>
          <ref name="salute"/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.closer" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="closer"/>
    </optional>
  </define>
  <define name="salute">
    <element name="salute">
      <ref name="attlist.salute"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.salute" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="salute"/>
    </optional>
  </define>
  <define name="signed">
    <element name="signed">
      <ref name="attlist.signed"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.signed" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="signed"/>
    </optional>
  </define>
  <define name="front">
    <element name="front">
      <ref name="attlist.front"/>
      <zeroOrMore>
        <choice>
          <ref name="divGen"/>
          <ref name="titlePage"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <choice>
          <group>
            <choice>
              <ref name="argument"/>
              <ref name="byline"/>
              <ref name="docAuthor"/>
              <ref name="docDate"/>
              <ref name="docEdition"/>
              <ref name="docImprint"/>
              <ref name="docTitle"/>
              <ref name="epigraph"/>
              <ref name="head"/>
              <ref name="titlePart"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="argument"/>
                <ref name="byline"/>
                <ref name="docAuthor"/>
                <ref name="docDate"/>
                <ref name="docEdition"/>
                <ref name="docImprint"/>
                <ref name="docTitle"/>
                <ref name="epigraph"/>
                <ref name="head"/>
                <ref name="titlePart"/>
                <ref name="titlePage"/>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </group>
          <group>
            <ref name="div"/>
            <zeroOrMore>
              <choice>
                <ref name="div"/>
                <ref name="divGen"/>
                <ref name="titlePage"/>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </group>
          <group>
            <ref name="div1"/>
            <zeroOrMore>
              <choice>
                <ref name="div1"/>
                <ref name="divGen"/>
                <ref name="titlePage"/>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </group>
        </choice>
      </optional>
    </element>
  </define>
  <define name="attlist.front" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="front"/>
    </optional>
  </define>
  <define name="titlePage">
    <element name="titlePage">
      <ref name="attlist.titlePage"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <choice>
        <ref name="byline"/>
        <ref name="docAuthor"/>
        <ref name="docDate"/>
        <ref name="docEdition"/>
        <ref name="docImprint"/>
        <ref name="docTitle"/>
        <ref name="epigraph"/>
        <ref name="titlePart"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="byline"/>
          <ref name="docAuthor"/>
          <ref name="docDate"/>
          <ref name="docEdition"/>
          <ref name="docImprint"/>
          <ref name="docTitle"/>
          <ref name="epigraph"/>
          <ref name="titlePart"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.titlePage" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="titlePage"/>
    </optional>
  </define>
  <define name="docTitle">
    <element name="docTitle">
      <ref name="attlist.docTitle"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <oneOrMore>
        <ref name="titlePart"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.docTitle" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="docTitle"/>
    </optional>
  </define>
  <define name="titlePart">
    <element name="titlePart">
      <ref name="attlist.titlePart"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.titlePart" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type" a:defaultValue="main"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="titlePart"/>
    </optional>
  </define>
  <define name="docAuthor">
    <element name="docAuthor">
      <ref name="attlist.docAuthor"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.docAuthor" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="docAuthor"/>
    </optional>
  </define>
  <define name="docEdition">
    <element name="docEdition">
      <ref name="attlist.docEdition"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.docEdition" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="docEdition"/>
    </optional>
  </define>
  <define name="docImprint">
    <element name="docImprint">
      <ref name="attlist.docImprint"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="pubPlace"/>
          <ref name="docDate"/>
          <ref name="publisher"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.docImprint" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="docImprint"/>
    </optional>
  </define>
  <define name="docDate">
    <element name="docDate">
      <ref name="attlist.docDate"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.docDate" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="value"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="docDate"/>
    </optional>
  </define>
  <define name="back">
    <element name="back">
      <ref name="attlist.back"/>
      <zeroOrMore>
        <choice>
          <ref name="divGen"/>
          <ref name="titlePage"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <choice>
          <group>
            <choice>
              <ref name="argument"/>
              <ref name="byline"/>
              <ref name="dateline"/>
              <ref name="docAuthor"/>
              <ref name="docDate"/>
              <ref name="epigraph"/>
              <ref name="head"/>
              <ref name="opener"/>
              <ref name="salute"/>
              <ref name="signed"/>
            </choice>
            <zeroOrMore>
              <choice>
                <ref name="argument"/>
                <ref name="byline"/>
                <ref name="dateline"/>
                <ref name="docAuthor"/>
                <ref name="docDate"/>
                <ref name="epigraph"/>
                <ref name="head"/>
                <ref name="opener"/>
                <ref name="salute"/>
                <ref name="signed"/>
                <ref name="titlePage"/>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </group>
          <group>
            <ref name="div"/>
            <zeroOrMore>
              <choice>
                <ref name="div"/>
                <ref name="divGen"/>
                <ref name="titlePage"/>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </group>
          <group>
            <ref name="div1"/>
            <zeroOrMore>
              <choice>
                <ref name="div1"/>
                <ref name="divGen"/>
                <ref name="titlePage"/>
                <ref name="anchor"/>
                <ref name="gap"/>
                <ref name="figure"/>
                <ref name="index"/>
                <ref name="interp"/>
                <ref name="interpGrp"/>
                <ref name="lb"/>
                <ref name="milestone"/>
                <ref name="pb"/>
              </choice>
            </zeroOrMore>
          </group>
        </choice>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="trailer"/>
          <ref name="closer"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.back" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="decls">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="back"/>
    </optional>
  </define>
  <define name="xref">
    <element name="xref">
      <ref name="attlist.xref"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.xref" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="crdate"/>
    </optional>
    <optional>
      <attribute name="targType"/>
    </optional>
    <optional>
      <attribute name="targOrder" a:defaultValue="U">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>U</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="evaluate">
        <choice>
          <value>all</value>
          <value>one</value>
          <value>none</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="doc">
        <data type="ENTITY"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="from" a:defaultValue="ROOT"/>
    </optional>
    <optional>
      <attribute name="to" a:defaultValue="DITTO"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="xref"/>
    </optional>
  </define>
  <define name="xptr">
    <element name="xptr">
      <ref name="attlist.xptr"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.xptr" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="crdate"/>
    </optional>
    <optional>
      <attribute name="targType"/>
    </optional>
    <optional>
      <attribute name="targOrder" a:defaultValue="U">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>U</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="evaluate">
        <choice>
          <value>all</value>
          <value>one</value>
          <value>none</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="doc">
        <data type="ENTITY"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="from" a:defaultValue="ROOT"/>
    </optional>
    <optional>
      <attribute name="to" a:defaultValue="DITTO"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="xptr"/>
    </optional>
  </define>
  <define name="anchor">
    <element name="anchor">
      <ref name="attlist.anchor"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.anchor" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="subtype"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="anchor"/>
    </optional>
  </define>
  <define name="seg">
    <element name="seg">
      <ref name="attlist.seg"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.seg" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="function"/>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="subtype"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="seg"/>
    </optional>
  </define>
  <define name="ab">
    <element name="ab">
      <ref name="attlist.ab"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.ab" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="subtype"/>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="ab"/>
    </optional>
  </define>
  <define name="interp">
    <element name="interp">
      <ref name="attlist.interp"/>
      <empty/>
    </element>
  </define>
  <define name="attlist.interp" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="inst">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <attribute name="value"/>
    <optional>
      <attribute name="TEIform" a:defaultValue="interp"/>
    </optional>
  </define>
  <define name="interpGrp">
    <element name="interpGrp">
      <ref name="attlist.interpGrp"/>
      <zeroOrMore>
        <ref name="interp"/>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.interpGrp" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="resp"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="inst">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="interpGrp"/>
    </optional>
  </define>
  <define name="s">
    <element name="s">
      <ref name="attlist.s"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.s" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="type"/>
    </optional>
    <optional>
      <attribute name="function"/>
    </optional>
    <optional>
      <attribute name="part" a:defaultValue="N">
        <choice>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
        </choice>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="s"/>
    </optional>
  </define>
  <define name="table">
    <element name="table">
      <ref name="attlist.table"/>
      <zeroOrMore>
        <choice>
          <ref name="head"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <oneOrMore>
        <ref name="row"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.table" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="rows">
        <data type="NMTOKEN"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="cols">
        <data type="NMTOKEN"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="table"/>
    </optional>
  </define>
  <define name="row">
    <element name="row">
      <ref name="attlist.row"/>
      <oneOrMore>
        <choice>
          <ref name="cell"/>
          <ref name="table"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </oneOrMore>
    </element>
  </define>
  <define name="attlist.row" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="role" a:defaultValue="data"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="row"/>
    </optional>
  </define>
  <define name="cell">
    <element name="cell">
      <ref name="attlist.cell"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.cell" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="role" a:defaultValue="data"/>
    </optional>
    <optional>
      <attribute name="rows" a:defaultValue="1"/>
    </optional>
    <optional>
      <attribute name="cols" a:defaultValue="1"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="cell"/>
    </optional>
  </define>
  <define name="formula">
    <element name="formula">
      <ref name="attlist.formula"/>
      <text/>
    </element>
  </define>
  <define name="attlist.formula" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <attribute name="notation"/>
    <optional>
      <attribute name="TEIform" a:defaultValue="formula"/>
    </optional>
  </define>
  <define name="figure">
    <element name="figure">
      <ref name="attlist.figure"/>
      <zeroOrMore>
        <choice>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
      <optional>
        <ref name="head"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <zeroOrMore>
        <ref name="p"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </zeroOrMore>
      <optional>
        <ref name="figDesc"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
      <optional>
        <ref name="text"/>
        <zeroOrMore>
          <choice>
            <ref name="anchor"/>
            <ref name="gap"/>
            <ref name="figure"/>
            <ref name="index"/>
            <ref name="interp"/>
            <ref name="interpGrp"/>
            <ref name="lb"/>
            <ref name="milestone"/>
            <ref name="pb"/>
          </choice>
        </zeroOrMore>
      </optional>
    </element>
  </define>
  <define name="attlist.figure" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="entity">
        <data type="ENTITY"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="figure"/>
    </optional>
  </define>
  <define name="figDesc">
    <element name="figDesc">
      <ref name="attlist.figDesc"/>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="ident"/>
          <ref name="code"/>
          <ref name="kw"/>
          <ref name="abbr"/>
          <ref name="address"/>
          <ref name="date"/>
          <ref name="name"/>
          <ref name="num"/>
          <ref name="rs"/>
          <ref name="time"/>
          <ref name="add"/>
          <ref name="corr"/>
          <ref name="del"/>
          <ref name="orig"/>
          <ref name="reg"/>
          <ref name="sic"/>
          <ref name="unclear"/>
          <ref name="formula"/>
          <ref name="emph"/>
          <ref name="foreign"/>
          <ref name="gloss"/>
          <ref name="hi"/>
          <ref name="mentioned"/>
          <ref name="soCalled"/>
          <ref name="term"/>
          <ref name="title"/>
          <ref name="ptr"/>
          <ref name="ref"/>
          <ref name="xptr"/>
          <ref name="xref"/>
          <ref name="s"/>
          <ref name="seg"/>
          <ref name="gi"/>
          <ref name="eg"/>
          <ref name="bibl"/>
          <ref name="biblFull"/>
          <ref name="cit"/>
          <ref name="q"/>
          <ref name="label"/>
          <ref name="list"/>
          <ref name="listBibl"/>
          <ref name="note"/>
          <ref name="stage"/>
          <ref name="table"/>
          <ref name="text"/>
          <ref name="anchor"/>
          <ref name="gap"/>
          <ref name="figure"/>
          <ref name="index"/>
          <ref name="interp"/>
          <ref name="interpGrp"/>
          <ref name="lb"/>
          <ref name="milestone"/>
          <ref name="pb"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="attlist.figDesc" combine="interleave">
    <optional>
      <attribute name="corresp">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="next">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="prev">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="ana">
        <data type="IDREFS"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="id">
        <data type="ID"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="n"/>
    </optional>
    <optional>
      <attribute name="lang">
        <data type="IDREF"/>
      </attribute>
    </optional>
    <optional>
      <attribute name="rend"/>
    </optional>
    <optional>
      <attribute name="TEIform" a:defaultValue="figDesc"/>
    </optional>
  </define>
  <start>
    <choice>
      <ref name="TEI.2"/>
    </choice>
  </start>
</grammar>
