<?xml version="1.0" encoding="utf-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"><!--Schema generated 2010-11-05T15:13:52Z
Edition: 1.8.0. Last updated on November 5th 2010.

	  
Copyright 2010 TEI Consortium.
	  
This is free software; you can redistribute it and/or
	    modify it under the terms of the GNU General Public
	    License as published by the Free Software Foundation;
	    either version 2 of the License, or (at your option) any
	    later version.
	  
This material is distributed in the hope that it will be
	    useful, but without any warranty; without even the implied
	    warranty of merchantability or 
	    fitness for a particular
	    purpose. See the GNU General Public License for more
	    details.
	  
A copy of the GNU General Public
	    License is stored on the TEI web site
	    along with this file; you can also contact the Free
	    Software Foundation, Inc., 59 Temple Place, Suite 330,
	    Boston, MA 02111-1307, USA, for a copy.


		
For information about the TEI, including contact
		details, consult the TEI web
	      site at http://www.tei-c.org/. 
		

	 Default
text structure--><!--Definitions from module textstructure--><!--Set global predeclared macros--><!--Set predeclared macros--><!--0. predeclared macros--><!--1. classes--><!--2. elements--><define name="TEI">
      <element name="TEI">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(TEI document) contains a single TEI-conformant document,
comprising a TEI header and a text, either in isolation or as part of a
teiCorpus element.</a:documentation>
         <ref name="TEI.content"/>
         <ref name="TEI.localattributes"/>
      </element>
   </define>
   <define name="TEI.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <ref name="teiHeader"/>
         <choice>
            <group>
               <oneOrMore>
                  <ref name="model.resourceLike"/>
               </oneOrMore>
               <optional>
                  <ref name="text"/>
               </optional>
            </group>
            <ref name="text"/>
         </choice>
      </group>
    
      
    
  
    
      
    
  </define>
   <define name="TEI.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="version">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the TEI Guidelines against
      which this document is valid.</a:documentation>
            <ref name="data.version"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="argument">
      <element name="argument">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A formal list or prose description of the topics addressed by
	a subdivision of a text.</a:documentation>
         <ref name="argument.content"/>
         <ref name="argument.localattributes"/>
      </element>
   </define>
   <define name="argument.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.global"/>
               <ref name="model.headLike"/>
            </choice>
         </zeroOrMore>
         <oneOrMore>
            <group>
               <ref name="model.common"/>
            </group>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
         </oneOrMore>
      </group>
   </define>
   <define name="argument.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="back">
      <element name="back">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(back matter) contains any appendixes, etc. following the main part of a text.</a:documentation>
         <ref name="back.content"/>
         <ref name="back.localattributes"/>
      </element>
   </define>
   <define name="back.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.frontPart"/>
               <ref name="model.pLike.front"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <group>
            <optional>
               <choice>
                  <group>
                     <group>
                        <ref name="model.div1Like"/>
                     </group>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.frontPart"/>
                           <ref name="model.div1Like"/>
                           <ref name="model.global"/>
                        </choice>
                     </zeroOrMore>
                  </group>
                  <group>
                     <group>
                        <ref name="model.divLike"/>
                     </group>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.frontPart"/>
                           <ref name="model.divLike"/>
                           <ref name="model.global"/>
                        </choice>
                     </zeroOrMore>
                  </group>
               </choice>
            </optional>
         </group>
         <group>
            <optional>
               <group>
                  <ref name="model.divBottomPart"/>
               </group>
               <zeroOrMore>
                  <choice>
                     <ref name="model.divBottomPart"/>
                     <ref name="model.global"/>
                  </choice>
               </zeroOrMore>
            </optional>
         </group>
      </group>
   </define>
   <define name="back.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="body">
      <element name="body">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text body) contains the whole body of a single unitary text, excluding any front or back matter.</a:documentation>
         <ref name="body.content"/>
         <ref name="body.localattributes"/>
      </element>
   </define>
   <define name="body.content">
      <rng:group xmlns:rng="http://relaxng.org/ns/structure/1.0"
                 xmlns="http://www.tei-c.org/ns/1.0">
         <rng:zeroOrMore>
            <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
         </rng:zeroOrMore>
         <optional xmlns="http://relaxng.org/ns/structure/1.0">
            <rng:group xmlns="http://www.tei-c.org/ns/1.0">
               <rng:group>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divTop"/>
               </rng:group>
               <rng:zeroOrMore>
                  <rng:choice>
                     <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                     <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divTop"/>
                  </rng:choice>
               </rng:zeroOrMore>
            </rng:group>
         </optional>
         <optional xmlns="http://relaxng.org/ns/structure/1.0">
            <rng:group xmlns="http://www.tei-c.org/ns/1.0">
               <rng:group>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divGenLike"/>
               </rng:group>
               <rng:zeroOrMore>
                  <rng:choice>
                     <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                     <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divGenLike"/>
                  </rng:choice>
               </rng:zeroOrMore>
            </rng:group>
         </optional>
         <rng:group>
            <rng:choice>
               <oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
                  <rng:group xmlns="http://www.tei-c.org/ns/1.0">
                     <rng:group>
                        <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divLike"/>
                     </rng:group>
                     <rng:zeroOrMore>
                        <rng:choice>
                           <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                           <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divGenLike"/>
                        </rng:choice>
                     </rng:zeroOrMore>
                  </rng:group>
               </oneOrMore>
               <oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
                  <rng:group xmlns="http://www.tei-c.org/ns/1.0">
                     <rng:group>
                        <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.div1Like"/>
                     </rng:group>
                     <rng:zeroOrMore>
                        <rng:choice>
                           <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                           <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divGenLike"/>
                        </rng:choice>
                     </rng:zeroOrMore>
                  </rng:group>
               </oneOrMore>
               <rng:group>
                  <oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
                     <rng:group xmlns="http://www.tei-c.org/ns/1.0">
                        <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.common"/>
                     </rng:group>
                     <rng:zeroOrMore xmlns="http://www.tei-c.org/ns/1.0">
                        <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                     </rng:zeroOrMore>
                  </oneOrMore>
                  <optional xmlns="http://relaxng.org/ns/structure/1.0">
                     <rng:choice xmlns="http://www.tei-c.org/ns/1.0">
                        <oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
                           <rng:group xmlns="http://www.tei-c.org/ns/1.0">
                              <rng:group>
                                 <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divLike"/>
                              </rng:group>
                              <rng:zeroOrMore>
                                 <rng:choice>
                                    <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                                    <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divGenLike"/>
                                 </rng:choice>
                              </rng:zeroOrMore>
                           </rng:group>
                        </oneOrMore>
                        <oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
                           <rng:group xmlns="http://www.tei-c.org/ns/1.0">
                              <rng:group>
                                 <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.div1Like"/>
                              </rng:group>
                              <rng:zeroOrMore>
                                 <rng:choice>
                                    <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
                                    <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divGenLike"/>
                                 </rng:choice>
                              </rng:zeroOrMore>
                           </rng:group>
                        </oneOrMore>
                     </rng:choice>
                  </optional>
               </rng:group>
            </rng:choice>
         </rng:group>
         <rng:zeroOrMore>
            <rng:group>
               <rng:group>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divBottom"/>
               </rng:group>
               <rng:zeroOrMore>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
               </rng:zeroOrMore>
            </rng:group>
         </rng:zeroOrMore>
      </rng:group>
   </define>
   <define name="body.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="byline">
      <element name="byline">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the primary statement of responsibility given for a work
