[xml] "RNG internal error trying to compile notAllowed" -- is this a bug?



The command
$ xmllint --noout --relaxng http://bauman.zapto.org/~syd/temp/wwpintdoc.rng 
http://bauman.zapto.org/~syd/temp/v.xml
produces 10 copies of the error message
| RNG internal error trying to compile notAllowed
before telling me the test file is valid. This happens with the
libxml 20616 version of xmllint (on both Debian GNU/Linux on Intel
and Mac OS X on PPC) and also the libxml 20627 version of xmllint (on
Mac OS X on PPC).

There are only 6 <notAllowed> elements in that schema, each of which
is the only child of a <define>. I haven't actually counted, but I
would not be at all surprised if those 6 patterns were referred to a
total of 10 times.

In any case, the as far as I can tell the schema itself is valid, and
jing, rnv, and whatever oXygen uses for RNG validation do not
complain about it. So I'm wondering if this might be a problem in
libxml, or if I've got something wrong in my schema the others don't
catch. 

The command above uses URLs to make it easy on you to test. For
posterity I am appending the files here, as well.

Thanks!

<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://bauman.zapto.org/%7Esyd/temp/wwpintdoc.rng"; type="xml"?>
<narrative xml:id="tst1"
  xmlns="http://www.wwp.brown.edu/ns/internal_documentation/1.0";>
  <head>Test</head>
  <abstract><p>Just a test</p></abstract>
  <keywords>
    <p><interpGrp><interp>act</interp></interpGrp></p>
  </keywords>
  <discussion>
    <p>I don't have much to say, as this is only a test.</p>
  </discussion>
</narrative>
<?xml version="1.0"?>
<rng:grammar xmlns="http://relaxng.org/ns/structure/1.0"; xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:teix="http://www.tei-c.org/ns/Examples"; xmlns:rng="http://relaxng.org/ns/structure/1.0"; 
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"; 
ns="http://www.wwp.brown.edu/ns/internal_documentation/1.0";>
<!--Schema generated from ODD source 2007-12-11T17:29:00-05:00. -->
<!-- Copyleft 2005,2007 Brown University Women Writers Project-->
  <define name="wwpintdoc_macro.paraContent">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="wwpintdoc_model.phrase"/>
        <ref name="wwpintdoc_model.inter"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="wwpintdoc_macro.limitedContent">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="wwpintdoc_model.limitedPhrase"/>
        <ref name="wwpintdoc_model.inter"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="wwpintdoc_macro.phraseSeq">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="wwpintdoc_model.phrase"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="wwpintdoc_macro.phraseSeq.limited">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="wwpintdoc_model.limitedPhrase"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="wwpintdoc_macro.specialPara">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="wwpintdoc_model.phrase"/>
        <ref name="wwpintdoc_model.inter"/>
        <ref name="wwpintdoc_model.divPart"/>
      </choice>
    </zeroOrMore>
  </define>
  <define name="wwpintdoc_att.ascribed.attributes">
    <ref name="att.ascribed.attribute.who"/>
    <empty/>
  </define>
  <define name="att.ascribed.attribute.who">
    <optional>
      <attribute name="who">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates the person, 
or group of
        people, to whom the element content is ascribed.</a:documentation>
        <list>
          <oneOrMore>
            <data type="anyURI"/>
          </oneOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.global.attributes">
    <ref name="att.global.attribute.xmlid"/>
    <ref name="att.global.attribute.n"/>
    <ref name="att.global.attribute.xmllang"/>
    <empty/>
  </define>
  <define name="att.global.attribute.xmlid">
    <optional>
      <attribute name="xml:id">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (identifier) provides 
a unique identifier for the element bearing the
      attribute.</a:documentation>
        <data type="ID"/>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.n">
    <optional>
      <attribute name="n">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (number) gives a 
number (or other label) for an element, which is
      not necessarily unique within the document.</a:documentation>
        <list>
          <oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </oneOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.global.attribute.xmllang">
    <optional>
      <attribute name="xml:lang">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (language) indicates 
the language of the element content using a
      tag generated according to BCP 47</a:documentation>
        <data type="language"/>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.handFeatures.attributes">
    <ref name="att.handFeatures.attribute.scribe"/>
    <ref name="att.handFeatures.attribute.script"/>
    <ref name="att.handFeatures.attribute.medium"/>
    <ref name="att.handFeatures.attribute.scope"/>
    <empty/>
  </define>
  <define name="att.handFeatures.attribute.scribe">
    <optional>
      <attribute name="scribe">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>gives a standard name 
or other identifier for the scribe
believed to be responsible for this hand.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.script">
    <optional>
      <attribute name="script">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>characterizes the 
particular script or writing style used by
this hand, for example secretary, copperplate, Chancery, Italian, etc..</a:documentation>
        <list>
          <oneOrMore>
            <data type="Name"/>
          </oneOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.medium">
    <optional>
      <attribute name="medium">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>describes the tint or 
type of ink, e.g. brown, or other
writing medium, e.g. pencil</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.handFeatures.attribute.scope">
    <optional>
      <attribute name="scope">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>specifies how widely 
this  hand is used in the manuscript.</a:documentation>
        <choice>
          <value>sole</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>only this hand is 
used throughout the manuscript</a:documentation>
          <value>major</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>this hand is used 
through most of the manuscript</a:documentation>
          <value>minor</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>this hand is used 
occasionally in the manuscript</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.internetMedia.attributes">
    <ref name="att.internetMedia.attribute.mimeType"/>
    <empty/>
  </define>
  <define name="att.internetMedia.attribute.mimeType">
    <optional>
      <attribute name="mimeType">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (MIME media type) 
specifies the applicable multimedia internet mail extension (MIME) media type</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.interpLike.attributes">
    <ref name="att.interpLike.attribute.type"/>
    <empty/>
  </define>
  <define name="att.interpLike.attribute.type">
    <optional>
      <attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates what kind of 
phenomenon is being noted in the passage.
Sample values include: 1] image; 2] character; 3] theme; 4] allusion</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.naming.attributes">
    <ref name="att.naming.attribute.key"/>
    <ref name="att.naming.attribute.ref"/>
    <ref name="att.naming.attribute.nymRef"/>
    <empty/>
  </define>
  <define name="att.naming.attribute.key">
    <optional>
      <attribute name="key">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>provides an external 
means
 of locating a full definition for the  entity being named, such as a database record key
      or other token.</a:documentation>
        <data type="string"/>
      </attribute>
    </optional>
  </define>
  <define name="att.naming.attribute.ref">
    <optional>
      <attribute name="ref">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (reference) provides 
an explicit means
 of locating a full definition for the  entity being named by means of
 a URI.</a:documentation>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.naming.attribute.nymRef">
    <optional>
      <attribute name="nymRef">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (reference to the 
canonical name) provides a means of locating the canonical form
      (nym) of the names associated with the object
       named by
      the element bearing it.</a:documentation>
        <list>
          <oneOrMore>
            <data type="anyURI"/>
          </oneOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.placement.attributes">
    <ref name="att.placement.attribute.place"/>
    <empty/>
  </define>
  <define name="att.placement.attribute.place">
    <optional>
      <attribute name="place">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>
Suggested values include: 1] infralinear; 2] margin-bot (bottom margin); 3] margin-left (left margin); 4] 
margin-right (right margin); 5] margin-top (top margin); 6] opposite; 7] overleaf; 8] supralinear; 9] verso; 
10] app (apparatus); 11] end; 12] foot; 13] inline; 14] interlinear; 15] inline; 16] mixed</a:documentation>
        <choice>
          <value>infralinear</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>below the 
line</a:documentation>
          <value>margin-bot</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(bottom margin) in 
the bottom margin</a:documentation>
          <value>margin-left</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(left margin) in the 
left margin</a:documentation>
          <value>margin-right</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(right margin) in 
the right margin</a:documentation>
          <value>margin-top</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(top margin) in the 
top margin</a:documentation>
          <value>opposite</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>on the opposite, 
i.e. facing, page</a:documentation>
          <value>overleaf</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>on the other side of 
the leaf</a:documentation>
          <value>supralinear</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>above the 
line</a:documentation>
          <value>verso</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>on verso of the 
sheet or page</a:documentation>
          <value>app</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(apparatus) note 
appears in the apparatus at the foot of the page.</a:documentation>
          <value>end</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>note appears at end 
of chapter or volume.</a:documentation>
          <value>foot</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>note appears at foot 
of page.</a:documentation>
          <value>inline</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>note appears as a 
marked paragraph in the body of the text.</a:documentation>
          <value>interlinear</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>note appears between 
lines of the text; a less precise form of either infralinear or supralinear.</a:documentation>
          <value>inline</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>addition is made in 
a space left in the witness by an earlier scribe.</a:documentation>
          <value>mixed</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>one or more of the 
other values</a:documentation>
          <data type="Name"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.tableDecoration.attributes">
    <ref name="att.tableDecoration.attribute.role"/>
    <ref name="att.tableDecoration.attribute.rows"/>
    <ref name="att.tableDecoration.attribute.cols"/>
    <empty/>
  </define>
  <define name="att.tableDecoration.attribute.role">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="role" 
a:defaultValue="data">
        <a:documentation>indicates the kind of information held in this cell or
in each cell of this row.
Suggested values include: 1] label; 2] data</a:documentation>
        <choice>
          <value>label</value>
          <a:documentation>labelling or descriptive information only.</a:documentation>
          <value>data</value>
          <a:documentation>data values.</a:documentation>
          <data type="Name"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.tableDecoration.attribute.rows">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="rows" a:defaultValue="1">
        <a:documentation>indicates the number of rows occupied by this cell or row.</a:documentation>
        <data type="nonNegativeInteger"/>
      </attribute>
    </optional>
  </define>
  <define name="att.tableDecoration.attribute.cols">
    <optional>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="cols" a:defaultValue="1">
        <a:documentation> (columns) indicates the number of columns occupied by this cell or
        row.</a:documentation>
        <data type="nonNegativeInteger"/>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.typed.attributes">
    <ref name="att.typed.attribute.type"/>
    <empty/>
  </define>
  <define name="att.typed.attribute.type">
    <optional>
      <attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>characterizes the 
element in some sense, using any convenient
 classification scheme or typology.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_att.xmlspace.attributes">
    <ref name="att.xmlspace.attribute.xmlspace"/>
    <empty/>
  </define>
  <define name="att.xmlspace.attribute.xmlspace">
    <optional>
      <attribute name="xml:space">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>signals an intention 