on its title page or at the head or end of the work.</a:documentation>
         <ref name="byline.content"/>
         <ref name="byline.localattributes"/>
      </element>
   </define>
   <define name="byline.content">
      <zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <text/>
            <ref name="model.gLike"/>
            <ref name="model.phrase"/>
            <ref name="docAuthor"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="byline.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="closer">
      <element name="closer">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups together salutations, datelines, and similar phrases appearing as a final group at
    the end of a division, especially of a letter.</a:documentation>
         <ref name="closer.content"/>
         <ref name="closer.localattributes"/>
      </element>
   </define>
   <define name="closer.content">
      <zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <text/>
            <ref name="model.gLike"/>
            <ref name="signed"/>
            <ref name="dateline"/>
            <ref name="salute"/>
            <ref name="model.phrase"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="closer.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="dateline">
      <element name="dateline">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief description of the place, date, time, etc. of production of a letter,
    newspaper story, or other work, prefixed or suffixed to it as a kind of heading or trailer. </a:documentation>
         <ref name="dateline.content"/>
         <ref name="dateline.localattributes"/>
      </element>
   </define>
   <define name="dateline.content">
      <ref name="macro.phraseSeq"/>
   </define>
   <define name="dateline.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="div">
      <element name="div">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text division) contains a subdivision of the front, body, or back of a text.</a:documentation>
         <ref name="div.content"/>
         <ref name="div.localattributes"/>
      </element>
   </define>
   <define name="div.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <group>
                  <oneOrMore>
                     <choice>
                        <ref name="model.divLike"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
               </group>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.divLike"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div1">
      <element name="div1">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-1 text division) contains a first-level subdivision of the front, body, or back of a text.</a:documentation>
         <ref name="div1.content"/>
         <ref name="div1.localattributes"/>
      </element>
   </define>
   <define name="div1.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.div2Like"/>
                     <ref name="model.divGenLike"/>
                  </choice>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.div2Like"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div1.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div2">
      <element name="div2">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-2 text division) contains a second-level subdivision of the front, body, or back of a
 text.</a:documentation>
         <ref name="div2.content"/>
         <ref name="div2.localattributes"/>
      </element>
   </define>
   <define name="div2.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.div3Like"/>
                     <ref name="model.divGenLike"/>
                  </choice>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.div3Like"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div2.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div3">
      <element name="div3">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-3 text division) contains a third-level subdivision of the front, body, or back of a text.</a:documentation>
         <ref name="div3.content"/>
         <ref name="div3.localattributes"/>
      </element>
   </define>
   <define name="div3.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.div4Like"/>
                     <ref name="model.divGenLike"/>
                  </choice>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.div4Like"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div3.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div4">
      <element name="div4">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-4 text division) contains a fourth-level subdivision of the front, body, or back of a text.</a:documentation>
         <ref name="div4.content"/>
         <ref name="div4.localattributes"/>
      </element>
   </define>
   <define name="div4.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.div5Like"/>
                     <ref name="model.divGenLike"/>
                  </choice>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.div5Like"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div4.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div5">
      <element name="div5">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-5 text division) contains a fifth-level subdivision of the front, body, or back of a text.</a:documentation>
         <ref name="div5.content"/>
         <ref name="div5.localattributes"/>
      </element>
   </define>
   <define name="div5.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.div6Like"/>
                     <ref name="model.divGenLike"/>
                  </choice>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.div6Like"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div5.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div6">
      <element name="div6">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-6 text division) contains a sixth-level subdivision of the front, body, or back of a text.</a:documentation>
         <ref name="div6.content"/>
         <ref name="div6.localattributes"/>
      </element>
   </define>
   <define name="div6.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <choice>
               <oneOrMore>
                  <choice>
                     <ref name="model.div7Like"/>
                     <ref name="model.divGenLike"/>
                  </choice>
                  <zeroOrMore>
                     <ref name="model.global"/>
                  </zeroOrMore>
               </oneOrMore>
               <group>
                  <oneOrMore>
                     <group>
                        <ref name="model.common"/>
                     </group>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </oneOrMore>
                  <zeroOrMore>
                     <choice>
                        <ref name="model.div7Like"/>
                        <ref name="model.divGenLike"/>
                     </choice>
                     <zeroOrMore>
                        <ref name="model.global"/>
                     </zeroOrMore>
                  </zeroOrMore>
               </group>
            </choice>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div6.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="div7">
      <element name="div7">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-7 text division) contains the smallest possible subdivision of the front, body or back of a text, larger than
    a paragraph.</a:documentation>
         <ref name="div7.content"/>
         <ref name="div7.localattributes"/>
      </element>
   </define>
   <define name="div7.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.divTop"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <optional>
            <oneOrMore>
               <group>
                  <ref name="model.common"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </oneOrMore>
            <zeroOrMore>
               <group>
                  <ref name="model.divBottom"/>
               </group>
               <zeroOrMore>
                  <ref name="model.global"/>
               </zeroOrMore>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="div7.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.divLike.attributes"/>
      <ref name="att.typed.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="docAuthor">
      <element name="docAuthor">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document author) contains the name of the author of the document, as given on the