that white space should be 
      preserved by applications</a:documentation>
        <choice>
          <value>default</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>preserve</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_model.nameLike.agent">
    <choice>
      <ref name="wwpintdoc_name"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.hiLike">
    <choice>
      <ref name="wwpintdoc_called"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.emphLike">
    <choice>
      <ref name="wwpintdoc_emph"/>
      <ref name="wwpintdoc_term"/>
      <ref name="wwpintdoc_title"/>
      <ref name="wwpintdoc_code"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.highlighted">
    <choice>
      <ref name="wwpintdoc_model.hiLike"/>
      <ref name="wwpintdoc_model.emphLike"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.dateLike">
    <choice>
      <ref name="wwpintdoc_date"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.egLike">
    <choice>
      <ref name="wwpintdoc_eg"/>
      <ref name="wwpintdoc_egXML"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.graphicLike">
    <choice>
      <ref name="wwpintdoc_graphic"/>
      <ref name="wwpintdoc_formula"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.pPart.edit">
    <notAllowed/>
  </define>
  <define name="wwpintdoc_model.ptrLike">
    <choice>
      <ref name="wwpintdoc_ref"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.phrase.xml">
    <choice>
      <ref name="wwpintdoc_att"/>
      <ref name="wwpintdoc_gi"/>
      <ref name="wwpintdoc_tag"/>
      <ref name="wwpintdoc_val"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.biblLike">
    <choice>
      <ref name="wwpintdoc_bibl"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.headLike">
    <choice>
      <ref name="wwpintdoc_head"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.labelLike">
    <choice>
      <ref name="wwpintdoc_label"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.listLike">
    <choice>
      <ref name="wwpintdoc_list"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.pLike">
    <choice>
      <ref name="wwpintdoc_p"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.divPart">
    <choice>
      <ref name="wwpintdoc_model.pLike"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.placeStateLike">
    <notAllowed/>
  </define>
  <define name="wwpintdoc_model.publicationStmtPart">
    <choice>
      <ref name="wwpintdoc_address"/>
      <ref name="wwpintdoc_date"/>
      <ref name="wwpintdoc_publisher"/>
      <ref name="wwpintdoc_availability"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.quoteLike">
    <choice>
      <ref name="wwpintdoc_quote"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.qLike">
    <choice>
      <ref name="wwpintdoc_model.quoteLike"/>
      <ref name="wwpintdoc_said"/>
      <ref name="wwpintdoc_q"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.respLike">
    <choice>
      <ref name="wwpintdoc_author"/>
      <ref name="wwpintdoc_respStmt"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.divTopPart">
    <choice>
      <ref name="wwpintdoc_model.headLike"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.divTop">
    <choice>
      <ref name="wwpintdoc_model.divTopPart"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.divBottom">
    <notAllowed/>
  </define>
  <define name="wwpintdoc_model.imprintPart">
    <choice>
      <ref name="wwpintdoc_publisher"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.addressLike">
    <choice>
      <ref name="wwpintdoc_email"/>
      <ref name="wwpintdoc_address"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.nameLike">
    <choice>
      <ref name="wwpintdoc_model.nameLike.agent"/>
      <ref name="wwpintdoc_model.placeStateLike"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.biblPart">
    <choice>
      <ref name="wwpintdoc_model.respLike"/>
      <ref name="wwpintdoc_model.imprintPart"/>
      <ref name="wwpintdoc_relatedItem"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.addrPart">
    <choice>
      <ref name="wwpintdoc_model.nameLike"/>
      <ref name="wwpintdoc_addrLine"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.pPart.data">
    <choice>
      <ref name="wwpintdoc_model.dateLike"/>
      <ref name="wwpintdoc_model.addressLike"/>
      <ref name="wwpintdoc_model.nameLike"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.inter">
    <choice>
      <ref name="wwpintdoc_model.egLike"/>
      <ref name="wwpintdoc_model.biblLike"/>
      <ref name="wwpintdoc_model.labelLike"/>
      <ref name="wwpintdoc_model.listLike"/>
      <ref name="wwpintdoc_model.qLike"/>
      <ref name="wwpintdoc_table"/>
      <ref name="wwpintdoc_figure"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.common">
    <choice>
      <ref name="wwpintdoc_model.divPart"/>
      <ref name="wwpintdoc_model.inter"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.phrase">
    <choice>
      <ref name="wwpintdoc_model.highlighted"/>
      <ref name="wwpintdoc_model.graphicLike"/>
      <ref name="wwpintdoc_model.pPart.edit"/>
      <ref name="wwpintdoc_model.ptrLike"/>
      <ref name="wwpintdoc_model.phrase.xml"/>
      <ref name="wwpintdoc_model.pPart.data"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.limitedPhrase">
    <choice>
      <ref name="wwpintdoc_model.emphLike"/>
      <ref name="wwpintdoc_model.ptrLike"/>
      <ref name="wwpintdoc_model.phrase.xml"/>
      <ref name="wwpintdoc_model.pPart.data"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.divLike">
    <choice>
      <ref name="wwpintdoc_div"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.divGenLike">
    <notAllowed/>
  </define>
  <define name="wwpintdoc_model.div1Like">
    <choice>
      <ref name="wwpintdoc_narrative"/>
      <ref name="wwpintdoc_entry"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.div3Like">
    <choice>
      <ref name="wwpintdoc_examples"/>
      <ref name="wwpintdoc_section"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.div4Like">
    <choice>
      <ref name="wwpintdoc_subsection"/>
    </choice>
  </define>
  <define name="wwpintdoc_model.div5Like">
    <notAllowed/>
  </define>
  <define name="wwpintdoc_model.resourceLike">
    <notAllowed/>
  </define>
  <define name="wwpintdoc_p">
    <element name="p">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(paragraph) marks 
paragraphs in prose.</a:documentation>
      <choice>
        <ref name="wwpintdoc_macro.paraContent"/>
        <group>
          <ref name="wwpintdoc_interpGrp"/>
          <optional>
            <ref name="wwpintdoc_interpGrp"/>
          </optional>
        </group>
      </choice>
      <s:pattern xmlns="http://www.tei-c.org/ns/1.0"; xmlns:tei="http://www.tei-c.org/ns/1.0"; 
xmlns:wwp="http://www.wwp.brown.edu/ns/internal_documentation/1.0"; 
xmlns:eg="http://www.wwp.brown.edu/ns/internal_documentation/Examples"; 
xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns:s="http://www.ascc.net/xml/schematron"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="interpGrp 
only in keywords division">
        <s:rule context="wwp:interpGrp">
          <s:assert test="parent::wwp:p/parent::wwp:keywords">
                     The 'interpGrp' element should only appear inside
                     a 'p' element that is itself the only child of a
                     'keywords'.
                   </s:assert>
        </s:rule>
      </s:pattern>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_emph">
    <element name="emph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(emphasized) marks words 
or phrases which are stressed or emphasized for
linguistic or rhetorical effect.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_said">
    <element name="said">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (speech or thought) 
</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.ascribed.attribute.who"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="aloud" 
a:defaultValue="unknown">
          <a:documentation>may be used to indicate whether the quoted matter
      is regarded as having been vocalized or signed.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="direct" 
a:defaultValue="true">
          <a:documentation>may be used to indicate whether the quoted matter is regarded
      as direct or indirect speech.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_quote">
    <element name="quote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(quotation) contains a 
phrase or passage attributed by the narrator or
  author to some agency external to the text.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_q">
    <element name="q">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(separated from the 
surrounding text with quotation
  marks) contains material which is marked as (ostensibly)
  being somehow different than the surrounding text, for any
  one of a variety of reasons including, but not limited to:
  direct speech or thought, technical terms or jargon,
  authorial distance, quotations from elsewhere, and passages
  that are mentioned not used.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.ascribed.attribute.who"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>may be used to 
indicate whether the offset passage is spoken
      or thought, or to characterize it more finely.
Suggested values include: 1] spoken; 2] thought; 3] written; 4] soCalled; 5] foreign (foreign words); 6] 
distinct (linguistically distinct); 7] term (technical term); 8] emph (rhetorically emphasized); 9] 
mentioned</a:documentation>
          <choice>
            <value>spoken</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>representation of 
speech</a:documentation>
            <value>thought</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>representation of 
thought, e.g. internal monologue</a:documentation>
            <value>written</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>quotation from a 
written source</a:documentation>
            <value>soCalled</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>authorial 
distance</a:documentation>
            <value>foreign</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (foreign words) 
</a:documentation>
            <value>distinct</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (linguistically 
distinct) </a:documentation>
            <value>term</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (technical term) 
</a:documentation>
            <value>emph</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (rhetorically 
emphasized) </a:documentation>
            <value>mentioned</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>refering to 
itself, not its normal
          referant</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_term">
    <element name="term">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains a single-word, 
multi-word, or symbolic designation
  which is regarded as a technical term.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <optional>
        <attribute name="sortKey">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>supplies the sort 
key for this term in an index.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <choice>
        <optional>
          <attribute name="target">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>identifies the 
associated gloss element by an
        absolute or relative URI reference</a:documentation>
            <data type="anyURI"/>
          </attribute>
        </optional>
        <optional>
          <attribute name="cRef">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>identifies the 
associated gloss element using a
        canonical reference from a scheme defined in a
        refsDecl element in the TEI header</a:documentation>
            <data type="anyURI"/>
          </attribute>
        </optional>
      </choice>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_name">
    <element name="name">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(name, proper noun) 
contains a proper noun or noun phrase.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates the type 
of the object which is being named by the
      phrase.</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_email">
    <element name="email">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (electronic mail 
address) contains an e-mail address identifying a location to which
e-mail messages can be delivered.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_address">
    <element name="address">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains a postal  
address, for example of a
publisher, an organization, or an individual.</a:documentation>
      <group>
        <oneOrMore>
          <group>
            <ref name="wwpintdoc_model.addrPart"/>
          </group>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_addrLine">
    <element name="addrLine">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(address line) contains 
one line of a postal address.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_measureGrp">
    <element name="measureGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(measure group) contains 
a group of dimensional specifications which relate to
  the same object, for example the height and width of a manuscript page.</a:documentation>
      <zeroOrMore>
        <ref name="wwpintdoc_text"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_date">
    <element name="date">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains a date in any 
format.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="wwpintdoc_model.phrase"/>
        </choice>
      </zeroOrMore>
      <optional>
        <attribute name="calendar">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates the system 
or calendar to which the date belongs.
Suggested values include: 1] Gregorian; 2] Julian; 3] Islamic; 4] Hebrew; 5] Revolutionary; 6] Iranian; 7] 
Coptic; 8] Chinese</a:documentation>
          <choice>
            <value>Gregorian</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Gregorian 
calendar</a:documentation>
            <value>Julian</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Julian 
calendar</a:documentation>
            <value>Islamic</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Islamic or Muslim 
(hijri) lunar calendar</a:documentation>
            <value>Hebrew</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Hebrew or Jewish 
lunisolar calendar</a:documentation>
            <value>Revolutionary</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>French 
Revolutionary calendar</a:documentation>
            <value>Iranian</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Iranian or Persian 
(Jalaali) solar calendar</a:documentation>
            <value>Coptic</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Coptic or 
Alexandrian calendar</a:documentation>
            <value>Chinese</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Chinese lunisolar 
calendar</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_ref">
    <element name="ref">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(reference) defines a 
reference to another location, possibly
  modified by additional text or comment.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.paraContent"/>
      <optional>
        <attribute name="target">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>specifies the 
destination of the reference by supplying one
    or more URI References</a:documentation>
          <list>
            <oneOrMore>
              <data type="anyURI"/>
            </oneOrMore>
          </list>
        </attribute>
      </optional>
      <optional>
        <attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (canonical 
reference) specifies the destination of the reference by supplying a
      canonical reference from a scheme defined in a refsDecl
      element in the TEI header</a:documentation>
          <list>
            <oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </oneOrMore>
          </list>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.pointing.attribute.xlinktype"/>
      <ref name="att.pointing.attribute.xlinkhref"/>
      <ref name="att.pointing.attribute.xlinkrole"/>
      <ref name="att.pointing.attribute.xlinkarcrole"/>
      <ref name="att.pointing.attribute.xlinktitle"/>
      <ref name="att.pointing.attribute.xlinkshow"/>
      <ref name="att.pointing.attribute.xlinkactuate"/>
      <ref name="att.pointing.attribute.xlinklabel"/>
      <ref name="att.pointing.attribute.xlinkfrom"/>
      <ref name="att.pointing.attribute.xlinkto"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_list">
    <element name="list">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains any sequence of 
items organized as a list.</a:documentation>
      <group>
        <zeroOrMore>
          <group>
            <ref name="wwpintdoc_model.divTop"/>
          </group>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="wwpintdoc_item"/>
          </oneOrMore>
          <group>
            <oneOrMore>
              <ref name="wwpintdoc_label"/>
              <ref name="wwpintdoc_item"/>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <group>
            <ref name="wwpintdoc_model.divBottom"/>
          </group>
        </zeroOrMore>
      </group>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="type" 