title page (often but not always contained in a byline).</a:documentation>
         <ref name="docAuthor.content"/>
         <ref name="docAuthor.localattributes"/>
      </element>
   </define>
   <define name="docAuthor.content">
      <ref name="macro.phraseSeq"/>
   </define>
   <define name="docAuthor.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
   </define>
   <define name="docDate">
      <element name="docDate">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document date) contains the date of a document, as given
(usually) on a title page.</a:documentation>
         <ref name="docDate.content"/>
         <ref name="docDate.localattributes"/>
      </element>
   </define>
   <define name="docDate.content">
      <ref name="macro.phraseSeq"/>
   </define>
   <define name="docDate.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="when">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the value of the date in standard form, i.e. YYYY-MM-DD.</a:documentation>
            <ref name="data.temporal.w3c"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="docEdition">
      <element name="docEdition">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document edition) contains an edition statement as presented on a title page of a
document.</a:documentation>
         <ref name="docEdition.content"/>
         <ref name="docEdition.localattributes"/>
      </element>
   </define>
   <define name="docEdition.content">
      <ref name="macro.paraContent"/>
   </define>
   <define name="docEdition.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="docImprint">
      <element name="docImprint">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document imprint) contains the imprint statement (place and date of publication,
publisher name), as given
(usually) at the foot of a title page.</a:documentation>
         <ref name="docImprint.content"/>
         <ref name="docImprint.localattributes"/>
      </element>
   </define>
   <define name="docImprint.content">
      <zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <text/>
            <ref name="model.gLike"/>
            <ref name="model.phrase"/>
            <ref name="pubPlace"/>
            <ref name="docDate"/>
            <ref name="publisher"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="docImprint.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="docTitle">
      <element name="docTitle">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document title) contains the title of a document, including all its