a:defaultValue="unordered">
          <a:documentation>describes the form of the list.</a:documentation>
          <choice>
            <value>ordered</value>
            <a:documentation> (order is significant) </a:documentation>
            <value>unordered</value>
            <a:documentation> (order is not significatn) </a:documentation>
          </choice>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_item">
    <element name="item">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains one
component of a list.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_label">
    <element name="label">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains the label 
associated with an item in a list; in
glossaries, marks the term being defined.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_head">
    <element name="head">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(heading) contains any 
type of heading, for example the title of a section,
or the heading of a list, glossary, manuscript description, etc.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_graphic">
    <element name="graphic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates the location 
of an inline graphic, illustration, or figure.</a:documentation>
      <empty xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.internetMedia.attribute.mimeType"/>
      <optional>
        <attribute name="width">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>The display width of 
the image</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>The display height 
of the image</a:documentation>
          <data type="token">
            <param name="pattern">[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="scale">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>A scale factor to be 
applied to the image to make it the desired display size</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="url">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (uniform resource 
locator) The target URL</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_author">
    <element name="author">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>in a bibliographic 
reference, contains the name of the author(s),
personal or corporate,
of a work; the primary statement of responsibility for any
bibliographic item.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_respStmt">
    <element name="respStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(statement of 
responsibility) supplies a statement of responsibility for the intellectual content of a text, edition, 
recording, or
  series, where the specialized elements for authors, editors, etc. do
  not suffice or do not apply.</a:documentation>
      <choice>
        <group>
          <oneOrMore>
            <ref name="wwpintdoc_resp"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="wwpintdoc_model.nameLike.agent"/>
          </oneOrMore>
        </group>
        <group>
          <oneOrMore>
            <ref name="wwpintdoc_model.nameLike.agent"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="wwpintdoc_resp"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_resp">
    <element name="resp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(responsibility) 
contains a phrase describing the nature of a person's
  intellectual responsibility.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_title">
    <element name="title">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains the full title 
of a work of any kind.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute name="level">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates the 
bibliographic level for a title, that is,
        whether it identifies  an article, book, journal,
series, or unpublished material.</a:documentation>
          <choice>
            <value>a</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(analytic) 
analytic title (article, poem, or other item published as
          part of a larger item)</a:documentation>
            <value>m</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(monographic) 
monographic title (book, collection, or other item published
          as a distinct item, including single volumes of multi-volume
          works)</a:documentation>
            <value>j</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(journal) journal 
title</a:documentation>
            <value>s</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(series) series 
title</a:documentation>
            <value>u</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(unpublished) 
title of unpublished material (including theses and
          dissertations unless published by a commercial press)</a:documentation>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>classifies the title 
according to some convenient typology.
Sample values include: 1] main; 2] sub (subordinate); 3] alt (alternate); 4] short; 5] desc 
(descriptive)</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_publisher">
    <element name="publisher">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>provides the name of the 
organization responsible for
the publication or distribution of a bibliographic item.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_bibl">
    <element name="bibl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(bibliographic citation) 
contains a loosely-structured bibliographic citation of which
the sub-components may or may not be explicitly tagged.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="wwpintdoc_model.highlighted"/>
          <ref name="wwpintdoc_model.pPart.data"/>
          <ref name="wwpintdoc_model.pPart.edit"/>
          <ref name="wwpintdoc_model.ptrLike"/>
          <ref name="wwpintdoc_model.biblPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_relatedItem">
    <element name="relatedItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains or references 
some other bibliographic item which is
related to the present one in some specified manner, for example as a
constituent or alternative version of it.</a:documentation>
      <choice>
        <ref name="wwpintdoc_model.biblLike"/>
        <ref name="wwpintdoc_model.ptrLike"/>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_teiHeader">
    <element name="teiHeader">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(TEI Header) supplies 
the descriptive and declarative information making
        up an electronic title page prefixed to every TEI-conformant
        text.</a:documentation>
      <group>
        <ref name="wwpintdoc_fileDesc"/>
        <optional>
          <ref name="wwpintdoc_revisionDesc"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="type" 
a:defaultValue="text">
          <a:documentation>specifies the kind of document to which the header is
      attached, for example whether it is a corpus or individual text.
Sample values include: 1] text; 2] corpus</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_fileDesc">
    <element name="fileDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(file description) 
contains a full bibliographic description of an electronic
file.</a:documentation>
      <group>
        <group>
          <ref name="wwpintdoc_titleStmt"/>
          <ref name="wwpintdoc_publicationStmt"/>
        </group>
        <oneOrMore>
          <ref name="wwpintdoc_sourceDesc"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_titleStmt">
    <element name="titleStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(title statement) groups 
information about the title of a work and those
responsible for its intellectual content.</a:documentation>
      <group>
        <oneOrMore>
          <ref name="wwpintdoc_title"/>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="wwpintdoc_author"/>
            <ref name="wwpintdoc_respStmt"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_publicationStmt">
    <element name="publicationStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(publication statement) 
groups information concerning the publication or distribution
of an electronic or other text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="wwpintdoc_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="wwpintdoc_model.publicationStmtPart"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_availability">
    <element name="availability">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>supplies information 
about the availability of a text, for
  example any restrictions on its use or distribution, its copyright
  status, etc.</a:documentation>
      <oneOrMore>
        <ref name="wwpintdoc_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="status" 
a:defaultValue="unknown">
          <a:documentation>supplies a code identifying the current availability of the
text.</a:documentation>
          <choice>
            <value>free</value>
            <a:documentation>the text is freely available.</a:documentation>
            <value>unknown</value>
            <a:documentation>the status of the text is unknown.</a:documentation>
            <value>restricted</value>
            <a:documentation>the text is not freely available.</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_sourceDesc">
    <element name="sourceDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(source description) 
supplies a description of the source text(s) from
which an electronic text was derived or generated.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="wwpintdoc_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="wwpintdoc_model.biblLike"/>
            <ref name="wwpintdoc_model.listLike"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_namespace">
    <element name="namespace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>supplies the formal name 
of the namespace to which the elements
documented by its children belong.</a:documentation>
      <empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>the full formal name 
of the namespace concerned.</a:documentation>
        <data type="anyURI"/>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_refState">
    <element name="refState">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(reference state) 
specifies one component of a canonical reference defined by
the milestone method.</a:documentation>
      <empty xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute name="ed">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (edition) indicates 
which edition or version the milestone applies to.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <attribute name="unit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates what kind of 
state is changing at this milestone.
Suggested values include: 1] page; 2] column; 3] line; 4] book; 5] poem; 6] canto; 7] stanza; 8] act; 9] 
scene; 10] section; 11] absent</a:documentation>
        <choice>
          <value>page</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>page breaks in the 
reference edition.</a:documentation>
          <value>column</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>column 
breaks.</a:documentation>
          <value>line</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>line 
breaks.</a:documentation>
          <value>book</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>any units termed 
book, liber, etc.</a:documentation>
          <value>poem</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>individual poems in 
a collection.</a:documentation>
          <value>canto</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>cantos or other 
major sections of a poem.</a:documentation>
          <value>stanza</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>stanzas within a 
poem, book, or canto.</a:documentation>
          <value>act</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>acts within a 
play.</a:documentation>
          <value>scene</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>scenes within a play 
or act.</a:documentation>
          <value>section</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>sections of any 
kind.</a:documentation>
          <value>absent</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>passages not present 
in the reference edition.</a:documentation>
          <data type="Name"/>
        </choice>
      </attribute>
      <optional>
        <attribute name="length">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>specifies the fixed 
length of the reference component.</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="delim">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (delimiter) 
supplies a delimiting string following the reference
          component.</a:documentation>
          <text/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_appInfo">
    <element name="appInfo">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (application 
information) </a:documentation>
      <oneOrMore>
        <ref name="wwpintdoc_model.applicationLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_application">
    <element name="application">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <group>
        <oneOrMore>
          <ref name="wwpintdoc_model.labelLike"/>
        </oneOrMore>
        <choice>
          <zeroOrMore>
            <ref name="wwpintdoc_model.ptrLike"/>
          </zeroOrMore>
          <zeroOrMore>
            <ref name="wwpintdoc_model.pLike"/>
          </zeroOrMore>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.typed.attribute.type"/>
      <attribute name="ident">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Supplies an identifier 
for the application, independent of
      its version number or display name.</a:documentation>
        <data type="Name"/>
      </attribute>
      <attribute name="version">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>Supplies a version 
number for the application, independent of
      its identifier or display name.</a:documentation>
        <data type="token">
          <param name="pattern">[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}</param>
        </data>
      </attribute>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_model.applicationLike">
    <choice>
      <ref name="wwpintdoc_application"/>
    </choice>
  </define>
  <define name="wwpintdoc_handNote">
    <element name="handNote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(note on hand) describes 
a particular style
or hand distinguished within a manuscript.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.handFeatures.attribute.scribe"/>
      <ref name="att.handFeatures.attribute.script"/>
      <ref name="att.handFeatures.attribute.medium"/>
      <ref name="att.handFeatures.attribute.scope"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_revisionDesc">
    <element name="revisionDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(revision description) 
summarizes the revision history for a file.</a:documentation>
      <zeroOrMore>
        <ref name="wwpintdoc_change"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_change">
    <element name="change">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>summarizes a particular 
change or correction made
to a particular version of an electronic text which is
shared between several researchers.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="wwpintdoc_model.limitedPhrase"/>
          <ref name="wwpintdoc_model.inter"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.ascribed.attribute.who"/>
      <optional>
        <attribute name="when">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>supplies the date of 
the change in standard form, i.e. YYYY-MM-DD.</a:documentation>
          <choice>
            <data type="date"/>
            <data type="gYear"/>
            <data type="gMonth"/>
            <data type="gDay"/>
            <data type="gYearMonth"/>
            <data type="gMonthDay"/>
            <data type="time"/>
            <data type="dateTime"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_geoDecl">
    <element name="geoDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (geographic coordinates 
declaration) </a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="datum" 
a:defaultValue="WGS84">
          <a:documentation>supplies a commonly used code name for the datum employed.
Suggested values include: 1] WGS84 (World Geodetic System); 2] MGRS (Military Grid Reference System); 3] 
OSGB36 (ordnance survey great britain); 4] ED50 (European Datum coordinate system)</a:documentation>
          <choice>
            <value>WGS84</value>
            <a:documentation> (World Geodetic System) a pair of numbers to be interpreted as latitude 
followed by longitude
          according to the World Geodetic System.</a:documentation>
            <value>MGRS</value>
            <a:documentation> (Military Grid Reference System) the values supplied are geospatial entity 
object codes,
        based on  Universal Transverse Mercator coordinates</a:documentation>
            <value>OSGB36</value>
            <a:documentation> (ordnance survey great britain) the value supplied is to be interpreted as a 
British National Grid
          Reference.</a:documentation>
            <value>ED50</value>
            <a:documentation> (European Datum coordinate system) the value supplied is to be interpreted as 
latitude followed by
          longitude according to the European Datum coordinate system.</a:documentation>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_TEI">
    <element name="TEI">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(TEI document) contains 
a single TEI-conformant document,
comprising a TEI header and a text, either in isolation or as part of a
teiCorpus element.</a:documentation>
      <group>
        <ref name="wwpintdoc_teiHeader"/>
        <choice>
          <group>
            <oneOrMore>
              <ref name="wwpintdoc_model.resourceLike"/>
            </oneOrMore>
            <optional>
              <ref name="wwpintdoc_text"/>
            </optional>
          </group>
          <ref name="wwpintdoc_text"/>
        </choice>
      </group>
      <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="version" 
a:defaultValue="5.0">
        <a:documentation>The version of the TEI scheme</a:documentation>
        <data type="token"/>
      </attribute>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_text">
    <element name="text">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <group>
        <ref name="wwpintdoc_body"/>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_body">
    <element name="body">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(text body) contains the 
whole body of a single unitary text, excluding any front or back matter.</a:documentation>
      <group>
        <optional>
          <group>
            <group>
              <ref name="wwpintdoc_model.divTop"/>
            </group>
            <zeroOrMore>
              <ref name="wwpintdoc_model.divTop"/>
            </zeroOrMore>
          </group>
        </optional>
        <optional>
          <group>
            <group>
              <ref name="wwpintdoc_model.divGenLike"/>
            </group>
            <zeroOrMore>
              <ref name="wwpintdoc_model.divGenLike"/>
            </zeroOrMore>
          </group>
        </optional>
        <group>
          <choice>
            <oneOrMore>
              <group>
                <group>
                  <ref name="wwpintdoc_model.divLike"/>
                </group>
                <zeroOrMore>
                  <ref name="wwpintdoc_model.divGenLike"/>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <oneOrMore>
              <group>
                <group>
                  <ref name="wwpintdoc_model.div1Like"/>
                </group>
                <zeroOrMore>
                  <ref name="wwpintdoc_model.divGenLike"/>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="wwpintdoc_model.common"/>
                </group>
              </oneOrMore>
              <optional>
                <choice>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="wwpintdoc_model.divLike"/>
                      </group>
                      <zeroOrMore>
                        <ref name="wwpintdoc_model.divGenLike"/>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="wwpintdoc_model.div1Like"/>
                      </group>
                      <zeroOrMore>
                        <ref name="wwpintdoc_model.divGenLike"/>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                </choice>
              </optional>
            </group>
          </choice>
        </group>
        <zeroOrMore>
          <group>
            <ref name="wwpintdoc_model.divBottom"/>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_div">
    <element name="div">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(text division) 
</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="wwpintdoc_model.divTop"/>
        </zeroOrMore>
        <optional>
          <choice>
            <group>
              <oneOrMore>
                <choice>
                  <ref name="wwpintdoc_model.divLike"/>
                  <ref name="wwpintdoc_model.divGenLike"/>
                </choice>
              </oneOrMore>
            </group>
            <group>
              <oneOrMore>
                <group>
                  <ref name="wwpintdoc_model.common"/>
                </group>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="wwpintdoc_model.divLike"/>
                  <ref name="wwpintdoc_model.divGenLike"/>
                </choice>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="wwpintdoc_model.divBottom"/>
            </group>
          </zeroOrMore>
        </optional>
      </group>
      <attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <choice>
          <value>glossItem</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>navigation</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>footer</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        </choice>
      </attribute>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_att">
    <element name="att">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (attribute) 
</a:documentation>
      <choice>
        <value>abbr</value>
        <value>alt</value>
        <value>exact</value>
        <value>orig</value>
        <value>sic</value>
        <choice>
          <value>who</value>
          <value>extent</value>
          <value>hand</value>
          <value>agent</value>
          <value>degree</value>
          <value>group</value>
          <value>period</value>
          <value>when</value>
          <value>notBefore</value>
          <value>notAfter</value>
          <value>from</value>
          <value>to</value>
          <value>default</value>
          <value>decls</value>
          <value>org</value>
          <value>sample</value>
          <value>dur</value>
          <value>cert</value>
          <value>resp</value>
          <value>evidence</value>
          <value>source</value>
          <value>xml:id</value>
          <value>n</value>
          <value>xml:lang</value>
          <value>rend</value>
          <value>rendition</value>
          <value>xml:base</value>
          <value>scribe</value>
          <value>script</value>
          <value>medium</value>
          <value>scope</value>
          <value>mimeType</value>
          <value>unit</value>
          <value>quantity</value>
          <value>commodity</value>
          <value>key</value>
          <value>ref</value>
          <value>nymRef</value>
          <value>place</value>
          <value>type</value>
          <value>function</value>
          <value>spanTo</value>
          <value>hand</value>
          <value>status</value>
          <value>seq</value>
          <value>version</value>
          <value>type</value>
          <value>subtype</value>
          <value>unit</value>
          <value>quantity</value>
          <value>scope</value>
          <value>type</value>
          <value>time</value>
          <value>space</value>
          <value>social</value>
          <value>aloud</value>
          <value>direct</value>
          <value>type</value>
          <value>target</value>
          <value>cRef</value>
          <value>sortKey</value>
          <value>target</value>
          <value>cRef</value>
          <value>reason</value>
          <value>hand</value>
          <value>agent</value>
          <value>extent</value>
          <value>unit</value>
          <value>reason</value>
          <value>hand</value>
          <value>agent</value>
          <value>type</value>
          <value>type</value>
          <value>type</value>
          <value>value</value>
          <value>type</value>
          <value>calendar</value>
          <value>type</value>
          <value>target</value>
          <value>cRef</value>
          <value>target</value>
          <value>cRef</value>
          <value>type</value>
          <value>type</value>
          <value>resp</value>
          <value>anchored</value>
          <value>target</value>
          <value>targetEnd</value>
          <value>indexName</value>
          <value>width</value>
          <value>height</value>
          <value>scale</value>
          <value>url</value>
          <value>ed</value>
          <value>unit</value>
          <value>ed</value>
          <value>ed</value>
          <value>ed</value>
          <value>role</value>
          <value>level</value>
          <value>type</value>
          <value>type</value>
          <value>part</value>
          <value>type</value>
          <value>version</value>
          <value>type</value>
          <value>type</value>
          <value>type</value>
          <value>status</value>
          <value>status</value>
          <value>method</value>
          <value>source</value>
          <value>method</value>
          <value>marks</value>
          <value>form</value>
          <value>eol</value>
          <value>gi</value>
          <value>occurs</value>
          <value>withId</value>
          <value>render</value>
          <value>name</value>
          <value>scheme</value>
          <value>matchPattern</value>
          <value>replacementPattern</value>
          <value>ed</value>
          <value>unit</value>
          <value>length</value>
          <value>delim</value>
          <value>ident</value>
          <value>version</value>
          <value>ident</value>
          <value>usage</value>
          <value>scheme</value>
          <value>scheme</value>
          <value>target</value>
          <value>scheme</value>
          <value>when</value>
          <value>datum</value>
          <value>version</value>
          <value>type</value>
          <value>type</value>
          <value>when</value>
          <value>type</value>
          <value>type</value>
          <value>where</value>
          <value>perf</value>
          <value>type</value>
          <value>discrete</value>
          <value>type</value>
          <value>perf</value>
          <value>targets</value>
          <value>part</value>
          <value>subtype</value>
          <value>targets</value>
          <value>result</value>
          <value>scope</value>
          <value>result</value>
          <value>targets</value>
          <value>mode</value>
          <value>weights</value>
          <value>mode</value>
          <value>corresp</value>
          <value>synch</value>
          <value>sameAs</value>
          <value>copyOf</value>
          <value>next</value>
          <value>prev</value>
          <value>exclude</value>
          <value>select</value>
          <value>type</value>
          <value>evaluate</value>
          <value>domains</value>
          <value>targFunc</value>
          <value>type</value>
          <value>value</value>
          <value>where</value>
          <value>tags</value>
          <value>tag</value>
          <value>level</value>
          <value>scheme</value>
          <value>code</value>
          <value>role</value>
          <value>role</value>
          <value>sex</value>
          <value>age</value>
          <value>role</value>
          <value>sex</value>
          <value>age</value>
          <value>size</value>
          <value>type</value>
          <value>name</value>
          <value>passive</value>
          <value>active</value>
          <value>mutual</value>
          <value>value</value>
          <value>scheme</value>
          <value>code</value>
          <value>parts</value>
          <value>full</value>
          <value>sort</value>
          <value>when-iso</value>
          <value>notBefore-iso</value>
          <value>notAfter-iso</value>
          <value>from-iso</value>
          <value>to-iso</value>
          <value>scheme</value>
          <value>lang</value>
          <value>scheme</value>
          <value>scheme</value>
          <value>facs</value>
          <value>start</value>
          <value>ulx</value>
          <value>uly</value>
          <value>lrx</value>
          <value>lry</value>
          <value>type</value>
          <value>new</value>
          <value>resp</value>
          <value>dim</value>
          <value>resp</value>
          <value>reason</value>
          <value>type</value>
          <value>pattern</value>
          <value>value</value>
          <value>terminal</value>
          <value>met</value>
          <value>real</value>
          <value>rhyme</value>
          <value>enjamb</value>
          <value>label</value>
        </choice>
        <choice>
          <value>TEI</value>
          <value>TEIform</value>
          <value>agent</value>
          <value>anchored</value>
          <value>calendar</value>
          <value>cert</value>
          <value>certainty</value>
          <value>character</value>
          <value>components</value>
          <value>corr</value>
          <value>corresp</value>
          <value>creator</value>
          <value>date.created</value>
          <value>date.updated</value>
          <value>decls</value>
          <value>default</value>
          <value>delim</value>
          <value>desc</value>
          <value>doc</value>
          <value>doctype</value>
          <value>domains</value>
          <value>ed</value>
          <value>entity</value>
          <value>eol</value>
          <value>expan</value>
          <value>extent</value>
          <value>first</value>
          <value>form</value>
          <value>from</value>
          <value>full</value>
          <value>function</value>
          <value>gi</value>
          <value>hand</value>
          <value>id</value>
          <value>ident</value>
          <value>ink</value>
          <value>key</value>
          <value>lang</value>
          <value>length</value>
          <value>level</value>
          <value>mainLang</value>
          <value>marks</value>
          <value>method</value>
          <value>mode</value>
          <value>n</value>
          <value>new</value>
          <value>next</value>
          <value>occurs</value>
          <value>old</value>
          <value>org</value>
          <value>part</value>
          <value>prev</value>
          <value>reason</value>
          <value>refunit</value>
          <value>reg</value>
          <value>rend</value>
          <value>render</value>
          <value>resp</value>
          <value>result</value>
          <value>role</value>
          <value>sameAs</value>
          <value>sample</value>
          <value>scheme</value>
          <value>scope</value>
          <value>scribe</value>
          <value>social</value>
          <value>sort</value>
          <value>source</value>
          <value>space</value>
          <value>status</value>
          <value>style</value>
          <value>subtype</value>
          <value>targFunc</value>
          <value>target</value>
          <value>targetEnd</value>
          <value>targets</value>
          <value>tei</value>
          <value>time</value>
          <value>to</value>
          <value>type</value>
          <value>unit</value>
          <value>usage</value>
          <value>value</value>
          <value>wScale</value>
          <value>weights</value>
          <value>who</value>
          <value>wsd</value>
          <value>zone</value>
        </choice>
      </choice>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="scheme" 
a:defaultValue="TEI">
          <a:documentation>supplies an identifier for  the scheme in which this name is defined.
Sample values include: 1] TEI (text encoding initiative); 2] DBK (docbook); 3] XX (unknown)</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_code">
    <element name="code">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains literal code 
from some formal language such as a
programming language.</a:documentation>
      <text xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute name="lang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (formal language) a 
name identifying the formal language in which  the
        code is expressed</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_eg">
    <element name="eg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(example) 
</a:documentation>
      <text xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>whether or not this 
is intended to be an
                 example of good, well-formed, valid, encoding, or an
                 example of encoding that is invalid, malformed, or
                 what not to do; or is merely an
                 unencoded exceprt from the source (somewhat similar
                 to a quote, but has the additional semantic
                 of being intended as plain-text for which the next
                 example will demonstrate an encoding).</a:documentation>
          <choice>
            <value>source</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>An un-encoded 