constituents, as given on a title page.</a:documentation>
         <ref name="docTitle.content"/>
         <ref name="docTitle.localattributes"/>
      </element>
   </define>
   <define name="docTitle.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <ref name="model.global"/>
         </zeroOrMore>
         <oneOrMore>
            <ref name="titlePart"/>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
         </oneOrMore>
      </group>
   </define>
   <define name="docTitle.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.canonical.attributes"/>
      <empty/>
   </define>
   <define name="epigraph">
      <element name="epigraph">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a quotation, anonymous or attributed, appearing at the start of a section or
    chapter, or on a title page. </a:documentation>
         <ref name="epigraph.content"/>
         <ref name="epigraph.localattributes"/>
      </element>
   </define>
   <define name="epigraph.content">
      <zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <ref name="model.common"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="epigraph.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="floatingText">
      <element name="floatingText">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a single text of any kind, whether unitary or composite, which interrupts the text
    containing it at any point and after which the surrounding text resumes.</a:documentation>
         <ref name="floatingText.content"/>
         <ref name="floatingText.localattributes"/>
      </element>
   </define>
   <define name="floatingText.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <ref name="model.global"/>
         </zeroOrMore>
         <optional>
            <ref name="front"/>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
         </optional>
         <choice>
            <ref name="body"/>
            <ref name="group"/>
         </choice>
         <zeroOrMore>
            <ref name="model.global"/>
         </zeroOrMore>
         <optional>
            <ref name="back"/>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="floatingText.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
   </define>
   <define name="front">
      <element name="front">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(front matter) contains any prefatory matter (headers,
title page, prefaces, dedications, etc.)
found  at the start of a document, before the main body.</a:documentation>
         <ref name="front.content"/>
         <ref name="front.localattributes"/>
      </element>
   </define>
   <define name="front.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <choice>
               <ref name="model.frontPart"/>
               <ref name="model.pLike.front"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
         <group>
            <optional>
               <choice>
                  <group>
                     <group>
                        <ref name="model.div1Like"/>
                     </group>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.frontPart"/>
                           <ref name="model.div1Like"/>
                           <ref name="model.global"/>
                        </choice>
                     </zeroOrMore>
                  </group>
                  <group>
                     <group>
                        <ref name="model.divLike"/>
                     </group>
                     <zeroOrMore>
                        <choice>
                           <ref name="model.frontPart"/>
                           <ref name="model.divLike"/>
                           <ref name="model.global"/>
                        </choice>
                     </zeroOrMore>
                  </group>
               </choice>
            </optional>
         </group>
         <group>
            <optional>
               <group>
                  <ref name="model.divBottomPart"/>
               </group>
               <zeroOrMore>
                  <choice>
                     <ref name="model.divBottomPart"/>
                     <ref name="model.global"/>
                  </choice>
               </zeroOrMore>
            </optional>
         </group>
      </group>
   </define>
   <define name="front.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="group">
      <element name="group">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the body of a composite text, grouping together a sequence of distinct texts (or
    groups of such texts) which are regarded as a unit for some purpose, for example the collected
    works of an author, a sequence of prose essays, etc.</a:documentation>
         <ref name="group.content"/>
         <ref name="group.localattributes"/>
      </element>
   </define>
   <define name="group.content">
      <rng:group xmlns:rng="http://relaxng.org/ns/structure/1.0"
                 xmlns="http://www.tei-c.org/ns/1.0">
         <rng:zeroOrMore>
            <rng:choice>
               <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divTop"/>
               <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
            </rng:choice>
         </rng:zeroOrMore>
         <rng:group>
            <rng:choice>
               <ref xmlns="http://relaxng.org/ns/structure/1.0" name="text"/>
               <ref xmlns="http://relaxng.org/ns/structure/1.0" name="group"/>
            </rng:choice>
            <rng:zeroOrMore>
               <rng:choice>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="text"/>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="group"/>
                  <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.global"/>
               </rng:choice>
            </rng:zeroOrMore>
         </rng:group>
         <rng:zeroOrMore>
            <ref xmlns="http://relaxng.org/ns/structure/1.0" name="model.divBottom"/>
         </rng:zeroOrMore>
      </rng:group>
   </define>
   <define name="group.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <empty/>
   </define>
   <define name="imprimatur">
      <element name="imprimatur">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a formal statement authorizing the publication of a work, sometimes required to
    appear on a title page or its verso.</a:documentation>
         <ref name="imprimatur.content"/>
         <ref name="imprimatur.localattributes"/>
      </element>
   </define>
   <define name="imprimatur.content">
      <ref name="macro.paraContent"/>
   </define>
   <define name="imprimatur.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="opener">
      <element name="opener">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups together dateline, byline, salutation, and similar phrases appearing as a preliminary
    group at the start of a division, especially of a letter.</a:documentation>
         <ref name="opener.content"/>
         <ref name="opener.localattributes"/>
      </element>
   </define>
   <define name="opener.content">
      <zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <text/>
            <ref name="model.gLike"/>
            <ref name="model.phrase"/>
            <ref name="argument"/>
            <ref name="byline"/>
            <ref name="dateline"/>
            <ref name="epigraph"/>
            <ref name="salute"/>
            <ref name="signed"/>
            <ref name="model.global"/>
         </choice>
      </zeroOrMore>
   </define>
   <define name="opener.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="postscript">
      <element name="postscript">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a postscript, e.g. to a letter.</a:documentation>
         <ref name="postscript.content"/>
         <ref name="postscript.localattributes"/>
      </element>
   </define>
   <define name="postscript.content">
      <zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <group>
               <ref name="model.common"/>
            </group>
            <group>
               <ref name="model.global"/>
            </group>
         </choice>
      </zeroOrMore>
   </define>
   <define name="postscript.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="salute">
      <element name="salute">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(salutation) contains a salutation or greeting prefixed to a foreword, dedicatory epistle, or other
    division of a text, or the salutation in the closing of a letter, preface, etc.</a:documentation>
         <ref name="salute.content"/>
         <ref name="salute.localattributes"/>
      </element>
   </define>
   <define name="salute.content">
      <ref name="macro.phraseSeq"/>
   </define>
   <define name="salute.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="signed">
      <element name="signed">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(signature) contains the closing salutation, etc., appended to a foreword,