excerpt from the source
                     (which may well be fictional)</a:documentation>
            <value>bad</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (incorrect, 
invalid, or a very bad idea) </a:documentation>
            <value>good</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (correct, valid, 
suggested encoding) </a:documentation>
          </choice>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.xmlspace.attribute.xmlspace"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_egXML">
    <element name="egXML" ns="http://www.wwp.brown.edu/ns/internal_documentation/Examples";>
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(example of XML) 
contains a single well-formed XML example demonstrating the use of some XML element or
  attribute, in which the egXML element itself functions as
  the root element. </a:documentation>
      <text xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>whether or not this 
is intended to be an
                 example of good, valid, encoding, or an example of
                 invalid encoding or what not to do. Note that it must be
                 well-formed.</a:documentation>
          <choice>
            <value>bad</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (incorrect, 
invalid, or a very bad idea) </a:documentation>
            <value>good</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (correct, valid, 
suggested encoding) </a:documentation>
          </choice>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.xmlspace.attribute.xmlspace"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_gi">
    <element name="gi">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (element name) 
</a:documentation>
      <choice>
        <value>blink</value>
        <value>chapter</value>
        <value>cit</value>
        <value>dateRange</value>
        <value>dateStruct</value>
        <value>div1</value>
        <value>div2</value>
        <value>div3</value>
        <value>div4</value>
        <value>divN</value>
        <value>essay</value>
        <value>font</value>
        <value>lg1</value>
        <value>lg2</value>
        <value>lgN</value>
        <value>particDesc</value>
        <value>section</value>
        <choice>
          <value>p</value>
          <value>foreign</value>
          <value>emph</value>
          <value>hi</value>
          <value>distinct</value>
          <value>said</value>
          <value>quote</value>
          <value>q</value>
          <value>mentioned</value>
          <value>soCalled</value>
          <value>gloss</value>
          <value>term</value>
          <value>sic</value>
          <value>corr</value>
          <value>choice</value>
          <value>reg</value>
          <value>orig</value>
          <value>gap</value>
          <value>add</value>
          <value>del</value>
          <value>unclear</value>
          <value>name</value>
          <value>rs</value>
          <value>email</value>
          <value>address</value>
          <value>addrLine</value>
          <value>street</value>
          <value>postCode</value>
          <value>postBox</value>
          <value>num</value>
          <value>measure</value>
          <value>measureGrp</value>
          <value>date</value>
          <value>time</value>
          <value>abbr</value>
          <value>expan</value>
          <value>ptr</value>
          <value>ref</value>
          <value>list</value>
          <value>item</value>
          <value>label</value>
          <value>head</value>
          <value>headLabel</value>
          <value>headItem</value>
          <value>note</value>
          <value>index</value>
          <value>graphic</value>
          <value>milestone</value>
          <value>pb</value>
          <value>lb</value>
          <value>cb</value>
          <value>author</value>
          <value>editor</value>
          <value>respStmt</value>
          <value>resp</value>
          <value>title</value>
          <value>meeting</value>
          <value>imprint</value>
          <value>publisher</value>
          <value>biblScope</value>
          <value>pubPlace</value>
          <value>bibl</value>
          <value>listBibl</value>
          <value>relatedItem</value>
          <value>l</value>
          <value>lg</value>
          <value>sp</value>
          <value>speaker</value>
          <value>stage</value>
          <value>teiCorpus</value>
          <value>divGen</value>
          <value>teiHeader</value>
          <value>fileDesc</value>
          <value>titleStmt</value>
          <value>sponsor</value>
          <value>funder</value>
          <value>principal</value>
          <value>editionStmt</value>
          <value>edition</value>
          <value>extent</value>
          <value>publicationStmt</value>
          <value>distributor</value>
          <value>authority</value>
          <value>idno</value>
          <value>availability</value>
          <value>seriesStmt</value>
          <value>notesStmt</value>
          <value>sourceDesc</value>
          <value>biblFull</value>
          <value>encodingDesc</value>
          <value>projectDesc</value>
          <value>samplingDecl</value>
          <value>editorialDecl</value>
          <value>correction</value>
          <value>normalization</value>
          <value>quotation</value>
          <value>hyphenation</value>
          <value>segmentation</value>
          <value>stdVals</value>
          <value>interpretation</value>
          <value>tagsDecl</value>
          <value>tagUsage</value>
          <value>namespace</value>
          <value>rendition</value>
          <value>refsDecl</value>
          <value>cRefPattern</value>
          <value>refState</value>
          <value>classDecl</value>
          <value>taxonomy</value>
          <value>category</value>
          <value>catDesc</value>
          <value>appInfo</value>
          <value>application</value>
          <value>profileDesc</value>
          <value>handNote</value>
          <value>creation</value>
          <value>langUsage</value>
          <value>language</value>
          <value>textClass</value>
          <value>keywords</value>
          <value>classCode</value>
          <value>catRef</value>
          <value>revisionDesc</value>
          <value>change</value>
          <value>geoDecl</value>
          <value>TEI</value>
          <value>text</value>
          <value>body</value>
          <value>group</value>
          <value>floatingText</value>
          <value>div</value>
          <value>trailer</value>
          <value>byline</value>
          <value>dateline</value>
          <value>argument</value>
          <value>epigraph</value>
          <value>opener</value>
          <value>closer</value>
          <value>salute</value>
          <value>signed</value>
          <value>postscript</value>
          <value>titlePage</value>
          <value>docTitle</value>
          <value>titlePart</value>
          <value>docAuthor</value>
          <value>imprimatur</value>
          <value>docEdition</value>
          <value>docImprint</value>
          <value>docDate</value>
          <value>front</value>
          <value>back</value>
          <value>set</value>
          <value>prologue</value>
          <value>epilogue</value>
          <value>performance</value>
          <value>castList</value>
          <value>castGroup</value>
          <value>castItem</value>
          <value>role</value>
          <value>roleDesc</value>
          <value>actor</value>
          <value>move</value>
          <value>view</value>
          <value>camera</value>
          <value>sound</value>
          <value>caption</value>
          <value>tech</value>
          <value>figure</value>
          <value>figDesc</value>
          <value>link</value>
          <value>linkGrp</value>
          <value>ab</value>
          <value>anchor</value>
          <value>seg</value>
          <value>join</value>
          <value>joinGrp</value>
          <value>alt</value>
          <value>altGrp</value>
          <value>orgName</value>
          <value>persName</value>
          <value>surname</value>
          <value>forename</value>
          <value>genName</value>
          <value>nameLink</value>
          <value>addName</value>
          <value>roleName</value>
          <value>placeName</value>
          <value>bloc</value>
          <value>country</value>
          <value>region</value>
          <value>district</value>
          <value>settlement</value>
          <value>offset</value>
          <value>geogName</value>
          <value>geogFeat</value>
          <value>affiliation</value>
          <value>age</value>
          <value>birth</value>
          <value>climate</value>
          <value>death</value>
          <value>education</value>
          <value>event</value>
          <value>faith</value>
          <value>floruit</value>
          <value>geo</value>
          <value>langKnowledge</value>
          <value>langKnown</value>
          <value>listOrg</value>
          <value>listPerson</value>
          <value>listPlace</value>
          <value>location</value>
          <value>nationality</value>
          <value>occupation</value>
          <value>org</value>
          <value>relationGrp</value>
          <value>person</value>
          <value>personGrp</value>
          <value>place</value>
          <value>population</value>
          <value>relation</value>
          <value>residence</value>
          <value>sex</value>
          <value>socecStatus</value>
          <value>state</value>
          <value>terrain</value>
          <value>trait</value>
          <value>nym</value>
          <value>listNym</value>
          <value>att</value>
          <value>code</value>
          <value>gi</value>
          <value>ident</value>
          <value>tag</value>
          <value>val</value>
          <value>altIdent</value>
          <value>facsimile</value>
          <value>surface</value>
          <value>zone</value>
          <value>addSpan</value>
          <value>damage</value>
          <value>damageSpan</value>
          <value>delSpan</value>
          <value>ex</value>
          <value>fw</value>
          <value>handNotes</value>
          <value>handShift</value>
          <value>am</value>
          <value>restore</value>
          <value>space</value>
          <value>subst</value>
          <value>supplied</value>
          <value>metDecl</value>
          <value>metSym</value>
          <value>caesura</value>
          <value>rhyme</value>
        </choice>
        <choice>
          <value>TEI.2</value>
          <value>ab</value>
          <value>abbr</value>
          <value>acrostic</value>
          <value>acrostics</value>
          <value>actor</value>
          <value>add</value>
          <value>addSpan</value>
          <value>addrLine</value>
          <value>address</value>
          <value>advertisement</value>
          <value>alt</value>
          <value>altGrp</value>
          <value>analytic</value>
          <value>anchor</value>
          <value>argument</value>
          <value>att</value>
          <value>author</value>
          <value>authority</value>
          <value>availability</value>
          <value>back</value>
          <value>bibl</value>
          <value>biblFull</value>
          <value>biblScope</value>
          <value>biblStruct</value>
          <value>body</value>
          <value>castGroup</value>
          <value>castItem</value>
          <value>castList</value>
          <value>catDesc</value>
          <value>catRef</value>
          <value>category</value>
          <value>cb</value>
          <value>change</value>
          <value>classDecl</value>
          <value>closer</value>
          <value>correction</value>
          <value>date</value>
          <value>dateline</value>
          <value>del</value>
          <value>delSpan</value>
          <value>distinct</value>
          <value>distributor</value>
          <value>div</value>
          <value>docDate</value>
          <value>docEdition</value>
          <value>docImprint</value>
          <value>docRole</value>
          <value>docSale</value>
          <value>docTitle</value>
          <value>edition</value>
          <value>editionStmt</value>
          <value>editor</value>
          <value>editorialDecl</value>
          <value>emph</value>
          <value>encodingDesc</value>
          <value>ent</value>
          <value>epigraph</value>
          <value>extent</value>
          <value>figDesc</value>
          <value>figure</value>
          <value>fileDesc</value>
          <value>foreName</value>
          <value>foreign</value>
          <value>front</value>
          <value>funder</value>
          <value>gap</value>
          <value>gi</value>
          <value>gloss</value>
          <value>group</value>
          <value>hand</value>
          <value>handList</value>
          <value>handShift</value>
          <value>head</value>
          <value>headItem</value>
          <value>headLabel</value>
          <value>hi</value>
          <value>hyperDiv</value>
          <value>hyphenation</value>
          <value>idno</value>
          <value>imprimatur</value>
          <value>imprint</value>
          <value>interpretation</value>
          <value>item</value>
          <value>join</value>
          <value>joinGrp</value>
          <value>l</value>
          <value>label</value>
          <value>langUsage</value>
          <value>language</value>
          <value>lb</value>
          <value>lg</value>
          <value>link</value>
          <value>linkGrp</value>
          <value>list</value>
          <value>listBibl</value>
          <value>mcr</value>
          <value>measure</value>
          <value>mentioned</value>
          <value>milestone</value>
          <value>monogr</value>
          <value>mw</value>
          <value>name</value>
          <value>normalization</value>
          <value>note</value>
          <value>notesStmt</value>
          <value>num</value>
          <value>opener</value>
          <value>orgDivn</value>
          <value>orgName</value>
          <value>orgTitle</value>
          <value>orgType</value>
          <value>orig</value>
          <value>p</value>
          <value>pb</value>
          <value>performance</value>
          <value>persName</value>
          <value>placeName</value>
          <value>postBox</value>
          <value>postCode</value>
          <value>principal</value>
          <value>profileDesc</value>
          <value>projectDesc</value>
          <value>ps</value>
          <value>ptr</value>
          <value>pubPlace</value>
          <value>publicationStmt</value>
          <value>publisher</value>
          <value>q</value>
          <value>quotation</value>
          <value>quote</value>
          <value>ref</value>
          <value>refsDecl</value>
          <value>regMe</value>
          <value>rendition</value>
          <value>resp</value>
          <value>respLine</value>
          <value>respStmt</value>
          <value>restore</value>
          <value>revisionDesc</value>
          <value>role</value>
          <value>roleDesc</value>
          <value>rs</value>
          <value>salute</value>
          <value>samplingDecl</value>
          <value>seg</value>
          <value>segmentation</value>
          <value>series</value>
          <value>seriesStmt</value>
          <value>set</value>
          <value>sic</value>
          <value>signed</value>
          <value>soCalled</value>
          <value>sourceDesc</value>
          <value>sp</value>
          <value>speaker</value>
          <value>sponsor</value>
          <value>stage</value>
          <value>state</value>
          <value>stdVals</value>
          <value>step</value>
          <value>street</value>
          <value>supplied</value>
          <value>tag</value>
          <value>tagUsage</value>
          <value>tagsDecl</value>
          <value>taxonomy</value>
          <value>teiCorpus.2</value>
          <value>teiHeader</value>
          <value>term</value>
          <value>text</value>
          <value>textClass</value>
          <value>time</value>
          <value>title</value>
          <value>titleBlock</value>
          <value>titlePart</value>
          <value>titleStmt</value>
          <value>trailer</value>
          <value>unclear</value>
          <value>unknown</value>
          <value>val</value>
          <value>xptr</value>
          <value>xref</value>
        </choice>
      </choice>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="scheme" 
a:defaultValue="TEI">
          <a:documentation>supplies the name of the scheme in which this name is defined.
Sample values include: 1] TEI (text encoding initiative); 2] DBK (docbook); 3] XX (unknown)</a:documentation>
          <data type="Name"/>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_tag">
    <element name="tag">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains text of a 
complete start- or end-tag, possibly
including attribute specifications, but excluding the opening and
closing markup delimiter characters.</a:documentation>
      <text xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"; name="scheme" 
a:defaultValue="TEI">
          <a:documentation>supplies the name of the scheme in which this name is defined.</a:documentation>
          <choice>
            <value>TEI</value>
            <a:documentation>(text encoding initiative) this tag is part of the TEI scheme.</a:documentation>
            <value>DBK</value>
            <a:documentation>(docbook) this tag is part of the Docbook scheme.</a:documentation>
            <value>XX</value>
            <a:documentation> (unknown) this tag is part of an unknown scheme.</a:documentation>
          </choice>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_val">
    <element name="val">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (value) 
</a:documentation>
      <choice>
        <data type="token"/>
        <choice>
          <value>true</value>
          <value>false</value>
          <value>composite</value>
          <value>uniform</value>
          <value>initial</value>
          <value>medial</value>
          <value>final</value>
          <value>unknown</value>
          <value>complete</value>
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>internal</value>
          <value>external</value>
          <value>conjecture</value>
          <value>sole</value>
          <value>major</value>
          <value>minor</value>
          <value>m</value>
          <value>kg</value>
          <value>s</value>
          <value>A</value>
          <value>K</value>
          <value>mol</value>
          <value>cd</value>
          <value>rad</value>
          <value>sr</value>
          <value>Hz</value>
          <value>N</value>
          <value>Pa</value>
          <value>J</value>
          <value>W</value>
          <value>C</value>
          <value>V</value>
          <value>F</value>
          <value>&#x2126;</value>
          <value>S</value>
          <value>Wb</value>
          <value>T</value>
          <value>H</value>
          <value>&#x2103;</value>
          <value>lm</value>
          <value>lx</value>
          <value>Bq</value>
          <value>Gy</value>
          <value>Sv</value>
          <value>min</value>
          <value>h</value>
          <value>d</value>
          <value>&#xB0;</value>
          <value>&#x2032;</value>
          <value>&#x2033;</value>
          <value>L</value>
          <value>t</value>
          <value>bel</value>
          <value>Np</value>
          <value>eV</value>
          <value>u</value>
          <value>ua</value>
          <value>a</value>
          <value>ha</value>
          <value>bar</value>
          <value>&#x212B;</value>
          <value>g</value>
          <value>mL</value>
          <value>cm</value>
          <value>dB</value>
          <value>ns</value>
          <value>kbit</value>
          <value>Kibit</value>
          <value>Mbit</value>
          <value>Mibit</value>
          <value>Gbit</value>
          <value>Gibit</value>
          <value>Tbit</value>
          <value>Tibit</value>
          <value>kB</value>
          <value>KiB</value>
          <value>MB</value>
          <value>MiB</value>
          <value>GB</value>
          <value>GiB</value>
          <value>TB</value>
          <value>TiB</value>
          <value>infralinear</value>
          <value>margin-bot</value>
          <value>margin-left</value>
          <value>margin-right</value>
          <value>margin-top</value>
          <value>opposite</value>
          <value>overleaf</value>
          <value>supralinear</value>
          <value>verso</value>
          <value>app</value>
          <value>end</value>
          <value>foot</value>
          <value>inline</value>
          <value>interlinear</value>
          <value>inline</value>
          <value>infralinear</value>
          <value>margin-bot</value>
          <value>margin-left</value>
          <value>margin-right</value>
          <value>margin-top</value>
          <value>opposite</value>
          <value>overleaf</value>
          <value>supralinear</value>
          <value>verso</value>
          <value>app</value>
          <value>end</value>
          <value>foot</value>
          <value>inline</value>
          <value>interlinear</value>
          <value>inline</value>
          <value>cm</value>
          <value>mm</value>
          <value>in</value>
          <value>lines</value>
          <value>chars</value>
          <value>unknown</value>
          <value>inapplicable</value>
          <value>unknown</value>
          <value>inapplicable</value>
          <value>spoken</value>
          <value>thought</value>
          <value>rubbing</value>
          <value>mildew</value>
          <value>smoke</value>
          <value>lines</value>
          <value>chars</value>
          <value>pages</value>
          <value>cm</value>
          <value>mm</value>
          <value>in</value>
          <value>cardinal</value>
          <value>ordinal</value>
          <value>fraction</value>
          <value>percentage</value>
          <value>Gregorian</value>
          <value>Julian</value>
          <value>Islamic</value>
          <value>Hebrew</value>
          <value>Revolutionary</value>
          <value>Iranian</value>
          <value>Coptic</value>
          <value>Chinese</value>
          <value>ordered</value>
          <value>bulleted</value>
          <value>simple</value>
          <value>gloss</value>
          <value>page</value>
          <value>column</value>
          <value>line</value>
          <value>book</value>
          <value>poem</value>
          <value>canto</value>
          <value>stanza</value>
          <value>act</value>
          <value>scene</value>
          <value>section</value>
          <value>absent</value>
          <value>a</value>
          <value>m</value>
          <value>j</value>
          <value>s</value>
          <value>u</value>
          <value>vol</value>
          <value>issue</value>
          <value>pp</value>
          <value>chap</value>
          <value>part</value>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
          <value>setting</value>
          <value>entrance</value>
          <value>exit</value>
          <value>business</value>
          <value>novelistic</value>
          <value>delivery</value>
          <value>modifier</value>
          <value>location</value>
          <value>mixed</value>
          <value>free</value>
          <value>unknown</value>
          <value>restricted</value>
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
          <value>silent</value>
          <value>markup</value>
          <value>silent</value>
          <value>markup</value>
          <value>none</value>
          <value>some</value>
          <value>all</value>
          <value>data</value>
          <value>rend</value>
          <value>std</value>
          <value>nonstd</value>
          <value>unknown</value>
          <value>all</value>
          <value>some</value>
          <value>hard</value>
          <value>none</value>
          <value>css</value>
          <value>xslfo</value>
          <value>free</value>
          <value>other</value>
          <value>page</value>
          <value>column</value>
          <value>line</value>
          <value>book</value>
          <value>poem</value>
          <value>canto</value>
          <value>stanza</value>
          <value>act</value>
          <value>scene</value>
          <value>section</value>
          <value>absent</value>
          <value>WGS84</value>
          <value>MGRS</value>
          <value>OSGB36</value>
          <value>ED50</value>
          <value>main</value>
          <value>sub</value>
          <value>alt</value>
          <value>short</value>
          <value>desc</value>
          <value>role</value>
          <value>list</value>
          <value>entrance</value>
          <value>exit</value>
          <value>onStage</value>
          <value>unknown</value>
          <value>inapplicable</value>
          <value>light</value>
          <value>sound</value>
          <value>prop</value>
          <value>block</value>
          <value>Y</value>
          <value>N</value>
          <value>I</value>
          <value>M</value>
          <value>F</value>
          <value>root</value>
          <value>branches</value>
          <value>excl</value>
          <value>incl</value>
          <value>excl</value>
          <value>incl</value>
          <value>all</value>
          <value>one</value>
          <value>none</value>
          <value>0</value>
          <value>1</value>
          <value>2</value>
          <value>9</value>
          <value>0</value>
          <value>1</value>
          <value>2</value>
          <value>9</value>
          <value>mixed</value>
          <value>social</value>
          <value>personal</value>
          <value>other</value>
          <value>0</value>
          <value>1</value>
          <value>2</value>
          <value>9</value>
          <value>yes</value>
          <value>abb</value>
          <value>init</value>
          <value>TEI</value>
          <value>DBK</value>
          <value>XX</value>
          <value>horizontal</value>
          <value>vertical</value>
        </choice>
        <choice>
          <value>24hour</value>
          <value>F</value>
          <value>I</value>
          <value>M</value>
          <value>N</value>
          <value>NO</value>
          <value>WWP</value>
          <value>Y</value>
          <value>YES</value>
          <value>a</value>
          <value>abb</value>
          <value>act</value>
          <value>address</value>
          <value>advert</value>
          <value>all</value>
          <value>alt</value>
          <value>am</value>
          <value>argument</value>
          <value>attachment</value>
          <value>author-secondary</value>
          <value>author</value>
          <value>authorial</value>
          <value>body</value>
          <value>book</value>
          <value>bookseller</value>
          <value>border</value>
          <value>branches</value>
          <value>business</value>
          <value>captionTitle</value>
          <value>castlist</value>
          <value>catch</value>
          <value>chapter</value>
          <value>colophon</value>
          <value>common</value>
          <value>complete</value>
          <value>composite</value>
          <value>concluding</value>
          <value>confession</value>
          <value>contents</value>
          <value>correction</value>
          <value>corrigenda</value>
          <value>couplet-alexandrine</value>
          <value>couplet-heroic</value>
          <value>couplet</value>
          <value>damaged</value>
          <value>data</value>
          <value>date</value>
          <value>ded</value>
          <value>deleted</value>
          <value>delivery</value>
          <value>desc</value>
          <value>descriptive</value>
          <value>dic</value>
          <value>div</value>
          <value>document</value>
          <value>drama.verse</value>
          <value>drama</value>
          <value>editor</value>
          <value>editorial</value>
          <value>embossing</value>
          <value>empty</value>
          <value>encoder</value>
          <value>end</value>
          <value>endnotes</value>
          <value>entrance</value>
          <value>entry</value>
          <value>epigraph</value>
          <value>epilogue</value>
          <value>errata</value>
          <value>error</value>
          <value>essay</value>
          <value>examination</value>
          <value>excerpt</value>
          <value>excl</value>
          <value>exit</value>
          <value>final</value>
          <value>flawed-reproduction</value>
          <value>format</value>
          <value>free</value>
          <value>frontispiece</value>
          <value>general</value>
          <value>gloss</value>
          <value>group</value>
          <value>halfTitle</value>
          <value>handwriting</value>
          <value>hard</value>
          <value>high</value>
          <value>illegible</value>
          <value>imprimatur</value>
          <value>incl</value>
          <value>indeterminate</value>
          <value>index</value>
          <value>init</value>
          <value>initial</value>
          <value>iso</value>
          <value>j</value>
          <value>kwelbo</value>
          <value>language</value>
          <value>letter</value>
          <value>lineNum</value>
          <value>list</value>
          <value>listHead</value>
          <value>location</value>
          <value>low</value>
          <value>m</value>
          <value>main</value>
          <value>medial</value>
          <value>medium</value>
          <value>mixed</value>
          <value>modifier</value>
          <value>new</value>
          <value>no</value>
          <value>none</value>
          <value>nonstd</value>
          <value>novelistic</value>
          <value>obscured</value>
          <value>octet</value>
          <value>omitted</value>
          <value>other</value>
          <value>ottava-rima</value>
          <value>pageNum</value>
          <value>pageRange</value>
          <value>pages</value>
          <value>pagination</value>
          <value>para</value>
          <value>parameter</value>
          <value>part</value>
          <value>patron</value>
          <value>perc</value>
          <value>person-female</value>
          <value>person-male</value>
          <value>person</value>
          <value>petition</value>
          <value>place</value>
          <value>pm</value>
          <value>poem.acrostic</value>
          <value>poem.indeterminate</value>
          <value>poem.limerick</value>
          <value>poem.ode-english</value>
          <value>poem.sestina</value>
          <value>poem.sonnet-petrarchan</value>
          <value>poem.sonnet-shakespearean</value>
          <value>poem.sonnet</value>
          <value>poem.spatial</value>
          <value>poem.stanzaic</value>
          <value>poem.villanelle</value>
          <value>poem</value>
          <value>poemGroup</value>
          <value>prayer</value>
          <value>prefatory</value>
          <value>pressFig</value>
          <value>printed</value>
          <value>printer</value>
          <value>prologue</value>
          <value>proofreader</value>
          <value>publisher</value>
          <value>quatrain</value>
          <value>quintet</value>
          <value>real</value>
          <value>reason</value>
          <value>recipe</value>
          <value>refrain</value>
          <value>rend</value>
          <value>restricted</value>
          <value>revelation</value>
          <value>reviewer</value>
          <value>rime-royal</value>
          <value>role</value>
          <value>root</value>
          <value>s</value>
          <value>scene</value>
          <value>school</value>
          <value>second</value>
          <value>section</value>
          <value>septet</value>
          <value>seq</value>
          <value>sestet</value>
          <value>setting</value>
          <value>sig</value>
          <value>silent</value>
          <value>some</value>
          <value>source</value>
          <value>speech</value>
          <value>spenserian</value>
          <value>stanza</value>
          <value>start</value>
          <value>std</value>
          <value>sub</value>
          <value>subscriber</value>
          <value>subsection</value>
          <value>tags</value>
          <value>tei</value>
          <value>temp</value>
          <value>tercet</value>
          <value>textual</value>
          <value>thing</value>
          <value>titlePage</value>
          <value>toc</value>
          <value>transcriber</value>
          <value>translator</value>
          <value>u</value>
          <value>undetermined</value>
          <value>uniform</value>
          <value>unknown</value>
          <value>update</value>
          <value>vol</value>
          <value>volume</value>
          <value>wwp</value>
          <value>yes</value>
        </choice>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_table">
    <element name="table">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains text displayed 