dedicatory epistle, or other division of a text. </a:documentation>
         <ref name="signed.content"/>
         <ref name="signed.localattributes"/>
      </element>
   </define>
   <define name="signed.content">
      <ref name="macro.phraseSeq"/>
   </define>
   <define name="signed.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="text">
      <element name="text">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a single text of any kind, whether unitary or composite, for example a poem or
    drama, a collection of essays, a novel, a dictionary, or a corpus sample.</a:documentation>
         <ref name="text.content"/>
         <ref name="text.localattributes"/>
      </element>
   </define>
   <define name="text.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <ref name="model.global"/>
         </zeroOrMore>
         <optional>
            <ref name="front"/>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
         </optional>
         <choice>
            <ref name="body"/>
            <ref name="group"/>
         </choice>
         <zeroOrMore>
            <ref name="model.global"/>
         </zeroOrMore>
         <optional>
            <ref name="back"/>
            <zeroOrMore>
               <ref name="model.global"/>
            </zeroOrMore>
         </optional>
      </group>
   </define>
   <define name="text.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.declaring.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
   </define>
   <define name="titlePage">
      <element name="titlePage">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title page) contains the title page of a text, appearing within the front or back matter. </a:documentation>
         <ref name="titlePage.content"/>
         <ref name="titlePage.localattributes"/>
      </element>
   </define>
   <define name="titlePage.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <zeroOrMore>
            <ref name="model.global"/>
         </zeroOrMore>
         <group>
            <ref name="model.titlepagePart"/>
         </group>
         <zeroOrMore>
            <choice>
               <ref name="model.titlepagePart"/>
               <ref name="model.global"/>
            </choice>
         </zeroOrMore>
      </group>
   </define>
   <define name="titlePage.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="type">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the title page according to any convenient typology.</a:documentation>
            <ref name="data.enumerated"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="titlePart">
      <element name="titlePart">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a subsection or division of the title of a work, as