in tabular form, in
rows and columns.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="wwpintdoc_model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="wwpintdoc_row"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute name="rows">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>indicates the number 
of rows in the table.</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cols">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (columns) indicates 
the number of columns in each row of the table.</a:documentation>
          <data type="nonNegativeInteger"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_row">
    <element name="row">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains one row of a 
table.</a:documentation>
      <oneOrMore>
        <ref name="wwpintdoc_cell"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.tableDecoration.attribute.role"/>
      <ref name="att.tableDecoration.attribute.rows"/>
      <ref name="att.tableDecoration.attribute.cols"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_cell">
    <element name="cell">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains one cell of a 
table.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.tableDecoration.attribute.role"/>
      <ref name="att.tableDecoration.attribute.rows"/>
      <ref name="att.tableDecoration.attribute.cols"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_formula">
    <element name="formula">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>contains a mathematical 
or other formula.</a:documentation>
      <text xmlns:rng="http://relaxng.org/ns/structure/1.0"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <optional>
        <attribute name="notation">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>supplies the name of 
a previously defined notation used for the
content of the
element.</a:documentation>
          <data type="anyURI"/>
        </attribute>
      </optional>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_figure">
    <element name="figure">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>groups elements 
representing or containing graphic information
  such as an illustration or figure.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="wwpintdoc_model.headLike"/>
          <ref name="wwpintdoc_model.pLike"/>
          <ref name="wwpintdoc_figDesc"/>
          <ref name="wwpintdoc_model.graphicLike"/>
          <ref name="wwpintdoc_model.egLike"/>
          <ref name="wwpintdoc_figure"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.placement.attribute.place"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_figDesc">
    <element name="figDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(description of figure) 
contains a brief prose description of the appearance or content
of a graphic figure, for use when documenting an image without
displaying it.</a:documentation>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_att.pointing.attributes">
    <ref name="att.pointing.attribute.xlinktype"/>
    <ref name="att.pointing.attribute.xlinkhref"/>
    <ref name="att.pointing.attribute.xlinkrole"/>
    <ref name="att.pointing.attribute.xlinkarcrole"/>
    <ref name="att.pointing.attribute.xlinktitle"/>
    <ref name="att.pointing.attribute.xlinkshow"/>
    <ref name="att.pointing.attribute.xlinkactuate"/>
    <ref name="att.pointing.attribute.xlinklabel"/>
    <ref name="att.pointing.attribute.xlinkfrom"/>
    <ref name="att.pointing.attribute.xlinkto"/>
    <ref name="att.pointing.attribute.type"/>
    <ref name="att.pointing.attribute.evaluate"/>
    <empty/>
  </define>
  <define name="att.pointing.attribute.xlinktype">
    <optional>
      <attribute name="xlink:type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <choice>
          <value>simple</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>extended</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>locator</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>arc</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>resource</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>title</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>none</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkhref">
    <optional>
      <attribute name="xlink:href">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkrole">
    <optional>
      <attribute name="xlink:role">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkarcrole">
    <optional>
      <attribute name="xlink:arcrole">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinktitle">
    <optional>
      <attribute name="xlink:title">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <list>
          <oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </oneOrMore>
        </list>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkshow">
    <optional>
      <attribute name="xlink:show">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <choice>
          <value>new</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>replace</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>embed</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>other</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>none</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkactuate">
    <optional>
      <attribute name="xlink:actuate">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <choice>
          <value>onLoad</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>onRequest</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>other</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <value>none</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinklabel">
    <optional>
      <attribute name="xlink:label">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkfrom">
    <optional>
      <attribute name="xlink:from">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.xlinkto">
    <optional>
      <attribute name="xlink:to">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.type">
    <optional>
      <attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>categorizes the 
pointer in some respect, using any
      convenient set of categories.</a:documentation>
        <data type="Name"/>
      </attribute>
    </optional>
  </define>
  <define name="att.pointing.attribute.evaluate">
    <optional>
      <attribute name="evaluate">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>specifies the intended 
meaning when the target of a
      pointer is itself a pointer.</a:documentation>
        <choice>
          <value>all</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>if the element 
pointed to is itself a pointer, then
          the target of that pointer will be taken, and so on, until
          an element is found which is not a pointer.</a:documentation>
          <value>one</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>if the element 
pointed to is itself a pointer, then
          its target (whether a pointer or not) is taken as the target
          of this pointer.</a:documentation>
          <value>none</value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>no further 
evaluation of targets is carried out
          beyond that needed to find the element specified in the
          pointer's target.</a:documentation>
        </choice>
      </attribute>
    </optional>
  </define>
  <define name="wwpintdoc_interp">
    <element name="interp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(interpretation) 
summarizes a specific interpretative annotation which can be
linked to a span of text.</a:documentation>
      <choice>
        <choice>
          <value>AD and BC dates</value>
          <value>Alexandrine</value>
          <value>Gregorian calendar</value>
          <value>Julian calendar</value>
          <value>OCR</value>
          <value>Spenserian stanza</value>
          <value>abbreviation</value>
          <value>abstract</value>
          <value>accent</value>
          <value>acknowledgment</value>
          <value>acrostic</value>
          <value>act</value>
          <value>addition</value>
          <value>advertisement</value>
          <value>alignment</value>
          <value>anchor</value>
          <value>annotation</value>
          <value>appendix</value>
          <value>argument</value>
          <value>author</value>
          <value>back matter</value>
          <value>biblical reference</value>
          <value>bibliographic reference</value>
          <value>bibliography</value>
          <value>black letter</value>
          <value>blank verse</value>
          <value>body</value>
          <value>bookplate</value>
          <value>bookseller</value>
          <value>border</value>
          <value>brace</value>
          <value>break</value>
          <value>brevigraph</value>
          <value>byline</value>
          <value>caesura</value>
          <value>calendar</value>
          <value>call number</value>
          <value>capital letters, distinctive</value>
          <value>capitalization</value>
          <value>case</value>
          <value>cast list</value>
          <value>catchword</value>
          <value>chorus</value>
          <value>citation</value>
          <value>classical reference</value>
          <value>closer</value>
          <value>collation</value>
          <value>colophon</value>
          <value>column</value>
          <value>correction</value>
          <value>couplet</value>
          <value>cross-reference</value>
          <value>damage</value>
          <value>dash</value>
          <value>date</value>
          <value>decoration</value>
          <value>dedication</value>
          <value>deletion</value>
          <value>delimiter</value>
          <value>diacritical mark</value>
          <value>dialect</value>
          <value>diary/journal</value>
          <value>digraph</value>
          <value>direct speech</value>
          <value>ditto</value>
          <value>divisions of the text</value>
          <value>document analysis</value>
          <value>documentation</value>
          <value>drama</value>
          <value>dramatic action</value>
          <value>editor</value>
          <value>element</value>
          <value>ellipsis</value>
          <value>emblem</value>
          <value>embossing</value>
          <value>emphasis</value>
          <value>endnotes</value>
          <value>entity</value>
          <value>entrance</value>
          <value>epigraph</value>
          <value>epilogue</value>
          <value>errata</value>
          <value>escaping</value>
          <value>essay</value>
          <value>excerpt</value>
          <value>exit</value>
          <value>expansion</value>
          <value>figure</value>
          <value>font</value>
          <value>footnote</value>
          <value>foreign languages</value>
          <value>foreword</value>
          <value>forme work</value>
          <value>foxing</value>
          <value>fragment</value>
          <value>fragmentation</value>
          <value>front matter</value>
          <value>frontispiece</value>
          <value>gaps and omissions</value>
          <value>gloss</value>
          <value>handwriting</value>
          <value>heading</value>
          <value>heroic couplet</value>
          <value>highlighting</value>
          <value>hyphenation</value>
          <value>identifiers</value>
          <value>illegible text</value>
          <value>image</value>
          <value>imprimatur</value>
          <value>imprint (publication data)</value>
          <value>indentation</value>
          <value>index</value>
          <value>insect</value>
          <value>introduction</value>
          <value>inverted letter</value>
          <value>italics</value>
          <value>kerning</value>
          <value>label</value>
          <value>leader</value>
          <value>letter</value>
          <value>ligature</value>
          <value>limerick</value>
          <value>line break</value>
          <value>line group</value>
          <value>line number</value>
          <value>linking and pointing</value>
          <value>list</value>
          <value>long s</value>
          <value>macron</value>
          <value>manuscript</value>
          <value>marginalia and marginal notes</value>
          <value>marginalia</value>
          <value>measurement</value>
          <value>meta work</value>
          <value>metadata</value>
          <value>meter</value>
          <value>milestone</value>
          <value>month</value>
          <value>name</value>
          <value>nested narrative</value>
          <value>normalization</value>
          <value>note</value>
          <value>number</value>
          <value>numbering systems</value>
          <value>octet</value>
          <value>ode</value>
          <value>omission</value>
          <value>opener</value>
          <value>optical character recognition</value>
          <value>organizational names</value>
          <value>ornament</value>
          <value>ottava rima</value>
          <value>overlap</value>
          <value>overlapping hierarchies</value>
          <value>page break</value>
          <value>page number</value>
          <value>paleography</value>
          <value>paragraph</value>
          <value>part line</value>
          <value>personification</value>
          <value>phrase-level encoding</value>
          <value>place</value>
          <value>poem</value>
          <value>poetic line</value>
          <value>pointing hand (manicula)</value>
          <value>possessive</value>
          <value>postfix</value>
          <value>postscript</value>
          <value>preface</value>
          <value>prefatory material</value>
          <value>prefix</value>
          <value>press figure</value>
          <value>price</value>
          <value>printer</value>
          <value>prologue</value>
          <value>proper name</value>
          <value>publisher</value>
          <value>punctuation</value>
          <value>quatrain</value>
          <value>quintet</value>
          <value>quotation</value>
          <value>recto</value>
          <value>reference system</value>
          <value>refrain</value>
          <value>regularization</value>
          <value>rendition</value>
          <value>renditional default</value>
          <value>rhyme</value>
          <value>rime royal</value>
          <value>ruled lines</value>
          <value>running header/footer</value>
          <value>salutation</value>
          <value>scanning</value>
          <value>scene</value>
          <value>schema</value>
          <value>septet</value>
          <value>sequencing error</value>
          <value>sestet</value>
          <value>sestina</value>
          <value>signatures (in letters)</value>
          <value>signatures (in text collation)</value>
          <value>small capitals</value>
          <value>soft hyphen</value>
          <value>song</value>
          <value>sonnet</value>
          <value>spatial poem</value>
          <value>speaker</value>
          <value>special character</value>
          <value>spelling</value>
          <value>stage direction</value>
          <value>stage setting</value>
          <value>stanza</value>
          <value>strophe</value>
          <value>structure</value>
          <value>subheading</value>
          <value>subscriber list</value>
          <value>subscript</value>
          <value>superscript</value>
          <value>table of contents</value>
          <value>table</value>
          <value>tag</value>
          <value>template</value>
          <value>tercet</value>
          <value>terminology, specialized</value>
          <value>time</value>
          <value>tipped-in pages</value>
          <value>title page</value>
          <value>title</value>
          <value>trailer</value>
          <value>transcription ID</value>
          <value>transcription</value>
          <value>transformation</value>
          <value>translator</value>
          <value>turned line</value>
          <value>type size</value>
          <value>typeface</value>
          <value>typographical error</value>
          <value>typography</value>
          <value>uncertainty</value>
          <value>untranscribed features</value>
          <value>validation</value>
          <value>validation</value>
          <value>verso</value>
          <value>villanelle</value>
          <value>volume</value>
          <value>vuji</value>
          <value>weight</value>
          <value>white space</value>
          <value>word</value>
          <value>year</value>
        </choice>
        <ref name="wwpintdoc_model.phrase.xml"/>
      </choice>
      <s:pattern xmlns="http://www.tei-c.org/ns/1.0"; xmlns:tei="http://www.tei-c.org/ns/1.0"; 
xmlns:wwp="http://www.wwp.brown.edu/ns/internal_documentation/1.0"; 
xmlns:eg="http://www.wwp.brown.edu/ns/internal_documentation/Examples"; 
xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns:s="http://www.ascc.net/xml/schematron"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="interp must 
have content">
        <s:rule context="wwp:interp">
          <s:assert test="not(normalize-space(.)='')">
                     The 'interp' element should not be empty.
                   </s:assert>
        </s:rule>
      </s:pattern>
      <s:pattern xmlns="http://www.tei-c.org/ns/1.0"; xmlns:tei="http://www.tei-c.org/ns/1.0"; 
xmlns:wwp="http://www.wwp.brown.edu/ns/internal_documentation/1.0"; 
xmlns:eg="http://www.wwp.brown.edu/ns/internal_documentation/Examples"; 
xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns:s="http://www.ascc.net/xml/schematron"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="interp child 
elements">
        <s:rule context="wwp:interpGrp[ type='concept']/wwp:interp">
          <s:assert test="not(*)"> The 'interp' element inside "concept" groups should
                   not have element children </s:assert>
        </s:rule>
        <s:rule context="wwp:interpGrp[ type='markup']/wwp:interp">
          <s:assert test="count(wwp:gi|wwp:att|wwp:val)=1"> The 'interp' element
                   inside "markup" groups must have a single 'gi', 'att', or 'val' child
                   element </s:assert>
        </s:rule>
      </s:pattern>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.interpLike.attribute.type"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_interpGrp">
    <element name="interpGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>(interpretation group) 
</a:documentation>
      <oneOrMore>
        <ref name="wwpintdoc_interp"/>
      </oneOrMore>
      <optional>
        <attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <choice>
            <value>markup</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>keywords are 
element names, attribute names, attribute values, etc.</a:documentation>
            <value>concept</value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";>general conceptual 
or topic keywords</a:documentation>
          </choice>
        </attribute>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_called">
    <element name="called">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_narrative">
    <element name="narrative">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_model.headLike"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_abstract"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_keywords"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_discussion"/>
      <attribute name="xml:id">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (identifier) provides 
a unique identifier for the element bearing the
      attribute.</a:documentation>
        <data type="ID"/>
      </attribute>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_entry">
    <element name="entry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_model.headLike"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_abstract"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_keywords"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_instructions"/>
      <optional>
        <ref name="wwpintdoc_instructions_P5"/>
      </optional>
      <optional>
        <ref name="wwpintdoc_rationale"/>
      </optional>
      <attribute name="xml:id">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0";> (identifier) provides 
a unique identifier for the element bearing the
      attribute.</a:documentation>
        <data type="ID"/>
      </attribute>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_abstract">
    <element name="abstract">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <oneOrMore>
        <ref name="wwpintdoc_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_keywords">
    <element name="keywords">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <ref xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="wwpintdoc_model.pLike"/>
      <s:pattern xmlns="http://www.tei-c.org/ns/1.0"; xmlns:tei="http://www.tei-c.org/ns/1.0"; 
xmlns:wwp="http://www.wwp.brown.edu/ns/internal_documentation/1.0"; 
xmlns:eg="http://www.wwp.brown.edu/ns/internal_documentation/Examples"; 
xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns:s="http://www.ascc.net/xml/schematron"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="keywords 
only">
        <s:rule context="wwp:keywords">
          <s:assert test="count(child::wwp:*) = 1">
                     The 'keywords' element should have one and only one child 'p' element, and no other 
children
                   </s:assert>
          <s:assert test="count(child::wwp:p) = 1">
                     The 'keywords' element should have one and only one child 'p' element
                   </s:assert>
        </s:rule>
      </s:pattern>
      <s:pattern xmlns="http://www.tei-c.org/ns/1.0"; xmlns:tei="http://www.tei-c.org/ns/1.0"; 
xmlns:wwp="http://www.wwp.brown.edu/ns/internal_documentation/1.0"; 
xmlns:eg="http://www.wwp.brown.edu/ns/internal_documentation/Examples"; 
xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns:s="http://www.ascc.net/xml/schematron"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:rng="http://relaxng.org/ns/structure/1.0"; name="one of each 
type of interpGrp">
        <s:rule context="wwp:keywords/wwp:p">
          <s:assert test="count(child::wwp:interpGrp[ type='concept']) &lt; 2  and  
count(child::wwp:interpGrp[ type='markup']) &lt; 2">
                     If there are two 'interpGrp' grandchildren of 'keywords', one must be type="concept", 
the other type="markup"
                   </s:assert>
        </s:rule>
      </s:pattern>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_discussion">
    <element name="discussion">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="wwpintdoc_model.div3Like"/>
            <ref name="wwpintdoc_model.divGenLike"/>
          </choice>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="wwpintdoc_model.common"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="wwpintdoc_model.div3Like"/>
              <ref name="wwpintdoc_model.divGenLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_instructions">
    <element name="instructions">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="wwpintdoc_model.div3Like"/>
            <ref name="wwpintdoc_model.divGenLike"/>
          </choice>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="wwpintdoc_model.common"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="wwpintdoc_model.div3Like"/>
              <ref name="wwpintdoc_model.divGenLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_instructions_P5">
    <element name="instructions_P5">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="wwpintdoc_model.div3Like"/>
            <ref name="wwpintdoc_model.divGenLike"/>
          </choice>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="wwpintdoc_model.common"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="wwpintdoc_model.div3Like"/>
              <ref name="wwpintdoc_model.divGenLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_rationale">
    <element name="rationale">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="wwpintdoc_model.div3Like"/>
            <ref name="wwpintdoc_model.divGenLike"/>
          </choice>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="wwpintdoc_model.common"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="wwpintdoc_model.div3Like"/>
              <ref name="wwpintdoc_model.divGenLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_examples">
    <element name="examples">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <zeroOrMore>
        <ref name="wwpintdoc_model.common"/>
      </zeroOrMore>
      <oneOrMore>
        <ref name="wwpintdoc_example"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_section">
    <element name="section">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <optional>
        <choice>
          <oneOrMore>
            <choice>
              <ref name="wwpintdoc_model.div4Like"/>
              <ref name="wwpintdoc_model.divGenLike"/>
            </choice>
          </oneOrMore>
          <group>
            <oneOrMore>
              <group>
                <ref name="wwpintdoc_model.common"/>
              </group>
            </oneOrMore>
            <zeroOrMore>
              <choice>
                <ref name="wwpintdoc_model.div4Like"/>
                <ref name="wwpintdoc_model.divGenLike"/>
              </choice>
            </zeroOrMore>
          </group>
        </choice>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_subsection">
    <element name="subsection">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <optional>
        <choice>
          <oneOrMore>
            <choice>
              <ref name="wwpintdoc_model.div5Like"/>
              <ref name="wwpintdoc_model.divGenLike"/>
            </choice>
          </oneOrMore>
          <group>
            <oneOrMore>
              <group>
                <ref name="wwpintdoc_model.common"/>
              </group>
            </oneOrMore>
            <zeroOrMore>
              <choice>
                <ref name="wwpintdoc_model.div5Like"/>
                <ref name="wwpintdoc_model.divGenLike"/>
              </choice>
            </zeroOrMore>
          </group>
        </choice>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <define name="wwpintdoc_example">
    <element name="example">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <optional>
        <ref name="wwpintdoc_model.headLike"/>
      </optional>
      <zeroOrMore>
        <ref name="wwpintdoc_model.pLike"/>
      </zeroOrMore>
      <oneOrMore>
        <choice>
          <ref name="wwpintdoc_eg"/>
          <ref name="wwpintdoc_egXML"/>
        </choice>
        <zeroOrMore>
          <ref name="wwpintdoc_model.pLike"/>
        </zeroOrMore>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <empty/>
    </element>
  </define>
  <rng:start>
    <rng:choice>
      <ref name="wwpintdoc_TEI"/>
      <ref name="wwpintdoc_narrative"/>
      <ref name="wwpintdoc_entry"/>
    </rng:choice>
  </rng:start>
</rng:grammar>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]