indicated on a title page.</a:documentation>
         <ref name="titlePart.content"/>
         <ref name="titlePart.localattributes"/>
      </element>
   </define>
   <define name="titlePart.content">
      <ref name="macro.paraContent"/>
   </define>
   <define name="titlePart.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type"
                    a:defaultValue="main">
            <a:documentation>specifies the role of this subdivision of the title.
Suggested values include: 1] main; 2] sub(subordinate) ; 3] alt(alternate) ; 4] short; 5] desc(descriptive) </a:documentation>
            <choice>
               <value>main</value>
               <a:documentation>main title of the work
        </a:documentation>
               <value>sub</value>
               <a:documentation>(subordinate) subtitle  of the work
        </a:documentation>
               <value>alt</value>
               <a:documentation>(alternate) alternative title  of the work
        </a:documentation>
               <value>short</value>
               <a:documentation>abbreviated form of title</a:documentation>
               <value>desc</value>
               <a:documentation>(descriptive) descriptive paraphrase of the work 
   </a:documentation>
               <data type="Name"/>
            </choice>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="trailer">
      <element name="trailer">
         <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a closing title or footer appearing at the end of a division of a text. </a:documentation>
         <ref name="trailer.content"/>
         <ref name="trailer.localattributes"/>
      </element>
   </define>
   <define name="trailer.content">
      <ref name="macro.phraseSeq"/>
   </define>
   <define name="trailer.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <!--3. macros--></grammar>