<?xml version="1.0"?>
<rng:grammar 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.tei-c.org/ns/1.0">
  <!--
Schema generated from ODD source 2008-07-08T18:01:25Z. 
-->
  <!--
This template file is freely available and you are hereby
            authorised to copy, modify, and redistribute it in any way without
            further reference or permissions.
When making such modifications, you are strongly recommended to
            change the present text to include an accurate statement of the
            licencing conditions applicable to your modified text.-->
  <rng:div ns="http://www.w3.org/2000/svg" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Boolean.datatype">
      <choice>
        <value>false</value>
        <value>true</value>
      </choice>
    </define>
    <!-- 'clip-rule' or 'fill-rule' property/attribute value -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ClipFillRule.datatype">
      <choice>
        <value>nonzero</value>
        <value>evenodd</value>
        <value>inherit</value>
      </choice>
    </define>
    <!-- media type, as per [RFC2045] -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ContentType.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a <coordinate> -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Coordinate.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a list of <coordinate>s -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Coordinates.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a <color> value -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Color.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a <integer> -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Integer.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a language code, as per [RFC3066] -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="LanguageCode.datatype">
      <data type="NMTOKEN"/>
    </define>
    <!-- comma-separated list of language codes, as per [RFC3066] -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="LanguageCodes.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a <length> -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Length.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a list of <length>s -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Lengths.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a <number> -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Number.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a list of <number>s -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Numbers.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- opacity value (e.g., <number>) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="OpacityValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a path data specification -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="PathData.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- 'preserveAspectRatio' attribute specification -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="PreserveAspectRatioSpec.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- script expression -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Script.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- An SVG color value (RGB plus optional ICC) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVGColor.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- arbitrary text string -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Text.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- list of transforms -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="TransformList.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- a Uniform Resource Identifier, see [URI] -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="URI.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- 'viewBox' attribute specification -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ViewBoxSpec.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- end of svg-datatypes.mod -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Qualified Name Module ......................................... -->
    <!--
    file: svg-qname.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Qualified Name//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-qname.mod"
    
    .......................................................................
  -->
    <!--
    Qualified Name
    
    This module is contained in two parts, labeled Section 'A' and 'B':
    
       Section A declares parameter entities to support namespace-
       qualified names, namespace declarations, and name prefixing
       for SVG and extensions.
    
       Section B declares parameter entities used to provide
       namespace-qualified names for all SVG element types:
  -->
    <!-- Section A: SVG XML Namespace Framework :::::::::::::::::::::: -->
    <!--
    1. Declare a %SVG.prefixed; conditional section keyword, used
    to activate namespace prefixing. The default value should
    inherit '%NS.prefixed;' from the DTD driver, so that unless
    overridden, the default behaviour follows the overall DTD
    prefixing scheme.
  -->
    <!--
    2. Declare a parameter entity (eg., %SVG.xmlns;) containing
    the URI reference used to identify the SVG namespace:
  -->
    <!--
    3. Declare parameter entities (eg., %SVG.prefix;) containing
    the default namespace prefix string(s) to use when prefixing
    is enabled. This may be overridden in the DTD driver or the
    internal subset of an document instance. If no default prefix
    is desired, this may be declared as an empty string.
  -->
    <!--
    4. Declare parameter entities (eg., %SVG.pfx;) containing the
    colonized prefix(es) (eg., '%SVG.prefix;:') used when
    prefixing is active, an empty string when it is not.
  -->
    <!--
    5. The parameter entity %SVG.xmlns.extra.attrib; may be
    redeclared to contain any non-SVG namespace declaration
    attributes for namespaces embedded in SVG. The default
    is an empty string.
  -->
    <!--
    Declare a parameter entity XLINK.xmlns.attrib containing
    the XML Namespace declarations for XLink.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="XLINK.xmlns.attrib">
      <empty/>
    </define>
    <!--
    Declare a parameter entity %NS.decl.attrib; containing
    all XML Namespace declarations used in the DTD, plus the
    xmlns declaration for SVG, its form dependent on whether
    prefixing is active.
  -->
    <!--
    Declare a parameter entity %SVG.xmlns.attrib; containing
    all XML namespace declaration attributes used by SVG,
    including a default xmlns attribute when prefixing is
    inactive.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.xmlns.attrib">
      <ref name="XLINK.xmlns.attrib"/>
    </define>
    <!-- Section B: SVG Qualified Names :::::::::::::::::::::::::::::: -->
    <!--
    6. This section declares parameter entities used to provide
    namespace-qualified names for all SVG element types.
  -->
    <!-- module: svg-structure.mod ......................... -->
    <!-- module: svg-conditional.mod ....................... -->
    <!-- module: svg-image.mod ............................. -->
    <!-- module: svg-style.mod ............................. -->
    <!-- module: svg-shape.mod ............................. -->
    <!-- module: svg-text.mod .............................. -->
    <!-- module: svg-marker.mod ............................ -->
    <!-- module: svg-profile.mod ........................... -->
    <!-- module: svg-gradient.mod .......................... -->
    <!-- module: svg-pattern.mod ........................... -->
    <!-- module: svg-clip.mod .............................. -->
    <!-- module: svg-mask.mod .............................. -->
    <!-- module: svg-filter.mod ............................ -->
    <!-- module: svg-cursor.mod ............................ -->
    <!-- module: svg-hyperlink.mod ......................... -->
    <!-- module: svg-view.mod .............................. -->
    <!-- module: svg-script.mod ............................ -->
    <!-- module: svg-animation.mod ......................... -->
    <!-- module: svg-font.mod .............................. -->
    <!-- module: svg-extensibility.mod ..................... -->
    <!-- end of svg-qname.mod -->
    <!-- instantiate the Document Model declared in the DTD driver -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Document Model Module ......................................... -->
    <!--
    file: svg11-model.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Document Model//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-model.mod"
    
    .......................................................................
  -->
    <!--
    SVG 1.1 Document Model
    
    This module describes the groupings of elements that make up
    common content models for SVG elements.
  -->
    <!-- module: svg-structure.mod ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Description.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Description.class">
      <choice>
        <ref name="desc"/>
        <ref name="title"/>
        <ref name="metadata"/>
        <ref name="SVG.Description.extra.class"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Use.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Use.class">
      <choice>
        <ref name="use"/>
        <ref name="SVG.Use.extra.class"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Structure.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Structure.class">
      <choice>
        <ref name="svg"/>
        <ref name="g"/>
        <ref name="defs"/>
        <ref name="symbol"/>
        <ref name="SVG.Use.class"/>
        <ref name="SVG.Structure.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-conditional.mod ....................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Conditional.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Conditional.class">
      <choice>
        <ref name="switch"/>
        <ref name="SVG.Conditional.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-image.mod ............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Image.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Image.class">
      <choice>
        <ref name="image"/>
        <ref name="SVG.Image.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-style.mod ............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Style.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Style.class">
      <choice>
        <ref name="style"/>
        <ref name="SVG.Style.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-shape.mod ............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Shape.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Shape.class">
      <choice>
        <ref name="path"/>
        <ref name="rect"/>
        <ref name="circle"/>
        <ref name="line"/>
        <ref name="ellipse"/>
        <ref name="polyline"/>
        <ref name="polygon"/>
        <ref name="SVG.Shape.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-text.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Text.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Text.class">
      <choice>
        <ref name="text"/>
        <ref name="altGlyphDef"/>
        <ref name="SVG.Text.extra.class"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.TextContent.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.TextContent.class">
      <choice>
        <ref name="tspan"/>
        <ref name="tref"/>
        <ref name="textPath"/>
        <ref name="altGlyph"/>
        <ref name="SVG.TextContent.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-marker.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Marker.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Marker.class">
      <choice>
        <ref name="marker"/>
        <ref name="SVG.Marker.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-profile.mod ........................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.ColorProfile.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.ColorProfile.class">
      <choice>
        <ref name="color-profile"/>
        <ref name="SVG.ColorProfile.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-gradient.mod .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Gradient.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Gradient.class">
      <choice>
        <ref name="linearGradient"/>
        <ref name="radialGradient"/>
        <ref name="SVG.Gradient.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-pattern.mod ........................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Pattern.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Pattern.class">
      <choice>
        <ref name="svgpattern"/>
        <ref name="SVG.Pattern.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-clip.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Clip.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Clip.class">
      <choice>
        <ref name="clipPath"/>
        <ref name="SVG.Clip.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-mask.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Mask.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Mask.class">
      <choice>
        <ref name="mask"/>
        <ref name="SVG.Mask.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-filter.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Filter.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Filter.class">
      <choice>
        <ref name="filter"/>
        <ref name="SVG.Filter.extra.class"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterPrimitive.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterPrimitive.class">
      <choice>
        <ref name="feBlend"/>
        <ref name="feColorMatrix"/>
        <ref name="feComponentTransfer"/>
        <ref name="feComposite"/>
        <ref name="feConvolveMatrix"/>
        <ref name="feDiffuseLighting"/>
        <ref name="feDisplacementMap"/>
        <ref name="feFlood"/>
        <ref name="feGaussianBlur"/>
        <ref name="feImage"/>
        <ref name="feMerge"/>
        <ref name="feMorphology"/>
        <ref name="feOffset"/>
        <ref name="feSpecularLighting"/>
        <ref name="feTile"/>
        <ref name="feTurbulence"/>
        <ref name="SVG.FilterPrimitive.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-cursor.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Cursor.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Cursor.class">
      <choice>
        <ref name="cursor"/>
        <ref name="SVG.Cursor.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-hyperlink.mod ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Hyperlink.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Hyperlink.class">
      <choice>
        <ref name="a"/>
        <ref name="SVG.Hyperlink.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-view.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.View.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.View.class">
      <choice>
        <ref name="view"/>
        <ref name="SVG.View.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-script.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Script.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Script.class">
      <choice>
        <ref name="script"/>
        <ref name="SVG.Script.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-animation.mod ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Animation.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Animation.class">
      <choice>
        <ref name="animate"/>
        <ref name="set"/>
        <ref name="animateMotion"/>
        <ref name="animateColor"/>
        <ref name="animateTransform"/>
        <ref name="SVG.Animation.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-font.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Font.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Font.class">
      <choice>
        <ref name="font"/>
        <ref name="font-face"/>
        <ref name="SVG.Font.extra.class"/>
      </choice>
    </define>
    <!-- module: svg-extensibility.mod ..................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Extensibility.extra.class">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Extensibility.class">
      <choice>
        <ref name="foreignObject"/>
        <ref name="SVG.Extensibility.extra.class"/>
      </choice>
    </define>
    <!-- end of svg11-model.mod -->
    <!-- instantiate the Attribute Collection declared in the DTD driver -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Attribute Collection Module ................................... -->
    <!--
    file: svg11-attribs.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Attribute Collection//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-attribs.mod"
    
    .......................................................................
  -->
    <!--
    SVG 1.1 Attribute Collection
    
    This module defines the set of common attributes that can be present
    on many SVG elements.
  -->
    <!-- module: svg-conditional.mod ....................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ExtensionList.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="FeatureList.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Conditional.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Conditional.attrib">
      <optional>
        <attribute name="requiredFeatures">
          <ref name="FeatureList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="requiredExtensions">
          <ref name="ExtensionList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="systemLanguage">
          <ref name="LanguageCodes.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Conditional.extra.attrib"/>
    </define>
    <!-- module: svg-style.mod ............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ClassList.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="StyleSheet.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Style.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Style.attrib">
      <optional>
        <attribute name="style">
          <ref name="StyleSheet.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <ref name="ClassList.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Style.extra.attrib"/>
    </define>
    <!-- module: svg-text.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="BaselineShiftValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="FontFamilyValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="FontSizeValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="FontSizeAdjustValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="GlyphOrientationHorizontalValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="GlyphOrientationVerticalValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="KerningValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SpacingValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="TextDecorationValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Text.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Text.attrib">
      <optional>
        <attribute name="writing-mode">
          <choice>
            <value>lr-tb</value>
            <value>rl-tb</value>
            <value>tb-rl</value>
            <value>lr</value>
            <value>rl</value>
            <value>tb</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <ref name="SVG.Text.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.TextContent.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.TextContent.attrib">
      <optional>
        <attribute name="alignment-baseline">
          <choice>
            <value>auto</value>
            <value>baseline</value>
            <value>before-edge</value>
            <value>text-before-edge</value>
            <value>middle</value>
            <value>central</value>
            <value>after-edge</value>
            <value>text-after-edge</value>
            <value>ideographic</value>
            <value>alphabetic</value>
            <value>hanging</value>
            <value>mathematical</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="baseline-shift">
          <ref name="BaselineShiftValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="direction">
          <choice>
            <value>ltr</value>
            <value>rtl</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="dominant-baseline">
          <choice>
            <value>auto</value>
            <value>use-script</value>
            <value>no-change</value>
            <value>reset-size</value>
            <value>ideographic</value>
            <value>alphabetic</value>
            <value>hanging</value>
            <value>mathematical</value>
            <value>central</value>
            <value>middle</value>
            <value>text-after-edge</value>
            <value>text-before-edge</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="glyph-orientation-horizontal">
          <ref name="GlyphOrientationHorizontalValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="glyph-orientation-vertical">
          <ref name="GlyphOrientationVerticalValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="kerning">
          <ref name="KerningValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="letter-spacing">
          <ref name="SpacingValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="text-anchor">
          <choice>
            <value>start</value>
            <value>middle</value>
            <value>end</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="text-decoration">
          <ref name="TextDecorationValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="unicode-bidi">
          <choice>
            <value>normal</value>
            <value>embed</value>
            <value>bidi-override</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="word-spacing">
          <ref name="SpacingValue.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.TextContent.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Font.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Font.attrib">
      <optional>
        <attribute name="font-family">
          <ref name="FontFamilyValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="font-size">
          <ref name="FontSizeValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="font-size-adjust">
          <ref name="FontSizeAdjustValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="font-stretch">
          <choice>
            <value>normal</value>
            <value>wider</value>
            <value>narrower</value>
            <value>ultra-condensed</value>
            <value>extra-condensed</value>
            <value>condensed</value>
            <value>semi-condensed</value>
            <value>semi-expanded</value>
            <value>expanded</value>
            <value>extra-expanded</value>
            <value>ultra-expanded</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="font-style">
          <choice>
            <value>normal</value>
            <value>italic</value>
            <value>oblique</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="font-variant">
          <choice>
            <value>normal</value>
            <value>small-caps</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="font-weight">
          <choice>
            <value>normal</value>
            <value>bold</value>
            <value>bolder</value>
            <value>lighter</value>
            <value>100</value>
            <value>200</value>
            <value>300</value>
            <value>400</value>
            <value>500</value>
            <value>600</value>
            <value>700</value>
            <value>800</value>
            <value>900</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <ref name="SVG.Font.extra.attrib"/>
    </define>
    <!-- module: svg-marker.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="MarkerValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Marker.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Marker.attrib">
      <optional>
        <attribute name="marker-start">
          <ref name="MarkerValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="marker-mid">
          <ref name="MarkerValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="marker-end">
          <ref name="MarkerValue.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Marker.extra.attrib"/>
    </define>
    <!-- module: svg-profile.mod ........................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.ColorProfile.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.ColorProfile.attrib">
      <optional>
        <attribute name="color-profile"/>
      </optional>
      <ref name="SVG.ColorProfile.extra.attrib"/>
    </define>
    <!-- module: svg-gradient.mod .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="NumberOrPercentage.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Gradient.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Gradient.attrib">
      <optional>
        <attribute name="stop-color">
          <ref name="SVGColor.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="stop-opacity">
          <ref name="OpacityValue.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Gradient.extra.attrib"/>
    </define>
    <!-- module: svg-clip.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ClipPathValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Clip.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Clip.attrib">
      <optional>
        <attribute name="clip-path">
          <ref name="ClipPathValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="clip-rule">
          <ref name="ClipFillRule.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Clip.extra.attrib"/>
    </define>
    <!-- module: svg-mask.mod .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="MaskValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Mask.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Mask.attrib">
      <optional>
        <attribute name="mask">
          <ref name="MaskValue.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Mask.extra.attrib"/>
    </define>
    <!-- module: svg-filter.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="FilterValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="NumberOptionalNumber.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Filter.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Filter.attrib">
      <optional>
        <attribute name="filter">
          <ref name="FilterValue.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Filter.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterColor.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterColor.attrib">
      <optional>
        <attribute name="color-interpolation-filters">
          <choice>
            <value>auto</value>
            <value>sRGB</value>
            <value>linearRGB</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
      <ref name="SVG.FilterColor.extra.attrib"/>
    </define>
    <!-- module: svg-cursor.mod ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="CursorValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Cursor.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Cursor.attrib">
      <optional>
        <attribute name="cursor">
          <ref name="CursorValue.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Cursor.extra.attrib"/>
    </define>
    <!-- end of svg11-attribs.mod -->
    <!-- end of svg-framework.mod -->
    <!-- Post-Framework Redeclaration Placeholder .................... -->
    <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
    <!-- Core Attribute Module ....................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Core Attribute Module ......................................... -->
    <!--
    file: svg-core-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Core Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-core-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Core Attribute
    
       id, xml:base, xml:lang, xml:space
    
    This module defines the core set of attributes that can be present on
    any element.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.id.attrib">
      <optional>
        <attribute name="id">
          <data type="ID"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.base.attrib">
      <optional>
        <attribute name="xml:base">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.lang.attrib">
      <optional>
        <attribute name="xml:lang">
          <ref name="LanguageCode.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.space.attrib">
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Core.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Core.attrib">
      <ref name="SVG.id.attrib"/>
      <ref name="SVG.base.attrib"/>
      <ref name="SVG.lang.attrib"/>
      <ref name="SVG.space.attrib"/>
      <ref name="SVG.Core.extra.attrib"/>
    </define>
    <!-- end of svg-core-attrib.mod -->
    <!-- Container Attribute Module .................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Container Attribute Module .................................... -->
    <!--
    file: svg-container-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Container Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-container-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Container Attribute
    
       enable-background
    
    This module defines the Container attribute set.
  -->
    <!-- 'enable-background' property/attribute value (e.g., 'new', 'accumulate') -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="EnableBackgroundValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.enable-background.attrib">
      <optional>
        <attribute name="enable-background">
          <ref name="EnableBackgroundValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Container.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Container.attrib">
      <ref name="SVG.enable-background.attrib"/>
      <ref name="SVG.Container.extra.attrib"/>
    </define>
    <!-- end of svg-container-attrib.mod -->
    <!-- Viewport Attribute Module ................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Viewport Attribute Module ..................................... -->
    <!--
    file: svg-viewport-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Viewport Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-viewport-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Viewport Attribute
    
       clip, overflow
    
    This module defines the Viewport attribute set.
  -->
    <!-- 'clip' property/attribute value (e.g., 'auto', rect(...)) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ClipValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.clip.attrib">
      <optional>
        <attribute name="clip">
          <ref name="ClipValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.overflow.attrib">
      <optional>
        <attribute name="overflow">
          <choice>
            <value>visible</value>
            <value>hidden</value>
            <value>scroll</value>
            <value>auto</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Viewport.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Viewport.attrib">
      <ref name="SVG.clip.attrib"/>
      <ref name="SVG.overflow.attrib"/>
      <ref name="SVG.Viewport.extra.attrib"/>
    </define>
    <!-- end of svg-viewport-attrib.mod -->
    <!-- Paint Attribute Module ...................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Paint Attribute Module ........................................ -->
    <!--
    file: svg-paint-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Paint Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-paint-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Paint Attribute
    
       fill, fill-rule, stroke, stroke-dasharray, stroke-dashoffset,
       stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-width, color,
       color-interpolation, color-rendering
    
    This module defines the Paint and Color attribute sets.
  -->
    <!-- a 'fill' or 'stroke' property/attribute value: <paint> -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Paint.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- 'stroke-dasharray' property/attribute value (e.g., 'none', list of <number>s) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="StrokeDashArrayValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- 'stroke-dashoffset' property/attribute value (e.g., 'none', <legnth>) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="StrokeDashOffsetValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- 'stroke-miterlimit' property/attribute value (e.g., <number>) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="StrokeMiterLimitValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- 'stroke-width' property/attribute value (e.g., <length>) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="StrokeWidthValue.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.fill.attrib">
      <optional>
        <attribute name="fill">
          <ref name="Paint.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.fill-rule.attrib">
      <optional>
        <attribute name="fill-rule">
          <ref name="ClipFillRule.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke.attrib">
      <optional>
        <attribute name="stroke">
          <ref name="Paint.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-dasharray.attrib">
      <optional>
        <attribute name="stroke-dasharray">
          <ref name="StrokeDashArrayValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-dashoffset.attrib">
      <optional>
        <attribute name="stroke-dashoffset">
          <ref name="StrokeDashOffsetValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-linecap.attrib">
      <optional>
        <attribute name="stroke-linecap">
          <choice>
            <value>butt</value>
            <value>round</value>
            <value>square</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-linejoin.attrib">
      <optional>
        <attribute name="stroke-linejoin">
          <choice>
            <value>miter</value>
            <value>round</value>
            <value>bevel</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-miterlimit.attrib">
      <optional>
        <attribute name="stroke-miterlimit">
          <ref name="StrokeMiterLimitValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-width.attrib">
      <optional>
        <attribute name="stroke-width">
          <ref name="StrokeWidthValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Paint.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Paint.attrib">
      <ref name="SVG.fill.attrib"/>
      <ref name="SVG.fill-rule.attrib"/>
      <ref name="SVG.stroke.attrib"/>
      <ref name="SVG.stroke-dasharray.attrib"/>
      <ref name="SVG.stroke-dashoffset.attrib"/>
      <ref name="SVG.stroke-linecap.attrib"/>
      <ref name="SVG.stroke-linejoin.attrib"/>
      <ref name="SVG.stroke-miterlimit.attrib"/>
      <ref name="SVG.stroke-width.attrib"/>
      <ref name="SVG.Paint.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.color.attrib">
      <optional>
        <attribute name="color">
          <ref name="Color.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.color-interpolation.attrib">
      <optional>
        <attribute name="color-interpolation">
          <choice>
            <value>auto</value>
            <value>sRGB</value>
            <value>linearRGB</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.color-rendering.attrib">
      <optional>
        <attribute name="color-rendering">
          <choice>
            <value>auto</value>
            <value>optimizeSpeed</value>
            <value>optimizeQuality</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Color.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Color.attrib">
      <ref name="SVG.color.attrib"/>
      <ref name="SVG.color-interpolation.attrib"/>
      <ref name="SVG.color-rendering.attrib"/>
      <ref name="SVG.Color.extra.attrib"/>
    </define>
    <!-- end of svg-paint-attrib.mod -->
    <!-- Paint Opacity Attribute Module .............................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Paint Opacity Attribute Module ................................ -->
    <!--
    file: svg-opacity-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Paint Opacity Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-opacity-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Paint Opacity Attribute
    
       opacity, fill-opacity, stroke-opacity
    
    This module defines the Opacity attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.opacity.attrib">
      <optional>
        <attribute name="opacity">
          <ref name="OpacityValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.fill-opacity.attrib">
      <optional>
        <attribute name="fill-opacity">
          <ref name="OpacityValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stroke-opacity.attrib">
      <optional>
        <attribute name="stroke-opacity">
          <ref name="OpacityValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Opacity.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Opacity.attrib">
      <ref name="SVG.opacity.attrib"/>
      <ref name="SVG.fill-opacity.attrib"/>
      <ref name="SVG.stroke-opacity.attrib"/>
      <ref name="SVG.Opacity.extra.attrib"/>
    </define>
    <!-- end of svg-opacity-attrib.mod -->
    <!-- Graphics Attribute Module ................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Graphics Attribute Module ..................................... -->
    <!--
    file: svg-graphics-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Graphics Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-graphics-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Graphics Attribute
    
       display, image-rendering, pointer-events, shape-rendering,
       text-rendering, visibility
    
    This module defines the Graphics attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.display.attrib">
      <optional>
        <attribute name="display">
          <choice>
            <value>inline</value>
            <value>block</value>
            <value>list-item</value>
            <value>run-in</value>
            <value>compact</value>
            <value>marker</value>
            <value>table</value>
            <value>inline-table</value>
            <value>table-row-group</value>
            <value>table-header-group</value>
            <value>table-footer-group</value>
            <value>table-row</value>
            <value>table-column-group</value>
            <value>table-column</value>
            <value>table-cell</value>
            <value>table-caption</value>
            <value>none</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.image-rendering.attrib">
      <optional>
        <attribute name="image-rendering">
          <choice>
            <value>auto</value>
            <value>optimizeSpeed</value>
            <value>optimizeQuality</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.pointer-events.attrib">
      <optional>
        <attribute name="pointer-events">
          <choice>
            <value>visiblePainted</value>
            <value>visibleFill</value>
            <value>visibleStroke</value>
            <value>visible</value>
            <value>painted</value>
            <value>fill</value>
            <value>stroke</value>
            <value>all</value>
            <value>none</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.shape-rendering.attrib">
      <optional>
        <attribute name="shape-rendering">
          <choice>
            <value>auto</value>
            <value>optimizeSpeed</value>
            <value>crispEdges</value>
            <value>geometricPrecision</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.text-rendering.attrib">
      <optional>
        <attribute name="text-rendering">
          <choice>
            <value>auto</value>
            <value>optimizeSpeed</value>
            <value>optimizeLegibility</value>
            <value>geometricPrecision</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.visibility.attrib">
      <optional>
        <attribute name="visibility">
          <choice>
            <value>visible</value>
            <value>hidden</value>
            <value>inherit</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Graphics.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Graphics.attrib">
      <ref name="SVG.display.attrib"/>
      <ref name="SVG.image-rendering.attrib"/>
      <ref name="SVG.pointer-events.attrib"/>
      <ref name="SVG.shape-rendering.attrib"/>
      <ref name="SVG.text-rendering.attrib"/>
      <ref name="SVG.visibility.attrib"/>
      <ref name="SVG.Graphics.extra.attrib"/>
    </define>
    <!-- end of svg-graphics-attrib.mod -->
    <!-- Document Events Attribute Module ............................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Document Events Attribute Module .............................. -->
    <!--
    file: svg-docevents-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Document Events Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-docevents-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Document Events Attribute
    
       onunload, onabort, onerror, onresize, onscroll, onzoom
    
    This module defines the DocumentEvents attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onunload.attrib">
      <optional>
        <attribute name="onunload">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onabort.attrib">
      <optional>
        <attribute name="onabort">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onerror.attrib">
      <optional>
        <attribute name="onerror">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onresize.attrib">
      <optional>
        <attribute name="onresize">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onscroll.attrib">
      <optional>
        <attribute name="onscroll">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onzoom.attrib">
      <optional>
        <attribute name="onzoom">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.DocumentEvents.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.DocumentEvents.attrib">
      <ref name="SVG.onunload.attrib"/>
      <ref name="SVG.onabort.attrib"/>
      <ref name="SVG.onerror.attrib"/>
      <ref name="SVG.onresize.attrib"/>
      <ref name="SVG.onscroll.attrib"/>
      <ref name="SVG.onzoom.attrib"/>
      <ref name="SVG.DocumentEvents.extra.attrib"/>
    </define>
    <!-- end of svg-docevents-attrib.mod -->
    <!-- Graphical Element Events Attribute Module ................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Graphical Element Events Attribute Module ..................... -->
    <!--
    file: svg-graphevents-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Graphical Element Events Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-graphevents-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Graphical Element Events Attribute
    
       onfocusin, onfocusout, onactivate, onclick, onmousedown, onmouseup,
       onmouseover, onmousemove, onmouseout, onload
    
    This module defines the GraphicalEvents attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onfocusin.attrib">
      <optional>
        <attribute name="onfocusin">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onfocusout.attrib">
      <optional>
        <attribute name="onfocusout">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onactivate.attrib">
      <optional>
        <attribute name="onactivate">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onclick.attrib">
      <optional>
        <attribute name="onclick">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onmousedown.attrib">
      <optional>
        <attribute name="onmousedown">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onmouseup.attrib">
      <optional>
        <attribute name="onmouseup">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onmouseover.attrib">
      <optional>
        <attribute name="onmouseover">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onmousemove.attrib">
      <optional>
        <attribute name="onmousemove">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onmouseout.attrib">
      <optional>
        <attribute name="onmouseout">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onload.attrib">
      <optional>
        <attribute name="onload">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.GraphicalEvents.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.GraphicalEvents.attrib">
      <ref name="SVG.onfocusin.attrib"/>
      <ref name="SVG.onfocusout.attrib"/>
      <ref name="SVG.onactivate.attrib"/>
      <ref name="SVG.onclick.attrib"/>
      <ref name="SVG.onmousedown.attrib"/>
      <ref name="SVG.onmouseup.attrib"/>
      <ref name="SVG.onmouseover.attrib"/>
      <ref name="SVG.onmousemove.attrib"/>
      <ref name="SVG.onmouseout.attrib"/>
      <ref name="SVG.onload.attrib"/>
      <ref name="SVG.GraphicalEvents.extra.attrib"/>
    </define>
    <!-- end of svg-graphevents-attrib.mod -->
    <!-- Animation Events Attribute Module ........................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Animation Events Attribute Module ............................. -->
    <!--
    file: svg-animevents-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 Animation Events Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-animevents-attrib.mod"
    
    .......................................................................
  -->
    <!--
    Animation Events Attribute
    
       onbegin, onend, onrepeat, onload
    
    This module defines the AnimationEvents attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onbegin.attrib">
      <optional>
        <attribute name="onbegin">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onend.attrib">
      <optional>
        <attribute name="onend">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.onrepeat.attrib">
      <optional>
        <attribute name="onrepeat">
          <ref name="Script.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationEvents.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationEvents.attrib">
      <ref name="SVG.onbegin.attrib"/>
      <ref name="SVG.onend.attrib"/>
      <ref name="SVG.onrepeat.attrib"/>
      <ref name="SVG.onload.attrib"/>
      <ref name="SVG.AnimationEvents.extra.attrib"/>
    </define>
    <!-- end of svg-animevents-attrib.mod -->
    <!-- XLink Attribute Module ...................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 XLink Attribute Module ........................................ -->
    <!--
    file: svg-xlink-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 XLink Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-xlink-attrib.mod"
    
    .......................................................................
  -->
    <!--
    XLink Attribute
    
      type, href, role, arcrole, title, show, actuate
    
    This module defines the XLink, XLinkRequired, XLinkEmbed, and
    XLinkReplace attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLink.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLink.attrib">
      <ref name="XLINK.xmlns.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:type" a:defaultValue="simple">
          <value>simple</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:href">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:role">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:show" a:defaultValue="other">
          <choice>
            <value>other</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:actuate" a:defaultValue="onLoad">
          <value>onLoad</value>
        </attribute>
      </optional>
      <ref name="SVG.XLink.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLinkRequired.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLinkRequired.attrib">
      <ref name="XLINK.xmlns.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:type" a:defaultValue="simple">
          <value>simple</value>
        </attribute>
      </optional>
      <attribute name="xlink:href">
        <ref name="URI.datatype"/>
      </attribute>
      <optional>
        <attribute name="xlink:role">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:show" a:defaultValue="other">
          <choice>
            <value>other</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:actuate" a:defaultValue="onLoad">
          <value>onLoad</value>
        </attribute>
      </optional>
      <ref name="SVG.XLinkRequired.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLinkEmbed.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLinkEmbed.attrib">
      <ref name="XLINK.xmlns.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:type" a:defaultValue="simple">
          <value>simple</value>
        </attribute>
      </optional>
      <attribute name="xlink:href">
        <ref name="URI.datatype"/>
      </attribute>
      <optional>
        <attribute name="xlink:role">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:show" a:defaultValue="embed">
          <choice>
            <value>embed</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:actuate" a:defaultValue="onLoad">
          <value>onLoad</value>
        </attribute>
      </optional>
      <ref name="SVG.XLinkEmbed.extra.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLinkReplace.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.XLinkReplace.attrib">
      <ref name="XLINK.xmlns.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:type" a:defaultValue="simple">
          <value>simple</value>
        </attribute>
      </optional>
      <attribute name="xlink:href">
        <ref name="URI.datatype"/>
      </attribute>
      <optional>
        <attribute name="xlink:role">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:show" a:defaultValue="replace">
          <choice>
            <value>new</value>
            <value>replace</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xlink:actuate" a:defaultValue="onRequest">
          <value>onRequest</value>
        </attribute>
      </optional>
      <ref name="SVG.XLinkReplace.extra.attrib"/>
    </define>
    <!-- end of svg-xlink-attrib.mod -->
    <!-- External Resources Attribute Module ......................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 External Resources Attribute Module ........................... -->
    <!--
    file: svg-extresources-attrib.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ENTITIES SVG 1.1 External Resources Attribute//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-extresources-attrib.mod"
    
    .......................................................................
  -->
    <!--
    External Resources Attribute
    
       externalResourcesRequired
    
    This module defines the External attribute set.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.externalResourcesRequired.attrib">
      <optional>
        <attribute name="externalResourcesRequired">
          <ref name="Boolean.datatype"/>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.External.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.External.attrib">
      <ref name="SVG.externalResourcesRequired.attrib"/>
      <ref name="SVG.External.extra.attrib"/>
    </define>
    <!-- end of svg-extresources-attrib.mod -->
    <!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
    <!-- Structure Module ............................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Structure Module .............................................. -->
    <!--
    file: svg-structure.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Structure//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-structure.mod"
    
    .......................................................................
  -->
    <!--
    Structure
    
       svg, g, defs, desc, title, metadata, symbol, use
    
    This module declares the major structural elements and their attributes.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Description.class ............................. -->
    <!-- SVG.Use.class ..................................... -->
    <!-- SVG.Structure.class ............................... -->
    <!-- SVG.Presentation.attrib ........................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Presentation.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Presentation.attrib">
      <ref name="SVG.Container.attrib"/>
      <ref name="SVG.Viewport.attrib"/>
      <ref name="SVG.Text.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Marker.attrib"/>
      <ref name="SVG.ColorProfile.attrib"/>
      <ref name="SVG.Gradient.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <optional>
        <attribute name="flood-color">
          <ref name="SVGColor.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="flood-opacity">
          <ref name="OpacityValue.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="lighting-color">
          <ref name="SVGColor.datatype"/>
        </attribute>
      </optional>
      <ref name="SVG.Presentation.extra.attrib"/>
    </define>
    <!-- svg: SVG Document Element ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.svg.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.svg.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.svg.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="svg">
      <element name="svg">
        <ref name="attlist.svg"/>
        <ref name="SVG.svg.content"/>
      </element>
    </define>
    <!-- end of SVG.svg.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.svg" combine="interleave">
      <ref name="SVG.xmlns.attrib"/>
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.DocumentEvents.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="viewBox">
          <ref name="ViewBoxSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="zoomAndPan" a:defaultValue="magnify">
          <choice>
            <value>disable</value>
            <value>magnify</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="version" a:defaultValue="1.1">
          <value type="string" datatypeLibrary="">1.1</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="baseProfile">
          <ref name="Text.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="contentScriptType" a:defaultValue="text/ecmascript">
          <ref name="ContentType.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="contentStyleType" a:defaultValue="text/css">
          <ref name="ContentType.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.svg.attlist -->
    <!-- g: Group Element .................................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.g.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.g.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.g.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="g">
      <element name="g">
        <ref name="attlist.g"/>
        <ref name="SVG.g.content"/>
      </element>
    </define>
    <!-- end of SVG.g.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.g" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.g.attlist -->
    <!-- defs: Definisions Element ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.defs.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.defs.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.defs.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="defs">
      <element name="defs">
        <ref name="attlist.defs"/>
        <ref name="SVG.defs.content"/>
      </element>
    </define>
    <!-- end of SVG.defs.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.defs" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.defs.attlist -->
    <!-- desc: Description Element ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.desc.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.desc.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.desc.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="desc">
      <element name="desc">
        <ref name="attlist.desc"/>
        <ref name="SVG.desc.content"/>
      </element>
    </define>
    <!-- end of SVG.desc.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.desc" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
    </define>
    <!-- end of SVG.desc.attlist -->
    <!-- title: Title Element .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.title.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.title.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.title.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="title">
      <element name="title">
        <ref name="attlist.title"/>
        <ref name="SVG.title.content"/>
      </element>
    </define>
    <!-- end of SVG.title.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.title" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
    </define>
    <!-- end of SVG.title.attlist -->
    <!-- metadata: Metadata Element ........................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.metadata.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.metadata.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.metadata.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="metadata">
      <element name="metadata">
        <ref name="attlist.metadata"/>
        <ref name="SVG.metadata.content"/>
      </element>
    </define>
    <!-- end of SVG.metadata.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.metadata" combine="interleave">
      <ref name="SVG.Core.attrib"/>
    </define>
    <!-- end of SVG.metadata.attlist -->
    <!-- symbol: Symbol Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.symbol.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.symbol.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.symbol.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="symbol">
      <element name="symbol">
        <ref name="attlist.symbol"/>
        <ref name="SVG.symbol.content"/>
      </element>
    </define>
    <!-- end of SVG.symbol.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.symbol" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="viewBox">
          <ref name="ViewBoxSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.symbol.attlist -->
    <!-- use: Use Element .................................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.use.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.use.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.use.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="use">
      <element name="use">
        <ref name="attlist.use"/>
        <ref name="SVG.use.content"/>
      </element>
    </define>
    <!-- end of SVG.use.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.use" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.XLinkEmbed.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.use.attlist -->
    <!-- end of svg-structure.mod -->
    <!-- Conditional Processing Module ............................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Conditional Processing Module ................................. -->
    <!--
    file: svg-conditional.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Conditional Processing//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-conditional.mod"
    
    .......................................................................
  -->
    <!--
    Conditional Processing
    
       switch
    
    This module declares markup to provide support for conditional processing.
  -->
    <!-- extension list specification -->
    <!-- feature list specification -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Conditional.class ............................. -->
    <!-- SVG.Conditional.attrib ............................ -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- switch: Switch Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.switch.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.switch.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="svg"/>
          <ref name="g"/>
          <ref name="use"/>
          <ref name="text"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.Extensibility.class"/>
          <ref name="SVG.switch.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="switch">
      <element name="switch">
        <ref name="attlist.switch"/>
        <ref name="SVG.switch.content"/>
      </element>
    </define>
    <!-- end of SVG.switch.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.switch" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.switch.attlist -->
    <!-- end of svg-conditional.mod -->
    <!-- Image Module ................................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Image Module .................................................. -->
    <!--
    file: svg-image.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Image//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-image.mod"
    
    .......................................................................
  -->
    <!--
    Image
    
       image
    
    This module declares markup to provide support for image.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Image.class ................................... -->
    <!-- image: Image Element .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.image.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.image.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.image.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="image">
      <element name="image">
        <ref name="attlist.image"/>
        <ref name="SVG.image.content"/>
      </element>
    </define>
    <!-- end of SVG.image.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.image" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Viewport.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.ColorProfile.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.XLinkEmbed.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <attribute name="width">
        <ref name="Length.datatype"/>
      </attribute>
      <attribute name="height">
        <ref name="Length.datatype"/>
      </attribute>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.image.attlist -->
    <!-- end of svg-image.mod -->
    <!-- Style Module ................................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Style Module .................................................. -->
    <!--
    file: svg-style.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Style//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-style.mod"
    
    .......................................................................
  -->
    <!--
    Style
    
       style
    
    This module declares markup to provide support for stylesheet.
  -->
    <!-- list of classes -->
    <!-- comma-separated list of media descriptors. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="MediaDesc.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- style sheet data -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Style.class ................................... -->
    <!-- SVG.Style.attrib .................................. -->
    <!-- style: Style Element .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.style.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.style.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.style.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="style">
      <element name="style">
        <ref name="attlist.style"/>
        <ref name="SVG.style.content"/>
      </element>
    </define>
    <!-- end of SVG.style.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.style" combine="interleave">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xml:space" a:defaultValue="preserve">
          <value>preserve</value>
        </attribute>
      </optional>
      <ref name="SVG.id.attrib"/>
      <ref name="SVG.base.attrib"/>
      <ref name="SVG.lang.attrib"/>
      <ref name="SVG.Core.extra.attrib"/>
      <attribute name="type">
        <ref name="ContentType.datatype"/>
      </attribute>
      <optional>
        <attribute name="media">
          <ref name="MediaDesc.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="title">
          <ref name="Text.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.style.attlist -->
    <!-- end of svg-style.mod -->
    <!-- Shape Module ................................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Shape Module .................................................. -->
    <!--
    file: svg-shape.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Shape//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-shape.mod"
    
    .......................................................................
  -->
    <!--
    Shape
    
       path, rect, circle, line, ellipse, polyline, polygon
    
    This module declares markup to provide support for graphical shapes.
  -->
    <!-- a list of points -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="Points.datatype">
      <data type="string" datatypeLibrary=""/>
    </define>
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Shape.class ................................... -->
    <!-- path: Path Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.path.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.path.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.path.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="path">
      <element name="path">
        <ref name="attlist.path"/>
        <ref name="SVG.path.content"/>
      </element>
    </define>
    <!-- end of SVG.path.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.path" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Marker.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <attribute name="d">
        <ref name="PathData.datatype"/>
      </attribute>
      <optional>
        <attribute name="pathLength">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.path.attlist -->
    <!-- rect: Rectangle Element ........................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.rect.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.rect.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.rect.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="rect">
      <element name="rect">
        <ref name="attlist.rect"/>
        <ref name="SVG.rect.content"/>
      </element>
    </define>
    <!-- end of SVG.rect.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.rect" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <attribute name="width">
        <ref name="Length.datatype"/>
      </attribute>
      <attribute name="height">
        <ref name="Length.datatype"/>
      </attribute>
      <optional>
        <attribute name="rx">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="ry">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.rect.attlist -->
    <!-- circle: Circle Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.circle.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.circle.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.circle.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="circle">
      <element name="circle">
        <ref name="attlist.circle"/>
        <ref name="SVG.circle.content"/>
      </element>
    </define>
    <!-- end of SVG.circle.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.circle" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="cx">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cy">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <attribute name="r">
        <ref name="Length.datatype"/>
      </attribute>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.circle.attlist -->
    <!-- line: Line Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.line.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.line.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.line.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="line">
      <element name="line">
        <ref name="attlist.line"/>
        <ref name="SVG.line.content"/>
      </element>
    </define>
    <!-- end of SVG.line.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.line" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Marker.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x1">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y1">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="x2">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y2">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.line.attlist -->
    <!-- ellipse: Ellipse Element .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.ellipse.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.ellipse.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.ellipse.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="ellipse">
      <element name="ellipse">
        <ref name="attlist.ellipse"/>
        <ref name="SVG.ellipse.content"/>
      </element>
    </define>
    <!-- end of SVG.ellipse.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.ellipse" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="cx">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cy">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <attribute name="rx">
        <ref name="Length.datatype"/>
      </attribute>
      <attribute name="ry">
        <ref name="Length.datatype"/>
      </attribute>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.ellipse.attlist -->
    <!-- polyline: Polyline Element ........................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.polyline.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.polyline.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.polyline.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="polyline">
      <element name="polyline">
        <ref name="attlist.polyline"/>
        <ref name="SVG.polyline.content"/>
      </element>
    </define>
    <!-- end of SVG.polyline.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.polyline" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Marker.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <attribute name="points">
        <ref name="Points.datatype"/>
      </attribute>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.polyline.attlist -->
    <!-- polygon: Polygon Element .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.polygon.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.polygon.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.polygon.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="polygon">
      <element name="polygon">
        <ref name="attlist.polygon"/>
        <ref name="SVG.polygon.content"/>
      </element>
    </define>
    <!-- end of SVG.polygon.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.polygon" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Marker.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <attribute name="points">
        <ref name="Points.datatype"/>
      </attribute>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.polygon.attlist -->
    <!-- end of svg-shape.mod -->
    <!-- Text Module ................................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Text Module ................................................... -->
    <!--
    file: svg-text.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Text//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-text.mod"
    
    .......................................................................
  -->
    <!--
    Text
    
       text, tspan, tref, textPath, altGlyph, altGlyphDef, altGlyphItem,
       glyphRef
    
    This module declares markup to provide support for alternate glyph.
  -->
    <!-- 'baseline-shift' property/attribute value (e.g., 'baseline', 'sub', etc.) -->
    <!-- 'font-family' property/attribute value (i.e., list of fonts) -->
    <!-- 'font-size' property/attribute value -->
    <!-- 'font-size-adjust' property/attribute value -->
    <!-- 'glyph-orientation-horizontal' property/attribute value (e.g., <angle>) -->
    <!-- 'glyph-orientation-vertical' property/attribute value (e.g., 'auto', <angle>) -->
    <!-- 'kerning' property/attribute value (e.g., 'auto', <length>) -->
    <!-- 'letter-spacing' or 'word-spacing' property/attribute value (e.g., 'normal', <length>) -->
    <!-- 'text-decoration' property/attribute value (e.g., 'none', 'underline') -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Text.class .................................... -->
    <!-- SVG.TextContent.class ............................. -->
    <!-- SVG.Text.attrib ................................... -->
    <!-- SVG.TextContent.attrib ............................ -->
    <!-- SVG.Font.attrib ................................... -->
    <!-- text: Text Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.text.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.text.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.TextContent.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.text.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="text">
      <element name="text">
        <ref name="attlist.text"/>
        <ref name="SVG.text.content"/>
      </element>
    </define>
    <!-- end of SVG.text.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.text" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Text.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dx">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dy">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rotate">
          <ref name="Numbers.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="textLength">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="lengthAdjust">
          <choice>
            <value>spacing</value>
            <value>spacingAndGlyphs</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.text.attlist -->
    <!-- tspan: Text Span Element .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.tspan.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.tspan.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tspan"/>
          <ref name="tref"/>
          <ref name="altGlyph"/>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.tspan.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tspan">
      <element name="tspan">
        <ref name="attlist.tspan"/>
        <ref name="SVG.tspan.content"/>
      </element>
    </define>
    <!-- end of SVG.tspan.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.tspan" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dx">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dy">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rotate">
          <ref name="Numbers.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="textLength">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="lengthAdjust">
          <choice>
            <value>spacing</value>
            <value>spacingAndGlyphs</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.tspan.attlist -->
    <!-- tref: Text Reference Element ...................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.tref.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.tref.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.tref.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="tref">
      <element name="tref">
        <ref name="attlist.tref"/>
        <ref name="SVG.tref.content"/>
      </element>
    </define>
    <!-- end of SVG.tref.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.tref" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.XLinkRequired.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dx">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dy">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rotate">
          <ref name="Numbers.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="textLength">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="lengthAdjust">
          <choice>
            <value>spacing</value>
            <value>spacingAndGlyphs</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.tref.attlist -->
    <!-- textPath: Text Path Element ....................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.textPath.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.textPath.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tspan"/>
          <ref name="tref"/>
          <ref name="altGlyph"/>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.textPath.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="textPath">
      <element name="textPath">
        <ref name="attlist.textPath"/>
        <ref name="SVG.textPath.content"/>
      </element>
    </define>
    <!-- end of SVG.textPath.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.textPath" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.XLinkRequired.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="startOffset">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="textLength">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="lengthAdjust">
          <choice>
            <value>spacing</value>
            <value>spacingAndGlyphs</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="method">
          <choice>
            <value>align</value>
            <value>stretch</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="spacing">
          <choice>
            <value>auto</value>
            <value>exact</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.textPath.attlist -->
    <!-- altGlyph: Alternate Glyph Element ................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.altGlyph.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.altGlyph.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.altGlyph.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="altGlyph">
      <element name="altGlyph">
        <ref name="attlist.altGlyph"/>
        <ref name="SVG.altGlyph.content"/>
      </element>
    </define>
    <!-- end of SVG.altGlyph.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.altGlyph" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinates.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dx">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dy">
          <ref name="Lengths.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="glyphRef"/>
      </optional>
      <optional>
        <attribute name="format"/>
      </optional>
      <optional>
        <attribute name="rotate">
          <ref name="Numbers.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.altGlyph.attlist -->
    <!-- altGlyphDef: Alternate Glyph Definition Element ... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.altGlyphDef.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.altGlyphDef.content">
      <choice>
        <choice>
          <oneOrMore>
            <ref name="glyphRef"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="altGlyphItem"/>
          </oneOrMore>
        </choice>
        <ref name="SVG.altGlyphDef.extra.content"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="altGlyphDef">
      <element name="altGlyphDef">
        <ref name="attlist.altGlyphDef"/>
        <ref name="SVG.altGlyphDef.content"/>
      </element>
    </define>
    <!-- end of SVG.altGlyphDef.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.altGlyphDef" combine="interleave">
      <ref name="SVG.Core.attrib"/>
    </define>
    <!-- end of SVG.altGlyphDef.attlist -->
    <!-- altGlyphItem: Alternate Glyph Item Element ........ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.altGlyphItem.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.altGlyphItem.content">
      <choice>
        <oneOrMore>
          <ref name="glyphRef"/>
        </oneOrMore>
        <ref name="SVG.altGlyphItem.extra.content"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="altGlyphItem">
      <element name="altGlyphItem">
        <ref name="attlist.altGlyphItem"/>
        <ref name="SVG.altGlyphItem.content"/>
      </element>
    </define>
    <!-- end of SVG.altGlyphItem.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.altGlyphItem" combine="interleave">
      <ref name="SVG.Core.attrib"/>
    </define>
    <!-- end of SVG.altGlyphItem.attlist -->
    <!-- glyphRef: Glyph Reference Element ................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.glyphRef.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="glyphRef">
      <element name="glyphRef">
        <ref name="attlist.glyphRef"/>
        <ref name="SVG.glyphRef.content"/>
      </element>
    </define>
    <!-- end of SVG.glyphRef.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.glyphRef" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dx">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dy">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="glyphRef"/>
      </optional>
      <optional>
        <attribute name="format"/>
      </optional>
    </define>
    <!-- end of SVG.glyphRef.attlist -->
    <!-- end of svg-text.mod -->
    <!-- Marker Module ............................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Marker Module ................................................. -->
    <!--
    file: svg-marker.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Marker//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-marker.mod"
    
    .......................................................................
  -->
    <!--
    Marker
    
       marker
    
    This module declares markup to provide support for marker.
  -->
    <!-- 'marker' property/attribute value (e.g., 'none', <uri>) -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Marker.class .................................. -->
    <!-- SVG.Marker.attrib ................................. -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- marker: Marker Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.marker.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.marker.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.marker.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="marker">
      <element name="marker">
        <ref name="attlist.marker"/>
        <ref name="SVG.marker.content"/>
      </element>
    </define>
    <!-- end of SVG.marker.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.marker" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="refX">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="refY">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="markerUnits">
          <choice>
            <value>strokeWidth</value>
            <value>userSpaceOnUse</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="markerWidth">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="markerHeight">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="orient"/>
      </optional>
      <optional>
        <attribute name="viewBox">
          <ref name="ViewBoxSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.marker.attlist -->
    <!-- end of svg-marker.mod -->
    <!-- Color Profile Module ........................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Color Profile Module .......................................... -->
    <!--
    file: svg-profile.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Color Profile//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-profile.mod"
    
    .......................................................................
  -->
    <!--
    Color Profile
    
       color-profile
    
    This module declares markup to provide support for color profile.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.ColorProfile.class ............................ -->
    <!-- SVG.ColorProfile.attrib ........................... -->
    <!-- color-profile: Color Profile Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.color-profile.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.color-profile.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.color-profile.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="color-profile">
      <element name="color-profile">
        <ref name="attlist.color-profile"/>
        <ref name="SVG.color-profile.content"/>
      </element>
    </define>
    <!-- end of SVG.color-profile.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.color-profile" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <optional>
        <attribute name="local"/>
      </optional>
      <attribute name="name"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="rendering-intent" a:defaultValue="auto">
          <choice>
            <value>auto</value>
            <value>perceptual</value>
            <value>relative-colorimetric</value>
            <value>saturation</value>
            <value>absolute-colorimetric</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.color-profile.attlist -->
    <!-- end of svg-profile.mod -->
    <!-- Gradient Module ............................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Gradient Module ............................................... -->
    <!--
    file: svg-gradient.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Gradient//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-gradient.mod"
    
    .......................................................................
  -->
    <!--
    Gradient
    
       linearGradient, radialGradient, stop
    
    This module declares markup to provide support for gradient fill.
  -->
    <!-- a <number> or a <percentage> -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Gradient.class ................................ -->
    <!-- SVG.Gradient.attrib ............................... -->
    <!-- linearGradient: Linear Gradient Element ........... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.linearGradient.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.linearGradient.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="stop"/>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateTransform"/>
          <ref name="SVG.linearGradient.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="linearGradient">
      <element name="linearGradient">
        <ref name="attlist.linearGradient"/>
        <ref name="SVG.linearGradient.content"/>
      </element>
    </define>
    <!-- end of SVG.linearGradient.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.linearGradient" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Gradient.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x1">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y1">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="x2">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y2">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="gradientUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="gradientTransform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="spreadMethod">
          <choice>
            <value>pad</value>
            <value>reflect</value>
            <value>repeat</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.linearGradient.attlist -->
    <!-- radialGradient: Radial Gradient Element ........... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.radialGradient.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.radialGradient.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="stop"/>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateTransform"/>
          <ref name="SVG.radialGradient.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="radialGradient">
      <element name="radialGradient">
        <ref name="attlist.radialGradient"/>
        <ref name="SVG.radialGradient.content"/>
      </element>
    </define>
    <!-- end of SVG.radialGradient.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.radialGradient" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Gradient.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="cx">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cy">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="r">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="fx">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="fy">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="gradientUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="gradientTransform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="spreadMethod">
          <choice>
            <value>pad</value>
            <value>reflect</value>
            <value>repeat</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.radialGradient.attlist -->
    <!-- stop: Stop Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stop.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.stop.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.stop.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="stop">
      <element name="stop">
        <ref name="attlist.stop"/>
        <ref name="SVG.stop.content"/>
      </element>
    </define>
    <!-- end of SVG.stop.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.stop" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Gradient.attrib"/>
      <attribute name="offset">
        <ref name="NumberOrPercentage.datatype"/>
      </attribute>
    </define>
    <!-- end of SVG.stop.attlist -->
    <!-- end of svg-gradient.mod -->
    <!-- Pattern Module .............................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Pattern Module ................................................ -->
    <!--
    file: svg-pattern.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Pattern//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-pattern.mod"
    
    .......................................................................
  -->
    <!--
    Pattern
    
       pattern
    
    This module declares markup to provide support for pattern fill.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Pattern.class ................................. -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- pattern: Pattern Element .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.pattern.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.pattern.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.pattern.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="svgpattern">
      <element name="pattern">
        <ref name="attlist.pattern"/>
        <ref name="SVG.pattern.content"/>
      </element>
    </define>
    <!-- end of SVG.pattern.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.pattern" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="patternUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="patternContentUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="patternTransform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="viewBox">
          <ref name="ViewBoxSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.pattern.attlist -->
    <!-- end of svg-pattern.mod -->
    <!-- Clip Module ................................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Clip Module ................................................... -->
    <!--
    file: svg-clip.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Clip//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-clip.mod"
    
    .......................................................................
  -->
    <!--
    Clip
    
       clipPath
    
    This module declares markup to provide support for clipping.
  -->
    <!-- 'clip-path' property/attribute value (e.g., 'none', <uri>) -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Clip.class .................................... -->
    <!-- SVG.Clip.attrib ................................... -->
    <!-- clipPath: Clip Path Element ....................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.clipPath.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.clipPath.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Use.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.clipPath.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="clipPath">
      <element name="clipPath">
        <ref name="attlist.clipPath"/>
        <ref name="SVG.clipPath.content"/>
      </element>
    </define>
    <!-- end of SVG.clipPath.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.clipPath" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Text.attrib"/>
      <ref name="SVG.TextContent.attrib"/>
      <ref name="SVG.Font.attrib"/>
      <ref name="SVG.Paint.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.Opacity.attrib"/>
      <ref name="SVG.Graphics.attrib"/>
      <ref name="SVG.Clip.attrib"/>
      <ref name="SVG.Mask.attrib"/>
      <ref name="SVG.Filter.attrib"/>
      <ref name="SVG.Cursor.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="clipPathUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.clipPath.attlist -->
    <!-- end of svg-clip.mod -->
    <!-- Mask Module ................................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Mask Module ................................................... -->
    <!--
    file: svg-mask.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Mask//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-mask.mod"
    
    .......................................................................
  -->
    <!--
    Mask
    
       mask
    
    This module declares markup to provide support for masking.
  -->
    <!-- 'mask' property/attribute value (e.g., 'none', <uri>) -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Mask.class .................................... -->
    <!-- SVG.Mask.attrib ................................... -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- mask: Mask Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.mask.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.mask.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.mask.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mask">
      <element name="mask">
        <ref name="attlist.mask"/>
        <ref name="SVG.mask.content"/>
      </element>
    </define>
    <!-- end of SVG.mask.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.mask" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="maskUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="maskContentUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.mask.attlist -->
    <!-- end of svg-mask.mod -->
    <!-- Filter Module ............................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Filter Module ................................................. -->
    <!--
    file: svg-filter.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Filter//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-filter.mod"
    
    .......................................................................
  -->
    <!--
    Filter
    
       filter, feBlend, feColorMatrix, feComponentTransfer, feComposite,
       feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feFlood,
       feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset,
       feSpecularLighting, feTile, feTurbulence, feDistantLight, fePointLight,
       feSpotLight, feFuncR, feFuncG, feFuncB, feFuncA
    
    This module declares markup to provide support for filter effect.
  -->
    <!-- 'filter' property/attribute value (e.g., 'none', <uri>) -->
    <!-- list of <number>s, but at least one and at most two -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Filter.class .................................. -->
    <!-- SVG.FilterPrimitive.class ......................... -->
    <!-- SVG.Filter.attrib ................................. -->
    <!-- SVG.FilterColor.attrib ............................ -->
    <!-- SVG.FilterPrimitive.attrib ........................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterPrimitive.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterPrimitive.attrib">
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="result"/>
      </optional>
      <ref name="SVG.FilterPrimitive.extra.attrib"/>
    </define>
    <!-- SVG.FilterPrimitiveWithIn.attrib .................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterPrimitiveWithIn.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.FilterPrimitiveWithIn.attrib">
      <ref name="SVG.FilterPrimitive.attrib"/>
      <optional>
        <attribute name="in"/>
      </optional>
      <ref name="SVG.FilterPrimitiveWithIn.extra.attrib"/>
    </define>
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- filter: Filter Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.filter.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.filter.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.FilterPrimitive.class"/>
          <ref name="SVG.filter.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="filter">
      <element name="filter">
        <ref name="attlist.filter"/>
        <ref name="SVG.filter.content"/>
      </element>
    </define>
    <!-- end of SVG.filter.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.filter" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <ref name="Length.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="filterRes">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="filterUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="primitiveUnits">
          <choice>
            <value>userSpaceOnUse</value>
            <value>objectBoundingBox</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.filter.attlist -->
    <!-- feBlend: Filter Effect Blend Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feBlend.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feBlend.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feBlend.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feBlend">
      <element name="feBlend">
        <ref name="attlist.feBlend"/>
        <ref name="SVG.feBlend.content"/>
      </element>
    </define>
    <!-- end of SVG.feBlend.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feBlend" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <attribute name="in2"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="normal">
          <choice>
            <value>normal</value>
            <value>multiply</value>
            <value>screen</value>
            <value>darken</value>
            <value>lighten</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feBlend.attlist -->
    <!-- feColorMatrix: Filter Effect Color Matrix Element . -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feColorMatrix.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feColorMatrix.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feColorMatrix.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feColorMatrix">
      <element name="feColorMatrix">
        <ref name="attlist.feColorMatrix"/>
        <ref name="SVG.feColorMatrix.content"/>
      </element>
    </define>
    <!-- end of SVG.feColorMatrix.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feColorMatrix" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="matrix">
          <choice>
            <value>matrix</value>
            <value>saturate</value>
            <value>hueRotate</value>
            <value>luminanceToAlpha</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="values"/>
      </optional>
    </define>
    <!-- end of SVG.feColorMatrix.attlist -->
    <!-- feComponentTransfer: Filter Effect Component Transfer Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feComponentTransfer.extra.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feComponentTransfer.content">
      <optional>
        <ref name="feFuncR"/>
      </optional>
      <optional>
        <ref name="feFuncG"/>
      </optional>
      <optional>
        <ref name="feFuncB"/>
      </optional>
      <optional>
        <ref name="feFuncA"/>
      </optional>
      <ref name="SVG.feComponentTransfer.extra.content"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feComponentTransfer">
      <element name="feComponentTransfer">
        <ref name="attlist.feComponentTransfer"/>
        <ref name="SVG.feComponentTransfer.content"/>
      </element>
    </define>
    <!-- end of SVG.feComponentTransfer.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feComponentTransfer" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
    </define>
    <!-- end of SVG.feComponentTransfer.attlist -->
    <!-- feComposite: Filter Effect Composite Element ...... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feComposite.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feComposite.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feComposite.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feComposite">
      <element name="feComposite">
        <ref name="attlist.feComposite"/>
        <ref name="SVG.feComposite.content"/>
      </element>
    </define>
    <!-- end of SVG.feComposite.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feComposite" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <attribute name="in2"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="operator" a:defaultValue="over">
          <choice>
            <value>over</value>
            <value>in</value>
            <value>out</value>
            <value>atop</value>
            <value>xor</value>
            <value>arithmetic</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="k1">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="k2">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="k3">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="k4">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feComposite.attlist -->
    <!-- feConvolveMatrix: Filter Effect Convolve Matrix Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feConvolveMatrix.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feConvolveMatrix.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feConvolveMatrix.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feConvolveMatrix">
      <element name="feConvolveMatrix">
        <ref name="attlist.feConvolveMatrix"/>
        <ref name="SVG.feConvolveMatrix.content"/>
      </element>
    </define>
    <!-- end of SVG.feConvolveMatrix.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feConvolveMatrix" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <attribute name="order">
        <ref name="NumberOptionalNumber.datatype"/>
      </attribute>
      <attribute name="kernelMatrix"/>
      <optional>
        <attribute name="divisor">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="bias">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="targetX">
          <ref name="Integer.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="targetY">
          <ref name="Integer.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="edgeMode" a:defaultValue="duplicate">
          <choice>
            <value>duplicate</value>
            <value>wrap</value>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="kernelUnitLength">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="preserveAlpha">
          <ref name="Boolean.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feConvolveMatrix.attlist -->
    <!-- feDiffuseLighting: Filter Effect Diffuse Lighting Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feDiffuseLighting.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feDiffuseLighting.content">
      <choice>
        <ref name="feDistantLight"/>
        <ref name="fePointLight"/>
        <ref name="feSpotLight"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.feDiffuseLighting.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feDiffuseLighting">
      <element name="feDiffuseLighting">
        <ref name="attlist.feDiffuseLighting"/>
        <ref name="SVG.feDiffuseLighting.content"/>
      </element>
    </define>
    <!-- end of SVG.feDiffuseLighting.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feDiffuseLighting" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute name="lighting-color">
          <ref name="SVGColor.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="surfaceScale">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="diffuseConstant">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="kernelUnitLength">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feDiffuseLighting.attlist -->
    <!-- feDisplacementMap: Filter Effect Displacement Map Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feDisplacementMap.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feDisplacementMap.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feDisplacementMap.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feDisplacementMap">
      <element name="feDisplacementMap">
        <ref name="attlist.feDisplacementMap"/>
        <ref name="SVG.feDisplacementMap.content"/>
      </element>
    </define>
    <!-- end of SVG.feDisplacementMap.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feDisplacementMap" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <attribute name="in2"/>
      <optional>
        <attribute name="scale">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="xChannelSelector" a:defaultValue="A">
          <choice>
            <value>R</value>
            <value>G</value>
            <value>B</value>
            <value>A</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="yChannelSelector" a:defaultValue="A">
          <choice>
            <value>R</value>
            <value>G</value>
            <value>B</value>
            <value>A</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feDisplacementMap.attlist -->
    <!-- feFlood: Filter Effect Flood Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFlood.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFlood.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.feFlood.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feFlood">
      <element name="feFlood">
        <ref name="attlist.feFlood"/>
        <ref name="SVG.feFlood.content"/>
      </element>
    </define>
    <!-- end of SVG.feFlood.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feFlood" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute name="flood-color">
          <ref name="SVGColor.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="flood-opacity">
          <ref name="OpacityValue.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feFlood.attlist -->
    <!-- feGaussianBlur: Filter Effect Gaussian Blur Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feGaussianBlur.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feGaussianBlur.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feGaussianBlur.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feGaussianBlur">
      <element name="feGaussianBlur">
        <ref name="attlist.feGaussianBlur"/>
        <ref name="SVG.feGaussianBlur.content"/>
      </element>
    </define>
    <!-- end of SVG.feGaussianBlur.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feGaussianBlur" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute name="stdDeviation">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feGaussianBlur.attlist -->
    <!-- feImage: Filter Effect Image Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feImage.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feImage.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateTransform"/>
          <ref name="SVG.feImage.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feImage">
      <element name="feImage">
        <ref name="attlist.feImage"/>
        <ref name="SVG.feImage.content"/>
      </element>
    </define>
    <!-- end of SVG.feImage.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feImage" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.FilterPrimitive.attrib"/>
      <ref name="SVG.XLinkEmbed.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feImage.attlist -->
    <!-- feMerge: Filter Effect Merge Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feMerge.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feMerge.content">
      <zeroOrMore>
        <choice>
          <ref name="feMergeNode"/>
          <ref name="SVG.feMerge.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feMerge">
      <element name="feMerge">
        <ref name="attlist.feMerge"/>
        <ref name="SVG.feMerge.content"/>
      </element>
    </define>
    <!-- end of SVG.feMerge.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feMerge" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitive.attrib"/>
    </define>
    <!-- end of SVG.feMerge.attlist -->
    <!-- feMergeNode: Filter Effect Merge Node Element ..... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feMergeNode.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feMergeNode.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feMergeNode.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feMergeNode">
      <element name="feMergeNode">
        <ref name="attlist.feMergeNode"/>
        <ref name="SVG.feMergeNode.content"/>
      </element>
    </define>
    <!-- end of SVG.feMergeNode.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feMergeNode" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="in"/>
      </optional>
    </define>
    <!-- end of SVG.feMergeNode.attlist -->
    <!-- feMorphology: Filter Effect Morphology Element .... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feMorphology.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feMorphology.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feMorphology.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feMorphology">
      <element name="feMorphology">
        <ref name="attlist.feMorphology"/>
        <ref name="SVG.feMorphology.content"/>
      </element>
    </define>
    <!-- end of SVG.feMorphology.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feMorphology" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="operator" a:defaultValue="erode">
          <choice>
            <value>erode</value>
            <value>dilate</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="radius">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feMorphology.attlist -->
    <!-- feOffset: Filter Effect Offset Element ............ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feOffset.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feOffset.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feOffset.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feOffset">
      <element name="feOffset">
        <ref name="attlist.feOffset"/>
        <ref name="SVG.feOffset.content"/>
      </element>
    </define>
    <!-- end of SVG.feOffset.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feOffset" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute name="dx">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="dy">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feOffset.attlist -->
    <!-- feSpecularLighting: Filter Effect Specular Lighting Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feSpecularLighting.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feSpecularLighting.content">
      <choice>
        <ref name="feDistantLight"/>
        <ref name="fePointLight"/>
        <ref name="feSpotLight"/>
      </choice>
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="animateColor"/>
          <ref name="SVG.feSpecularLighting.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feSpecularLighting">
      <element name="feSpecularLighting">
        <ref name="attlist.feSpecularLighting"/>
        <ref name="SVG.feSpecularLighting.content"/>
      </element>
    </define>
    <!-- end of SVG.feSpecularLighting.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feSpecularLighting" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Color.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
      <optional>
        <attribute name="lighting-color">
          <ref name="SVGColor.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="surfaceScale">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="specularConstant">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="specularExponent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="kernelUnitLength">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feSpecularLighting.attlist -->
    <!-- feTile: Filter Effect Tile Element ................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feTile.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feTile.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feTile.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feTile">
      <element name="feTile">
        <ref name="attlist.feTile"/>
        <ref name="SVG.feTile.content"/>
      </element>
    </define>
    <!-- end of SVG.feTile.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feTile" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitiveWithIn.attrib"/>
    </define>
    <!-- end of SVG.feTile.attlist -->
    <!-- feTurbulence: Filter Effect Turbulence Element .... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feTurbulence.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feTurbulence.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feTurbulence.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feTurbulence">
      <element name="feTurbulence">
        <ref name="attlist.feTurbulence"/>
        <ref name="SVG.feTurbulence.content"/>
      </element>
    </define>
    <!-- end of SVG.feTurbulence.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feTurbulence" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.FilterColor.attrib"/>
      <ref name="SVG.FilterPrimitive.attrib"/>
      <optional>
        <attribute name="baseFrequency">
          <ref name="NumberOptionalNumber.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="numOctaves">
          <ref name="Integer.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="seed">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="stitchTiles" a:defaultValue="noStitch">
          <choice>
            <value>stitch</value>
            <value>noStitch</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="turbulence">
          <choice>
            <value>fractalNoise</value>
            <value>turbulence</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feTurbulence.attlist -->
    <!-- feDistantLight: Filter Effect Distant Light Element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feDistantLight.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feDistantLight.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feDistantLight.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feDistantLight">
      <element name="feDistantLight">
        <ref name="attlist.feDistantLight"/>
        <ref name="SVG.feDistantLight.content"/>
      </element>
    </define>
    <!-- end of SVG.feDistantLight.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feDistantLight" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="azimuth">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="elevation">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feDistantLight.attlist -->
    <!-- fePointLight: Filter Effect Point Light Element ... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.fePointLight.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.fePointLight.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.fePointLight.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="fePointLight">
      <element name="fePointLight">
        <ref name="attlist.fePointLight"/>
        <ref name="SVG.fePointLight.content"/>
      </element>
    </define>
    <!-- end of SVG.fePointLight.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.fePointLight" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="z">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.fePointLight.attlist -->
    <!-- feSpotLight: Filter Effect Spot Light Element ..... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feSpotLight.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feSpotLight.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feSpotLight.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feSpotLight">
      <element name="feSpotLight">
        <ref name="attlist.feSpotLight"/>
        <ref name="SVG.feSpotLight.content"/>
      </element>
    </define>
    <!-- end of SVG.feSpotLight.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feSpotLight" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="z">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="pointsAtX">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="pointsAtY">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="pointsAtZ">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="specularExponent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="limitingConeAngle">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feSpotLight.attlist -->
    <!-- feFuncR: Filter Effect Function Red Element ....... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncR.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncR.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feFuncR.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feFuncR">
      <element name="feFuncR">
        <ref name="attlist.feFuncR"/>
        <ref name="SVG.feFuncR.content"/>
      </element>
    </define>
    <!-- end of SVG.feFuncR.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feFuncR" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <attribute name="type">
        <choice>
          <value>identity</value>
          <value>table</value>
          <value>discrete</value>
          <value>linear</value>
          <value>gamma</value>
        </choice>
      </attribute>
      <optional>
        <attribute name="tableValues"/>
      </optional>
      <optional>
        <attribute name="slope">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="intercept">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="amplitude">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="exponent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="offset">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feFuncR.attlist -->
    <!-- feFuncG: Filter Effect Function Green Element ..... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncG.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncG.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feFuncG.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feFuncG">
      <element name="feFuncG">
        <ref name="attlist.feFuncG"/>
        <ref name="SVG.feFuncG.content"/>
      </element>
    </define>
    <!-- end of SVG.feFuncG.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feFuncG" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <attribute name="type">
        <choice>
          <value>identity</value>
          <value>table</value>
          <value>discrete</value>
          <value>linear</value>
          <value>gamma</value>
        </choice>
      </attribute>
      <optional>
        <attribute name="tableValues"/>
      </optional>
      <optional>
        <attribute name="slope">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="intercept">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="amplitude">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="exponent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="offset">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feFuncG.attlist -->
    <!-- feFuncB: Filter Effect Function Blue Element ...... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncB.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncB.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feFuncB.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feFuncB">
      <element name="feFuncB">
        <ref name="attlist.feFuncB"/>
        <ref name="SVG.feFuncB.content"/>
      </element>
    </define>
    <!-- end of SVG.feFuncB.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feFuncB" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <attribute name="type">
        <choice>
          <value>identity</value>
          <value>table</value>
          <value>discrete</value>
          <value>linear</value>
          <value>gamma</value>
        </choice>
      </attribute>
      <optional>
        <attribute name="tableValues"/>
      </optional>
      <optional>
        <attribute name="slope">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="intercept">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="amplitude">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="exponent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="offset">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feFuncB.attlist -->
    <!-- feFuncA: Filter Effect Function Alpha Element ..... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncA.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.feFuncA.content">
      <zeroOrMore>
        <choice>
          <ref name="animate"/>
          <ref name="set"/>
          <ref name="SVG.feFuncA.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="feFuncA">
      <element name="feFuncA">
        <ref name="attlist.feFuncA"/>
        <ref name="SVG.feFuncA.content"/>
      </element>
    </define>
    <!-- end of SVG.feFuncA.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.feFuncA" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <attribute name="type">
        <choice>
          <value>identity</value>
          <value>table</value>
          <value>discrete</value>
          <value>linear</value>
          <value>gamma</value>
        </choice>
      </attribute>
      <optional>
        <attribute name="tableValues"/>
      </optional>
      <optional>
        <attribute name="slope">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="intercept">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="amplitude">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="exponent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="offset">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.feFuncA.attlist -->
    <!-- end of svg-filter.mod -->
    <!-- Cursor Module ............................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Cursor Module ................................................. -->
    <!--
    file: svg-cursor.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Cursor//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-cursor.mod"
    
    .......................................................................
  -->
    <!--
    Cursor
    
       cursor
    
    This module declares markup to provide support for cursor.
  -->
    <!-- 'cursor' property/attribute value (e.g., 'crosshair', <uri>) -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Cursor.class .................................. -->
    <!-- SVG.Cursor.attrib ................................. -->
    <!-- cursor: Cursor Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.cursor.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.cursor.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.cursor.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="cursor">
      <element name="cursor">
        <ref name="attlist.cursor"/>
        <ref name="SVG.cursor.content"/>
      </element>
    </define>
    <!-- end of SVG.cursor.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.cursor" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.XLinkRequired.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.cursor.attlist -->
    <!-- end of svg-cursor.mod -->
    <!-- Hyperlinking Module ......................................... -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Hyperlinking Module ........................................... -->
    <!--
    file: svg-hyperlink.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Hyperlinking//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-hyperlink.mod"
    
    .......................................................................
  -->
    <!--
    Hyperlinking
    
       a
    
    This module declares markup to provide support for hyper linking.
  -->
    <!-- link to this target -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="LinkTarget.datatype">
      <data type="NMTOKEN"/>
    </define>
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Hyperlink.class ............................... -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- a: Anchor Element ................................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.a.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.a.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.a.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="a">
      <element name="a">
        <ref name="attlist.a"/>
        <ref name="SVG.a.content"/>
      </element>
    </define>
    <!-- end of SVG.a.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.a" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.XLinkReplace.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="target">
          <ref name="LinkTarget.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.a.attlist -->
    <!-- end of svg-hyperlink.mod -->
    <!-- View Module ................................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 View Module ................................................... -->
    <!--
    file: svg-view.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 View//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-view.mod"
    
    .......................................................................
  -->
    <!--
    View
    
       view
    
    This module declares markup to provide support for view.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.View.class .................................... -->
    <!-- view: View Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.view.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.view.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.view.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="view">
      <element name="view">
        <ref name="attlist.view"/>
        <ref name="SVG.view.content"/>
      </element>
    </define>
    <!-- end of SVG.view.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.view" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="viewBox">
          <ref name="ViewBoxSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="preserveAspectRatio" a:defaultValue="xMidYMid meet">
          <ref name="PreserveAspectRatioSpec.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="zoomAndPan" a:defaultValue="magnify">
          <choice>
            <value>disable</value>
            <value>magnify</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="viewTarget"/>
      </optional>
    </define>
    <!-- end of SVG.view.attlist -->
    <!-- end of svg-view.mod -->
    <!-- Scripting Module ............................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Scripting Module .............................................. -->
    <!--
    file: svg-script.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Scripting//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-script.mod"
    
    .......................................................................
  -->
    <!--
    Scripting
    
       script
    
    This module declares markup to provide support for scripting.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Script.class .................................. -->
    <!-- script: Script Element ............................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.script.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.script.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.script.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="script">
      <element name="script">
        <ref name="attlist.script"/>
        <ref name="SVG.script.content"/>
      </element>
    </define>
    <!-- end of SVG.script.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.script" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.External.attrib"/>
      <attribute name="type">
        <ref name="ContentType.datatype"/>
      </attribute>
    </define>
    <!-- end of SVG.script.attlist -->
    <!-- end of svg-script.mod -->
    <!-- Animation Module ............................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Animation Module .............................................. -->
    <!--
    file: svg-animation.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Animation//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-animation.mod"
    
    .......................................................................
  -->
    <!--
    Animation
    
       animate, set, animateMotion, animateColor, animateTransform, mpath
    
    This module declares markup to provide support for animation.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Animation.class ............................... -->
    <!-- SVG.Animation.attrib .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Animation.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.Animation.attrib">
      <ref name="SVG.XLink.attrib"/>
      <ref name="SVG.Animation.extra.attrib"/>
    </define>
    <!-- SVG.AnimationAttribute.attrib ..................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationAttribute.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationAttribute.attrib">
      <attribute name="attributeName"/>
      <optional>
        <attribute name="attributeType"/>
      </optional>
      <ref name="SVG.AnimationAttribute.extra.attrib"/>
    </define>
    <!-- SVG.AnimationTiming.attrib ........................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationTiming.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationTiming.attrib">
      <optional>
        <attribute name="begin"/>
      </optional>
      <optional>
        <attribute name="dur"/>
      </optional>
      <optional>
        <attribute name="end"/>
      </optional>
      <optional>
        <attribute name="min"/>
      </optional>
      <optional>
        <attribute name="max"/>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="restart" a:defaultValue="always">
          <choice>
            <value>always</value>
            <value>never</value>
            <value>whenNotActive</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="repeatCount"/>
      </optional>
      <optional>
        <attribute name="repeatDur"/>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="fill" a:defaultValue="remove">
          <choice>
            <value>remove</value>
            <value>freeze</value>
          </choice>
        </attribute>
      </optional>
      <ref name="SVG.AnimationTiming.extra.attrib"/>
    </define>
    <!-- SVG.AnimationValue.attrib ......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationValue.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationValue.attrib">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="calcMode" a:defaultValue="linear">
          <choice>
            <value>discrete</value>
            <value>linear</value>
            <value>paced</value>
            <value>spline</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="values"/>
      </optional>
      <optional>
        <attribute name="keyTimes"/>
      </optional>
      <optional>
        <attribute name="keySplines"/>
      </optional>
      <optional>
        <attribute name="from"/>
      </optional>
      <optional>
        <attribute name="to"/>
      </optional>
      <optional>
        <attribute name="by"/>
      </optional>
      <ref name="SVG.AnimationValue.extra.attrib"/>
    </define>
    <!-- SVG.AnimationAddtion.attrib ....................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationAddtion.extra.attrib">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.AnimationAddtion.attrib">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="additive" a:defaultValue="replace">
          <choice>
            <value>replace</value>
            <value>sum</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="accumulate" a:defaultValue="none">
          <choice>
            <value>none</value>
            <value>sum</value>
          </choice>
        </attribute>
      </optional>
      <ref name="SVG.AnimationAddtion.extra.attrib"/>
    </define>
    <!-- animate: Animate Element .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animate.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animate.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.animate.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="animate">
      <element name="animate">
        <ref name="attlist.animate"/>
        <ref name="SVG.animate.content"/>
      </element>
    </define>
    <!-- end of SVG.animate.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.animate" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.AnimationEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <ref name="SVG.Animation.attrib"/>
      <ref name="SVG.AnimationAttribute.attrib"/>
      <ref name="SVG.AnimationTiming.attrib"/>
      <ref name="SVG.AnimationValue.attrib"/>
      <ref name="SVG.AnimationAddtion.attrib"/>
    </define>
    <!-- end of SVG.animate.attlist -->
    <!-- set: Set Element .................................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.set.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.set.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.set.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="set">
      <element name="set">
        <ref name="attlist.set"/>
        <ref name="SVG.set.content"/>
      </element>
    </define>
    <!-- end of SVG.set.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.set" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.AnimationEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <ref name="SVG.Animation.attrib"/>
      <ref name="SVG.AnimationAttribute.attrib"/>
      <ref name="SVG.AnimationTiming.attrib"/>
      <optional>
        <attribute name="to"/>
      </optional>
    </define>
    <!-- end of SVG.set.attlist -->
    <!-- animateMotion: Animate Motion Element ............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animateMotion.extra.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animateMotion.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <optional>
        <ref name="mpath"/>
      </optional>
      <ref name="SVG.animateMotion.extra.content"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="animateMotion">
      <element name="animateMotion">
        <ref name="attlist.animateMotion"/>
        <ref name="SVG.animateMotion.content"/>
      </element>
    </define>
    <!-- end of SVG.animateMotion.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.animateMotion" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.AnimationEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <ref name="SVG.Animation.attrib"/>
      <ref name="SVG.AnimationTiming.attrib"/>
      <ref name="SVG.AnimationAddtion.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="calcMode" a:defaultValue="paced">
          <choice>
            <value>discrete</value>
            <value>linear</value>
            <value>paced</value>
            <value>spline</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="values"/>
      </optional>
      <optional>
        <attribute name="keyTimes"/>
      </optional>
      <optional>
        <attribute name="keySplines"/>
      </optional>
      <optional>
        <attribute name="from"/>
      </optional>
      <optional>
        <attribute name="to"/>
      </optional>
      <optional>
        <attribute name="by"/>
      </optional>
      <optional>
        <attribute name="path"/>
      </optional>
      <optional>
        <attribute name="keyPoints"/>
      </optional>
      <optional>
        <attribute name="rotate"/>
      </optional>
      <optional>
        <attribute name="origin"/>
      </optional>
    </define>
    <!-- end of SVG.animateMotion.attlist -->
    <!-- animateColor: Animate Color Element ............... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animateColor.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animateColor.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.animateColor.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="animateColor">
      <element name="animateColor">
        <ref name="attlist.animateColor"/>
        <ref name="SVG.animateColor.content"/>
      </element>
    </define>
    <!-- end of SVG.animateColor.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.animateColor" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.AnimationEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <ref name="SVG.Animation.attrib"/>
      <ref name="SVG.AnimationAttribute.attrib"/>
      <ref name="SVG.AnimationTiming.attrib"/>
      <ref name="SVG.AnimationValue.attrib"/>
      <ref name="SVG.AnimationAddtion.attrib"/>
    </define>
    <!-- end of SVG.animateColor.attlist -->
    <!-- animateTransform: Animate Transform Element ....... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animateTransform.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.animateTransform.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.animateTransform.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="animateTransform">
      <element name="animateTransform">
        <ref name="attlist.animateTransform"/>
        <ref name="SVG.animateTransform.content"/>
      </element>
    </define>
    <!-- end of SVG.animateTransform.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.animateTransform" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.AnimationEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <ref name="SVG.Animation.attrib"/>
      <ref name="SVG.AnimationAttribute.attrib"/>
      <ref name="SVG.AnimationTiming.attrib"/>
      <ref name="SVG.AnimationValue.attrib"/>
      <ref name="SVG.AnimationAddtion.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="translate">
          <choice>
            <value>translate</value>
            <value>scale</value>
            <value>rotate</value>
            <value>skewX</value>
            <value>skewY</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.animateTransform.attlist -->
    <!-- mpath: Motion Path Element ........................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.mpath.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.mpath.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.mpath.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mpath">
      <element name="mpath">
        <ref name="attlist.mpath"/>
        <ref name="SVG.mpath.content"/>
      </element>
    </define>
    <!-- end of SVG.mpath.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.mpath" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.XLinkRequired.attrib"/>
      <ref name="SVG.External.attrib"/>
    </define>
    <!-- end of SVG.mpath.attlist -->
    <!-- end of svg-animation.mod -->
    <!-- Font Module ................................................. -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Font Module ................................................... -->
    <!--
    file: svg-font.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Font//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-font.mod"
    
    .......................................................................
  -->
    <!--
    Font
    
       font, font-face, glyph, missing-glyph, hkern, vkern, font-face-src,
       font-face-uri, font-face-format, font-face-name, definition-src
    
    This module declares markup to provide support for template.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Font.class .................................... -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- font: Font Element ................................ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <ref name="font-face"/>
      <ref name="missing-glyph"/>
      <zeroOrMore>
        <choice>
          <ref name="glyph"/>
          <ref name="hkern"/>
          <ref name="vkern"/>
          <ref name="SVG.font.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="font">
      <element name="font">
        <ref name="attlist.font"/>
        <ref name="SVG.font.content"/>
      </element>
    </define>
    <!-- end of SVG.font.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.font" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="horiz-origin-x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="horiz-origin-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <attribute name="horiz-adv-x">
        <ref name="Number.datatype"/>
      </attribute>
      <optional>
        <attribute name="vert-origin-x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-origin-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-adv-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.font.attlist -->
    <!-- font-face: Font Face Element ...................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face.extra.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face.content">
      <zeroOrMore>
        <ref name="SVG.Description.class"/>
      </zeroOrMore>
      <optional>
        <ref name="font-face-src"/>
      </optional>
      <optional>
        <ref name="definition-src"/>
      </optional>
      <ref name="SVG.font-face.extra.content"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="font-face">
      <element name="font-face">
        <ref name="attlist.font-face"/>
        <ref name="SVG.font-face.content"/>
      </element>
    </define>
    <!-- end of SVG.font-face.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.font-face" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="font-family"/>
      </optional>
      <optional>
        <attribute name="font-style"/>
      </optional>
      <optional>
        <attribute name="font-variant"/>
      </optional>
      <optional>
        <attribute name="font-weight"/>
      </optional>
      <optional>
        <attribute name="font-stretch"/>
      </optional>
      <optional>
        <attribute name="font-size"/>
      </optional>
      <optional>
        <attribute name="unicode-range"/>
      </optional>
      <optional>
        <attribute name="units-per-em">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="panose-1"/>
      </optional>
      <optional>
        <attribute name="stemv">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="stemh">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="slope">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cap-height">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="x-height">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="accent-height">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="ascent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="descent">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="widths"/>
      </optional>
      <optional>
        <attribute name="bbox"/>
      </optional>
      <optional>
        <attribute name="ideographic">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="alphabetic">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="mathematical">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="hanging">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="v-ideographic">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="v-alphabetic">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="v-mathematical">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="v-hanging">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="underline-position">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="underline-thickness">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="strikethrough-position">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="strikethrough-thickness">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="overline-position">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="overline-thickness">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.font-face.attlist -->
    <!-- glyph: Glyph Element .............................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.glyph.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.glyph.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.glyph.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="glyph">
      <element name="glyph">
        <ref name="attlist.glyph"/>
        <ref name="SVG.glyph.content"/>
      </element>
    </define>
    <!-- end of SVG.glyph.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.glyph" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <optional>
        <attribute name="unicode"/>
      </optional>
      <optional>
        <attribute name="glyph-name"/>
      </optional>
      <optional>
        <attribute name="d">
          <ref name="PathData.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="orientation"/>
      </optional>
      <optional>
        <attribute name="arabic-form"/>
      </optional>
      <optional>
        <attribute name="lang">
          <ref name="LanguageCodes.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="horiz-adv-x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-origin-x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-origin-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-adv-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.glyph.attlist -->
    <!-- missing-glyph: Missing Glyph Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.missing-glyph.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.missing-glyph.content">
      <zeroOrMore>
        <choice>
          <ref name="SVG.Description.class"/>
          <ref name="SVG.Animation.class"/>
          <ref name="SVG.Structure.class"/>
          <ref name="SVG.Conditional.class"/>
          <ref name="SVG.Image.class"/>
          <ref name="SVG.Style.class"/>
          <ref name="SVG.Shape.class"/>
          <ref name="SVG.Text.class"/>
          <ref name="SVG.Marker.class"/>
          <ref name="SVG.ColorProfile.class"/>
          <ref name="SVG.Gradient.class"/>
          <ref name="SVG.Pattern.class"/>
          <ref name="SVG.Clip.class"/>
          <ref name="SVG.Mask.class"/>
          <ref name="SVG.Filter.class"/>
          <ref name="SVG.Cursor.class"/>
          <ref name="SVG.Hyperlink.class"/>
          <ref name="SVG.View.class"/>
          <ref name="SVG.Script.class"/>
          <ref name="SVG.Font.class"/>
          <ref name="SVG.missing-glyph.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="missing-glyph">
      <element name="missing-glyph">
        <ref name="attlist.missing-glyph"/>
        <ref name="SVG.missing-glyph.content"/>
      </element>
    </define>
    <!-- end of SVG.missing-glyph.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.missing-glyph" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <optional>
        <attribute name="d">
          <ref name="PathData.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="horiz-adv-x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-origin-x">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-origin-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="vert-adv-y">
          <ref name="Number.datatype"/>
        </attribute>
      </optional>
    </define>
    <!-- end of SVG.missing-glyph.attlist -->
    <!-- hkern: Horizontal Kerning Element ................. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.hkern.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="hkern">
      <element name="hkern">
        <ref name="attlist.hkern"/>
        <ref name="SVG.hkern.content"/>
      </element>
    </define>
    <!-- end of SVG.hkern.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.hkern" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="u1"/>
      </optional>
      <optional>
        <attribute name="g1"/>
      </optional>
      <optional>
        <attribute name="u2"/>
      </optional>
      <optional>
        <attribute name="g2"/>
      </optional>
      <attribute name="k">
        <ref name="Number.datatype"/>
      </attribute>
    </define>
    <!-- end of SVG.hkern.attlist -->
    <!-- vkern: Vertical Kerning Element ................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.vkern.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="vkern">
      <element name="vkern">
        <ref name="attlist.vkern"/>
        <ref name="SVG.vkern.content"/>
      </element>
    </define>
    <!-- end of SVG.vkern.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.vkern" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="u1"/>
      </optional>
      <optional>
        <attribute name="g1"/>
      </optional>
      <optional>
        <attribute name="u2"/>
      </optional>
      <optional>
        <attribute name="g2"/>
      </optional>
      <attribute name="k">
        <ref name="Number.datatype"/>
      </attribute>
    </define>
    <!-- end of SVG.vkern.attlist -->
    <!-- font-face-src: Font Face Source Element ........... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face-src.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face-src.content">
      <oneOrMore>
        <choice>
          <ref name="font-face-uri"/>
          <ref name="font-face-name"/>
          <ref name="SVG.font-face-src.extra.content"/>
        </choice>
      </oneOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="font-face-src">
      <element name="font-face-src">
        <ref name="attlist.font-face-src"/>
        <ref name="SVG.font-face-src.content"/>
      </element>
    </define>
    <!-- end of SVG.font-face-src.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.font-face-src" combine="interleave">
      <ref name="SVG.Core.attrib"/>
    </define>
    <!-- end of SVG.font-face-src.attlist -->
    <!-- font-face-uri: Font Face URI Element .............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face-uri.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face-uri.content">
      <zeroOrMore>
        <choice>
          <ref name="font-face-format"/>
          <ref name="SVG.font-face-uri.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="font-face-uri">
      <element name="font-face-uri">
        <ref name="attlist.font-face-uri"/>
        <ref name="SVG.font-face-uri.content"/>
      </element>
    </define>
    <!-- end of SVG.font-face-uri.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.font-face-uri" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.XLinkRequired.attrib"/>
    </define>
    <!-- end of SVG.font-face-uri.attlist -->
    <!-- font-face-format: Font Face Format Element ........ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face-format.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="font-face-format">
      <element name="font-face-format">
        <ref name="attlist.font-face-format"/>
        <ref name="SVG.font-face-format.content"/>
      </element>
    </define>
    <!-- end of SVG.font-face-format.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.font-face-format" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="string"/>
      </optional>
    </define>
    <!-- end of SVG.font-face-format.attlist -->
    <!-- font-face-name: Font Face Name Element ............ -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.font-face-name.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="font-face-name">
      <element name="font-face-name">
        <ref name="attlist.font-face-name"/>
        <ref name="SVG.font-face-name.content"/>
      </element>
    </define>
    <!-- end of SVG.font-face-name.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.font-face-name" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <optional>
        <attribute name="name"/>
      </optional>
    </define>
    <!-- end of SVG.font-face-name.attlist -->
    <!-- definition-src: Definition Source Element ......... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.definition-src.content">
      <empty/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="definition-src">
      <element name="definition-src">
        <ref name="attlist.definition-src"/>
        <ref name="SVG.definition-src.content"/>
      </element>
    </define>
    <!-- end of SVG.definition-src.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.definition-src" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.XLinkRequired.attrib"/>
    </define>
    <!-- end of SVG.definition-src.attlist -->
    <!-- end of svg-font.mod -->
    <!-- Extensibility Module ........................................ -->
    <!-- ....................................................................... -->
    <!-- SVG 1.1 Extensibility Module .......................................... -->
    <!--
    file: svg-extensibility.mod
    
    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
       PUBLIC "-//W3C//ELEMENTS SVG 1.1 Extensibility//EN"
       SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-extensibility.mod"
    
    .......................................................................
  -->
    <!--
    Extensibility
    
       foreignObject
    
    This module declares markup to provide support for extensibility.
  -->
    <!-- Qualified Names (Default) ......................... -->
    <!-- Attribute Collections (Default) ................... -->
    <!-- SVG.Extensibility.class ........................... -->
    <!-- SVG.Presentation.attrib ........................... -->
    <!-- foreignObject: Foreign Object Element ............. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.foreignObject.extra.content">
      <notAllowed/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="SVG.foreignObject.content">
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="SVG.foreignObject.extra.content"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="foreignObject">
      <element name="foreignObject">
        <ref name="attlist.foreignObject"/>
        <ref name="SVG.foreignObject.content"/>
      </element>
    </define>
    <!-- end of SVG.foreignObject.element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="attlist.foreignObject" combine="interleave">
      <ref name="SVG.Core.attrib"/>
      <ref name="SVG.Conditional.attrib"/>
      <ref name="SVG.Style.attrib"/>
      <ref name="SVG.Presentation.attrib"/>
      <ref name="SVG.GraphicalEvents.attrib"/>
      <ref name="SVG.External.attrib"/>
      <optional>
        <attribute name="x">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <ref name="Coordinate.datatype"/>
        </attribute>
      </optional>
      <attribute name="width">
        <ref name="Length.datatype"/>
      </attribute>
      <attribute name="height">
        <ref name="Length.datatype"/>
      </attribute>
      <optional>
        <attribute name="transform">
          <ref name="TransformList.datatype"/>
        </attribute>
      </optional>
    </define>
    <rng:define xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" name="tei_model.graphicLike" combine="choice">
      <rng:ref name="svg"/>
    </rng:define>
  </rng:div>
  <rng:div ns="http://www.w3.org/1998/Math/MathML" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
    <!-- MathML 2.0 DTD  ....................................................... -->
    <!-- file: mathml2.dtd -->
    <!--
    MathML 2.0 DTD
    
    This is the Mathematical Markup Language (MathML) 2.0, an XML
    application for describing mathematical notation and capturing
    both its structure and content.
    
    Copyright 1998-2002 World Wide Web Consortium
       (Massachusetts Institute of Technology, Institut National de
        Recherche en Informatique et en Automatique, Keio University).
        All Rights Reserved.
    
    Permission to use, copy, modify and distribute the MathML 2.0 DTD and
    its accompanying documentation for any purpose and without fee is
    hereby granted in perpetuity, provided that the above copyright notice
    and this paragraph appear in all copies.  The copyright holders make
    no representation about the suitability of the DTD for any purpose.
    
    It is provided "as is" without expressed or implied warranty.
    
       Revision:   $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $
    
    This entity may be identified by the PUBLIC and SYSTEM identifiers:
    
      PUBLIC "-//W3C//DTD MathML 2.0//EN"
      SYSTEM "mathml2.dtd"
    
    Revisions: editor and revision history at EOF
  -->
    <!-- MathML Qualified Names module ............................... -->
    <!--Start of import of mathml2-qname-1.mod.rng-->
    <rng:div>
      <!-- ....................................................................... -->
      <!-- MathML Qualified Names Module  ........................................ -->
      <!--
    file: mathml2-qname-1.mod
    
    This is the Mathematical Markup Language (MathML) 2.0, an XML 
    application for describing mathematical notation and capturing 
    both its structure and content.
    
    Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved.
    Revision: $Id: tei_allPlus.rng,v 1.7 2008/10/15 14:46:31 sorin Exp $ 
    
    This DTD module is identified by the PUBLIC and SYSTEM identifiers:
    
      PUBLIC "-//W3C//ENTITIES MathML 2.0 Qualified Names 1.0//EN"
      SYSTEM "mathml2-qname-1.mod"
    
    Revisions:
    (none)
    .......................................................................
  -->
      <!--
    MathML Qualified Names
    
    This module is contained in two parts, labeled Section 'A' and 'B':
    
      Section A declares parameter entities to support namespace-
      qualified names, namespace declarations, and name prefixing 
      for MathML.
    
      Section B declares parameter entities used to provide
      namespace-qualified names for all MathML element types.
    
    This module is derived from the XHTML Qualified Names Template module.
  -->
      <!-- Section A: XHTML XML Namespace Framework :::::::::::::::::::: -->
      <!-- XLink ............... -->
      <define xmlns="http://relaxng.org/ns/structure/1.0" name="math_XLINK.xmlns.attrib">
        <empty/>
      </define>
      <!-- MathML .............. -->
      <define xmlns="http://relaxng.org/ns/structure/1.0" name="MATHML.xmlns.extra.attrib">
        <ref name="math_XLINK.xmlns.attrib"/>
      </define>
      <define xmlns="http://relaxng.org/ns/structure/1.0" name="MATHML.xmlns.attrib">
        <empty/>
        <ref name="MATHML.xmlns.extra.attrib"/>
      </define>
    </rng:div>
    <!--End of import of mathml2-qname-1.mod.rng-->
    <!--
    if %NS.prefixed; is INCLUDE, include all NS attributes, 
    otherwise just those associated with MathML
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="MATHML.NamespaceDecl.attrib">
      <ref name="MATHML.xmlns.attrib"/>
    </define>
    <!-- Attributes shared by all elements  .......................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="MATHML.Common.attrib">
      <ref name="MATHML.NamespaceDecl.attrib"/>
      <optional>
        <attribute name="xlink:href"/>
      </optional>
      <optional>
        <attribute name="xlink:type"/>
      </optional>
      <optional>
        <attribute name="class"/>
      </optional>
      <optional>
        <attribute name="style"/>
      </optional>
      <optional>
        <attribute name="id">
          <data type="ID"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xref">
          <data type="IDREF"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="other"/>
      </optional>
    </define>
    <!-- Presentation element set  ................................... -->
    <!-- Attribute definitions -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-fontsize">
      <optional>
        <attribute name="fontsize"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-fontweight">
      <optional>
        <attribute name="fontweight">
          <choice>
            <value>normal</value>
            <value>bold</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-fontstyle">
      <optional>
        <attribute name="fontstyle">
          <choice>
            <value>normal</value>
            <value>italic</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-fontfamily">
      <optional>
        <attribute name="fontfamily"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-color">
      <optional>
        <attribute name="color"/>
      </optional>
    </define>
    <!-- MathML2 typographically-distinguished symbol attributes -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-mathvariant">
      <optional>
        <attribute name="mathvariant"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-mathsize">
      <optional>
        <attribute name="mathsize"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-mathcolor">
      <optional>
        <attribute name="mathcolor"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-mathbackground">
      <optional>
        <attribute name="mathbackground"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-fontinfo">
      <ref name="mathml.att-fontsize"/>
      <ref name="mathml.att-fontweight"/>
      <ref name="mathml.att-fontstyle"/>
      <ref name="mathml.att-fontfamily"/>
      <ref name="mathml.att-color"/>
      <ref name="mathml.att-mathvariant"/>
      <ref name="mathml.att-mathsize"/>
      <ref name="mathml.att-mathcolor"/>
      <ref name="mathml.att-mathbackground"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-form">
      <optional>
        <attribute name="form">
          <choice>
            <value>prefix</value>
            <value>infix</value>
            <value>postfix</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-fence">
      <optional>
        <attribute name="fence">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-separator">
      <optional>
        <attribute name="separator">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-lspace">
      <optional>
        <attribute name="lspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-rspace">
      <optional>
        <attribute name="rspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-stretchy">
      <optional>
        <attribute name="stretchy">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-symmetric">
      <optional>
        <attribute name="symmetric">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-maxsize">
      <optional>
        <attribute name="maxsize"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-minsize">
      <optional>
        <attribute name="minsize"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-largeop">
      <optional>
        <attribute name="largeop">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-movablelimits">
      <optional>
        <attribute name="movablelimits">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-accent">
      <optional>
        <attribute name="accent">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-opinfo">
      <ref name="mathml.att-form"/>
      <ref name="mathml.att-fence"/>
      <ref name="mathml.att-separator"/>
      <ref name="mathml.att-lspace"/>
      <ref name="mathml.att-rspace"/>
      <ref name="mathml.att-stretchy"/>
      <ref name="mathml.att-symmetric"/>
      <ref name="mathml.att-maxsize"/>
      <ref name="mathml.att-minsize"/>
      <ref name="mathml.att-largeop"/>
      <ref name="mathml.att-movablelimits"/>
      <ref name="mathml.att-accent"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-width">
      <optional>
        <attribute name="width"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-height">
      <optional>
        <attribute name="height"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-depth">
      <optional>
        <attribute name="depth"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-linebreak">
      <optional>
        <attribute name="linebreak"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-sizeinfo">
      <ref name="mathml.att-width"/>
      <ref name="mathml.att-height"/>
      <ref name="mathml.att-depth"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-lquote">
      <optional>
        <attribute name="lquote"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-rquote">
      <optional>
        <attribute name="rquote"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-linethickness">
      <optional>
        <attribute name="linethickness"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-scriptlevel">
      <optional>
        <attribute name="scriptlevel"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-displaystyle">
      <optional>
        <attribute name="displaystyle">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-scriptsizemultiplier">
      <optional>
        <attribute name="scriptsizemultiplier"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-scriptminsize">
      <optional>
        <attribute name="scriptminsize"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-background">
      <optional>
        <attribute name="background"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-veryverythinmathspace">
      <optional>
        <attribute name="veryverythinmathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-verythinmathspace">
      <optional>
        <attribute name="verythinmathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-thinmathspace">
      <optional>
        <attribute name="thinmathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-mediummathspace">
      <optional>
        <attribute name="mediummathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-thickmathspace">
      <optional>
        <attribute name="thickmathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-verythickmathspace">
      <optional>
        <attribute name="verythickmathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-veryverythickmathspace">
      <optional>
        <attribute name="veryverythickmathspace"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-open">
      <optional>
        <attribute name="open"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-close">
      <optional>
        <attribute name="close"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-separators">
      <optional>
        <attribute name="separators"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-subscriptshift">
      <optional>
        <attribute name="subscriptshift"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-superscriptshift">
      <optional>
        <attribute name="superscriptshift"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-accentunder">
      <optional>
        <attribute name="accentunder">
          <choice>
            <value>true</value>
            <value>false</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-align">
      <optional>
        <attribute name="align"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-numalign">
      <optional>
        <attribute name="numalign"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-denomalign">
      <optional>
        <attribute name="denomalign"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-rowalign">
      <optional>
        <attribute name="rowalign"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-columnalign">
      <optional>
        <attribute name="columnalign"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-columnwidth">
      <optional>
        <attribute name="columnwidth"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-groupalign">
      <optional>
        <attribute name="groupalign"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-alignmentscope">
      <optional>
        <attribute name="alignmentscope"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-rowspacing">
      <optional>
        <attribute name="rowspacing"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-columnspacing">
      <optional>
        <attribute name="columnspacing"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-rowlines">
      <optional>
        <attribute name="rowlines"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-columnlines">
      <optional>
        <attribute name="columnlines"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-frame">
      <optional>
        <attribute name="frame">
          <choice>
            <value>none</value>
            <value>solid</value>
            <value>dashed</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-side">
      <optional>
        <attribute name="side">
          <choice>
            <value>left</value>
            <value>right</value>
            <value>leftoverlap</value>
            <value>rightoverlap</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-framespacing">
      <optional>
        <attribute name="framespacing"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-equalrows">
      <optional>
        <attribute name="equalrows"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-equalcolumns">
      <optional>
        <attribute name="equalcolumns"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-tableinfo">
      <ref name="mathml.att-align"/>
      <ref name="mathml.att-rowalign"/>
      <ref name="mathml.att-columnalign"/>
      <ref name="mathml.att-columnwidth"/>
      <ref name="mathml.att-groupalign"/>
      <ref name="mathml.att-alignmentscope"/>
      <ref name="mathml.att-side"/>
      <ref name="mathml.att-rowspacing"/>
      <ref name="mathml.att-columnspacing"/>
      <ref name="mathml.att-rowlines"/>
      <ref name="mathml.att-columnlines"/>
      <ref name="mathml.att-width"/>
      <ref name="mathml.att-frame"/>
      <ref name="mathml.att-framespacing"/>
      <ref name="mathml.att-equalrows"/>
      <ref name="mathml.att-equalcolumns"/>
      <ref name="mathml.att-displaystyle"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-rowspan">
      <optional>
        <attribute name="rowspan"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-columnspan">
      <optional>
        <attribute name="columnspan"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-edge">
      <optional>
        <attribute name="edge">
          <choice>
            <value>left</value>
            <value>right</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-actiontype">
      <optional>
        <attribute name="actiontype"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-selection">
      <optional>
        <attribute name="selection"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-name">
      <optional>
        <attribute name="name"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-alt">
      <optional>
        <attribute name="alt"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-index">
      <optional>
        <attribute name="index"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-bevelled">
      <optional>
        <attribute name="bevelled"/>
      </optional>
    </define>
    <!-- Presentation schemata with content -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ptoken">
      <choice>
        <ref name="mathml.mi"/>
        <ref name="mathml.mn"/>
        <ref name="mathml.mo"/>
        <ref name="mathml.mtext"/>
        <ref name="mathml.ms"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mi" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-fontinfo"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mn" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-fontinfo"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mo" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-fontinfo"/>
      <ref name="mathml.att-opinfo"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mtext" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-fontinfo"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-ms" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-fontinfo"/>
      <ref name="mathml.att-lquote"/>
      <ref name="mathml.att-rquote"/>
    </define>
    <!-- Empty presentation schemata -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.petoken">
      <ref name="mathml.mspace"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mspace">
      <element name="mspace">
        <ref name="mathml.attlist-mspace"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mspace"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mspace" combine="interleave">
      <ref name="mathml.att-sizeinfo"/>
      <ref name="mathml.att-linebreak"/>
      <ref name="MATHML.Common.attrib"/>
    </define>
    <!-- Presentation: general layout schemata -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.pgenschema">
      <choice>
        <ref name="mathml.mrow"/>
        <ref name="mathml.mfrac"/>
        <ref name="mathml.msqrt"/>
        <ref name="mathml.mroot"/>
        <ref name="mathml.menclose"/>
        <ref name="mathml.mstyle"/>
        <ref name="mathml.merror"/>
        <ref name="mathml.mpadded"/>
        <ref name="mathml.mphantom"/>
        <ref name="mathml.mfenced"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mrow" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mfrac" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-bevelled"/>
      <ref name="mathml.att-numalign"/>
      <ref name="mathml.att-denomalign"/>
      <ref name="mathml.att-linethickness"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-msqrt" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-menclose" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="notation" a:defaultValue="longdiv"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mroot" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mstyle" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-fontinfo"/>
      <ref name="mathml.att-opinfo"/>
      <ref name="mathml.att-lquote"/>
      <ref name="mathml.att-rquote"/>
      <ref name="mathml.att-linethickness"/>
      <ref name="mathml.att-scriptlevel"/>
      <ref name="mathml.att-scriptsizemultiplier"/>
      <ref name="mathml.att-scriptminsize"/>
      <ref name="mathml.att-background"/>
      <ref name="mathml.att-veryverythinmathspace"/>
      <ref name="mathml.att-verythinmathspace"/>
      <ref name="mathml.att-thinmathspace"/>
      <ref name="mathml.att-mediummathspace"/>
      <ref name="mathml.att-thickmathspace"/>
      <ref name="mathml.att-verythickmathspace"/>
      <ref name="mathml.att-veryverythickmathspace"/>
      <ref name="mathml.att-open"/>
      <ref name="mathml.att-close"/>
      <ref name="mathml.att-separators"/>
      <ref name="mathml.att-subscriptshift"/>
      <ref name="mathml.att-superscriptshift"/>
      <ref name="mathml.att-accentunder"/>
      <ref name="mathml.att-tableinfo"/>
      <ref name="mathml.att-rowspan"/>
      <ref name="mathml.att-columnspan"/>
      <ref name="mathml.att-edge"/>
      <ref name="mathml.att-actiontype"/>
      <ref name="mathml.att-selection"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-merror" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mpadded" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-sizeinfo"/>
      <ref name="mathml.att-lspace"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mphantom" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mfenced" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-open"/>
      <ref name="mathml.att-close"/>
      <ref name="mathml.att-separators"/>
    </define>
    <!-- Presentation layout schemata: scripts and limits -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.pscrschema">
      <choice>
        <ref name="mathml.msub"/>
        <ref name="mathml.msup"/>
        <ref name="mathml.msubsup"/>
        <ref name="mathml.munder"/>
        <ref name="mathml.mover"/>
        <ref name="mathml.munderover"/>
        <ref name="mathml.mmultiscripts"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-msub" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-subscriptshift"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-msup" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-superscriptshift"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-msubsup" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-subscriptshift"/>
      <ref name="mathml.att-superscriptshift"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-munder" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-accentunder"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mover" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-accent"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-munderover" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-accent"/>
      <ref name="mathml.att-accentunder"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mmultiscripts" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-subscriptshift"/>
      <ref name="mathml.att-superscriptshift"/>
    </define>
    <!-- Presentation layout schemata: empty elements for scripts -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.pscreschema">
      <choice>
        <ref name="mathml.mprescripts"/>
        <ref name="mathml.none"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mprescripts">
      <element name="mprescripts">
        <ref name="mathml.attlist-mprescripts"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mprescripts"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mprescripts" combine="interleave">
      <ref name="MATHML.xmlns.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.none">
      <element name="none">
        <ref name="mathml.attlist-none"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.none"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-none" combine="interleave">
      <ref name="MATHML.xmlns.attrib"/>
    </define>
    <!-- Presentation layout schemata: tables -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ptabschema">
      <choice>
        <ref name="mathml.mtable"/>
        <ref name="mathml.mtr"/>
        <ref name="mathml.mlabeledtr"/>
        <ref name="mathml.mtd"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mtable" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-tableinfo"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mtr" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-rowalign"/>
      <ref name="mathml.att-columnalign"/>
      <ref name="mathml.att-groupalign"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mlabeledtr" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-rowalign"/>
      <ref name="mathml.att-columnalign"/>
      <ref name="mathml.att-groupalign"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mtd" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-rowalign"/>
      <ref name="mathml.att-columnalign"/>
      <ref name="mathml.att-groupalign"/>
      <ref name="mathml.att-rowspan"/>
      <ref name="mathml.att-columnspan"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.plschema">
      <choice>
        <ref name="mathml.pgenschema"/>
        <ref name="mathml.pscrschema"/>
        <ref name="mathml.ptabschema"/>
      </choice>
    </define>
    <!-- Empty presentation layout schemata -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.peschema">
      <choice>
        <ref name="mathml.maligngroup"/>
        <ref name="mathml.malignmark"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.malignmark">
      <element name="malignmark">
        <ref name="mathml.attlist-malignmark"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.malignmark"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-malignmark" combine="interleave">
      <ref name="mathml.att-edge"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.maligngroup">
      <element name="maligngroup">
        <ref name="mathml.attlist-maligngroup"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.maligngroup"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-maligngroup" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-groupalign"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mglyph">
      <element name="mglyph">
        <ref name="mathml.attlist-mglyph"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mglyph"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mglyph" combine="interleave">
      <ref name="mathml.att-alt"/>
      <ref name="mathml.att-fontfamily"/>
      <ref name="mathml.att-index"/>
    </define>
    <!-- Presentation action schemata -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.pactions">
      <ref name="mathml.maction"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-maction" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-actiontype"/>
      <ref name="mathml.att-selection"/>
    </define>
    <!--
    The following entity for substitution into
    content constructs excludes elements that
    are not valid as expressions.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.PresInCont">
      <choice>
        <ref name="mathml.ptoken"/>
        <ref name="mathml.petoken"/>
        <ref name="mathml.plschema"/>
        <ref name="mathml.peschema"/>
        <ref name="mathml.pactions"/>
      </choice>
    </define>
    <!-- Presentation entity: all presentation constructs -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.Presentation">
      <choice>
        <ref name="mathml.ptoken"/>
        <ref name="mathml.petoken"/>
        <ref name="mathml.pscreschema"/>
        <ref name="mathml.plschema"/>
        <ref name="mathml.peschema"/>
        <ref name="mathml.pactions"/>
      </choice>
    </define>
    <!-- Content element set  ........................................ -->
    <!-- Attribute definitions -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-base">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="base" a:defaultValue="10"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-closure">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="closure" a:defaultValue="closed"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-definition">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="definitionURL" a:defaultValue=""/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-encoding">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="encoding" a:defaultValue=""/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-nargs">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="nargs" a:defaultValue="1"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-occurrence">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="occurrence" a:defaultValue="function-model"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-order">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="order" a:defaultValue="numeric"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-scope">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scope" a:defaultValue="local"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-type">
      <optional>
        <attribute name="type"/>
      </optional>
    </define>
    <!-- Content elements: leaf nodes -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ctoken">
      <choice>
        <ref name="mathml.csymbol"/>
        <ref name="mathml.ci"/>
        <ref name="mathml.cn"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-ci" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-type"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-csymbol" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-encoding"/>
      <ref name="mathml.att-type"/>
      <ref name="mathml.att-definition"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-cn" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-type"/>
      <ref name="mathml.att-base"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <!-- Content elements: specials -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cspecial">
      <choice>
        <ref name="mathml.apply"/>
        <ref name="mathml.reln"/>
        <ref name="mathml.lambda"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-apply" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-reln" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-lambda" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <!-- Content elements: others -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cother">
      <choice>
        <ref name="mathml.condition"/>
        <ref name="mathml.declare"/>
        <ref name="mathml.sep"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-condition" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-declare" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-type"/>
      <ref name="mathml.att-scope"/>
      <ref name="mathml.att-nargs"/>
      <ref name="mathml.att-occurrence"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sep">
      <element name="sep">
        <ref name="mathml.attlist-sep"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sep"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sep" combine="interleave">
      <ref name="MATHML.xmlns.attrib"/>
    </define>
    <!-- Content elements: semantic mapping -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csemantics">
      <choice>
        <ref name="mathml.semantics"/>
        <ref name="mathml.annotation"/>
        <ref name="mathml.annotation-xml"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-semantics" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-annotation" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-annotation-xml" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <!-- Content elements: constructors -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cconstructor">
      <choice>
        <ref name="mathml.interval"/>
        <ref name="mathml.list"/>
        <ref name="mathml.matrix"/>
        <ref name="mathml.matrixrow"/>
        <ref name="mathml.set"/>
        <ref name="mathml.vector"/>
        <ref name="mathml.piecewise"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-interval" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-closure"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-set" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-type"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-list" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-order"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-vector" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-matrix" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-matrixrow" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-piecewise" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-piece" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-otherwise" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <!-- Content elements: symbols -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.c0ary">
      <choice>
        <ref name="mathml.integers"/>
        <ref name="mathml.reals"/>
        <ref name="mathml.rationals"/>
        <ref name="mathml.naturalnumbers"/>
        <ref name="mathml.complexes"/>
        <ref name="mathml.primes"/>
        <ref name="mathml.exponentiale"/>
        <ref name="mathml.imaginaryi"/>
        <ref name="mathml.notanumber"/>
        <ref name="mathml.true"/>
        <ref name="mathml.false"/>
        <ref name="mathml.emptyset"/>
        <ref name="mathml.pi"/>
        <ref name="mathml.eulergamma"/>
        <ref name="mathml.infinity"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.integers">
      <element name="integers">
        <ref name="mathml.attlist-integers"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.integers"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-integers" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.reals">
      <element name="reals">
        <ref name="mathml.attlist-reals"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.reals"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-reals" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.rationals">
      <element name="rationals">
        <ref name="mathml.attlist-rationals"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.rationals"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-rationals" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.naturalnumbers">
      <element name="naturalnumbers">
        <ref name="mathml.attlist-naturalnumbers"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.naturalnumbers"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-naturalnumbers" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.complexes">
      <element name="complexes">
        <ref name="mathml.attlist-complexes"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.complexes"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-complexes" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.primes">
      <element name="primes">
        <ref name="mathml.attlist-primes"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.primes"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-primes" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.exponentiale">
      <element name="exponentiale">
        <ref name="mathml.attlist-exponentiale"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.exponentiale"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-exponentiale" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.imaginaryi">
      <element name="imaginaryi">
        <ref name="mathml.attlist-imaginaryi"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.imaginaryi"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-imaginaryi" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.notanumber">
      <element name="notanumber">
        <ref name="mathml.attlist-notanumber"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.notanumber"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-notanumber" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.true">
      <element name="true">
        <ref name="mathml.attlist-true"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.true"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-true" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.false">
      <element name="false">
        <ref name="mathml.attlist-false"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.false"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-false" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.emptyset">
      <element name="emptyset">
        <ref name="mathml.attlist-emptyset"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.emptyset"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-emptyset" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.pi">
      <element name="pi">
        <ref name="mathml.attlist-pi"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.pi"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-pi" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.eulergamma">
      <element name="eulergamma">
        <ref name="mathml.attlist-eulergamma"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.eulergamma"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-eulergamma" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.infinity">
      <element name="infinity">
        <ref name="mathml.attlist-infinity"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.infinity"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-infinity" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <!-- Content elements: operators -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cfuncop1ary">
      <choice>
        <ref name="mathml.inverse"/>
        <ref name="mathml.ident"/>
        <ref name="mathml.domain"/>
        <ref name="mathml.codomain"/>
        <ref name="mathml.image"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.inverse">
      <element name="inverse">
        <ref name="mathml.attlist-inverse"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.inverse"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-inverse" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.domain">
      <element name="domain">
        <ref name="mathml.attlist-domain"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.domain"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-domain" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.codomain">
      <element name="codomain">
        <ref name="mathml.attlist-codomain"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.codomain"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-codomain" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.image">
      <element name="image">
        <ref name="mathml.attlist-image"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.image"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-image" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cfuncopnary">
      <choice>
        <ref name="mathml.fn"/>
        <ref name="mathml.compose"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-fn" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ident">
      <element name="ident">
        <ref name="mathml.attlist-ident"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.ident"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-ident" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.compose">
      <element name="compose">
        <ref name="mathml.attlist-compose"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.compose"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-compose" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.carithop1ary">
      <choice>
        <ref name="mathml.abs"/>
        <ref name="mathml.conjugate"/>
        <ref name="mathml.exp"/>
        <ref name="mathml.factorial"/>
        <ref name="mathml.arg"/>
        <ref name="mathml.real"/>
        <ref name="mathml.imaginary"/>
        <ref name="mathml.floor"/>
        <ref name="mathml.ceiling"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.exp">
      <element name="exp">
        <ref name="mathml.attlist-exp"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.exp"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-exp" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.abs">
      <element name="abs">
        <ref name="mathml.attlist-abs"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.abs"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-abs" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arg">
      <element name="arg">
        <ref name="mathml.attlist-arg"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arg"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arg" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.real">
      <element name="real">
        <ref name="mathml.attlist-real"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.real"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-real" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.imaginary">
      <element name="imaginary">
        <ref name="mathml.attlist-imaginary"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.imaginary"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-imaginary" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.conjugate">
      <element name="conjugate">
        <ref name="mathml.attlist-conjugate"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.conjugate"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-conjugate" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.factorial">
      <element name="factorial">
        <ref name="mathml.attlist-factorial"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.factorial"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-factorial" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.floor">
      <element name="floor">
        <ref name="mathml.attlist-floor"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.floor"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-floor" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ceiling">
      <element name="ceiling">
        <ref name="mathml.attlist-ceiling"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.ceiling"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-ceiling" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.carithop1or2ary">
      <ref name="mathml.minus"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.minus">
      <element name="minus">
        <ref name="mathml.attlist-minus"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.minus"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-minus" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.carithop2ary">
      <choice>
        <ref name="mathml.quotient"/>
        <ref name="mathml.divide"/>
        <ref name="mathml.power"/>
        <ref name="mathml.rem"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.quotient">
      <element name="quotient">
        <ref name="mathml.attlist-quotient"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.quotient"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-quotient" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.divide">
      <element name="divide">
        <ref name="mathml.attlist-divide"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.divide"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-divide" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.power">
      <element name="power">
        <ref name="mathml.attlist-power"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.power"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-power" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.rem">
      <element name="rem">
        <ref name="mathml.attlist-rem"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.rem"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-rem" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.carithopnary">
      <choice>
        <ref name="mathml.plus"/>
        <ref name="mathml.times"/>
        <ref name="mathml.max"/>
        <ref name="mathml.min"/>
        <ref name="mathml.gcd"/>
        <ref name="mathml.lcm"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.plus">
      <element name="plus">
        <ref name="mathml.attlist-plus"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.plus"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-plus" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.max">
      <element name="max">
        <ref name="mathml.attlist-max"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.max"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-max" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.min">
      <element name="min">
        <ref name="mathml.attlist-min"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.min"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-min" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.times">
      <element name="times">
        <ref name="mathml.attlist-times"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.times"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-times" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.gcd">
      <element name="gcd">
        <ref name="mathml.attlist-gcd"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.gcd"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-gcd" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.lcm">
      <element name="lcm">
        <ref name="mathml.attlist-lcm"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.lcm"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-lcm" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.carithoproot">
      <ref name="mathml.root"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.root">
      <element name="root">
        <ref name="mathml.attlist-root"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.root"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-root" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clogicopquant">
      <choice>
        <ref name="mathml.exists"/>
        <ref name="mathml.forall"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.exists">
      <element name="exists">
        <ref name="mathml.attlist-exists"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.exists"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-exists" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.forall">
      <element name="forall">
        <ref name="mathml.attlist-forall"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.forall"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-forall" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clogicopnary">
      <choice>
        <ref name="mathml.and"/>
        <ref name="mathml.or"/>
        <ref name="mathml.xor"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.and">
      <element name="and">
        <ref name="mathml.attlist-and"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.and"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-and" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.or">
      <element name="or">
        <ref name="mathml.attlist-or"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.or"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-or" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.xor">
      <element name="xor">
        <ref name="mathml.attlist-xor"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.xor"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-xor" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clogicop1ary">
      <ref name="mathml.not"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.not">
      <element name="not">
        <ref name="mathml.attlist-not"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.not"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-not" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clogicop2ary">
      <ref name="mathml.implies"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.implies">
      <element name="implies">
        <ref name="mathml.attlist-implies"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.implies"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-implies" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ccalcop">
      <choice>
        <ref name="mathml.log"/>
        <ref name="mathml.int"/>
        <ref name="mathml.diff"/>
        <ref name="mathml.partialdiff"/>
        <ref name="mathml.divergence"/>
        <ref name="mathml.grad"/>
        <ref name="mathml.curl"/>
        <ref name="mathml.laplacian"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.divergence">
      <element name="divergence">
        <ref name="mathml.attlist-divergence"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.divergence"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-divergence" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.grad">
      <element name="grad">
        <ref name="mathml.attlist-grad"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.grad"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-grad" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.curl">
      <element name="curl">
        <ref name="mathml.attlist-curl"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.curl"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-curl" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.laplacian">
      <element name="laplacian">
        <ref name="mathml.attlist-laplacian"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.laplacian"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-laplacian" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.log">
      <element name="log">
        <ref name="mathml.attlist-log"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.log"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-log" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.int">
      <element name="int">
        <ref name="mathml.attlist-int"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.int"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-int" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.diff">
      <element name="diff">
        <ref name="mathml.attlist-diff"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.diff"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-diff" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.partialdiff">
      <element name="partialdiff">
        <ref name="mathml.attlist-partialdiff"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.partialdiff"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-partialdiff" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ccalcop1ary">
      <ref name="mathml.ln"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ln">
      <element name="ln">
        <ref name="mathml.attlist-ln"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.ln"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-ln" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csetop1ary">
      <ref name="mathml.card"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.card">
      <element name="card">
        <ref name="mathml.attlist-card"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.card"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-card" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csetop2ary">
      <ref name="mathml.setdiff"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.setdiff">
      <element name="setdiff">
        <ref name="mathml.attlist-setdiff"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.setdiff"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-setdiff" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csetopnary">
      <choice>
        <ref name="mathml.union"/>
        <ref name="mathml.intersect"/>
        <ref name="mathml.cartesianproduct"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.union">
      <element name="union">
        <ref name="mathml.attlist-union"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.union"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-union" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.intersect">
      <element name="intersect">
        <ref name="mathml.attlist-intersect"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.intersect"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-intersect" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cartesianproduct">
      <element name="cartesianproduct">
        <ref name="mathml.attlist-cartesianproduct"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.cartesianproduct"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-cartesianproduct" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cseqop">
      <choice>
        <ref name="mathml.sum"/>
        <ref name="mathml.product"/>
        <ref name="mathml.limit"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sum">
      <element name="sum">
        <ref name="mathml.attlist-sum"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sum"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sum" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.product">
      <element name="product">
        <ref name="mathml.attlist-product"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.product"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-product" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.limit">
      <element name="limit">
        <ref name="mathml.attlist-limit"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.limit"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-limit" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ctrigop">
      <choice>
        <ref name="mathml.sin"/>
        <ref name="mathml.cos"/>
        <ref name="mathml.tan"/>
        <ref name="mathml.sec"/>
        <ref name="mathml.csc"/>
        <ref name="mathml.cot"/>
        <ref name="mathml.sinh"/>
        <ref name="mathml.cosh"/>
        <ref name="mathml.tanh"/>
        <ref name="mathml.sech"/>
        <ref name="mathml.csch"/>
        <ref name="mathml.coth"/>
        <ref name="mathml.arcsin"/>
        <ref name="mathml.arccos"/>
        <ref name="mathml.arctan"/>
        <ref name="mathml.arccosh"/>
        <ref name="mathml.arccot"/>
        <ref name="mathml.arccoth"/>
        <ref name="mathml.arccsc"/>
        <ref name="mathml.arccsch"/>
        <ref name="mathml.arcsec"/>
        <ref name="mathml.arcsech"/>
        <ref name="mathml.arcsinh"/>
        <ref name="mathml.arctanh"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sin">
      <element name="sin">
        <ref name="mathml.attlist-sin"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sin"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sin" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cos">
      <element name="cos">
        <ref name="mathml.attlist-cos"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.cos"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-cos" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.tan">
      <element name="tan">
        <ref name="mathml.attlist-tan"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.tan"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-tan" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sec">
      <element name="sec">
        <ref name="mathml.attlist-sec"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sec"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sec" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csc">
      <element name="csc">
        <ref name="mathml.attlist-csc"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.csc"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-csc" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cot">
      <element name="cot">
        <ref name="mathml.attlist-cot"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.cot"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-cot" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sinh">
      <element name="sinh">
        <ref name="mathml.attlist-sinh"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sinh"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sinh" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cosh">
      <element name="cosh">
        <ref name="mathml.attlist-cosh"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.cosh"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-cosh" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.tanh">
      <element name="tanh">
        <ref name="mathml.attlist-tanh"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.tanh"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-tanh" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sech">
      <element name="sech">
        <ref name="mathml.attlist-sech"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sech"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sech" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csch">
      <element name="csch">
        <ref name="mathml.attlist-csch"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.csch"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-csch" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.coth">
      <element name="coth">
        <ref name="mathml.attlist-coth"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.coth"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-coth" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arcsin">
      <element name="arcsin">
        <ref name="mathml.attlist-arcsin"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arcsin"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arcsin" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arccos">
      <element name="arccos">
        <ref name="mathml.attlist-arccos"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arccos"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arccos" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arctan">
      <element name="arctan">
        <ref name="mathml.attlist-arctan"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arctan"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arctan" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arccosh">
      <element name="arccosh">
        <ref name="mathml.attlist-arccosh"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arccosh"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arccosh" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arccot">
      <element name="arccot">
        <ref name="mathml.attlist-arccot"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arccot"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arccot" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arccoth">
      <element name="arccoth">
        <ref name="mathml.attlist-arccoth"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arccoth"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arccoth" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arccsc">
      <element name="arccsc">
        <ref name="mathml.attlist-arccsc"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arccsc"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arccsc" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arccsch">
      <element name="arccsch">
        <ref name="mathml.attlist-arccsch"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arccsch"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arccsch" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arcsec">
      <element name="arcsec">
        <ref name="mathml.attlist-arcsec"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arcsec"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arcsec" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arcsech">
      <element name="arcsech">
        <ref name="mathml.attlist-arcsech"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arcsech"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arcsech" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arcsinh">
      <element name="arcsinh">
        <ref name="mathml.attlist-arcsinh"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arcsinh"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arcsinh" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.arctanh">
      <element name="arctanh">
        <ref name="mathml.attlist-arctanh"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.arctanh"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-arctanh" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cstatopnary">
      <choice>
        <ref name="mathml.mean"/>
        <ref name="mathml.sdev"/>
        <ref name="mathml.variance"/>
        <ref name="mathml.median"/>
        <ref name="mathml.mode"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mean">
      <element name="mean">
        <ref name="mathml.attlist-mean"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mean"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mean" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.sdev">
      <element name="sdev">
        <ref name="mathml.attlist-sdev"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.sdev"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-sdev" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.variance">
      <element name="variance">
        <ref name="mathml.attlist-variance"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.variance"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-variance" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.median">
      <element name="median">
        <ref name="mathml.attlist-median"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.median"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-median" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mode">
      <element name="mode">
        <ref name="mathml.attlist-mode"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mode"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-mode" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cstatopmoment">
      <ref name="mathml.moment"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.moment">
      <element name="moment">
        <ref name="mathml.attlist-moment"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.moment"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-moment" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clalgop1ary">
      <choice>
        <ref name="mathml.determinant"/>
        <ref name="mathml.transpose"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.determinant">
      <element name="determinant">
        <ref name="mathml.attlist-determinant"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.determinant"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-determinant" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.transpose">
      <element name="transpose">
        <ref name="mathml.attlist-transpose"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.transpose"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-transpose" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clalgop2ary">
      <choice>
        <ref name="mathml.vectorproduct"/>
        <ref name="mathml.scalarproduct"/>
        <ref name="mathml.outerproduct"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.vectorproduct">
      <element name="vectorproduct">
        <ref name="mathml.attlist-vectorproduct"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.vectorproduct"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-vectorproduct" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.scalarproduct">
      <element name="scalarproduct">
        <ref name="mathml.attlist-scalarproduct"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.scalarproduct"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-scalarproduct" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.outerproduct">
      <element name="outerproduct">
        <ref name="mathml.attlist-outerproduct"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.outerproduct"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-outerproduct" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.clalgopnary">
      <ref name="mathml.selector"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.selector">
      <element name="selector">
        <ref name="mathml.attlist-selector"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.selector"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-selector" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <!-- Content elements: relations -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cgenrel2ary">
      <choice>
        <ref name="mathml.neq"/>
        <ref name="mathml.factorof"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.neq">
      <element name="neq">
        <ref name="mathml.attlist-neq"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.neq"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-neq" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.factorof">
      <element name="factorof">
        <ref name="mathml.attlist-factorof"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.factorof"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-factorof" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cgenrelnary">
      <choice>
        <ref name="mathml.eq"/>
        <ref name="mathml.leq"/>
        <ref name="mathml.lt"/>
        <ref name="mathml.geq"/>
        <ref name="mathml.gt"/>
        <ref name="mathml.equivalent"/>
        <ref name="mathml.approx"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.eq">
      <element name="eq">
        <ref name="mathml.attlist-eq"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.eq"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-eq" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.equivalent">
      <element name="equivalent">
        <ref name="mathml.attlist-equivalent"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.equivalent"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-equivalent" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.approx">
      <element name="approx">
        <ref name="mathml.attlist-approx"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.approx"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-approx" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.gt">
      <element name="gt">
        <ref name="mathml.attlist-gt"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.gt"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-gt" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.lt">
      <element name="lt">
        <ref name="mathml.attlist-lt"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.lt"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-lt" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.geq">
      <element name="geq">
        <ref name="mathml.attlist-geq"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.geq"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-geq" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.leq">
      <element name="leq">
        <ref name="mathml.attlist-leq"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.leq"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-leq" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csetrel2ary">
      <choice>
        <ref name="mathml.in"/>
        <ref name="mathml.notin"/>
        <ref name="mathml.notsubset"/>
        <ref name="mathml.notprsubset"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.in">
      <element name="in">
        <ref name="mathml.attlist-in"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.in"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-in" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.notin">
      <element name="notin">
        <ref name="mathml.attlist-notin"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.notin"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-notin" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.notsubset">
      <element name="notsubset">
        <ref name="mathml.attlist-notsubset"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.notsubset"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-notsubset" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.notprsubset">
      <element name="notprsubset">
        <ref name="mathml.attlist-notprsubset"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.notprsubset"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-notprsubset" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csetrelnary">
      <choice>
        <ref name="mathml.subset"/>
        <ref name="mathml.prsubset"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.subset">
      <element name="subset">
        <ref name="mathml.attlist-subset"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.subset"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-subset" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.prsubset">
      <element name="prsubset">
        <ref name="mathml.attlist-prsubset"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.prsubset"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-prsubset" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cseqrel2ary">
      <ref name="mathml.tendsto"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.tendsto">
      <element name="tendsto">
        <ref name="mathml.attlist-tendsto"/>
        <empty/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.tendsto"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-tendsto" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-definition"/>
      <ref name="mathml.att-encoding"/>
      <ref name="mathml.att-type"/>
    </define>
    <!-- Content elements: quantifiers -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cquantifier">
      <choice>
        <ref name="mathml.lowlimit"/>
        <ref name="mathml.uplimit"/>
        <ref name="mathml.bvar"/>
        <ref name="mathml.degree"/>
        <ref name="mathml.logbase"/>
        <ref name="mathml.momentabout"/>
        <ref name="mathml.domainofapplication"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-lowlimit" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-uplimit" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-bvar" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-degree" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-logbase" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-momentabout" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-domainofapplication" combine="interleave">
      <ref name="MATHML.Common.attrib"/>
    </define>
    <!-- Operator groups -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cop1ary">
      <choice>
        <ref name="mathml.cfuncop1ary"/>
        <ref name="mathml.carithop1ary"/>
        <ref name="mathml.clogicop1ary"/>
        <ref name="mathml.ccalcop1ary"/>
        <ref name="mathml.ctrigop"/>
        <ref name="mathml.clalgop1ary"/>
        <ref name="mathml.csetop1ary"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cop2ary">
      <choice>
        <ref name="mathml.carithop2ary"/>
        <ref name="mathml.clogicop2ary"/>
        <ref name="mathml.clalgop2ary"/>
        <ref name="mathml.csetop2ary"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.copnary">
      <choice>
        <ref name="mathml.cfuncopnary"/>
        <ref name="mathml.carithopnary"/>
        <ref name="mathml.clogicopnary"/>
        <ref name="mathml.csetopnary"/>
        <ref name="mathml.cstatopnary"/>
        <ref name="mathml.clalgopnary"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.copmisc">
      <choice>
        <ref name="mathml.carithoproot"/>
        <ref name="mathml.carithop1or2ary"/>
        <ref name="mathml.ccalcop"/>
        <ref name="mathml.cseqop"/>
        <ref name="mathml.cstatopmoment"/>
        <ref name="mathml.clogicopquant"/>
      </choice>
    </define>
    <!-- Relation groups -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.crel2ary">
      <choice>
        <ref name="mathml.cgenrel2ary"/>
        <ref name="mathml.csetrel2ary"/>
        <ref name="mathml.cseqrel2ary"/>
      </choice>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.crelnary">
      <choice>
        <ref name="mathml.cgenrelnary"/>
        <ref name="mathml.csetrelnary"/>
      </choice>
    </define>
    <!-- Content constructs: all -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.Content">
      <choice>
        <ref name="mathml.ctoken"/>
        <ref name="mathml.cspecial"/>
        <ref name="mathml.cother"/>
        <ref name="mathml.csemantics"/>
        <ref name="mathml.c0ary"/>
        <ref name="mathml.cconstructor"/>
        <ref name="mathml.cquantifier"/>
        <ref name="mathml.cop1ary"/>
        <ref name="mathml.cop2ary"/>
        <ref name="mathml.copnary"/>
        <ref name="mathml.copmisc"/>
        <ref name="mathml.crel2ary"/>
        <ref name="mathml.crelnary"/>
      </choice>
    </define>
    <!-- Content constructs for substitution in presentation structures -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ContInPres">
      <choice>
        <ref name="mathml.ci"/>
        <ref name="mathml.csymbol"/>
        <ref name="mathml.cn"/>
        <ref name="mathml.c0ary"/>
        <ref name="mathml.apply"/>
        <ref name="mathml.fn"/>
        <ref name="mathml.lambda"/>
        <ref name="mathml.reln"/>
        <ref name="mathml.cconstructor"/>
        <ref name="mathml.semantics"/>
        <ref name="mathml.declare"/>
      </choice>
    </define>
    <!-- ............................................................. -->
    <!--
    Recursive definition for content of expressions. Include
    presentation constructs at lowest level so presentation
    layout schemata hold presentation or content elements.
    Include content constructs at lowest level so content
    elements hold PCDATA or presentation elements at leaf
    level (for permitted substitutable elements in context)
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ContentExpression">
      <zeroOrMore>
        <choice>
          <ref name="mathml.Content"/>
          <ref name="mathml.PresInCont"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.PresExpression">
      <zeroOrMore>
        <choice>
          <ref name="mathml.Presentation"/>
          <ref name="mathml.ContInPres"/>
        </choice>
      </zeroOrMore>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.MathExpression">
      <zeroOrMore>
        <choice>
          <ref name="mathml.PresInCont"/>
          <ref name="mathml.ContInPres"/>
        </choice>
      </zeroOrMore>
    </define>
    <!-- PCDATA or MathML character elements -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.MathMLCharacters">
      <choice>
        <text/>
        <ref name="mathml.mglyph"/>
      </choice>
    </define>
    <!-- Content elements: tokens -->
    <!-- (may contain embedded presentation constructs) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ci">
      <element name="ci">
        <ref name="mathml.attlist-ci"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.PresInCont"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.ci"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.csymbol">
      <element name="csymbol">
        <ref name="mathml.attlist-csymbol"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.PresInCont"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.csymbol"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.cn">
      <element name="cn">
        <ref name="mathml.attlist-cn"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.sep"/>
            <ref name="mathml.PresInCont"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.cn"/>
    </define>
    <!-- Content elements: special -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.apply">
      <element name="apply">
        <ref name="mathml.attlist-apply"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.apply"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.reln">
      <element name="reln">
        <ref name="mathml.attlist-reln"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.reln"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.lambda">
      <element name="lambda">
        <ref name="mathml.attlist-lambda"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.lambda"/>
    </define>
    <!-- Content elements: other -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.condition">
      <element name="condition">
        <ref name="mathml.attlist-condition"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.condition"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.declare">
      <element name="declare">
        <ref name="mathml.attlist-declare"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.declare"/>
    </define>
    <!-- Content elements: semantics -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.semantics">
      <element name="semantics">
        <ref name="mathml.attlist-semantics"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.semantics"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.Annotation.content">
      <text/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.annotation">
      <element name="annotation">
        <ref name="mathml.attlist-annotation"/>
        <ref name="mathml.Annotation.content"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.annotation"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.annotation-xml">
      <element name="annotation-xml">
        <ref name="mathml.attlist-annotation-xml"/>
        <ref name="mathml.any"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.annotation-xml"/>
    </define>
    <!-- Content elements: constructors -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.interval">
      <element name="interval">
        <ref name="mathml.attlist-interval"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.interval"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.set">
      <element name="set">
        <ref name="mathml.attlist-set"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.set"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.list">
      <element name="list">
        <ref name="mathml.attlist-list"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.list"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.vector">
      <element name="vector">
        <ref name="mathml.attlist-vector"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.vector"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.matrix">
      <element name="matrix">
        <ref name="mathml.attlist-matrix"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.matrix"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.matrixrow">
      <element name="matrixrow">
        <ref name="mathml.attlist-matrixrow"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.matrixrow"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.piecewise">
      <element name="piecewise">
        <ref name="mathml.attlist-piecewise"/>
        <zeroOrMore>
          <ref name="mathml.piece"/>
        </zeroOrMore>
        <optional>
          <ref name="mathml.otherwise"/>
        </optional>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.piecewise"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.piece">
      <element name="piece">
        <ref name="mathml.attlist-piece"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.piece"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.otherwise">
      <element name="otherwise">
        <ref name="mathml.attlist-otherwise"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.otherwise"/>
    </define>
    <!-- Content elements: operator (user-defined) -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.fn">
      <element name="fn">
        <ref name="mathml.attlist-fn"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.fn"/>
    </define>
    <!-- Content elements: quantifiers -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.lowlimit">
      <element name="lowlimit">
        <ref name="mathml.attlist-lowlimit"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.lowlimit"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.uplimit">
      <element name="uplimit">
        <ref name="mathml.attlist-uplimit"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.uplimit"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.bvar">
      <element name="bvar">
        <ref name="mathml.attlist-bvar"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.bvar"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.degree">
      <element name="degree">
        <ref name="mathml.attlist-degree"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.degree"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.logbase">
      <element name="logbase">
        <ref name="mathml.attlist-logbase"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.logbase"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.momentabout">
      <element name="momentabout">
        <ref name="mathml.attlist-momentabout"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.momentabout"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.domainofapplication">
      <element name="domainofapplication">
        <ref name="mathml.attlist-domainofapplication"/>
        <ref name="mathml.ContentExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.domainofapplication"/>
    </define>
    <!-- ............................................................. -->
    <!--
    Presentation layout schemata contain tokens,
    layout and content schemata.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mstyle">
      <element name="mstyle">
        <ref name="mathml.attlist-mstyle"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mstyle"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.merror">
      <element name="merror">
        <ref name="mathml.attlist-merror"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.merror"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mphantom">
      <element name="mphantom">
        <ref name="mathml.attlist-mphantom"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mphantom"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mrow">
      <element name="mrow">
        <ref name="mathml.attlist-mrow"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mrow"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mfrac">
      <element name="mfrac">
        <ref name="mathml.attlist-mfrac"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mfrac"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.msqrt">
      <element name="msqrt">
        <ref name="mathml.attlist-msqrt"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.msqrt"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.menclose">
      <element name="menclose">
        <ref name="mathml.attlist-menclose"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.menclose"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mroot">
      <element name="mroot">
        <ref name="mathml.attlist-mroot"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mroot"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.msub">
      <element name="msub">
        <ref name="mathml.attlist-msub"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.msub"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.msup">
      <element name="msup">
        <ref name="mathml.attlist-msup"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.msup"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.msubsup">
      <element name="msubsup">
        <ref name="mathml.attlist-msubsup"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.msubsup"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mmultiscripts">
      <element name="mmultiscripts">
        <ref name="mathml.attlist-mmultiscripts"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mmultiscripts"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.munder">
      <element name="munder">
        <ref name="mathml.attlist-munder"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.munder"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mover">
      <element name="mover">
        <ref name="mathml.attlist-mover"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mover"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.munderover">
      <element name="munderover">
        <ref name="mathml.attlist-munderover"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.munderover"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mtable">
      <element name="mtable">
        <ref name="mathml.attlist-mtable"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mtable"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mtr">
      <element name="mtr">
        <ref name="mathml.attlist-mtr"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mtr"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mlabeledtr">
      <element name="mlabeledtr">
        <ref name="mathml.attlist-mlabeledtr"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mlabeledtr"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mtd">
      <element name="mtd">
        <ref name="mathml.attlist-mtd"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mtd"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.maction">
      <element name="maction">
        <ref name="mathml.attlist-maction"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.maction"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mfenced">
      <element name="mfenced">
        <ref name="mathml.attlist-mfenced"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mfenced"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mpadded">
      <element name="mpadded">
        <ref name="mathml.attlist-mpadded"/>
        <ref name="mathml.PresExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mpadded"/>
    </define>
    <!-- Presentation elements contain PCDATA or malignmark constructs. -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mi">
      <element name="mi">
        <ref name="mathml.attlist-mi"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.malignmark"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mi"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mn">
      <element name="mn">
        <ref name="mathml.attlist-mn"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.malignmark"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mn"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mo">
      <element name="mo">
        <ref name="mathml.attlist-mo"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.malignmark"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mo"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.mtext">
      <element name="mtext">
        <ref name="mathml.attlist-mtext"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.malignmark"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.mtext"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.ms">
      <element name="ms">
        <ref name="mathml.attlist-ms"/>
        <zeroOrMore>
          <choice>
            <ref name="mathml.MathMLCharacters"/>
            <ref name="mathml.malignmark"/>
          </choice>
        </zeroOrMore>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.ms"/>
    </define>
    <!-- Browser interface definition  ............................... -->
    <!-- Attributes for top-level element "math" -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-macros">
      <optional>
        <attribute name="macros"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-mode">
      <optional>
        <attribute name="mode"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-display">
      <optional>
        <attribute name="display"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-topinfo">
      <ref name="MATHML.Common.attrib"/>
      <ref name="mathml.att-macros"/>
      <ref name="mathml.att-mode"/>
      <ref name="mathml.att-display"/>
    </define>
    <!-- Attributes for browser interface element -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-baseline">
      <optional>
        <attribute name="baseline"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-overflow">
      <optional>
        <attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="overflow" a:defaultValue="scroll">
          <choice>
            <value>scroll</value>
            <value>elide</value>
            <value>truncate</value>
            <value>scale</value>
          </choice>
        </attribute>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-altimg">
      <optional>
        <attribute name="altimg"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-alttext">
      <optional>
        <attribute name="alttext"/>
      </optional>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.att-browif">
      <ref name="mathml.att-type"/>
      <ref name="mathml.att-name"/>
      <ref name="mathml.att-height"/>
      <ref name="mathml.att-width"/>
      <ref name="mathml.att-baseline"/>
      <ref name="mathml.att-overflow"/>
      <ref name="mathml.att-altimg"/>
      <ref name="mathml.att-alttext"/>
    </define>
    <!-- ............................................................. -->
    <!--
    The top-level element "math" contains MathML encoded
    mathematics. The "math" element has the browser info
    attributes iff it is also the browser interface element.
  -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.math">
      <element name="math">
        <ref name="mathml.attlist-math"/>
        <ref name="mathml.MathExpression"/>
      </element>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <ref name="mathml.math"/>
    </define>
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.attlist-math" combine="interleave">
      <ref name="mathml.att-topinfo"/>
      <ref name="mathml.att-browif"/>
    </define>
    <!-- MathML Character Entities .............................................. -->
    <!-- Entity sets from ISO Technical Report 9573-13 ..... -->
    <!-- Entity sets from informative annex to ISO 8879:1986 (SGML) ....... -->
    <!-- New characters defined by MathML ............................ -->
    <!-- MathML aliases for characters defined above ................. -->
    <!-- end of MathML Character Entity section -->
    <!--
    Revision History:
    
    Initial draft (syntax = XML) 1997-05-09
       Stephen Buswell
    Revised 1997-05-14
       Robert Miner
    Revised 1997-06-29 and 1997-07-02
       Stephen Buswell
    Revised 1997-12-15
       Stephen Buswell
    Revised 1998-02-08
       Stephen Buswell
    Revised 1998-04-04
       Stephen Buswell
    Entities and small revisions 1999-02-21
       David Carlisle
    Added attribute definitionURL to ci and cn 1999-10-11
       Nico Poppelier
    Additions for MathML 2  1999-12-16
       David Carlisle
    Namespace support 2000-01-14
       David Carlisle
    XHTML Compatibility 2000-02-23
       Murray Altheim
    New content elements 2000-03-26
       David Carlisle
    Further revisions for MathML2 CR draft 2000-07-11
       David Carlisle
    Further revisions for MathML2 CR draft 2000-10-31
       David Carlisle
    Revisions for Unicode 3.2  2002-05-21
       David Carlisle
    Add width and side attributes to mtable (to align with the specification)  2002-06-05
       David Carlisle
    Use %XLINK.prefix rather than hardwired xlink:, add xlink:type 2002-06-12
       David Carlisle
    Add missing numalign and denomalign attributes for mfrac 2002-07-05
       David Carlisle
    
  -->
    <!-- end of MathML 2.0 DTD  ................................................ -->
    <!-- ....................................................................... -->
    <define xmlns="http://relaxng.org/ns/structure/1.0" name="mathml.any" combine="choice">
      <text/>
    </define>
  </rng:div>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.paraContent">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="tei_model.gLike"/>
        <ref name="tei_model.phrase"/>
        <ref name="tei_model.inter"/>
        <ref name="tei_model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.limitedContent">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="tei_model.limitedPhrase"/>
        <ref name="tei_model.inter"/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.phraseSeq">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="tei_model.gLike"/>
        <ref name="tei_model.phrase"/>
        <ref name="tei_model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.phraseSeq.limited">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="tei_model.limitedPhrase"/>
        <ref name="tei_model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.specialPara">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="tei_model.gLike"/>
        <ref name="tei_model.phrase"/>
        <ref name="tei_model.inter"/>
        <ref name="tei_model.divPart"/>
        <ref name="tei_model.global"/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.xtext">
    <zeroOrMore>
      <choice>
        <text/>
        <ref name="tei_model.gLike"/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macro.schemaPattern">
    <rng:text/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_anyAlien">
    <element>
      <nsName ns="http://www.example.org/ns/nonTEI"/>
      <zeroOrMore>
        <attribute>
          <anyName/>
          <data type="token"/>
        </attribute>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_anyTEI"/>
          <ref name="tei_anyAlien"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_anyTEI">
    <element ns="http://www.tei-c.org/ns/Examples">
      <choice>
        <name>TEI</name>
        <name>ab</name>
        <name>abbr</name>
        <name>accMat</name>
        <name>acquisition</name>
        <name>activity</name>
        <name>actor</name>
        <name>add</name>
        <name>addName</name>
        <name>addSpan</name>
        <name>additional</name>
        <name>additions</name>
        <name>addrLine</name>
        <name>address</name>
        <name>adminInfo</name>
        <name>affiliation</name>
        <name>age</name>
        <name>alt</name>
        <name>altGrp</name>
        <name>altIdent</name>
        <name>altIdentifier</name>
        <name>am</name>
        <name>analytic</name>
        <name>anchor</name>
        <name>app</name>
        <name>appInfo</name>
        <name>application</name>
        <name>arc</name>
        <name>argument</name>
        <name>att</name>
        <name>attDef</name>
        <name>attList</name>
        <name>attRef</name>
        <name>author</name>
        <name>authority</name>
        <name>availability</name>
        <name>back</name>
        <name>bibl</name>
        <name>biblFull</name>
        <name>biblScope</name>
        <name>biblStruct</name>
        <name>bicond</name>
        <name>binary</name>
        <name>binaryObject</name>
        <name>binding</name>
        <name>bindingDesc</name>
        <name>birth</name>
        <name>bloc</name>
        <name>body</name>
        <name>broadcast</name>
        <name>byline</name>
        <name>c</name>
        <name>cRefPattern</name>
        <name>caesura</name>
        <name>camera</name>
        <name>caption</name>
        <name>case</name>
        <name>castGroup</name>
        <name>castItem</name>
        <name>castList</name>
        <name>catDesc</name>
        <name>catRef</name>
        <name>catchwords</name>
        <name>category</name>
        <name>cb</name>
        <name>cell</name>
        <name>certainty</name>
        <name>change</name>
        <name>channel</name>
        <name>char</name>
        <name>charDecl</name>
        <name>charName</name>
        <name>charProp</name>
        <name>choice</name>
        <name>cit</name>
        <name>cl</name>
        <name>classCode</name>
        <name>classDecl</name>
        <name>classSpec</name>
        <name>classes</name>
        <name>climate</name>
        <name>closer</name>
        <name>code</name>
        <name>collation</name>
        <name>collection</name>
        <name>colloc</name>
        <name>colophon</name>
        <name>cond</name>
        <name>condition</name>
        <name>constitution</name>
        <name>content</name>
        <name>corr</name>
        <name>correction</name>
        <name>country</name>
        <name>creation</name>
        <name>custEvent</name>
        <name>custodialHist</name>
        <name>damage</name>
        <name>damageSpan</name>
        <name>datatype</name>
        <name>date</name>
        <name>dateline</name>
        <name>death</name>
        <name>decoDesc</name>
        <name>decoNote</name>
        <name>def</name>
        <name>default</name>
        <name>defaultVal</name>
        <name>del</name>
        <name>delSpan</name>
        <name>depth</name>
        <name>derivation</name>
        <name>desc</name>
        <name>dictScrap</name>
        <name>dimensions</name>
        <name>distinct</name>
        <name>distributor</name>
        <name>district</name>
        <name>div</name>
        <name>div1</name>
        <name>div2</name>
        <name>div3</name>
        <name>div4</name>
        <name>div5</name>
        <name>div6</name>
        <name>div7</name>
        <name>divGen</name>
        <name>docAuthor</name>
        <name>docDate</name>
        <name>docEdition</name>
        <name>docImprint</name>
        <name>docTitle</name>
        <name>domain</name>
        <name>eLeaf</name>
        <name>eTree</name>
        <name>edition</name>
        <name>editionStmt</name>
        <name>editor</name>
        <name>editorialDecl</name>
        <name>education</name>
        <name>eg</name>
        <name>egXML</name>
        <name>elementSpec</name>
        <name>email</name>
        <name>emph</name>
        <name>encodingDesc</name>
        <name>entry</name>
        <name>entryFree</name>
        <name>epigraph</name>
        <name>epilogue</name>
        <name>equipment</name>
        <name>equiv</name>
        <name>etym</name>
        <name>event</name>
        <name>ex</name>
        <name>exemplum</name>
        <name>expan</name>
        <name>explicit</name>
        <name>extent</name>
        <name>f</name>
        <name>fDecl</name>
        <name>fDescr</name>
        <name>fLib</name>
        <name>facsimile</name>
        <name>factuality</name>
        <name>faith</name>
        <name>figDesc</name>
        <name>figure</name>
        <name>fileDesc</name>
        <name>filiation</name>
        <name>finalRubric</name>
        <name>floatingText</name>
        <name>floruit</name>
        <name>foliation</name>
        <name>foreign</name>
        <name>forename</name>
        <name>forest</name>
        <name>forestGrp</name>
        <name>form</name>
        <name>formula</name>
        <name>front</name>
        <name>fs</name>
        <name>fsConstraints</name>
        <name>fsDecl</name>
        <name>fsDescr</name>
        <name>fsdDecl</name>
        <name>fsdLink</name>
        <name>funder</name>
        <name>fvLib</name>
        <name>fw</name>
        <name>g</name>
        <name>gap</name>
        <name>gen</name>
        <name>genName</name>
        <name>geo</name>
        <name>geoDecl</name>
        <name>geogFeat</name>
        <name>geogName</name>
        <name>gi</name>
        <name>gloss</name>
        <name>glyph</name>
        <name>glyphName</name>
        <name>gram</name>
        <name>gramGrp</name>
        <name>graph</name>
        <name>graphic</name>
        <name>group</name>
        <name>handDesc</name>
        <name>handNote</name>
        <name>handNotes</name>
        <name>handShift</name>
        <name>head</name>
        <name>headItem</name>
        <name>headLabel</name>
        <name>height</name>
        <name>heraldry</name>
        <name>hi</name>
        <name>history</name>
        <name>hom</name>
        <name>hyph</name>
        <name>hyphenation</name>
        <name>iNode</name>
        <name>iType</name>
        <name>ident</name>
        <name>idno</name>
        <name>if</name>
        <name>iff</name>
        <name>imprimatur</name>
        <name>imprint</name>
        <name>incident</name>
        <name>incipit</name>
        <name>index</name>
        <name>institution</name>
        <name>interaction</name>
        <name>interp</name>
        <name>interpGrp</name>
        <name>interpretation</name>
        <name>item</name>
        <name>join</name>
        <name>joinGrp</name>
        <name>keywords</name>
        <name>kinesic</name>
        <name>l</name>
        <name>label</name>
        <name>lacunaEnd</name>
        <name>lacunaStart</name>
        <name>lang</name>
        <name>langKnowledge</name>
        <name>langKnown</name>
        <name>langUsage</name>
        <name>language</name>
        <name>layout</name>
        <name>layoutDesc</name>
        <name>lb</name>
        <name>lbl</name>
        <name>leaf</name>
        <name>lem</name>
        <name>lg</name>
        <name>link</name>
        <name>linkGrp</name>
        <name>list</name>
        <name>listBibl</name>
        <name>listNym</name>
        <name>listOrg</name>
        <name>listPerson</name>
        <name>listPlace</name>
        <name>listRef</name>
        <name>listWit</name>
        <name>localName</name>
        <name>locale</name>
        <name>location</name>
        <name>locus</name>
        <name>m</name>
        <name>macroSpec</name>
        <name>mapping</name>
        <name>material</name>
        <name>measure</name>
        <name>measureGrp</name>
        <name>meeting</name>
        <name>memberOf</name>
        <name>mentioned</name>
        <name>metDecl</name>
        <name>metSym</name>
        <name>milestone</name>
        <name>moduleRef</name>
        <name>moduleSpec</name>
        <name>monogr</name>
        <name>mood</name>
        <name>move</name>
        <name>msContents</name>
        <name>msDesc</name>
        <name>msIdentifier</name>
        <name>msItem</name>
        <name>msItemStruct</name>
        <name>msName</name>
        <name>msPart</name>
        <name>musicNotation</name>
        <name>name</name>
        <name>nameLink</name>
        <name>namespace</name>
        <name>nationality</name>
        <name>node</name>
        <name>normalization</name>
        <name>note</name>
        <name>notesStmt</name>
        <name>num</name>
        <name>number</name>
        <name>numeric</name>
        <name>nym</name>
        <name>oRef</name>
        <name>oVar</name>
        <name>objectDesc</name>
        <name>occupation</name>
        <name>offset</name>
        <name>opener</name>
        <name>org</name>
        <name>orgName</name>
        <name>orig</name>
        <name>origDate</name>
        <name>origPlace</name>
        <name>origin</name>
        <name>orth</name>
        <name>p</name>
        <name>pRef</name>
        <name>pVar</name>
        <name>particDesc</name>
        <name>pause</name>
        <name>pb</name>
        <name>per</name>
        <name>performance</name>
        <name>persName</name>
        <name>person</name>
        <name>personGrp</name>
        <name>phr</name>
        <name>physDesc</name>
        <name>place</name>
        <name>placeName</name>
        <name>population</name>
        <name>pos</name>
        <name>postBox</name>
        <name>postCode</name>
        <name>postscript</name>
        <name>preparedness</name>
        <name>principal</name>
        <name>profileDesc</name>
        <name>projectDesc</name>
        <name>prologue</name>
        <name>pron</name>
        <name>provenance</name>
        <name>ptr</name>
        <name>pubPlace</name>
        <name>publicationStmt</name>
        <name>publisher</name>
        <name>purpose</name>
        <name>q</name>
        <name>quotation</name>
        <name>quote</name>
        <name>rdg</name>
        <name>rdgGrp</name>
        <name>re</name>
        <name>recordHist</name>
        <name>recording</name>
        <name>recordingStmt</name>
        <name>ref</name>
        <name>refState</name>
        <name>refsDecl</name>
        <name>reg</name>
        <name>region</name>
        <name>relatedItem</name>
        <name>relation</name>
        <name>relationGrp</name>
        <name>remarks</name>
        <name>rendition</name>
        <name>repository</name>
        <name>residence</name>
        <name>resp</name>
        <name>respStmt</name>
        <name>respons</name>
        <name>restore</name>
        <name>revisionDesc</name>
        <name>rhyme</name>
        <name>role</name>
        <name>roleDesc</name>
        <name>roleName</name>
        <name>root</name>
        <name>row</name>
        <name>rs</name>
        <name>rubric</name>
        <name>s</name>
        <name>said</name>
        <name>salute</name>
        <name>samplingDecl</name>
        <name>schemaSpec</name>
        <name>scriptStmt</name>
        <name>seal</name>
        <name>sealDesc</name>
        <name>secFol</name>
        <name>seg</name>
        <name>segmentation</name>
        <name>sense</name>
        <name>series</name>
        <name>seriesStmt</name>
        <name>set</name>
        <name>setting</name>
        <name>settingDesc</name>
        <name>settlement</name>
        <name>sex</name>
        <name>shift</name>
        <name>sic</name>
        <name>signatures</name>
        <name>signed</name>
        <name>soCalled</name>
        <name>socecStatus</name>
        <name>sound</name>
        <name>source</name>
        <name>sourceDesc</name>
        <name>sp</name>
        <name>space</name>
        <name>span</name>
        <name>spanGrp</name>
        <name>speaker</name>
        <name>specDesc</name>
        <name>specGrp</name>
        <name>specGrpRef</name>
        <name>specList</name>
        <name>sponsor</name>
        <name>stage</name>
        <name>stamp</name>
        <name>state</name>
        <name>stdVals</name>
        <name>street</name>
        <name>stress</name>
        <name>string</name>
        <name>stringVal</name>
        <name>subc</name>
        <name>subst</name>
        <name>summary</name>
        <name>superEntry</name>
        <name>supplied</name>
        <name>support</name>
        <name>supportDesc</name>
        <name>surface</name>
        <name>surname</name>
        <name>surrogates</name>
        <name>syll</name>
        <name>symbol</name>
        <name>table</name>
        <name>tag</name>
        <name>tagUsage</name>
        <name>tagsDecl</name>
        <name>taxonomy</name>
        <name>tech</name>
        <name>teiCorpus</name>
        <name>teiHeader</name>
        <name>term</name>
        <name>terrain</name>
        <name>text</name>
        <name>textClass</name>
        <name>textDesc</name>
        <name>textLang</name>
        <name>then</name>
        <name>time</name>
        <name>timeline</name>
        <name>title</name>
        <name>titlePage</name>
        <name>titlePart</name>
        <name>titleStmt</name>
        <name>tns</name>
        <name>trailer</name>
        <name>trait</name>
        <name>tree</name>
        <name>triangle</name>
        <name>u</name>
        <name>unclear</name>
        <name>unicodeName</name>
        <name>usg</name>
        <name>vAlt</name>
        <name>vColl</name>
        <name>vDefault</name>
        <name>vLabel</name>
        <name>vMerge</name>
        <name>vNot</name>
        <name>vRange</name>
        <name>val</name>
        <name>valDesc</name>
        <name>valItem</name>
        <name>valList</name>
        <name>value</name>
        <name>variantEncoding</name>
        <name>view</name>
        <name>vocal</name>
        <name>w</name>
        <name>watermark</name>
        <name>when</name>
        <name>width</name>
        <name>wit</name>
        <name>witDetail</name>
        <name>witEnd</name>
        <name>witStart</name>
        <name>witness</name>
        <name>writing</name>
        <name>xr</name>
        <name>zone</name>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.xmllang"/>
      <zeroOrMore>
        <attribute>
          <anyName>
            <except>
              <name>xml:id</name>
              <name>xml:lang</name>
            </except>
          </anyName>
        </attribute>
      </zeroOrMore>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_anyTEI"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_AnyThing">
    <zeroOrMore>
      <choice>
        <element>
          <choice>
            <name>TEI</name>
            <name>ab</name>
            <name>abbr</name>
            <name>accMat</name>
            <name>acquisition</name>
            <name>activity</name>
            <name>actor</name>
            <name>add</name>
            <name>addName</name>
            <name>addSpan</name>
            <name>additional</name>
            <name>additions</name>
            <name>addrLine</name>
            <name>address</name>
            <name>adminInfo</name>
            <name>affiliation</name>
            <name>age</name>
            <name>alt</name>
            <name>altGrp</name>
            <name>altIdent</name>
            <name>altIdentifier</name>
            <name>am</name>
            <name>analytic</name>
            <name>anchor</name>
            <name>app</name>
            <name>appInfo</name>
            <name>application</name>
            <name>arc</name>
            <name>argument</name>
            <name>att</name>
            <name>attDef</name>
            <name>attList</name>
            <name>attRef</name>
            <name>author</name>
            <name>authority</name>
            <name>availability</name>
            <name>back</name>
            <name>bibl</name>
            <name>biblFull</name>
            <name>biblScope</name>
            <name>biblStruct</name>
            <name>bicond</name>
            <name>binary</name>
            <name>binaryObject</name>
            <name>binding</name>
            <name>bindingDesc</name>
            <name>birth</name>
            <name>bloc</name>
            <name>body</name>
            <name>broadcast</name>
            <name>byline</name>
            <name>c</name>
            <name>cRefPattern</name>
            <name>caesura</name>
            <name>camera</name>
            <name>caption</name>
            <name>case</name>
            <name>castGroup</name>
            <name>castItem</name>
            <name>castList</name>
            <name>catDesc</name>
            <name>catRef</name>
            <name>catchwords</name>
            <name>category</name>
            <name>cb</name>
            <name>cell</name>
            <name>certainty</name>
            <name>change</name>
            <name>channel</name>
            <name>char</name>
            <name>charDecl</name>
            <name>charName</name>
            <name>charProp</name>
            <name>choice</name>
            <name>cit</name>
            <name>cl</name>
            <name>classCode</name>
            <name>classDecl</name>
            <name>classSpec</name>
            <name>classes</name>
            <name>climate</name>
            <name>closer</name>
            <name>code</name>
            <name>collation</name>
            <name>collection</name>
            <name>colloc</name>
            <name>colophon</name>
            <name>cond</name>
            <name>condition</name>
            <name>constitution</name>
            <name>content</name>
            <name>corr</name>
            <name>correction</name>
            <name>country</name>
            <name>creation</name>
            <name>custEvent</name>
            <name>custodialHist</name>
            <name>damage</name>
            <name>damageSpan</name>
            <name>datatype</name>
            <name>date</name>
            <name>dateline</name>
            <name>death</name>
            <name>decoDesc</name>
            <name>decoNote</name>
            <name>def</name>
            <name>default</name>
            <name>defaultVal</name>
            <name>del</name>
            <name>delSpan</name>
            <name>depth</name>
            <name>derivation</name>
            <name>desc</name>
            <name>dictScrap</name>
            <name>dimensions</name>
            <name>distinct</name>
            <name>distributor</name>
            <name>district</name>
            <name>div</name>
            <name>div1</name>
            <name>div2</name>
            <name>div3</name>
            <name>div4</name>
            <name>div5</name>
            <name>div6</name>
            <name>div7</name>
            <name>divGen</name>
            <name>docAuthor</name>
            <name>docDate</name>
            <name>docEdition</name>
            <name>docImprint</name>
            <name>docTitle</name>
            <name>domain</name>
            <name>eLeaf</name>
            <name>eTree</name>
            <name>edition</name>
            <name>editionStmt</name>
            <name>editor</name>
            <name>editorialDecl</name>
            <name>education</name>
            <name>eg</name>
            <name>egXML</name>
            <name>elementSpec</name>
            <name>email</name>
            <name>emph</name>
            <name>encodingDesc</name>
            <name>entry</name>
            <name>entryFree</name>
            <name>epigraph</name>
            <name>epilogue</name>
            <name>equipment</name>
            <name>equiv</name>
            <name>etym</name>
            <name>event</name>
            <name>ex</name>
            <name>exemplum</name>
            <name>expan</name>
            <name>explicit</name>
            <name>extent</name>
            <name>f</name>
            <name>fDecl</name>
            <name>fDescr</name>
            <name>fLib</name>
            <name>facsimile</name>
            <name>factuality</name>
            <name>faith</name>
            <name>figDesc</name>
            <name>figure</name>
            <name>fileDesc</name>
            <name>filiation</name>
            <name>finalRubric</name>
            <name>floatingText</name>
            <name>floruit</name>
            <name>foliation</name>
            <name>foreign</name>
            <name>forename</name>
            <name>forest</name>
            <name>forestGrp</name>
            <name>form</name>
            <name>formula</name>
            <name>front</name>
            <name>fs</name>
            <name>fsConstraints</name>
            <name>fsDecl</name>
            <name>fsDescr</name>
            <name>fsdDecl</name>
            <name>fsdLink</name>
            <name>funder</name>
            <name>fvLib</name>
            <name>fw</name>
            <name>g</name>
            <name>gap</name>
            <name>gen</name>
            <name>genName</name>
            <name>geo</name>
            <name>geoDecl</name>
            <name>geogFeat</name>
            <name>geogName</name>
            <name>gi</name>
            <name>gloss</name>
            <name>glyph</name>
            <name>glyphName</name>
            <name>gram</name>
            <name>gramGrp</name>
            <name>graph</name>
            <name>graphic</name>
            <name>group</name>
            <name>handDesc</name>
            <name>handNote</name>
            <name>handNotes</name>
            <name>handShift</name>
            <name>head</name>
            <name>headItem</name>
            <name>headLabel</name>
            <name>height</name>
            <name>heraldry</name>
            <name>hi</name>
            <name>history</name>
            <name>hom</name>
            <name>hyph</name>
            <name>hyphenation</name>
            <name>iNode</name>
            <name>iType</name>
            <name>ident</name>
            <name>idno</name>
            <name>if</name>
            <name>iff</name>
            <name>imprimatur</name>
            <name>imprint</name>
            <name>incident</name>
            <name>incipit</name>
            <name>index</name>
            <name>institution</name>
            <name>interaction</name>
            <name>interp</name>
            <name>interpGrp</name>
            <name>interpretation</name>
            <name>item</name>
            <name>join</name>
            <name>joinGrp</name>
            <name>keywords</name>
            <name>kinesic</name>
            <name>l</name>
            <name>label</name>
            <name>lacunaEnd</name>
            <name>lacunaStart</name>
            <name>lang</name>
            <name>langKnowledge</name>
            <name>langKnown</name>
            <name>langUsage</name>
            <name>language</name>
            <name>layout</name>
            <name>layoutDesc</name>
            <name>lb</name>
            <name>lbl</name>
            <name>leaf</name>
            <name>lem</name>
            <name>lg</name>
            <name>link</name>
            <name>linkGrp</name>
            <name>list</name>
            <name>listBibl</name>
            <name>listNym</name>
            <name>listOrg</name>
            <name>listPerson</name>
            <name>listPlace</name>
            <name>listRef</name>
            <name>listWit</name>
            <name>localName</name>
            <name>locale</name>
            <name>location</name>
            <name>locus</name>
            <name>m</name>
            <name>macroSpec</name>
            <name>mapping</name>
            <name>material</name>
            <name>measure</name>
            <name>measureGrp</name>
            <name>meeting</name>
            <name>memberOf</name>
            <name>mentioned</name>
            <name>metDecl</name>
            <name>metSym</name>
            <name>milestone</name>
            <name>moduleRef</name>
            <name>moduleSpec</name>
            <name>monogr</name>
            <name>mood</name>
            <name>move</name>
            <name>msContents</name>
            <name>msDesc</name>
            <name>msIdentifier</name>
            <name>msItem</name>
            <name>msItemStruct</name>
            <name>msName</name>
            <name>msPart</name>
            <name>musicNotation</name>
            <name>name</name>
            <name>nameLink</name>
            <name>namespace</name>
            <name>nationality</name>
            <name>node</name>
            <name>normalization</name>
            <name>note</name>
            <name>notesStmt</name>
            <name>num</name>
            <name>number</name>
            <name>numeric</name>
            <name>nym</name>
            <name>oRef</name>
            <name>oVar</name>
            <name>objectDesc</name>
            <name>occupation</name>
            <name>offset</name>
            <name>opener</name>
            <name>org</name>
            <name>orgName</name>
            <name>orig</name>
            <name>origDate</name>
            <name>origPlace</name>
            <name>origin</name>
            <name>orth</name>
            <name>p</name>
            <name>pRef</name>
            <name>pVar</name>
            <name>particDesc</name>
            <name>pause</name>
            <name>pb</name>
            <name>per</name>
            <name>performance</name>
            <name>persName</name>
            <name>person</name>
            <name>personGrp</name>
            <name>phr</name>
            <name>physDesc</name>
            <name>place</name>
            <name>placeName</name>
            <name>population</name>
            <name>pos</name>
            <name>postBox</name>
            <name>postCode</name>
            <name>postscript</name>
            <name>preparedness</name>
            <name>principal</name>
            <name>profileDesc</name>
            <name>projectDesc</name>
            <name>prologue</name>
            <name>pron</name>
            <name>provenance</name>
            <name>ptr</name>
            <name>pubPlace</name>
            <name>publicationStmt</name>
            <name>publisher</name>
            <name>purpose</name>
            <name>q</name>
            <name>quotation</name>
            <name>quote</name>
            <name>rdg</name>
            <name>rdgGrp</name>
            <name>re</name>
            <name>recordHist</name>
            <name>recording</name>
            <name>recordingStmt</name>
            <name>ref</name>
            <name>refState</name>
            <name>refsDecl</name>
            <name>reg</name>
            <name>region</name>
            <name>relatedItem</name>
            <name>relation</name>
            <name>relationGrp</name>
            <name>remarks</name>
            <name>rendition</name>
            <name>repository</name>
            <name>residence</name>
            <name>resp</name>
            <name>respStmt</name>
            <name>respons</name>
            <name>restore</name>
            <name>revisionDesc</name>
            <name>rhyme</name>
            <name>role</name>
            <name>roleDesc</name>
            <name>roleName</name>
            <name>root</name>
            <name>row</name>
            <name>rs</name>
            <name>rubric</name>
            <name>s</name>
            <name>said</name>
            <name>salute</name>
            <name>samplingDecl</name>
            <name>schemaSpec</name>
            <name>scriptStmt</name>
            <name>seal</name>
            <name>sealDesc</name>
            <name>secFol</name>
            <name>seg</name>
            <name>segmentation</name>
            <name>sense</name>
            <name>series</name>
            <name>seriesStmt</name>
            <name>set</name>
            <name>setting</name>
            <name>settingDesc</name>
            <name>settlement</name>
            <name>sex</name>
            <name>shift</name>
            <name>sic</name>
            <name>signatures</name>
            <name>signed</name>
            <name>soCalled</name>
            <name>socecStatus</name>
            <name>sound</name>
            <name>source</name>
            <name>sourceDesc</name>
            <name>sp</name>
            <name>space</name>
            <name>span</name>
            <name>spanGrp</name>
            <name>speaker</name>
            <name>specDesc</name>
            <name>specGrp</name>
            <name>specGrpRef</name>
            <name>specList</name>
            <name>sponsor</name>
            <name>stage</name>
            <name>stamp</name>
            <name>state</name>
            <name>stdVals</name>
            <name>street</name>
            <name>stress</name>
            <name>string</name>
            <name>stringVal</name>
            <name>subc</name>
            <name>subst</name>
            <name>summary</name>
            <name>superEntry</name>
            <name>supplied</name>
            <name>support</name>
            <name>supportDesc</name>
            <name>surface</name>
            <name>surname</name>
            <name>surrogates</name>
            <name>syll</name>
            <name>symbol</name>
            <name>table</name>
            <name>tag</name>
            <name>tagUsage</name>
            <name>tagsDecl</name>
            <name>taxonomy</name>
            <name>tech</name>
            <name>teiCorpus</name>
            <name>teiHeader</name>
            <name>term</name>
            <name>terrain</name>
            <name>text</name>
            <name>textClass</name>
            <name>textDesc</name>
            <name>textLang</name>
            <name>then</name>
            <name>time</name>
            <name>timeline</name>
            <name>title</name>
            <name>titlePage</name>
            <name>titlePart</name>
            <name>titleStmt</name>
            <name>tns</name>
            <name>trailer</name>
            <name>trait</name>
            <name>tree</name>
            <name>triangle</name>
            <name>u</name>
            <name>unclear</name>
            <name>unicodeName</name>
            <name>usg</name>
            <name>vAlt</name>
            <name>vColl</name>
            <name>vDefault</name>
            <name>vLabel</name>
            <name>vMerge</name>
            <name>vNot</name>
            <name>vRange</name>
            <name>val</name>
            <name>valDesc</name>
            <name>valItem</name>
            <name>valList</name>
            <name>value</name>
            <name>variantEncoding</name>
            <name>view</name>
            <name>vocal</name>
            <name>w</name>
            <name>watermark</name>
            <name>when</name>
            <name>width</name>
            <name>wit</name>
            <name>witDetail</name>
            <name>witEnd</name>
            <name>witStart</name>
            <name>witness</name>
            <name>writing</name>
            <name>xr</name>
            <name>zone</name>
          </choice>
          <zeroOrMore>
            <attribute>
              <anyName>
                <except>
                  <name>xml:id</name>
                  <name>xml:lang</name>
                </except>
              </anyName>
            </attribute>
          </zeroOrMore>
          <ref name="tei_AnyThing"/>
        </element>
        <text/>
      </choice>
    </zeroOrMore>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.ascribed.attributes">
    <ref name="att.ascribed.attribute.who"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ascribed.attribute.who">
    <rng:optional>
      <rng: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>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.damaged.attributes">
    <ref name="att.damaged.attribute.extent"/>
    <ref name="att.damaged.attribute.hand"/>
    <ref name="att.damaged.attribute.agent"/>
    <ref name="att.damaged.attribute.degree"/>
    <ref name="att.damaged.attribute.group"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.damaged.attribute.extent">
    <rng:optional>
      <rng:attribute name="extent">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates approximately how much text is in the damaged area,
in letters, minims, inches, or any appropriate unit, where this
cannot be deduced from the contents of the tag.  </a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.damaged.attribute.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">In the case of damage (deliberate defacement, inking out,
      etc.) assignable to a distinct hand, signifies the hand
      responsible for the damage.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.damaged.attribute.agent">
    <rng:optional>
      <rng:attribute name="agent">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.damaged.attribute.degree">
    <rng:optional>
      <rng:attribute name="degree">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Signifies the degree of damage according to a convenient scale.
The damage tag with the degree attribute should
only be used where the text may be read with some confidence; text
supplied from other sources should be tagged as supplied.</a:documentation>
        <text/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.damaged.attribute.group">
    <rng:optional>
      <rng:attribute name="group">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">assigns an arbitrary number to each stretch of damage
      regarded as forming part of the same physical phenomenon.</a:documentation>
        <data type="nonNegativeInteger"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.datable.w3c.attributes">
    <ref name="att.datable.w3c.attribute.period"/>
    <ref name="att.datable.w3c.attribute.when"/>
    <ref name="att.datable.w3c.attribute.notBefore"/>
    <ref name="att.datable.w3c.attribute.notAfter"/>
    <ref name="att.datable.w3c.attribute.from"/>
    <ref name="att.datable.w3c.attribute.to"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.period">
    <rng:optional>
      <rng:attribute name="period">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a pointer to some location defining a named
      period of time within which the datable item is understood to
      have occurred.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.when">
    <rng:optional>
      <rng:attribute name="when">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of a date or time in a standard form,
      e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.notBefore">
    <rng:optional>
      <rng:attribute name="notBefore">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the earliest possible date for the event in
	  standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.notAfter">
    <rng:optional>
      <rng:attribute name="notAfter">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the latest possible date for the event in
	  standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.from">
    <rng:optional>
      <rng:attribute name="from">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the starting point of the period in standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.w3c.attribute.to">
    <rng:optional>
      <rng:attribute name="to">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the ending point of the period in standard
	  form, e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.datable.attributes">
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.declarable.attributes">
    <ref name="att.declarable.attribute.default"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declarable.attribute.default">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="default" a:defaultValue="false">
        <a:documentation>indicates whether or not this element is selected by default when
its parent is selected.</a:documentation>
        <rng:choice>
          <rng:value>true</rng:value>
          <a:documentation>This element is selected if its parent is selected</a:documentation>
          <rng:value>false</rng:value>
          <a:documentation>This element can only be selected explicitly, unless it is the
only one of its kind, in which case it is selected if its parent is selected.</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.declaring.attributes">
    <ref name="att.declaring.attribute.decls"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.declaring.attribute.decls">
    <rng:optional>
      <rng:attribute name="decls">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies one or more declarable elements within the
header, which are understood to apply to the element bearing this
attribute and its content.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.divLike.attributes">
    <ref name="att.divLike.attribute.org"/>
    <ref name="att.divLike.attribute.sample"/>
    <ref name="att.divLike.attribute.part"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.org">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="org" a:defaultValue="uniform">
        <a:documentation>(organization) specifies how the content of the division is organized.</a:documentation>
        <rng:choice>
          <rng:value>composite</rng:value>
          <a:documentation>composite content: i.e. no claim is made about the
		  sequence in which the immediate contents of this division
		  are to be processed, or their inter-relationships.</a:documentation>
          <rng:value>uniform</rng:value>
          <a:documentation>uniform content: i.e. the immediate contents of this
		  element are regarded as forming a logical unit, to be
		  processed in sequence.</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.sample">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="sample" a:defaultValue="complete">
        <a:documentation>indicates whether this division is a sample of the
		original source and if so, from which part.</a:documentation>
        <rng:choice>
          <rng:value>initial</rng:value>
          <a:documentation>division lacks material present at end in source.</a:documentation>
          <rng:value>medial</rng:value>
          <a:documentation>division lacks material at start and end.</a:documentation>
          <rng:value>final</rng:value>
          <a:documentation>division lacks material at start.</a:documentation>
          <rng:value>unknown</rng:value>
          <a:documentation>position of sampled material within original unknown.</a:documentation>
          <rng:value>complete</rng:value>
          <a:documentation>division is not a sample.</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.divLike.attribute.part">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <a:documentation>specifies whether or not the division is fragmented by
		some other structural element, for example a speech which is
		divided between two or more verse stanzas.</a:documentation>
        <rng:choice>
          <rng:value>Y</rng:value>
          <a:documentation>(yes) the division is incomplete in some respect</a:documentation>
          <rng:value>N</rng:value>
          <a:documentation>(no) either the division is complete, or no claim is made as to its completeness.</a:documentation>
          <rng:value>I</rng:value>
          <a:documentation>(initial) the initial part of an incomplete division</a:documentation>
          <rng:value>M</rng:value>
          <a:documentation>(medial) a medial part of an incomplete division</a:documentation>
          <rng:value>F</rng:value>
          <a:documentation>(final) the final part of an incomplete division</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.duration.w3c.attributes">
    <ref name="att.duration.w3c.attribute.dur"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.duration.w3c.attribute.dur">
    <rng:optional>
      <rng:attribute name="dur">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(duration) indicates the length of this element in time.</a:documentation>
        <data type="duration"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.editLike.attributes">
    <ref name="att.editLike.attribute.cert"/>
    <ref name="att.editLike.attribute.resp"/>
    <ref name="att.editLike.attribute.evidence"/>
    <ref name="att.editLike.attribute.source"/>
    <ref name="att.editLike.attribute.precision"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.cert">
    <rng:optional>
      <rng:attribute name="cert">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(certainty) signifies the degree of certainty associated with the
	intervention or interpretation.</a:documentation>
        <choice>
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates the agency responsible for the
	intervention or interpretation, for example an editor or transcriber.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.evidence">
    <rng:optional>
      <rng:attribute name="evidence">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the nature of the evidence supporting the reliability or
  accuracy of the intervention or interpretation.
Suggested values include: 1] internal; 2] external; 3] conjecture</a:documentation>
        <rng:choice>
          <rng:value>internal</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is internal evidence to support the intervention.</a:documentation>
          <rng:value>external</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">there is external evidence to support the intervention.</a:documentation>
          <rng:value>conjecture</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the intervention or interpretation has been made by
	    the editor, cataloguer, or scholar on the basis of their
	    expertise.</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.source">
    <rng:optional>
      <rng:attribute name="source">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of one or more pointers indicating the
      sources which support the given reading.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.editLike.attribute.precision">
    <rng:optional>
      <rng:attribute name="precision">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the precision of the specified intervention
      or dating.</a:documentation>
        <choice>
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.global.attributes">
    <ref name="att.global.attribute.xmlid"/>
    <ref name="att.global.attribute.n"/>
    <ref name="att.global.attribute.xmllang"/>
    <ref name="att.global.attribute.rend"/>
    <ref name="att.global.attribute.rendition"/>
    <ref name="att.global.attribute.xmlbase"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmlid">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.n">
    <rng:optional>
      <rng: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>
        <rng:list>
          <rng:oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmllang">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.rend">
    <rng:optional>
      <rng:attribute name="rend">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rendition) indicates how the element in question was rendered or
	presented in the source text.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.rendition">
    <rng:optional>
      <rng:attribute name="rendition">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a description of the rendering  or
	presentation used for this element in the source text.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.attribute.xmlbase">
    <rng:optional>
      <rng:attribute name="xml:base">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a base URI reference with which applications can
      resolve relative URI references into absolute URI
      references.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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 xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.scribe">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.script">
    <rng:optional>
      <rng: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>
        <rng:list>
          <rng:oneOrMore>
            <data type="Name"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.medium">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.handFeatures.attribute.scope">
    <rng:optional>
      <rng: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>
        <rng:choice>
          <rng:value>sole</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">only this hand is used throughout the manuscript</a:documentation>
          <rng:value>major</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">this hand is used through most of the manuscript</a:documentation>
          <rng:value>minor</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">this hand is used occasionally in the manuscript</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.internetMedia.attributes">
    <ref name="att.internetMedia.attribute.mimeType"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.internetMedia.attribute.mimeType">
    <rng:optional>
      <rng: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>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.interpLike.attributes">
    <ref name="att.interpLike.attribute.resp"/>
    <ref name="att.interpLike.attribute.type"/>
    <ref name="att.interpLike.attribute.inst"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.interpLike.attribute.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates who is responsible for the interpretation.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.interpLike.attribute.type">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.interpLike.attribute.inst">
    <rng:optional>
      <rng:attribute name="inst">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(instances) points to instances of the analysis or interpretation represented
by the current element.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.measurement.attributes">
    <ref name="att.measurement.attribute.unit"/>
    <ref name="att.measurement.attribute.quantity"/>
    <ref name="att.measurement.attribute.commodity"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attribute.unit">
    <rng:optional>
      <rng:attribute name="unit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the units used for the measurement, usually
      using the standard symbol for the desired units.
Suggested values include: 1] m (metre); 2] kg (kilogram); 3] s (second); 4] Hz (hertz); 5] Pa (pascal); 6] &#x2126; (ohm); 7] L (litre); 8] t (tonne); 9] ha (hectare); 10] &#x212B; (&#xE5;ngstr&#xF6;m); 11] mL (millilitre); 12] cm (centimetre); 13] dB (decibel); 14] kbit (kilobit); 15] Kibit (kibibit); 16] kB (kilobyte); 17] KiB (kibibyte); 18] MB (megabyte); 19] MiB (mebibyte)</a:documentation>
        <rng:choice>
          <rng:value>m</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(metre) SI base unit of length</a:documentation>
          <rng:value>kg</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(kilogram) SI base unit of mass</a:documentation>
          <rng:value>s</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(second) SI base unit of time</a:documentation>
          <rng:value>Hz</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hertz) SI unit of frequency</a:documentation>
          <rng:value>Pa</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pascal) SI unit of pressure or stress</a:documentation>
          <rng:value>&#x2126;</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ohm) SI unit of electric resistance</a:documentation>
          <rng:value>L</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(litre) 1 dm&#xB3;</a:documentation>
          <rng:value>t</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tonne) 10&#xB3; kg</a:documentation>
          <rng:value>ha</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hectare) 1 hm&#xB2;</a:documentation>
          <rng:value>&#x212B;</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(&#xE5;ngstr&#xF6;m) 10&#x207B;&#xB9;&#x2070; m</a:documentation>
          <rng:value>mL</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millilitre) </a:documentation>
          <rng:value>cm</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetre) </a:documentation>
          <rng:value>dB</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(decibel) see remarks, below</a:documentation>
          <rng:value>kbit</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (kilobit) 10&#xB3; or 1000 bits</a:documentation>
          <rng:value>Kibit</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (kibibit) 2&#xB9;&#x2070; or 1024 bits</a:documentation>
          <rng:value>kB</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (kilobyte) 10&#xB3; or 1000 bytes</a:documentation>
          <rng:value>KiB</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (kibibyte) 2&#xB9;&#x2070; or 1024 bytes</a:documentation>
          <rng:value>MB</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (megabyte) 10&#x2076; or 1&#x202F;000&#x202F;000 bytes</a:documentation>
          <rng:value>MiB</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> (mebibyte) 2&#xB2;&#x2070; or 1&#x202F;048&#x202F;576 bytes</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attribute.quantity">
    <rng:optional>
      <rng:attribute name="quantity">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of the specified units that
      comprise the measurement</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.measurement.attribute.commodity">
    <rng:optional>
      <rng:attribute name="commodity">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the substance that is being measured</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.naming.attributes">
    <ref name="att.naming.attribute.key"/>
    <ref name="att.naming.attribute.ref"/>
    <ref name="att.naming.attribute.nymRef"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.naming.attribute.key">
    <rng:optional>
      <rng: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 (or entities) being named, such as a database record key
      or other token.</a:documentation>
        <data type="string"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.naming.attribute.ref">
    <rng:optional>
      <rng: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>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.naming.attribute.nymRef">
    <rng:optional>
      <rng: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>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.placement.attributes">
    <ref name="att.placement.attribute.place"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.placement.attribute.place">
    <rng:optional>
      <rng: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>
        <rng:choice>
          <rng:value>infralinear</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">below the line</a:documentation>
          <rng:value>margin-bot</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(bottom margin) in the bottom margin</a:documentation>
          <rng:value>margin-left</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(left margin) in the left margin</a:documentation>
          <rng:value>margin-right</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(right margin) in the right margin</a:documentation>
          <rng:value>margin-top</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(top margin) in the top margin</a:documentation>
          <rng:value>opposite</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the opposite, i.e. facing, page</a:documentation>
          <rng:value>overleaf</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the other side of the leaf</a:documentation>
          <rng:value>supralinear</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">above the line</a:documentation>
          <rng:value>verso</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on verso of the sheet or page</a:documentation>
          <rng:value>app</rng: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>
          <rng:value>end</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">note appears at end of chapter or volume.</a:documentation>
          <rng:value>foot</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">note appears at foot of page.</a:documentation>
          <rng:value>inline</rng: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>
          <rng:value>interlinear</rng: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>
          <rng:value>inline</rng: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>
          <rng:value>mixed</rng: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"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.segLike.attributes">
    <ref name="att.segLike.attribute.type"/>
    <ref name="att.segLike.attribute.function"/>
    <ref name="att.segLike.attribute.part"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.segLike.attribute.type">
    <rng:optional>
      <rng:attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the type of segment.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.segLike.attribute.function">
    <rng:optional>
      <rng:attribute name="function">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the function of the segment.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.segLike.attribute.part">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
        <a:documentation>specifies whether or not the segment is fragmented by some other
structural element, for example a clause which is divided between two
or more sentences.</a:documentation>
        <rng:choice>
          <rng:value>Y</rng:value>
          <a:documentation>(yes) the segment is incomplete in some respect</a:documentation>
          <rng:value>N</rng:value>
          <a:documentation>(no) either the segment is complete, or no claim is made as to
its completeness</a:documentation>
          <rng:value>I</rng:value>
          <a:documentation>(initial) the initial part of an incomplete segment</a:documentation>
          <rng:value>M</rng:value>
          <a:documentation>(medial) a medial part of an incomplete segment</a:documentation>
          <rng:value>F</rng:value>
          <a:documentation>(final) the final part of an incomplete segment</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.spanning.attributes">
    <ref name="att.spanning.attribute.spanTo"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.spanning.attribute.spanTo">
    <rng:optional>
      <rng:attribute name="spanTo">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the end of a span initiated by the element
	bearing this attribute.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.tableDecoration.attributes">
    <ref name="att.tableDecoration.attribute.role"/>
    <ref name="att.tableDecoration.attribute.rows"/>
    <ref name="att.tableDecoration.attribute.cols"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attribute.role">
    <rng:optional>
      <rng: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>
        <rng:choice>
          <rng:value>label</rng:value>
          <a:documentation>labelling or descriptive information only.</a:documentation>
          <rng:value>data</rng:value>
          <a:documentation>data values.</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attribute.rows">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.tableDecoration.attribute.cols">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.timed.attributes">
    <ref name="att.timed.attribute.start"/>
    <ref name="att.timed.attribute.end"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.timed.attribute.start">
    <rng:optional>
      <rng:attribute name="start">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location within a temporal alignment at
      which this element begins.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.timed.attribute.end">
    <rng:optional>
      <rng:attribute name="end">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location within a temporal alignment at
      which this element ends.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.transcriptional.attributes">
    <ref name="att.transcriptional.attribute.hand"/>
    <ref name="att.transcriptional.attribute.status"/>
    <ref name="att.transcriptional.attribute.seq"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attribute.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signifies the hand of the agent which made the intervention.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attribute.status">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unremarkable">
        <a:documentation>indicates the effect of the intervention, for example in
      the case of a deletion, strikeouts
      which include too much or too little text, or in the case of an
      addition, an insertion which duplicates some of the text
      already present.
Sample values include: 1] duplicate; 2] duplicate-partial; 3] excessStart; 4] excessEnd; 5] shortStart; 6] shortEnd; 7] partial; 8] unremarkable</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.transcriptional.attribute.seq">
    <rng:optional>
      <rng:attribute name="seq">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sequence) assigns a sequence number related to the order in which
      the encoded features carrying this attribute are believed to have occurred.</a:documentation>
        <data type="nonNegativeInteger"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.translatable.attributes">
    <ref name="att.translatable.attribute.version"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.translatable.attribute.version">
    <rng:optional>
      <rng:attribute name="version">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version name or number of the source from
	which the translated version was derived</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.typed.attributes">
    <ref name="att.typed.attribute.type"/>
    <ref name="att.typed.attribute.subtype"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.typed.attribute.type">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.typed.attribute.subtype">
    <rng:optional>
      <rng:attribute name="subtype">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a sub-categorization of the element, if needed</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.xmlspace.attributes">
    <ref name="att.xmlspace.attribute.xmlspace"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.xmlspace.attribute.xmlspace">
    <rng:optional>
      <rng: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>
        <rng:choice>
          <rng:value>default</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <rng:value>preserve</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.nameLike.agent">
    <rng:choice>
      <ref name="tei_name"/>
      <ref name="tei_orgName"/>
      <ref name="tei_persName"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.segLike">
    <rng:choice>
      <ref name="tei_s"/>
      <ref name="tei_cl"/>
      <ref name="tei_phr"/>
      <ref name="tei_w"/>
      <ref name="tei_m"/>
      <ref name="tei_c"/>
      <ref name="tei_seg"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.hiLike">
    <rng:choice>
      <ref name="tei_hi"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.emphLike">
    <rng:choice>
      <ref name="tei_foreign"/>
      <ref name="tei_emph"/>
      <ref name="tei_distinct"/>
      <ref name="tei_mentioned"/>
      <ref name="tei_soCalled"/>
      <ref name="tei_gloss"/>
      <ref name="tei_term"/>
      <ref name="tei_title"/>
      <ref name="tei_code"/>
      <ref name="tei_ident"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.highlighted">
    <rng:choice>
      <ref name="tei_model.hiLike"/>
      <ref name="tei_model.emphLike"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.dateLike">
    <rng:choice>
      <ref name="tei_date"/>
      <ref name="tei_time"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.measureLike">
    <rng:choice>
      <ref name="tei_num"/>
      <ref name="tei_measure"/>
      <ref name="tei_measureGrp"/>
      <ref name="tei_height"/>
      <ref name="tei_depth"/>
      <ref name="tei_width"/>
      <ref name="tei_geo"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.egLike">
    <rng:choice>
      <ref name="tei_eg"/>
      <ref name="tei_egXML"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.graphicLike">
    <rng:choice>
      <ref name="tei_graphic"/>
      <ref name="tei_binaryObject"/>
      <ref name="tei_formula"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.offsetLike">
    <rng:choice>
      <ref name="tei_offset"/>
      <ref name="tei_geogFeat"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.msdesc">
    <rng:choice>
      <ref name="tei_catchwords"/>
      <ref name="tei_dimensions"/>
      <ref name="tei_heraldry"/>
      <ref name="tei_locus"/>
      <ref name="tei_material"/>
      <ref name="tei_origDate"/>
      <ref name="tei_origPlace"/>
      <ref name="tei_secFol"/>
      <ref name="tei_signatures"/>
      <ref name="tei_stamp"/>
      <ref name="tei_watermark"/>
      <ref name="tei_handShift"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.editorial">
    <rng:choice>
      <ref name="tei_choice"/>
      <ref name="tei_abbr"/>
      <ref name="tei_expan"/>
      <ref name="tei_ex"/>
      <ref name="tei_am"/>
      <ref name="tei_subst"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.transcriptional">
    <rng:choice>
      <ref name="tei_sic"/>
      <ref name="tei_corr"/>
      <ref name="tei_reg"/>
      <ref name="tei_orig"/>
      <ref name="tei_add"/>
      <ref name="tei_del"/>
      <ref name="tei_unclear"/>
      <ref name="tei_app"/>
      <ref name="tei_damage"/>
      <ref name="tei_restore"/>
      <ref name="tei_supplied"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.edit">
    <rng:choice>
      <ref name="tei_model.pPart.editorial"/>
      <ref name="tei_model.pPart.transcriptional"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.ptrLike">
    <rng:choice>
      <ref name="tei_ptr"/>
      <ref name="tei_ref"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.lPart">
    <rng:choice>
      <ref name="tei_caesura"/>
      <ref name="tei_rhyme"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global.meta">
    <rng:choice>
      <ref name="tei_index"/>
      <ref name="tei_span"/>
      <ref name="tei_spanGrp"/>
      <ref name="tei_interp"/>
      <ref name="tei_interpGrp"/>
      <ref name="tei_certainty"/>
      <ref name="tei_respons"/>
      <ref name="tei_fs"/>
      <ref name="tei_fLib"/>
      <ref name="tei_fvLib"/>
      <ref name="tei_link"/>
      <ref name="tei_linkGrp"/>
      <ref name="tei_timeline"/>
      <ref name="tei_join"/>
      <ref name="tei_joinGrp"/>
      <ref name="tei_alt"/>
      <ref name="tei_altGrp"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.milestoneLike">
    <rng:choice>
      <ref name="tei_milestone"/>
      <ref name="tei_pb"/>
      <ref name="tei_lb"/>
      <ref name="tei_cb"/>
      <ref name="tei_anchor"/>
      <ref name="tei_fw"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.gLike">
    <rng:choice>
      <ref name="tei_g"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.oddDecl">
    <rng:choice>
      <ref name="tei_moduleSpec"/>
      <ref name="tei_specGrp"/>
      <ref name="tei_elementSpec"/>
      <ref name="tei_classSpec"/>
      <ref name="tei_macroSpec"/>
      <ref name="tei_listRef"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.oddRef">
    <rng:choice>
      <ref name="tei_moduleRef"/>
      <ref name="tei_specGrpRef"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.phrase.xml">
    <rng:choice>
      <ref name="tei_att"/>
      <ref name="tei_gi"/>
      <ref name="tei_tag"/>
      <ref name="tei_val"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.specDescLike">
    <rng:choice>
      <ref name="tei_specList"/>
      <ref name="tei_specDesc"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.biblLike">
    <rng:choice>
      <ref name="tei_bibl"/>
      <ref name="tei_biblStruct"/>
      <ref name="tei_biblFull"/>
      <ref name="tei_msDesc"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.headLike">
    <rng:choice>
      <ref name="tei_head"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.labelLike">
    <rng:choice>
      <ref name="tei_desc"/>
      <ref name="tei_label"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.listLike">
    <rng:choice>
      <ref name="tei_list"/>
      <ref name="tei_listBibl"/>
      <ref name="tei_listOrg"/>
      <ref name="tei_listPerson"/>
      <ref name="tei_listPlace"/>
      <ref name="tei_listNym"/>
      <ref name="tei_listWit"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.noteLike">
    <rng:choice>
      <ref name="tei_note"/>
      <ref name="tei_witDetail"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.lLike">
    <rng:choice>
      <ref name="tei_l"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pLike">
    <rng:choice>
      <ref name="tei_p"/>
      <ref name="tei_ab"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.stageLike">
    <rng:choice>
      <ref name="tei_stage"/>
      <ref name="tei_move"/>
      <ref name="tei_view"/>
      <ref name="tei_camera"/>
      <ref name="tei_sound"/>
      <ref name="tei_caption"/>
      <ref name="tei_tech"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.featureVal.complex">
    <rng:choice>
      <ref name="tei_fs"/>
      <ref name="tei_vColl"/>
      <ref name="tei_vNot"/>
      <ref name="tei_vMerge"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.featureVal.single">
    <rng:choice>
      <ref name="tei_binary"/>
      <ref name="tei_symbol"/>
      <ref name="tei_numeric"/>
      <ref name="tei_string"/>
      <ref name="tei_vLabel"/>
      <ref name="tei_default"/>
      <ref name="tei_vAlt"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.entryPart">
    <rng:choice>
      <ref name="tei_superEntry"/>
      <ref name="tei_hom"/>
      <ref name="tei_sense"/>
      <ref name="tei_form"/>
      <ref name="tei_orth"/>
      <ref name="tei_pron"/>
      <ref name="tei_hyph"/>
      <ref name="tei_syll"/>
      <ref name="tei_stress"/>
      <ref name="tei_gen"/>
      <ref name="tei_number"/>
      <ref name="tei_case"/>
      <ref name="tei_per"/>
      <ref name="tei_tns"/>
      <ref name="tei_mood"/>
      <ref name="tei_iType"/>
      <ref name="tei_gramGrp"/>
      <ref name="tei_pos"/>
      <ref name="tei_subc"/>
      <ref name="tei_colloc"/>
      <ref name="tei_def"/>
      <ref name="tei_etym"/>
      <ref name="tei_usg"/>
      <ref name="tei_lbl"/>
      <ref name="tei_xr"/>
      <ref name="tei_re"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.entryPart.top">
    <rng:choice>
      <ref name="tei_cit"/>
      <ref name="tei_dictScrap"/>
      <ref name="tei_form"/>
      <ref name="tei_gramGrp"/>
      <ref name="tei_def"/>
      <ref name="tei_etym"/>
      <ref name="tei_usg"/>
      <ref name="tei_xr"/>
      <ref name="tei_re"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global.edit">
    <rng:choice>
      <ref name="tei_gap"/>
      <ref name="tei_addSpan"/>
      <ref name="tei_damageSpan"/>
      <ref name="tei_delSpan"/>
      <ref name="tei_space"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divPart">
    <rng:choice>
      <ref name="tei_model.lLike"/>
      <ref name="tei_model.pLike"/>
      <ref name="tei_lg"/>
      <ref name="tei_sp"/>
      <ref name="tei_graph"/>
      <ref name="tei_tree"/>
      <ref name="tei_eTree"/>
      <ref name="tei_forest"/>
      <ref name="tei_forestGrp"/>
      <ref name="tei_model.divPart.spoken"/>
      <ref name="tei_schemaSpec"/>
      <ref name="tei_floatingText"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.persTraitLike">
    <rng:choice>
      <ref name="tei_age"/>
      <ref name="tei_faith"/>
      <ref name="tei_langKnowledge"/>
      <ref name="tei_nationality"/>
      <ref name="tei_sex"/>
      <ref name="tei_socecStatus"/>
      <ref name="tei_trait"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.persStateLike">
    <rng:choice>
      <ref name="tei_persName"/>
      <ref name="tei_affiliation"/>
      <ref name="tei_education"/>
      <ref name="tei_floruit"/>
      <ref name="tei_occupation"/>
      <ref name="tei_residence"/>
      <ref name="tei_state"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.persEventLike">
    <rng:choice>
      <ref name="tei_birth"/>
      <ref name="tei_death"/>
      <ref name="tei_event"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.personLike">
    <rng:choice>
      <ref name="tei_org"/>
      <ref name="tei_person"/>
      <ref name="tei_personGrp"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.personPart">
    <rng:choice>
      <ref name="tei_model.persTraitLike"/>
      <ref name="tei_model.persStateLike"/>
      <ref name="tei_model.persEventLike"/>
      <ref name="tei_bibl"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.placeTraitLike">
    <rng:choice>
      <ref name="tei_climate"/>
      <ref name="tei_location"/>
      <ref name="tei_population"/>
      <ref name="tei_terrain"/>
      <ref name="tei_trait"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.placeNamePart">
    <rng:choice>
      <ref name="tei_placeName"/>
      <ref name="tei_bloc"/>
      <ref name="tei_country"/>
      <ref name="tei_region"/>
      <ref name="tei_district"/>
      <ref name="tei_settlement"/>
      <ref name="tei_geogName"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.placeNamePart_sequenceOptional">
    <optional>
      <ref name="tei_placeName"/>
    </optional>
    <optional>
      <ref name="tei_bloc"/>
    </optional>
    <optional>
      <ref name="tei_country"/>
    </optional>
    <optional>
      <ref name="tei_region"/>
    </optional>
    <optional>
      <ref name="tei_district"/>
    </optional>
    <optional>
      <ref name="tei_settlement"/>
    </optional>
    <optional>
      <ref name="tei_geogName"/>
    </optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.placeStateLike">
    <rng:choice>
      <ref name="tei_model.placeNamePart"/>
      <ref name="tei_state"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.placeEventLike">
    <rng:choice>
      <ref name="tei_event"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.publicationStmtPart">
    <rng:choice>
      <ref name="tei_address"/>
      <ref name="tei_date"/>
      <ref name="tei_publisher"/>
      <ref name="tei_pubPlace"/>
      <ref name="tei_distributor"/>
      <ref name="tei_authority"/>
      <ref name="tei_idno"/>
      <ref name="tei_availability"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.glossLike">
    <rng:choice>
      <ref name="tei_desc"/>
      <ref name="tei_gloss"/>
      <ref name="tei_equiv"/>
      <ref name="tei_altIdent"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.quoteLike">
    <rng:choice>
      <ref name="tei_quote"/>
      <ref name="tei_cit"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.qLike">
    <rng:choice>
      <ref name="tei_model.quoteLike"/>
      <ref name="tei_said"/>
      <ref name="tei_q"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.respLike">
    <rng:choice>
      <ref name="tei_author"/>
      <ref name="tei_editor"/>
      <ref name="tei_respStmt"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divWrapper">
    <rng:choice>
      <ref name="tei_meeting"/>
      <ref name="tei_byline"/>
      <ref name="tei_dateline"/>
      <ref name="tei_argument"/>
      <ref name="tei_epigraph"/>
      <ref name="tei_docAuthor"/>
      <ref name="tei_docDate"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divTopPart">
    <rng:choice>
      <ref name="tei_model.headLike"/>
      <ref name="tei_opener"/>
      <ref name="tei_salute"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divTop">
    <rng:choice>
      <ref name="tei_model.divWrapper"/>
      <ref name="tei_model.divTopPart"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.frontPart.drama">
    <rng:choice>
      <ref name="tei_set"/>
      <ref name="tei_prologue"/>
      <ref name="tei_epilogue"/>
      <ref name="tei_performance"/>
      <ref name="tei_castList"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pLike.front">
    <rng:choice>
      <ref name="tei_head"/>
      <ref name="tei_byline"/>
      <ref name="tei_argument"/>
      <ref name="tei_epigraph"/>
      <ref name="tei_docTitle"/>
      <ref name="tei_titlePart"/>
      <ref name="tei_docAuthor"/>
      <ref name="tei_docEdition"/>
      <ref name="tei_docImprint"/>
      <ref name="tei_docDate"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divBottomPart">
    <rng:choice>
      <ref name="tei_trailer"/>
      <ref name="tei_closer"/>
      <ref name="tei_signed"/>
      <ref name="tei_postscript"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divBottom">
    <rng:choice>
      <ref name="tei_model.divWrapper"/>
      <ref name="tei_model.divBottomPart"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.titlepagePart">
    <rng:choice>
      <ref name="tei_graphic"/>
      <ref name="tei_binaryObject"/>
      <ref name="tei_figure"/>
      <ref name="tei_byline"/>
      <ref name="tei_epigraph"/>
      <ref name="tei_docTitle"/>
      <ref name="tei_titlePart"/>
      <ref name="tei_docAuthor"/>
      <ref name="tei_imprimatur"/>
      <ref name="tei_docEdition"/>
      <ref name="tei_docImprint"/>
      <ref name="tei_docDate"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.msItemPart">
    <rng:choice>
      <ref name="tei_model.quoteLike"/>
      <ref name="tei_model.respLike"/>
      <ref name="tei_title"/>
      <ref name="tei_bibl"/>
      <ref name="tei_listBibl"/>
      <ref name="tei_colophon"/>
      <ref name="tei_explicit"/>
      <ref name="tei_filiation"/>
      <ref name="tei_finalRubric"/>
      <ref name="tei_incipit"/>
      <ref name="tei_msItem"/>
      <ref name="tei_msItemStruct"/>
      <ref name="tei_rubric"/>
      <ref name="tei_textLang"/>
      <ref name="tei_decoNote"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.choicePart">
    <rng:choice>
      <ref name="tei_sic"/>
      <ref name="tei_corr"/>
      <ref name="tei_reg"/>
      <ref name="tei_orig"/>
      <ref name="tei_unclear"/>
      <ref name="tei_abbr"/>
      <ref name="tei_expan"/>
      <ref name="tei_seg"/>
      <ref name="tei_ex"/>
      <ref name="tei_am"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.imprintPart">
    <rng:choice>
      <ref name="tei_publisher"/>
      <ref name="tei_biblScope"/>
      <ref name="tei_pubPlace"/>
      <ref name="tei_distributor"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.catDescPart">
    <rng:choice>
      <ref name="tei_textDesc"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.settingPart">
    <rng:choice>
      <ref name="tei_locale"/>
      <ref name="tei_activity"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.textDescPart_sequence">
    <ref name="tei_channel"/>
    <ref name="tei_constitution"/>
    <ref name="tei_derivation"/>
    <ref name="tei_domain"/>
    <ref name="tei_factuality"/>
    <ref name="tei_interaction"/>
    <ref name="tei_preparedness"/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.castItemPart">
    <rng:choice>
      <ref name="tei_role"/>
      <ref name="tei_roleDesc"/>
      <ref name="tei_actor"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.physDescPart_sequenceOptional">
    <optional>
      <ref name="tei_objectDesc"/>
    </optional>
    <optional>
      <ref name="tei_handDesc"/>
    </optional>
    <optional>
      <ref name="tei_musicNotation"/>
    </optional>
    <optional>
      <ref name="tei_decoDesc"/>
    </optional>
    <optional>
      <ref name="tei_additions"/>
    </optional>
    <optional>
      <ref name="tei_bindingDesc"/>
    </optional>
    <optional>
      <ref name="tei_sealDesc"/>
    </optional>
    <optional>
      <ref name="tei_accMat"/>
    </optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.addressLike">
    <rng:choice>
      <ref name="tei_email"/>
      <ref name="tei_address"/>
      <ref name="tei_affiliation"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.nameLike">
    <rng:choice>
      <ref name="tei_model.nameLike.agent"/>
      <ref name="tei_model.offsetLike"/>
      <ref name="tei_model.placeStateLike"/>
      <ref name="tei_rs"/>
      <ref name="tei_lang"/>
      <ref name="tei_model.persNamePart"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global">
    <rng:choice>
      <ref name="tei_model.global.meta"/>
      <ref name="tei_model.milestoneLike"/>
      <ref name="tei_model.noteLike"/>
      <ref name="tei_model.global.edit"/>
      <ref name="tei_model.global.spoken"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.featureVal">
    <rng:choice>
      <ref name="tei_model.featureVal.complex"/>
      <ref name="tei_model.featureVal.single"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.biblPart">
    <rng:choice>
      <ref name="tei_model.respLike"/>
      <ref name="tei_model.imprintPart"/>
      <ref name="tei_series"/>
      <ref name="tei_meeting"/>
      <ref name="tei_relatedItem"/>
      <ref name="tei_edition"/>
      <ref name="tei_extent"/>
      <ref name="tei_idno"/>
      <ref name="tei_msIdentifier"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.frontPart">
    <rng:choice>
      <ref name="tei_model.frontPart.drama"/>
      <ref name="tei_divGen"/>
      <ref name="tei_titlePage"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.addrPart">
    <rng:choice>
      <ref name="tei_model.nameLike"/>
      <ref name="tei_addrLine"/>
      <ref name="tei_street"/>
      <ref name="tei_postCode"/>
      <ref name="tei_postBox"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.pPart.data">
    <rng:choice>
      <ref name="tei_model.dateLike"/>
      <ref name="tei_model.measureLike"/>
      <ref name="tei_model.addressLike"/>
      <ref name="tei_model.nameLike"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.inter">
    <rng:choice>
      <ref name="tei_model.egLike"/>
      <ref name="tei_model.oddDecl"/>
      <ref name="tei_model.oddRef"/>
      <ref name="tei_model.biblLike"/>
      <ref name="tei_model.labelLike"/>
      <ref name="tei_model.listLike"/>
      <ref name="tei_model.stageLike"/>
      <ref name="tei_model.qLike"/>
      <ref name="tei_castList"/>
      <ref name="tei_table"/>
      <ref name="tei_figure"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.common">
    <rng:choice>
      <ref name="tei_model.divPart"/>
      <ref name="tei_model.inter"/>
      <ref name="tei_model.entryLike"/>
      <ref name="tei_include"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.phrase">
    <rng:choice>
      <ref name="tei_model.segLike"/>
      <ref name="tei_model.highlighted"/>
      <ref name="tei_model.graphicLike"/>
      <ref name="tei_model.pPart.msdesc"/>
      <ref name="tei_model.pPart.edit"/>
      <ref name="tei_model.ptrLike"/>
      <ref name="tei_model.lPart"/>
      <ref name="tei_model.phrase.xml"/>
      <ref name="tei_model.specDescLike"/>
      <ref name="tei_model.pPart.data"/>
      <ref name="tei_model.ptrLike.form"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.limitedPhrase">
    <rng:choice>
      <ref name="tei_model.emphLike"/>
      <ref name="tei_model.pPart.msdesc"/>
      <ref name="tei_model.pPart.editorial"/>
      <ref name="tei_model.ptrLike"/>
      <ref name="tei_model.phrase.xml"/>
      <ref name="tei_model.pPart.data"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divLike">
    <rng:choice>
      <ref name="tei_div"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divGenLike">
    <rng:choice>
      <ref name="tei_divGen"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div1Like">
    <rng:choice>
      <ref name="tei_div1"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div2Like">
    <rng:choice>
      <ref name="tei_div2"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div3Like">
    <rng:choice>
      <ref name="tei_div3"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div4Like">
    <rng:choice>
      <ref name="tei_div4"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div5Like">
    <rng:choice>
      <ref name="tei_div5"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div6Like">
    <rng:choice>
      <ref name="tei_div6"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.div7Like">
    <rng:choice>
      <ref name="tei_div7"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.dimensions.attributes">
    <ref name="att.dimensions.attribute.unit"/>
    <ref name="att.dimensions.attribute.quantity"/>
    <ref name="att.dimensions.attribute.precision"/>
    <ref name="att.dimensions.attribute.scope"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.unit">
    <rng:optional>
      <rng:attribute name="unit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for the measurement
Suggested values include: 1] cm (centimetres); 2] mm (millimetres); 3] in (inches); 4] lines; 5] chars (characters)</a:documentation>
        <rng:choice>
          <rng:value>cm</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
          <rng:value>mm</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
          <rng:value>in</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
          <rng:value>lines</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
          <rng:value>chars</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.quantity">
    <rng:optional>
      <rng:attribute name="quantity">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the length in the units specified</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.precision">
    <rng:optional>
      <rng:attribute name="precision">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the precision of the specified measurement.</a:documentation>
        <choice>
          <value>high</value>
          <value>medium</value>
          <value>low</value>
          <value>unknown</value>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.dimensions.attribute.scope">
    <rng:optional>
      <rng:attribute name="scope">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the applicability of this measurement, where
      more than one object is being measured.
Sample values include: 1] all; 2] most; 3] range</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.resourceLike">
    <rng:choice>
      <ref name="tei_fsdDecl"/>
      <ref name="tei_facsimile"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.personal.attributes">
    <ref name="att.personal.attribute.full"/>
    <ref name="att.personal.attribute.sort"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.personal.attribute.full">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="full" a:defaultValue="yes">
        <a:documentation>indicates whether the name component is given in full, as an
abbreviation or simply as an initial.</a:documentation>
        <rng:choice>
          <rng:value>yes</rng:value>
          <a:documentation>the name component is spelled out in full.</a:documentation>
          <rng:value>abb</rng:value>
          <a:documentation>(abbreviated) the name component is given in an
abbreviated form.</a:documentation>
          <rng:value>init</rng:value>
          <a:documentation>(initial letter) the name component is indicated only by
one initial.</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.personal.attribute.sort">
    <rng:optional>
      <rng:attribute name="sort">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sort order of the name component in relation
to others within the personal name.</a:documentation>
        <data type="nonNegativeInteger"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.placeLike">
    <rng:choice>
      <ref name="tei_place"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_p">
    <element name="p">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(paragraph) marks paragraphs in prose.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_foreign">
    <element name="foreign">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign) identifies a word or phrase as belonging to some language other
than that of the surrounding text. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_hi">
    <element name="hi">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(highlighted) marks a word or phrase as graphically distinct from the
surrounding text, for reasons concerning which no claim is
made. </a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_distinct">
    <element name="distinct">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies any word or phrase which is regarded as linguistically
distinct, for example as archaic, technical, dialectal, non-preferred,
etc., or as forming part of a sublanguage. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sublanguage or register to which the word or phrase
is being assigned</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="time">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how the phrase is distinct diachronically</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="space">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how the phrase is distinct diatopically</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="social">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies how the phrase is distinct diastatically</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_said">
    <element name="said">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(speech or thought) indicates passages thought or spoken aloud, whether
  explicitly indicated in the source or not, whether directly
  or indirectly reported, whether by real people or
  fictional characters.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.msExcerpt.attribute.defective"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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 but not used.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng: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>
          <rng:choice>
            <rng:value>spoken</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">representation of speech</a:documentation>
            <rng:value>thought</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">representation of thought, e.g. internal monologue</a:documentation>
            <rng:value>written</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">quotation from a written source</a:documentation>
            <rng:value>soCalled</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">authorial distance</a:documentation>
            <rng:value>foreign</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(foreign words) </a:documentation>
            <rng:value>distinct</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(linguistically distinct) </a:documentation>
            <rng:value>term</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(technical term) </a:documentation>
            <rng:value>emph</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rhetorically emphasized) </a:documentation>
            <rng:value>mentioned</rng: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"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cit">
    <element name="cit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cited quotation) contains a quotation from some other document, together with a
  bibliographic reference to its source.  In a dictionary it may
  contain an example text with at least one occurrence of the word
  form, used in the sense being described, or a translation of the
  headword, or an example. </a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_model.qLike"/>
          <ref name="tei_model.biblLike"/>
          <ref name="tei_model.ptrLike"/>
          <ref name="tei_model.global"/>
          <ref name="tei_model.entryPart"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_mentioned">
    <element name="mentioned">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks words or phrases mentioned, not used.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_soCalled">
    <element name="soCalled">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase for which the author or narrator
indicates a disclaiming of responsibility, for example by the use
of scare quotes or italics.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_desc">
    <element name="desc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description) contains a brief description of the intended usage, purpose,
  or application of its parent element.</a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.translatable.attribute.version"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gloss">
    <element name="gloss">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a phrase or word used to provide a gloss or
  definition for some other word or phrase.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <ref name="att.translatable.attribute.version"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:choice>
        <rng:optional>
          <rng:attribute name="target">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the associated term element by an
      absolute or relative URI reference</a:documentation>
            <data type="anyURI"/>
          </rng:attribute>
        </rng:optional>
        <rng:optional>
          <rng:attribute name="cRef">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(canonical reference) identifies the associated term element using a canonical
      reference from a scheme defined in a refsDecl element
      in the TEI header</a:documentation>
            <data type="anyURI"/>
          </rng:attribute>
        </rng:optional>
      </rng:choice>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <rng:choice>
        <rng:optional>
          <rng: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"/>
          </rng:attribute>
        </rng:optional>
        <rng:optional>
          <rng: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"/>
          </rng:attribute>
        </rng:optional>
      </rng:choice>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sic">
    <element name="sic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(latin for thus or so) contains text reproduced although apparently incorrect or inaccurate.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_corr">
    <element name="corr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(correction) contains the correct form of a passage apparently erroneous in the copy text.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_choice">
    <element name="choice">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups a number of alternative encodings for the same point in
  a text.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_model.choicePart"/>
          <ref name="tei_choice"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_reg">
    <element name="reg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(regularization) contains a reading which has been regularized or normalized
in some sense.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_orig">
    <element name="orig">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original form) contains  a reading which is marked as following  the original,
rather than being normalized or corrected.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gap">
    <element name="gap">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates a point where material has been omitted in a
transcription, whether for editorial reasons described in the TEI
header, as part of sampling practice, or because the material is
illegible, invisible, or inaudible.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.duration.iso.attribute.dur-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:optional>
        <rng:attribute name="reason">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the reason for omission. Sample values include
      sampling, illegible, inaudible,
      irrelevant, cancelled, illegible.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="hand">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in the case of text omitted from the transcription because of
deliberate deletion by an identifiable hand, signifies the hand which
made the deletion.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="agent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">In the case of text omitted because of damage, categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="extent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates approximately how much text has been omitted
      from the transcription (using the unit specified on the
      unit attribute), either because of editorial policy
      or because a deletion, damage, or other cause has rendered
      transcription impossible.</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="unit">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the unit used for describing the extent of the gap
Suggested values include: 1] lines; 2] chars (characters); 3] pages; 4] cm (centimetres); 5] mm (millimetres); 6] in (inches)</a:documentation>
          <rng:choice>
            <rng:value>lines</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">lines of text</a:documentation>
            <rng:value>chars</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(characters) characters of text</a:documentation>
            <rng:value>pages</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">pages, i.e. one side of a leaf</a:documentation>
            <rng:value>cm</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(centimetres) </a:documentation>
            <rng:value>mm</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(millimetres) </a:documentation>
            <rng:value>in</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inches) </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_add">
    <element name="add">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(addition) contains letters, words, or phrases inserted in the text by an
author, scribe, annotator, or corrector.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.placement.attribute.place"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_del">
    <element name="del">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(deletion) contains a letter, word, or passage deleted, marked as deleted,
or otherwise indicated as superfluous or spurious in the copy text by an
author, scribe, annotator, or corrector.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_unclear">
    <element name="unclear">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word, phrase, or passage which cannot be transcribed
with certainty because it is illegible or inaudible in the source.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:optional>
        <rng:attribute name="reason">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates why the material is hard to transcribe.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="hand">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Where the difficulty in transcription arises from action
(partial deletion, etc.) assignable to an identifiable hand, signifies
the hand responsible for the action.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="agent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Where the difficulty in transcription arises from
 damage, categorizes the cause of the damage, if it can be identified.
Sample values include: 1] rubbing; 2] mildew; 3] smoke</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rs">
    <element name="rs">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(referencing string) contains a general purpose name or referring string.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates more specifically the object referred to by the
      referencing string. Values might include person,
      place, ship, element etc.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="tei_model.addrPart"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_street">
    <element name="street">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a full street address including any name or number identifying a
building as well as the name of the street or route on which it is
located.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_postCode">
    <element name="postCode">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(postal code) contains a numerical or alphanumeric code used as part of a
postal address to simplify sorting or delivery of mail. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_postBox">
    <element name="postBox">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(postal box or post office box) contains a number or other identifier for some postal delivery
point other than a street address. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_num">
    <element name="num">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(number) contains a number, written in any form.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of numeric value.
Suggested values include: 1] cardinal; 2] ordinal; 3] fraction; 4] percentage</a:documentation>
          <rng:choice>
            <rng:value>cardinal</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">absolute number, e.g. 21, 21.5</a:documentation>
            <rng:value>ordinal</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">ordinal number, e.g. 21st</a:documentation>
            <rng:value>fraction</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">fraction, e.g. one half or three-quarters</a:documentation>
            <rng:value>percentage</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a percentage</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of the number in standard form.</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_measure">
    <element name="measure">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase referring to some quantity of
an object or commodity, usually comprising a number, a unit, and a
commodity name.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.measurement.attribute.unit"/>
      <ref name="att.measurement.attribute.quantity"/>
      <ref name="att.measurement.attribute.commodity"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the type of measurement in any convenient typology.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.measureLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.measurement.attribute.unit"/>
      <ref name="att.measurement.attribute.quantity"/>
      <ref name="att.measurement.attribute.commodity"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.duration.iso.attribute.dur-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng: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>
          <rng:choice>
            <rng:value>Gregorian</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Gregorian calendar</a:documentation>
            <rng:value>Julian</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Julian calendar</a:documentation>
            <rng:value>Islamic</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Islamic or Muslim (hijri) lunar calendar</a:documentation>
            <rng:value>Hebrew</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Hebrew or Jewish lunisolar calendar</a:documentation>
            <rng:value>Revolutionary</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">French Revolutionary calendar</a:documentation>
            <rng:value>Iranian</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Iranian or Persian (Jalaali) solar calendar</a:documentation>
            <rng:value>Coptic</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Coptic or Alexandrian calendar</a:documentation>
            <rng:value>Chinese</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Chinese lunisolar calendar</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_time">
    <element name="time">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a phrase defining a time of day in any format.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.duration.iso.attribute.dur-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_abbr">
    <element name="abbr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(abbreviation) contains an abbreviation of any sort.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">allows the encoder to classify the abbreviation according to
some convenient typology.
Sample values include: 1] suspension; 2] contraction; 3] brevigraph; 4] superscription; 5] acronym; 6] title; 7] organization; 8] geographic</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_expan">
    <element name="expan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(expansion) contains the expansion of an abbreviation.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ptr">
    <element name="ptr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pointer) defines a pointer to another location.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <ref name="att.declaring.attribute.decls"/>
      <rng:choice>
        <rng:attribute name="target">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the destination of the pointer by supplying one or
      more URI References</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
        <rng:attribute name="cRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(canonical reference) specifies the destination of the pointer by supplying a
      canonical reference from a scheme defined in a refsDecl
      element in the TEI header</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:choice>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <ref name="att.declaring.attribute.decls"/>
      <rng:choice>
        <rng:optional>
          <rng: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>
            <rng:list>
              <rng:oneOrMore>
                <data type="anyURI"/>
              </rng:oneOrMore>
            </rng:list>
          </rng:attribute>
        </rng:optional>
        <rng:optional>
          <rng: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>
            <rng:list>
              <rng:oneOrMore>
                <data type="token">
                  <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
                </data>
              </rng:oneOrMore>
            </rng:list>
          </rng:attribute>
        </rng:optional>
      </rng:choice>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
          <choice>
            <group>
              <ref name="tei_model.divTop"/>
            </group>
            <group>
              <ref name="tei_model.global"/>
            </group>
          </choice>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="tei_item"/>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </oneOrMore>
          <group>
            <optional>
              <ref name="tei_headLabel"/>
            </optional>
            <optional>
              <ref name="tei_headItem"/>
            </optional>
            <oneOrMore>
              <ref name="tei_label"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
              <ref name="tei_item"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <group>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="simple">
          <a:documentation>describes the form of the list.
Suggested values include: 1] ordered; 2] bulleted; 3] simple; 4] gloss</a:documentation>
          <rng:choice>
            <rng:value>ordered</rng:value>
            <a:documentation>list items are numbered or lettered.
    </a:documentation>
            <rng:value>bulleted</rng:value>
            <a:documentation>list items are marked with a
bullet or other typographic device.
    </a:documentation>
            <rng:value>simple</rng:value>
            <a:documentation>list items are not numbered or bulleted.
    </a:documentation>
            <rng:value>gloss</rng:value>
            <a:documentation>each list item glosses some term or
concept, which is given by a label element preceding
the list item.</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_item">
    <element name="item">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one
component of a list.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_headLabel">
    <element name="headLabel">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading for list labels) contains the heading for the label or term column in a
glossary list or similar structured list.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_headItem">
    <element name="headItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(heading for list items) contains the heading for the item or gloss column in a
glossary list or similar structured list.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_note">
    <element name="note">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a note or annotation.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.placement.attribute.place"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the type of note.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="resp">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates who is responsible for the annotation: author,
	editor, translator, etc.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="anchored" a:defaultValue="true">
          <a:documentation>indicates whether the copy text shows the exact place of reference
for the note.</a:documentation>
          <choice>
            <data type="boolean"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="target">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the point (or points) of attachment for a note, or the beginning of
the span to which the note is attached.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="targetEnd">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to the end of the span to which the note is attached, if
the note is not embedded in the text at that point.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_index">
    <element name="index">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(index entry) marks a location to be indexed for whatever purpose.</a:documentation>
      <zeroOrMore>
        <group>
          <ref name="tei_term"/>
          <optional>
            <ref name="tei_index"/>
          </optional>
        </group>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.spanning.attribute.spanTo"/>
      <rng:optional>
        <rng:attribute name="indexName">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name to specify which index (of several) the index entry belongs to.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.internetMedia.attribute.mimeType"/>
      <ref name="att.declaring.attribute.decls"/>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="url">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) A URL which refers to the image itself.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_binaryObject">
    <element name="binaryObject">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides encoded binary data representing an inline graphic or other object.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.internetMedia.attribute.mimeType"/>
      <rng:optional>
        <rng:attribute name="width">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display width of the object</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>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="height">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The display height of the object</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>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="scale">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A scale factor to be applied to the object to make it the desired display size</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="encoding">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The encoding used to encode the binary data. If not
      specified, this is assumed to be Base64.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_milestone">
    <element name="milestone">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks a boundary point separating  any kind of section of a
  text, typically but not necessarily  indicating a point at which
  some part of  a standard reference system changes, where the change
  is not represented by a structural element.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="ed">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) indicates the edition or version to which the milestone applies.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:attribute name="unit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a conventional name for the kind of section changing at this milestone.
Suggested values include: 1] page; 2] column; 3] line; 4] book; 5] poem; 6] canto; 7] speaker; 8] stanza; 9] act; 10] scene; 11] section; 12] absent; 13] unnumbered</a:documentation>
        <rng:choice>
          <rng:value>page</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">physical page breaks (synonymous with the pb
	  element).</a:documentation>
          <rng:value>column</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">column breaks.</a:documentation>
          <rng:value>line</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">line breaks (synonymous with the lb element).</a:documentation>
          <rng:value>book</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">any units termed book, liber, etc.</a:documentation>
          <rng:value>poem</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">individual poems in a collection.</a:documentation>
          <rng:value>canto</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">cantos or other major sections of a poem.</a:documentation>
          <rng:value>speaker</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">changes of speaker or narrator.</a:documentation>
          <rng:value>stanza</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">stanzas within a poem, book, or canto.</a:documentation>
          <rng:value>act</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">acts within a play.</a:documentation>
          <rng:value>scene</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">scenes within a play or act.</a:documentation>
          <rng:value>section</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">sections of any kind.</a:documentation>
          <rng:value>absent</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">passages not present in the reference edition.</a:documentation>
          <rng:value>unnumbered</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">passages present in the text, but not to be included
	  as part of the reference.</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pb">
    <element name="pb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(page break) marks the boundary between one page of a text and the next
in a standard reference system.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="ed">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) indicates the edition or version in which the page break is located
at this point</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lb">
    <element name="lb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line break) marks the start of a new (typographic) line in some
edition or version of a text.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="ed">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) indicates the edition or version in which the line break is located
at this point</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cb">
    <element name="cb">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(column break) marks the boundary between one column of a text and the next
in a standard reference system.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="ed">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) indicates the edition or version in which the column break is located
at this point</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_analytic">
    <element name="analytic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(analytic level) contains bibliographic elements describing an item (e.g. an
article or poem) published within a monograph or journal and not as an
independent publication.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_author"/>
          <ref name="tei_editor"/>
          <ref name="tei_respStmt"/>
          <ref name="tei_title"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_monogr">
    <element name="monogr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(monographic level) contains bibliographic elements describing an item (e.g. a book
or journal) published as an independent item (i.e. as a separate
physical object).</a:documentation>
      <group>
        <optional>
          <choice>
            <group>
              <choice>
                <ref name="tei_author"/>
                <ref name="tei_editor"/>
                <ref name="tei_respStmt"/>
              </choice>
              <zeroOrMore>
                <choice>
                  <ref name="tei_author"/>
                  <ref name="tei_editor"/>
                  <ref name="tei_respStmt"/>
                </choice>
              </zeroOrMore>
              <oneOrMore>
                <ref name="tei_title"/>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_editor"/>
                  <ref name="tei_respStmt"/>
                </choice>
              </zeroOrMore>
            </group>
            <group>
              <oneOrMore>
                <ref name="tei_title"/>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_author"/>
                  <ref name="tei_editor"/>
                  <ref name="tei_respStmt"/>
                </choice>
              </zeroOrMore>
            </group>
          </choice>
        </optional>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_meeting"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_edition"/>
          <zeroOrMore>
            <choice>
              <ref name="tei_editor"/>
              <ref name="tei_respStmt"/>
            </choice>
          </zeroOrMore>
        </zeroOrMore>
        <ref name="tei_imprint"/>
        <zeroOrMore>
          <choice>
            <ref name="tei_imprint"/>
            <ref name="tei_extent"/>
            <ref name="tei_biblScope"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_series">
    <element name="series">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series information) contains information about the series in which a book or other
bibliographic item has appeared.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_title"/>
          <ref name="tei_editor"/>
          <ref name="tei_respStmt"/>
          <ref name="tei_biblScope"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_editor">
    <element name="editor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">secondary statement of responsibility for a
bibliographic item, for example the name of an individual, institution
or organization, (or of several such) acting as editor, compiler,
translator, etc. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="role" a:defaultValue="editor">
          <a:documentation>specifies the nature of the intellectual responsibility</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_resp"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="tei_model.nameLike.agent"/>
          </oneOrMore>
        </group>
        <group>
          <oneOrMore>
            <ref name="tei_model.nameLike.agent"/>
          </oneOrMore>
          <oneOrMore>
            <ref name="tei_resp"/>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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>
          <rng:choice>
            <rng:value>a</rng: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>
            <rng:value>m</rng: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>
            <rng:value>j</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(journal) journal title
    </a:documentation>
            <rng:value>s</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series) series title
    </a:documentation>
            <rng:value>u</rng: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>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_meeting">
    <element name="meeting">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the formalized descriptive title for a meeting or
  conference, for use in a bibliographic description for an item
  derived from such a meeting, or as a heading or preamble to
  publications emanating from it.</a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_imprint">
    <element name="imprint">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups information relating to the publication or distribution
  of a bibliographic item.</a:documentation>
      <oneOrMore>
        <choice>
          <group>
            <ref name="tei_model.imprintPart"/>
          </group>
          <group>
            <ref name="tei_model.dateLike"/>
          </group>
        </choice>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_biblScope">
    <element name="biblScope">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(scope of citation) defines the scope of a bibliographic reference, for example as a
list of page numbers, or a named subdivision of a larger work.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the type of information conveyed by the element, e.g.
pages, volume.
Suggested values include: 1] vol (volume); 2] issue; 3] pp (pages); 4] chap (chapter); 5] part</a:documentation>
          <rng:choice>
            <rng:value>vol</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(volume) the element contains a volume number.</a:documentation>
            <rng:value>issue</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the element contains an issue number, or volume and
issue numbers.</a:documentation>
            <rng:value>pp</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pages) the element contains a page number or page range.</a:documentation>
            <rng:value>chap</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(chapter) the element contains a chapter indication (number
and/or title)</a:documentation>
            <rng:value>part</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the element identifies a part of a book or collection.</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pubPlace">
    <element name="pubPlace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(publication place) contains the name of the place where a bibliographic item was
published.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.gLike"/>
          <ref name="tei_model.highlighted"/>
          <ref name="tei_model.pPart.data"/>
          <ref name="tei_model.pPart.edit"/>
          <ref name="tei_model.segLike"/>
          <ref name="tei_model.ptrLike"/>
          <ref name="tei_model.biblPart"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_biblStruct">
    <element name="biblStruct">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(structured bibliographic citation) contains a structured bibliographic citation, in which only
bibliographic sub-elements appear and in a specified order. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_analytic"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="tei_monogr"/>
          <zeroOrMore>
            <ref name="tei_series"/>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_idno"/>
            <ref name="tei_relatedItem"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listBibl">
    <element name="listBibl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(citation list) contains a list of bibliographic citations of any kind. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_model.biblLike"/>
            <ref name="tei_listBibl"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.biblLike"/>
        <ref name="tei_model.ptrLike"/>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_l">
    <element name="l">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(verse line) contains a single, possibly incomplete, line of verse.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.enjamb.attribute.enjamb"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
          <a:documentation>specifies whether or not the line is metrically complete. </a:documentation>
          <rng:choice>
            <rng:value>Y</rng:value>
            <a:documentation>(yes) the line is metrically incomplete</a:documentation>
            <rng:value>N</rng:value>
            <a:documentation>(no) either the line is complete, or no claim is made as to its
completeness</a:documentation>
            <rng:value>I</rng:value>
            <a:documentation>(initial) the initial part of an incomplete line</a:documentation>
            <rng:value>M</rng:value>
            <a:documentation>(medial) a medial part of an incomplete line</a:documentation>
            <rng:value>F</rng:value>
            <a:documentation>(final) the final part of an incomplete line</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lg">
    <element name="lg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(line group) contains a group of verse lines functioning as a formal unit,
e.g. a stanza, refrain, verse paragraph, etc.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <choice>
          <ref name="tei_model.lLike"/>
          <ref name="tei_lg"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.lLike"/>
            <ref name="tei_lg"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <group>
            <ref name="tei_model.divBottom"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sp">
    <element name="sp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(speech) An individual speech in a performance text, or a passage
	  presented as such in a prose or verse text.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_speaker"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="tei_model.lLike"/>
            <ref name="tei_lg"/>
            <ref name="tei_model.pLike"/>
            <ref name="tei_model.stageLike"/>
            <ref name="tei_model.qLike"/>
          </choice>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_speaker">
    <element name="speaker">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A specialized form of heading or label, giving the name of
one or more speakers in a dramatic text or fragment.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stage">
    <element name="stage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(stage direction) contains any kind of stage direction within a dramatic text or
fragment.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the kind of stage direction.
Suggested values include: 1] setting; 2] entrance; 3] exit; 4] business; 5] novelistic; 6] delivery; 7] modifier; 8] location; 9] mixed</a:documentation>
          <rng:choice>
            <rng:value>setting</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a setting.</a:documentation>
            <rng:value>entrance</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes an entrance.</a:documentation>
            <rng:value>exit</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes an exit.</a:documentation>
            <rng:value>business</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes stage business.</a:documentation>
            <rng:value>novelistic</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">is a narrative, motivating stage direction.</a:documentation>
            <rng:value>delivery</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes how a character speaks.</a:documentation>
            <rng:value>modifier</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives some detail about a character.</a:documentation>
            <rng:value>location</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a location.</a:documentation>
            <rng:value>mixed</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">more than one of the above</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_teiCorpus">
    <element name="teiCorpus">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the whole of a TEI encoded corpus, comprising a
single corpus header and one or more TEI elements, each containing
a single text header and a text.</a:documentation>
      <group>
        <ref name="tei_teiHeader"/>
        <oneOrMore>
          <choice>
            <ref name="tei_TEI"/>
            <ref name="tei_teiCorpus"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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="decimal"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_divGen">
    <element name="divGen">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(automatically generated text division) indicates the location at which a textual division generated
automatically by a text-processing application is to appear.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.headLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies what type of generated text division (e.g. index,
table of contents, etc.) is to appear.
Sample values include: 1] index; 2] toc; 3] figlist; 4] tablist</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_s">
    <element name="s">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(s-unit) contains a sentence-like division of a text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cl">
    <element name="cl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(clause) represents a grammatical clause.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_phr">
    <element name="phr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(phrase) represents a grammatical phrase.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_w">
    <element name="w">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(word) represents a grammatical (not necessarily orthographic) word.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.segLike"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <rng:optional>
        <rng:attribute name="lemma">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a lemma for the word, such as an uninflected
      dictionary entry form.</a:documentation>
          <data type="string"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="lemmaRef">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a pointer to a definition for the root form of this word
form.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_m">
    <element name="m">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(morpheme) represents a grammatical morpheme.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.segLike"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <rng:optional>
        <rng:attribute name="baseForm">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the morpheme's base form.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_c">
    <element name="c">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character) represents a character.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_span">
    <element name="span">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">associates an interpretative annotation directly with a span
  of text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.interpLike.attribute.resp"/>
      <ref name="att.interpLike.attribute.type"/>
      <ref name="att.interpLike.attribute.inst"/>
      <rng:attribute name="from">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the beginning of the passage being annotated; if
      not accompanied by a to attribute, then specifies the
      entire passage.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="to">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the end of the passage being annotated.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_spanGrp">
    <element name="spanGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(span group) collects together span tags.</a:documentation>
      <zeroOrMore>
        <ref name="tei_span"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.interpLike.attribute.resp"/>
      <ref name="att.interpLike.attribute.type"/>
      <ref name="att.interpLike.attribute.inst"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.glossLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.interpLike.attribute.resp"/>
      <ref name="att.interpLike.attribute.type"/>
      <ref name="att.interpLike.attribute.inst"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_interpGrp">
    <element name="interpGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(interpretation group) collects together a set of related interpretations which share
responsibility or type.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="tei_interp"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.interpLike.attribute.resp"/>
      <ref name="att.interpLike.attribute.type"/>
      <ref name="att.interpLike.attribute.inst"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.global.analytic.attributes">
    <ref name="att.global.analytic.attribute.ana"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.analytic.attribute.ana">
    <rng:optional>
      <rng:attribute name="ana">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(analysis) indicates one or more elements containing interpretations of the
element on which the ana attribute appears.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_certainty">
    <element name="certainty">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the degree of certainty or uncertainty associated
  with some aspect of the text markup. </a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points at the elements whose markup is
      uncertain.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:attribute name="locus">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the precise location of the uncertainty in the
	markup: applicability of the element, precise position of the
	start- or end-tag, value of a specific attribute,
	etc.
Suggested values include: 1] gi (element name); 2] startLoc (start location); 3] endLoc (end location); 4] location; 5] attrName (attribute name); 6] transcribedContent; 7] suppliedContent</a:documentation>
        <rng:choice>
          <rng:value>gi</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) uncertain whether the element used actually applies
	    to the passage.</a:documentation>
          <rng:value>startLoc</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(start location) start-tag may not be correctly located.</a:documentation>
          <rng:value>endLoc</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(end location) end-tag may not be correctly located.</a:documentation>
          <rng:value>location</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">both the start-tag and the end-tag may not be
	    correctly located.</a:documentation>
          <rng:value>attrName</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute name) the value given for the attribute name is
	    uncertain.</a:documentation>
          <rng:value>transcribedContent</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content of the element may not be a correct
	    transcription of the source text.</a:documentation>
          <rng:value>suppliedContent</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the content of the element may not have been
	    correctly supplied by the reader, e.g. as in the cases of
	    corr and abbrev elements.</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="assertedValue">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides an alternative value for the aspect of the markup in
question&#x2014;an alternative generic identifier, transcription,
or attribute value, or the identifier of an anchor element (to
indicate an alternative starting or ending location).  If an
assertedValue is given, the confidence level specified by
degree applies to the alternative markup specified by
assertedValue; if none is given, it applies to the markup
in the text.</a:documentation>
          <choice>
            <data type="anyURI"/>
            <data type="Name"/>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="given">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates conditions assumed in the assignment of a degree
      of confidence.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="degree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the degree of confidence assigned to the aspect
of the markup named by the locus attribute.</a:documentation>
          <data type="double">
            <param name="minInclusive">0</param>
            <param name="maxInclusive">1</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_respons">
    <element name="respons">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsibility) identifies the individual(s) responsible for some aspect of the
markup of particular element(s).</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the identifier(s) of the element(s) for which some
aspect of the responsibility is being
assigned.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:attribute name="locus">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the specific aspect of the markup for which
responsibility is being assigned.
Suggested values include: 1] gi (element name); 2] location; 3] startLoc (start location); 4] endLoc (end location); 5] attrName (attribute name); 6] transcribedContent; 7] suppliedContent</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <rng:choice>
              <rng:value>gi</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) responsibility for the claim that the element is of the
type indicated by the markup</a:documentation>
              <rng:value>location</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">responsibility for the claim that the element
begins and ends where indicated</a:documentation>
              <rng:value>startLoc</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(start location) responsibility for the claim that the element begins
          where indicated</a:documentation>
              <rng:value>endLoc</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(end location) responsibility for the claim that the element ends
          where indicated</a:documentation>
              <rng:value>attrName</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute name) responsibility for the claim that the
name attribute has the value given in the markup</a:documentation>
              <rng:value>transcribedContent</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">responsibility for the transcription of
the element content</a:documentation>
              <rng:value>suppliedContent</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">responsibility for the contents supplied by
the encoder (corrections, expansions of abbreviations, etc.)</a:documentation>
              <data type="Name"/>
            </rng:choice>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:attribute name="resp">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) identifies the individual or agency responsible for the indicated
aspect of the electronic text.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_textDesc">
    <element name="textDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text description) provides a description of a text in terms of its
situational parameters.</a:documentation>
      <group>
        <ref name="tei_model.textDescPart_sequence"/>
        <oneOrMore>
          <ref name="tei_purpose"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_particDesc">
    <element name="particDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(participation description) describes the identifiable speakers, voices, or other participants
in a linguistic interaction. </a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_model.personLike"/>
            <ref name="tei_listPerson"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_settingDesc">
    <element name="settingDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(setting description) describes the setting or settings within which a language
interaction takes place, either as a prose description or as a
series of setting elements.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_setting"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_channel">
    <element name="channel">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(primary channel) describes the medium or channel by which a text is delivered or
experienced. For a written text, this might be print, manuscript, e-mail, etc.;
for a spoken one, radio, telephone, face-to-face, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="x">
          <a:documentation>specifies the mode of this channel with respect to speech and
         writing.
   </a:documentation>
          <rng:choice>
            <rng:value>s</rng:value>
            <a:documentation>(spoken) </a:documentation>
            <rng:value>w</rng:value>
            <a:documentation>(written) </a:documentation>
            <rng:value>sw</rng:value>
            <a:documentation>(spoken to be written) e.g. dictation</a:documentation>
            <rng:value>ws</rng:value>
            <a:documentation>(written to be spoken) e.g. a script</a:documentation>
            <rng:value>m</rng:value>
            <a:documentation>(mixed) </a:documentation>
            <rng:value>x</rng:value>
            <a:documentation>(unknown or inapplicable) </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_constitution">
    <element name="constitution">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the internal composition of a text or text sample,
for example
as fragmentary, complete, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="single">
          <a:documentation>specifies how the text was constituted.
   </a:documentation>
          <rng:choice>
            <rng:value>single</rng:value>
            <a:documentation>a single complete text
    </a:documentation>
            <rng:value>composite</rng:value>
            <a:documentation>a text made by combining several smaller
             items, each individually complete
    </a:documentation>
            <rng:value>frags</rng:value>
            <a:documentation>(fragments) a text made by combining several smaller, not
             necessarily complete, items
    </a:documentation>
            <rng:value>unknown</rng:value>
            <a:documentation>composition unknown or unspecified
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_derivation">
    <element name="derivation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the nature and extent of originality of this text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the derivation of the text.
   
Sample values include: 1] original; 2] revision; 3] translation; 4] abridgment; 5] plagiarism; 6] traditional</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_domain">
    <element name="domain">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(domain of use) describes the most important social context in which the text was
realized or for which it is intended, for example private vs. public,
education, religion, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the domain of use.
   
Sample values include: 1] art; 2] domestic; 3] religious; 4] business; 5] education; 6] govt (government); 7] public</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_factuality">
    <element name="factuality">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent to which the text may be regarded as
imaginative or non-imaginative, that is, as describing a fictional
or a non-fictional world. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the factuality of the text.
   </a:documentation>
          <rng:choice>
            <rng:value>fiction</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the text is to be regarded as entirely imaginative
  </a:documentation>
            <rng:value>fact</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the text is to be regarded as entirely informative or factual
  </a:documentation>
            <rng:value>mixed</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the text contains a mixture of fact and fiction
  </a:documentation>
            <rng:value>inapplicable</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the fiction/fact distinction is not regarded
    as helpful or appropriate to this text
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_interaction">
    <element name="interaction">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent, cardinality and nature of any interaction
among those producing and experiencing the text, for example in the
form of response or interjection, commentary, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the degree of interaction between
  active and passive participants in the text. </a:documentation>
          <rng:choice>
            <rng:value>none</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">no interaction of any kind, e.g. a monologue </a:documentation>
            <rng:value>partial</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">some degree of interaction, e.g. a monologue with set responses </a:documentation>
            <rng:value>complete</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">complete interaction, e.g. a face to face conversation </a:documentation>
            <rng:value>inapplicable</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">this parameter is inappropriate or inapplicable in this case </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="active">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of active participants
   (or addressors) producing parts of the text. 
Suggested values include: 1] singular; 2] plural; 3] corporate; 4] unknown</a:documentation>
          <rng:choice>
            <rng:value>singular</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a single addressor </a:documentation>
            <rng:value>plural</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">many addressors </a:documentation>
            <rng:value>corporate</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a corporate addressor </a:documentation>
            <rng:value>unknown</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">number of addressors unknown or unspecifiable </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="passive">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of passive participants
   (or addressees) to whom a text is directed
   or in whose presence it is created or performed.
   
Suggested values include: 1] self; 2] single; 3] many; 4] group; 5] world</a:documentation>
          <rng:choice>
            <rng:value>self</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to the originator e.g. a diary </a:documentation>
            <rng:value>single</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to one other person e.g. a personal letter </a:documentation>
            <rng:value>many</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to a countable number of others
    e.g. a conversation in which all participants are identified </a:documentation>
            <rng:value>group</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to an undefined but fixed
    number of participants  e.g. a lecture </a:documentation>
            <rng:value>world</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">text is addressed to an undefined and indeterminately
    large number e.g. a published book </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_preparedness">
    <element name="preparedness">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the extent to which a text may be regarded as
prepared or spontaneous. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a keyword characterizing the type of preparedness.
   
Sample values include: 1] none; 2] scripted; 3] formulaic; 4] revised</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_purpose">
    <element name="purpose">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes a single purpose or communicative function of the
text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a particular kind of purpose.
   
Suggested values include: 1] persuade; 2] express; 3] inform; 4] entertain</a:documentation>
          <rng:choice>
            <rng:value>persuade</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">didactic, advertising, propaganda, etc.
  </a:documentation>
            <rng:value>express</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">self expression, confessional, etc.
  </a:documentation>
            <rng:value>inform</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">convey information, educate, etc.
  </a:documentation>
            <rng:value>entertain</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">amuse, entertain, etc.
   </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="degree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the extent to which this purpose predominates.</a:documentation>
          <choice>
            <value>high</value>
            <value>medium</value>
            <value>low</value>
            <value>unknown</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_setting">
    <element name="setting">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes one particular setting in which a language
  interaction takes place.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.nameLike.agent"/>
            <ref name="tei_model.dateLike"/>
            <ref name="tei_model.settingPart"/>
          </choice>
        </zeroOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_locale">
    <element name="locale">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief informal description of the kind of
place concerned, for example: a room, a restaurant, a park bench, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_activity">
    <element name="activity">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief informal description of what a participant in a
language interaction is doing other than speaking, if anything.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_superEntry">
    <element name="superEntry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups successive entries for a set of homographs.</a:documentation>
      <choice>
        <group>
          <optional>
            <ref name="tei_form"/>
          </optional>
          <oneOrMore>
            <ref name="tei_entry"/>
          </oneOrMore>
        </group>
        <ref name="tei_dictScrap"/>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.entryLike.attribute.type"/>
      <ref name="att.entryLike.attribute.sortKey"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_entry">
    <element name="entry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a reasonably well-structured dictionary entry.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_hom"/>
          <ref name="tei_sense"/>
          <ref name="tei_model.entryPart.top"/>
          <ref name="tei_model.global"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.entryLike.attribute.type"/>
      <ref name="att.entryLike.attribute.sortKey"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_entryFree">
    <element name="entryFree">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unstructured entry) contains a dictionary entry which does not necessarily conform to the constraints imposed
        by the entry element.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.entryPart"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.entryLike.attribute.type"/>
      <ref name="att.entryLike.attribute.sortKey"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_hom">
    <element name="hom">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(homograph) groups information relating to one homograph within an entry.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_sense"/>
          <ref name="tei_model.entryPart.top"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sense">
    <element name="sense">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups together all information relating to one word sense in
  a dictionary entry, for example 
    definitions, examples, and translation equivalents.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_sense"/>
          <ref name="tei_model.entryPart.top"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="level">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the nesting depth of this sense.</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_dictScrap">
    <element name="dictScrap">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(dictionary scrap) encloses a part of a dictionary entry in which other phrase-level dictionary elements are
        freely combined.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.entryPart"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_form">
    <element name="form">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(form information group) groups all the information on the written and spoken forms of one headword.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.formPart"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies form as simple, compound, etc.
Suggested values include: 1] simple; 2] lemma; 3] variant; 4] compound; 5] derivative; 6] inflected; 7] phrase</a:documentation>
          <rng:choice>
            <rng:value>simple</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">single free lexical item</a:documentation>
            <rng:value>lemma</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the headword itself</a:documentation>
            <rng:value>variant</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a variant form</a:documentation>
            <rng:value>compound</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">word formed from simple lexical items</a:documentation>
            <rng:value>derivative</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">word derived from headword</a:documentation>
            <rng:value>inflected</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">word in other than usual dictionary form</a:documentation>
            <rng:value>phrase</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">multiple-word lexical item</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_orth">
    <element name="orth">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic form) gives the orthographic form of a dictionary headword.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the type of spelling.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="extent" a:defaultValue="full">
          <a:documentation>gives the extent of the orthographic information provided.
Sample values include: 1] full (full form); 2] pref (prefix); 3] suff (suffix); 4] part (partial)</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pron">
    <element name="pron">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pronunciation) contains the pronunciation(s) of the word.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="extent" a:defaultValue="full">
          <a:documentation>indicates whether the pronunciation is for whole word or part. 
Sample values include: 1] full (full form); 2] pref (prefix); 3] suff (suffix); 4] part (partial)</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="notation">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates what notation is used for the pronunciation, if more than one occurs in
                the machine-readable dictionary. </a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_hyph">
    <element name="hyph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hyphenation) contains a hyphenated form of a dictionary headword, or hyphenation information in some
        other form.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_syll">
    <element name="syll">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(syllabification) contains the syllabification of the headword.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stress">
    <element name="stress">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the stress pattern for a dictionary headword, if given separately.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gram">
    <element name="gram">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(grammatical information) within an entry in a dictionary or a terminological data file, contains grammatical
        information relating to a term, word, or form.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the grammatical information given according to
      some convenient typology   &#x2014; in the case of terminological information, preferably the dictionary of      data element types specified in ISO WD 12 620.
Sample values include: 1] pos (part of speech); 2] gen (gender); 3] num (number); 4] animate; 5] proper</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gen">
    <element name="gen">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(gender) identifies the morphological gender of a lexical item, as given in the dictionary.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_number">
    <element name="number">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates grammatical number associated with a form, as given in a dictionary.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_case">
    <element name="case">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains grammatical case information given by a dictionary for a given form.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_per">
    <element name="per">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(person) contains an indication of the grammatical person (1st, 2nd, 3rd, etc.) associated with a
    given inflected form in a dictionary.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tns">
    <element name="tns">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tense) indicates the grammatical tense associated with a given inflected form in a dictionary.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_mood">
    <element name="mood">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the grammatical mood of verbs (e.g. indicative, subjunctive,
    imperative).</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_iType">
    <element name="iType">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inflectional class) indicates the inflectional class associated with a lexical item.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of indicator used to specify the inflection class, when it is
                necessary to distinguish between the usual abbreviated indications (e.g.
                    inv) and other kinds of indicators, such as special codes
                referring to conjugation patterns, etc.
Sample values include: 1] abbrev; 2] verbTable</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gramGrp">
    <element name="gramGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(grammatical information group) groups morpho-syntactic information about a lexical item, e.g. pos, gen, number, case, or
        iType (inflectional class).</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.gramPart"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pos">
    <element name="pos">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(part of speech) indicates the part of speech assigned to a dictionary 
headword  such as noun, verb, or adjective.
    </a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_subc">
    <element name="subc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(subcategorization) contains subcategorization information (transitive/intransitive, countable/non-countable,
        etc.)</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_colloc">
    <element name="colloc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(collocate) contains a collocate of the headword.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_def">
    <element name="def">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(definition) contains definition text in a dictionary entry.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_etym">
    <element name="etym">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(etymology) encloses the etymological information in a dictionary entry.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_usg"/>
          <ref name="tei_lbl"/>
          <ref name="tei_def"/>
          <ref name="tei_model.morphLike"/>
          <ref name="tei_xr"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lang">
    <element name="lang">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language name) name of a language mentioned in etymological or other linguistic discussion.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_usg">
    <element name="usg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(usage) contains usage information in a dictionary entry.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the usage information using any convenient typology.
Sample values include: 1] geo (geographic); 2] time; 3] dom (domain); 4] reg (register); 5] style; 6] plev (preference level); 7] lang (language); 8] gram (grammatical); 9] syn (synonym); 10] hyper (hypernym); 11] colloc (collocation); 12] comp (complement); 13] obj (object); 14] subj (subject); 15] verb; 16] hint</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lbl">
    <element name="lbl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(label) contains a label for a form, example, translation, or other piece of
        information, e.g. abbreviation for, contraction of, literally, approximately, synonyms:,
        etc.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the label using any convenient typology.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_xr">
    <element name="xr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cross-reference phrase) contains a phrase, sentence, or icon referring the reader to
some other location in this or another text.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_usg"/>
          <ref name="tei_lbl"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of cross reference, using any convenient
typology.
Sample values include: 1] syn (synonym); 2] etym (etymological); 3] cf (compare or consult); 4] illus (illustration)</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_re">
    <element name="re">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(related entry) contains a dictionary entry for a lexical item related to the headword, such as a compound
        phrase or derived form, embedded inside a larger entry.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_sense"/>
          <ref name="tei_model.entryPart.top"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_oRef">
    <element name="oRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic-form reference) in a dictionary example, indicates a reference to the orthographic form(s) of the headword.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ptrLike.form.attribute.target"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the kind of typographic modification made to the headword in the reference.
Sample values include: 1] cap (capital); 2] noHyph (no hyphen)</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_oVar">
    <element name="oVar">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(orthographic-variant reference) in a dictionary example, indicates a reference to variant orthographic form(s) of the
    headword.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_oRef"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ptrLike.form.attribute.target"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the kind of variant involved.
Sample values include: 1] pt (past tense); 2] pp (past participle); 3] prp (present participle); 4] f (feminine); 5] pl (plural)</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pRef">
    <element name="pRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pronunciation reference) in a dictionary example, indicates a reference to the pronunciation(s) of the headword.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ptrLike.form.attribute.target"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pVar">
    <element name="pVar">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(pronunciation-variant reference) in a dictionary example, indicates a reference to variant pronunciation(s) of the headword.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_pRef"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ptrLike.form.attribute.target"/>
      <ref name="att.lexicographic.attribute.expand"/>
      <ref name="att.lexicographic.attribute.norm"/>
      <ref name="att.lexicographic.attribute.split"/>
      <ref name="att.lexicographic.attribute.value"/>
      <ref name="att.lexicographic.attribute.orig"/>
      <ref name="att.lexicographic.attribute.location"/>
      <ref name="att.lexicographic.attribute.mergedIn"/>
      <ref name="att.lexicographic.attribute.opt"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.entryLike">
    <rng:choice>
      <ref name="tei_superEntry"/>
      <ref name="tei_entry"/>
      <ref name="tei_entryFree"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.entryLike.attributes">
    <ref name="att.entryLike.attribute.type"/>
    <ref name="att.entryLike.attribute.sortKey"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.entryLike.attribute.type">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="main">
        <a:documentation>indicates type of entry, in dictionaries with multiple types.
Suggested values include: 1] main; 2] hom (homograph); 3] xref (cross reference); 4] affix; 5] abbr (abbreviation); 6] supplemental; 7] foreign</a:documentation>
        <rng:choice>
          <rng:value>main</rng:value>
          <a:documentation>a main entry (default).</a:documentation>
          <rng:value>hom</rng:value>
          <a:documentation>(homograph) groups information relating to one homograph within an entry.</a:documentation>
          <rng:value>xref</rng:value>
          <a:documentation>(cross reference) a reduced entry whose only function is to
point to another main entry (e.g. for forms of an irregular verb or
for variant spellings: was pointing to
be, or esthete to
aesthete).</a:documentation>
          <rng:value>affix</rng:value>
          <a:documentation>an entry for a prefix, infix, or suffix.</a:documentation>
          <rng:value>abbr</rng:value>
          <a:documentation>(abbreviation) an entry for an abbreviation.</a:documentation>
          <rng:value>supplemental</rng:value>
          <a:documentation>a supplemental entry (for use in dictionaries which
          issue supplements to their main work in which they include
          updated information about entries).</a:documentation>
          <rng:value>foreign</rng:value>
          <a:documentation>an entry for a foreign word in a monolingual dictionary.</a:documentation>
          <data type="Name"/>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.entryLike.attribute.sortKey">
    <rng:optional>
      <rng:attribute name="sortKey">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a (sortable) character sequence reflecting the
      entry's alphabetical position in the printed dictionary.</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.lexicographic.attributes">
    <ref name="att.lexicographic.attribute.expand"/>
    <ref name="att.lexicographic.attribute.norm"/>
    <ref name="att.lexicographic.attribute.split"/>
    <ref name="att.lexicographic.attribute.value"/>
    <ref name="att.lexicographic.attribute.orig"/>
    <ref name="att.lexicographic.attribute.location"/>
    <ref name="att.lexicographic.attribute.mergedIn"/>
    <ref name="att.lexicographic.attribute.opt"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.expand">
    <rng:optional>
      <rng:attribute name="expand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives an expanded form of information presented more concisely in the dictionary</a:documentation>
        <text/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.norm">
    <rng:optional>
      <rng:attribute name="norm">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(normalized) gives a normalized form of information given by the source text in a
                non-normalized form</a:documentation>
        <text/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.split">
    <rng:optional>
      <rng:attribute name="split">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the list of split values for a merged form</a:documentation>
        <text/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.value">
    <rng:optional>
      <rng:attribute name="value">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a value which lacks any realization in the printed source text.</a:documentation>
        <text/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.orig">
    <rng:optional>
      <rng:attribute name="orig">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(original) gives the original string or is the empty string when the element does not appear
                in the source text.</a:documentation>
        <text/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.location">
    <rng:optional>
      <rng:attribute name="location">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a reference to an anchor element elsewhere in the document
                indicating the original location of this component.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.mergedIn">
    <rng:optional>
      <rng:attribute name="mergedIn">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a reference to another element, where the original appears as a merged form.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.lexicographic.attribute.opt">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="opt" a:defaultValue="false">
        <a:documentation>(optional) indicates whether the element is optional or not</a:documentation>
        <data type="boolean"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.morphLike">
    <rng:choice>
      <ref name="tei_gram"/>
      <ref name="tei_gen"/>
      <ref name="tei_number"/>
      <ref name="tei_case"/>
      <ref name="tei_per"/>
      <ref name="tei_tns"/>
      <ref name="tei_mood"/>
      <ref name="tei_iType"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.gramPart">
    <rng:choice>
      <ref name="tei_gramGrp"/>
      <ref name="tei_pos"/>
      <ref name="tei_subc"/>
      <ref name="tei_colloc"/>
      <ref name="tei_usg"/>
      <ref name="tei_lbl"/>
      <ref name="tei_model.morphLike"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.formPart">
    <rng:choice>
      <ref name="tei_form"/>
      <ref name="tei_orth"/>
      <ref name="tei_pron"/>
      <ref name="tei_hyph"/>
      <ref name="tei_syll"/>
      <ref name="tei_model.gramPart"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.ptrLike.form">
    <rng:choice>
      <ref name="tei_oRef"/>
      <ref name="tei_oVar"/>
      <ref name="tei_pRef"/>
      <ref name="tei_pVar"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.ptrLike.form.attributes">
    <ref name="att.ptrLike.form.attribute.target"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.ptrLike.form.attribute.target">
    <rng:optional>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the orthographic form or pronunciation referred to.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_set">
    <element name="set">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(setting) contains a description of the setting, time, locale, appearance,
etc., of the action of a play, typically found in the front matter of
a printed performance text (not a stage direction).</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.headLike"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <group>
            <group>
              <ref name="tei_model.common"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_prologue">
    <element name="prologue">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the prologue to a drama,  typically spoken by an actor out of
character, possibly in association with a particular performance or venue.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <group>
            <ref name="tei_model.divBottom"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_epilogue">
    <element name="epilogue">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the epilogue to a drama,  typically spoken by an actor
out of character, possibly in association with a particular performance
or venue.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <group>
            <ref name="tei_model.divBottom"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_performance">
    <element name="performance">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a section of front or back matter describing how a
dramatic piece is to be performed in general or how it was performed
on some specific occasion. </a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <group>
            <ref name="tei_model.divBottom"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_castList">
    <element name="castList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast list) contains a single cast list or dramatis personae.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_castItem"/>
            <ref name="tei_castGroup"/>
          </choice>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
        <zeroOrMore>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_castGroup">
    <element name="castGroup">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast list grouping) groups one or more individual castItem
elements within a cast list.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.global"/>
            <ref name="tei_model.headLike"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_castItem"/>
            <ref name="tei_castGroup"/>
            <ref name="tei_roleDesc"/>
          </choice>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
        <optional>
          <ref name="tei_trailer"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_castItem">
    <element name="castItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(cast list item) contains a single entry within a cast list, describing
either a single role or a list of non-speaking roles.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.castItemPart"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="role">
          <a:documentation>characterizes the cast item.
   </a:documentation>
          <rng:choice>
            <rng:value>role</rng:value>
            <a:documentation>the item describes a single role.
       </a:documentation>
            <rng:value>list</rng:value>
            <a:documentation>the item describes a list of non-speaking roles.
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_role">
    <element name="role">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the name of a dramatic role, as given in a cast list.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_roleDesc">
    <element name="roleDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(role description) describes a character's role in a drama.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_actor">
    <element name="actor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Name of an actor appearing within a cast list.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_move">
    <element name="move">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(movement) marks the actual entrance or exit of one or more characters on stage.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the movement, for example as an entrance or exit.
Suggested values include: 1] entrance; 2] exit; 3] onStage</a:documentation>
          <rng:choice>
            <rng:value>entrance</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">character is entering the stage.</a:documentation>
            <rng:value>exit</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">character is exiting the stage.</a:documentation>
            <rng:value>onStage</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">character moves on stage</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="where">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the direction of a stage movement.
Sample values include: 1] L (left); 2] R (right); 3] C (center)</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="Name"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="perf">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(performance) identifies the performance or performances in which this movement
		occurred as specified.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_view">
    <element name="view">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the visual context of some part of a screen play in
terms of what the spectator sees, generally independent of any
dialogue.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_camera">
    <element name="camera">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a particular camera angle or viewpoint in a screen play.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sound">
    <element name="sound">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a sound effect or musical sequence specified within a
screen play or radio script.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the sound in some respect, e.g. as music,
      special effect, etc.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="discrete" a:defaultValue="unknown">
          <a:documentation>indicates whether the sound overlaps the surrounding
      speeches or interrupts them.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_caption">
    <element name="caption">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the text of a caption or other text displayed as part of
a film script or screenplay.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tech">
    <element name="tech">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(technical stage direction) describes a special-purpose stage direction that is not
meant for the actors.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the technical stage direction.</a:documentation>
          <rng:choice>
            <rng:value>light</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a lighting cue</a:documentation>
            <rng:value>sound</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a sound cue</a:documentation>
            <rng:value>prop</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a prop cue</a:documentation>
            <rng:value>block</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a blocking instruction</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="perf">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(performance) identifies the performance or performances to which this
technical direction applies.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
          <choice>
            <ref name="tei_model.headLike"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <ref name="tei_row"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_cell"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.tableDecoration.attribute.role"/>
      <ref name="att.tableDecoration.attribute.rows"/>
      <ref name="att.tableDecoration.attribute.cols"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cell">
    <element name="cell">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one cell of a table. </a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.tableDecoration.attribute.role"/>
      <ref name="att.tableDecoration.attribute.rows"/>
      <ref name="att.tableDecoration.attribute.cols"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_formula">
    <element name="formula">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a mathematical or other formula.</a:documentation>
      <rng:ref name="mathml.math"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.headLike"/>
          <ref name="tei_model.pLike"/>
          <ref name="tei_figDesc"/>
          <ref name="tei_model.graphicLike"/>
          <ref name="tei_model.egLike"/>
          <ref name="tei_floatingText"/>
          <ref name="tei_figure"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.placement.attribute.place"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_g">
    <element name="g">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character or glyph) represents a non-standard character or glyph.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute name="ref">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a description of the  character or glyph intended.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_char">
    <element name="char">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character) provides descriptive information about a character. </a:documentation>
      <group>
        <optional>
          <ref name="tei_charName"/>
        </optional>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_charProp"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_mapping"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.noteLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_charName">
    <element name="charName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character name) contains the name of a character, expressed following Unicode conventions. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_charProp">
    <element name="charProp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character property) provides a name and value for some property of the parent
character or glyph. </a:documentation>
      <group>
        <choice>
          <ref name="tei_unicodeName"/>
          <ref name="tei_localName"/>
        </choice>
        <ref name="tei_value"/>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_charDecl">
    <element name="charDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character declarations) provides information about nonstandard characters and glyphs. </a:documentation>
      <group>
        <optional>
          <ref name="tei_desc"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="tei_char"/>
            <ref name="tei_glyph"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_glyph">
    <element name="glyph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character glyph) provides descriptive information about a character glyph. </a:documentation>
      <group>
        <optional>
          <ref name="tei_glyphName"/>
        </optional>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_charProp"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_mapping"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.noteLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_glyphName">
    <element name="glyphName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character glyph name) contains the name of a glyph, expressed following Unicode
conventions for character names. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_localName">
    <element name="localName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(locally-defined property name) contains a locally defined name for some property. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_mapping">
    <element name="mapping">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(character mapping) contains one or more
	 characters which are related to the parent character or glyph
	 in some respect, as specified by the type
	 attribute.
</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_unicodeName">
    <element name="unicodeName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(unicode property name) contains the name of a registered Unicode normative or
informative property. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="version">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the Unicode Standard in
        which this property name is defined.</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_value">
    <element name="value">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value) contains a single value for some property, attribute, or other
  analysis.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_fileDesc"/>
        <zeroOrMore>
          <ref name="tei_model.headerPart"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_revisionDesc"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_titleStmt"/>
          <optional>
            <ref name="tei_editionStmt"/>
          </optional>
          <optional>
            <ref name="tei_extent"/>
          </optional>
          <ref name="tei_publicationStmt"/>
          <optional>
            <ref name="tei_seriesStmt"/>
          </optional>
          <optional>
            <ref name="tei_notesStmt"/>
          </optional>
        </group>
        <oneOrMore>
          <ref name="tei_sourceDesc"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_title"/>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_author"/>
            <ref name="tei_editor"/>
            <ref name="tei_sponsor"/>
            <ref name="tei_funder"/>
            <ref name="tei_principal"/>
            <ref name="tei_respStmt"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sponsor">
    <element name="sponsor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the name of a sponsoring organization or
institution.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_funder">
    <element name="funder">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(funding body) specifies the name of an individual, institution, or organization
responsible for the funding of a project or text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_principal">
    <element name="principal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(principal researcher) supplies the name of the principal researcher responsible for the
creation of an electronic text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_editionStmt">
    <element name="editionStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition statement) groups information relating to one edition of a text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <ref name="tei_edition"/>
          <zeroOrMore>
            <ref name="tei_respStmt"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_edition">
    <element name="edition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(edition) describes the particularities of one edition of a text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_extent">
    <element name="extent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the approximate size of a text as stored on
some carrier medium, whether digital or non-digital, specified in any convenient units.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_model.publicationStmtPart"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_distributor">
    <element name="distributor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the name of a person or other agency responsible for the
distribution of a text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_authority">
    <element name="authority">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(release authority) supplies the name of a person or other agency responsible for
  making an electronic file available, other than a publisher or
  distributor.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_idno">
    <element name="idno">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifying number) supplies any standard or non-standard number used to identify a
bibliographic item.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">categorizes the number, for example as an ISBN or other
         standard series.
   </a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng: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>
          <rng:choice>
            <rng:value>free</rng:value>
            <a:documentation>the text is freely available.
    </a:documentation>
            <rng:value>unknown</rng:value>
            <a:documentation>the status of the text is unknown.
    </a:documentation>
            <rng:value>restricted</rng:value>
            <a:documentation>the text is not freely available.
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_seriesStmt">
    <element name="seriesStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(series statement) groups information about the series, if any, to which
a publication belongs.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <oneOrMore>
            <ref name="tei_title"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="tei_idno"/>
              <ref name="tei_respStmt"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_notesStmt">
    <element name="notesStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(notes statement) collects together any notes providing information about a text
additional to that recorded in other parts of the bibliographic
description.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.noteLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_model.biblLike"/>
            <ref name="tei_model.sourceDescPart"/>
            <ref name="tei_model.listLike"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_biblFull">
    <element name="biblFull">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fully-structured bibliographic citation) contains a fully-structured bibliographic citation, in which all
components of the TEI file description
are present.</a:documentation>
      <group>
        <group>
          <ref name="tei_titleStmt"/>
          <optional>
            <ref name="tei_editionStmt"/>
          </optional>
          <optional>
            <ref name="tei_extent"/>
          </optional>
          <ref name="tei_publicationStmt"/>
          <optional>
            <ref name="tei_seriesStmt"/>
          </optional>
          <optional>
            <ref name="tei_notesStmt"/>
          </optional>
        </group>
        <zeroOrMore>
          <ref name="tei_sourceDesc"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_encodingDesc">
    <element name="encodingDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(encoding description) documents the relationship between an electronic text and the
source or sources from which it was derived.</a:documentation>
      <group>
        <oneOrMore>
          <choice>
            <ref name="tei_model.encodingPart"/>
            <ref name="tei_model.pLike"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_projectDesc">
    <element name="projectDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(project description) describes in detail the aim or purpose for which an electronic
file was encoded, together with any other relevant information
concerning the process by which it was assembled or collected.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_samplingDecl">
    <element name="samplingDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(sampling declaration) contains a prose description of the rationale and methods used
in sampling texts in the creation of a corpus or collection.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_editorialDecl">
    <element name="editorialDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(editorial practice declaration) provides details of editorial principles and practices applied
during the encoding of a text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_model.editorialDeclPart"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_correction">
    <element name="correction">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(correction principles) states how and under what circumstances corrections have been
made in the text.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="status" a:defaultValue="unknown">
          <a:documentation>indicates the degree of correction applied to the text.
   </a:documentation>
          <rng:choice>
            <rng:value>high</rng:value>
            <a:documentation>the text has been thoroughly checked and
                       proofread.
    </a:documentation>
            <rng:value>medium</rng:value>
            <a:documentation>the text has been checked at least once.
    </a:documentation>
            <rng:value>low</rng:value>
            <a:documentation>the text has not been checked.
    </a:documentation>
            <rng:value>unknown</rng:value>
            <a:documentation>the correction status of the text is unknown.
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method" a:defaultValue="silent">
          <a:documentation>indicates the method adopted to indicate corrections within the
         text.
   </a:documentation>
          <rng:choice>
            <rng:value>silent</rng:value>
            <a:documentation>corrections have been made silently
    </a:documentation>
            <rng:value>markup</rng:value>
            <a:documentation>corrections have been represented using markup</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_normalization">
    <element name="normalization">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the extent of normalization or regularization of the
original source carried out in converting it to electronic form.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng:attribute name="source">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the authority for any normalization carried out.
    </a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="method" a:defaultValue="silent">
          <a:documentation>indicates the method adopted to indicate normalizations within
         the text.
   </a:documentation>
          <rng:choice>
            <rng:value>silent</rng:value>
            <a:documentation>normalization made silently
  </a:documentation>
            <rng:value>markup</rng:value>
            <a:documentation>normalization represented using markup
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_quotation">
    <element name="quotation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies editorial practice adopted with respect to quotation
  marks in the original. </a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="marks" a:defaultValue="all">
          <a:documentation>(quotation marks) indicates whether or not quotation marks have been retained as
      content within the text. </a:documentation>
          <rng:choice>
            <rng:value>none</rng:value>
            <a:documentation>no quotation marks have been retained </a:documentation>
            <rng:value>some</rng:value>
            <a:documentation>some quotation marks have been retained </a:documentation>
            <rng:value>all</rng:value>
            <a:documentation>all quotation marks have been retained </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="form" a:defaultValue="unknown">
          <a:documentation>specifies how quotation marks are indicated within the
      text.</a:documentation>
          <text/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_hyphenation">
    <element name="hyphenation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">summarizes the way in which hyphenation in a source text has been
treated in an encoded version of it.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="eol" a:defaultValue="some">
          <a:documentation>(end-of-line) indicates whether or not end-of-line hyphenation has been
	retained in a text.</a:documentation>
          <rng:choice>
            <rng:value>all</rng:value>
            <a:documentation>all end-of-line hyphenation has been retained,
                   even though the lineation of the original
                   may not have been.
   </a:documentation>
            <rng:value>some</rng:value>
            <a:documentation>end-of-line hyphenation has been retained in some
                   cases.
   </a:documentation>
            <rng:value>hard</rng:value>
            <a:documentation>all soft end-of-line hyphenation has been removed:
                   any remaining end-od-line hyphenation should be retained.
  </a:documentation>
            <rng:value>none</rng:value>
            <a:documentation>all end-of-line hyphenation has been removed:
                  any remaining hyphenation occurred within the line.
   </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_segmentation">
    <element name="segmentation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the principles according to which the text has been
segmented, for example into sentences, tone-units, graphemic strata,
etc.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stdVals">
    <element name="stdVals">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(standard values) specifies the format used when standardized date or number
values are supplied.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_interpretation">
    <element name="interpretation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the scope of any analytic or interpretive information
added to the text in addition to the transcription. </a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tagsDecl">
    <element name="tagsDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(tagging declaration) provides detailed information about the tagging applied to a document.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_rendition"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_namespace"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tagUsage">
    <element name="tagUsage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies information about the usage of a specific element
within a text. </a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="gi">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) the name (generic identifier) of the element indicated by
      the tag.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="occurs">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of occurrences of this element within the text.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="withId">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(with unique identifier) specifies the number of occurrences of this element within
      the text which bear a distinct value for the global
      xml:id attribute. </a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="render">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifier of a rendition element
      which defines how this element is to be rendered.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <oneOrMore>
        <ref name="tei_tagUsage"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng: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"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rendition">
    <element name="rendition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies information about the rendition or appearance of one or more
elements in the source text.</a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the language used to describe the rendition.</a:documentation>
          <rng:choice>
            <rng:value>css</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Cascading Stylesheet Language</a:documentation>
            <rng:value>xslfo</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Extensible  Stylesheet Language
Formatting Objects</a:documentation>
            <rng:value>free</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Informal free text description</a:documentation>
            <rng:value>other</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A user-defined rendition description language</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_refsDecl">
    <element name="refsDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(references declaration) specifies how canonical references are constructed for this
  text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_cRefPattern"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_refState"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cRefPattern">
    <element name="cRefPattern">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(canonical reference pattern) specifies an expression and replacement pattern for
  transforming a canonical reference into a URI. </a:documentation>
      <zeroOrMore>
        <ref name="tei_model.pLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="matchPattern">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a regular expression against which the values of
      cRef attributes can be matched.</a:documentation>
        <data type="token"/>
      </rng:attribute>
      <rng:attribute name="replacementPattern">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a replacement pattern
      which, once subpattern substitution has been performed, provides
      a URI.</a:documentation>
        <text/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <rng: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>
        <rng:choice>
          <rng:value>page</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">page breaks in the reference edition.
    </a:documentation>
          <rng:value>column</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">column breaks.
    </a:documentation>
          <rng:value>line</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">line breaks.
    </a:documentation>
          <rng:value>book</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">any units termed book, liber, etc.
    </a:documentation>
          <rng:value>poem</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">individual poems in a collection.
    </a:documentation>
          <rng:value>canto</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">cantos or other major sections of a poem.
    </a:documentation>
          <rng:value>stanza</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">stanzas within a poem, book, or canto.
    </a:documentation>
          <rng:value>act</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">acts within a play.
    </a:documentation>
          <rng:value>scene</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">scenes within a play or act.
    </a:documentation>
          <rng:value>section</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">sections of any kind.
    </a:documentation>
          <rng:value>absent</rng: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"/>
        </rng:choice>
      </rng:attribute>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng: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/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_classDecl">
    <element name="classDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(classification declarations) contains one or more taxonomies defining any classificatory
codes used elsewhere in the text.</a:documentation>
      <oneOrMore>
        <ref name="tei_taxonomy"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_taxonomy">
    <element name="taxonomy">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a typology used to classify texts either implicitly, by
means of a bibliographic citation, or explicitly by a structured
taxonomy.</a:documentation>
      <choice>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="tei_category"/>
        </oneOrMore>
        <group>
          <group>
            <ref name="tei_model.biblLike"/>
          </group>
          <zeroOrMore>
            <ref name="tei_category"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_category">
    <element name="category">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an individual descriptive category, possibly nested
within a superordinate category, within a user-defined taxonomy.</a:documentation>
      <group>
        <choice>
          <ref name="tei_catDesc"/>
          <zeroOrMore>
            <ref name="tei_model.glossLike"/>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <ref name="tei_category"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_catDesc">
    <element name="catDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category description) describes some category within a taxonomy
or text typology, either in the form of a brief prose description
or in terms of the situational parameters used by the TEI
formal textDesc.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.limitedPhrase"/>
          <ref name="tei_model.catDescPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_appInfo">
    <element name="appInfo">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(application information) records information about an application which has
  edited the TEI file. </a:documentation>
      <oneOrMore>
        <ref name="tei_model.applicationLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_application">
    <element name="application">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides information about an application which has acted
  upon the document.</a:documentation>
      <group>
        <oneOrMore>
          <ref name="tei_model.labelLike"/>
        </oneOrMore>
        <choice>
          <zeroOrMore>
            <ref name="tei_model.ptrLike"/>
          </zeroOrMore>
          <zeroOrMore>
            <ref name="tei_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.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <rng: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"/>
      </rng:attribute>
      <rng: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>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_profileDesc">
    <element name="profileDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text-profile description) provides a detailed description of non-bibliographic aspects of a
text, specifically the languages and sublanguages used, the situation in
which it was produced, the participants and their setting.</a:documentation>
      <group>
        <optional>
          <ref name="tei_creation"/>
        </optional>
        <zeroOrMore>
          <ref name="tei_model.profileDescPart"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_creation">
    <element name="creation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the creation of a text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_langUsage">
    <element name="langUsage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language usage) describes the languages, sublanguages, registers, dialects, etc.
represented within a text.</a:documentation>
      <oneOrMore>
        <ref name="tei_language"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_language">
    <element name="language">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes a single language or sublanguage used within a
  text.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="ident">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) Supplies a language code constructed as defined in BCP 47 which is used to identify the language documented
      by this element, and which is referenced by the global xml:lang attribute.</a:documentation>
        <data type="language"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="usage">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the approximate percentage (by volume) of the
      text which uses this language.
      </a:documentation>
          <data type="nonNegativeInteger">
            <param name="maxInclusive">100</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_textClass">
    <element name="textClass">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text classification) groups information which describes the nature or topic of a text
in terms of a standard classification scheme, thesaurus, etc.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_classCode"/>
          <ref name="tei_catRef"/>
          <ref name="tei_keywords"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_keywords">
    <element name="keywords">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of keywords or phrases identifying the topic or
nature of a text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_term"/>
        </oneOrMore>
        <ref name="tei_list"/>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="scheme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the controlled vocabulary within which the set of
  keywords concerned is defined.
   </a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_classCode">
    <element name="classCode">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(classification code) contains the classification code used for this text in some
standard classification system.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="scheme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification system or taxonomy in use.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_catRef">
    <element name="catRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(category reference) specifies one or more defined categories
within some taxonomy or text typology.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the categories concerned
   </a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification scheme within which the set of
    categories concerned is defined
   </a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <choice>
        <ref name="tei_list"/>
        <oneOrMore>
          <ref name="tei_change"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_model.limitedPhrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_geoDecl">
    <element name="geoDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographic coordinates declaration) documents the notation and the datum used for geographic
  coordinates expressed as content of the geo element
  elsewhere within the document.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng: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>
          <rng:choice>
            <rng:value>WGS84</rng: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>
            <rng:value>MGRS</rng:value>
            <a:documentation>(Military Grid Reference System) the values supplied are geospatial entity object codes,
	based on  Universal Transverse Mercator coordinates</a:documentation>
            <rng:value>OSGB36</rng:value>
            <a:documentation>(ordnance survey great britain) the value supplied is to be interpreted as a British National Grid
	  Reference.</a:documentation>
            <rng:value>ED50</rng: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"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.headerPart">
    <rng:choice>
      <ref name="tei_encodingDesc"/>
      <ref name="tei_profileDesc"/>
      <ref name="tei_include"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.sourceDescPart">
    <rng:choice>
      <ref name="tei_scriptStmt"/>
      <ref name="tei_recordingStmt"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.encodingPart">
    <rng:choice>
      <ref name="tei_charDecl"/>
      <ref name="tei_projectDesc"/>
      <ref name="tei_samplingDecl"/>
      <ref name="tei_editorialDecl"/>
      <ref name="tei_tagsDecl"/>
      <ref name="tei_refsDecl"/>
      <ref name="tei_classDecl"/>
      <ref name="tei_appInfo"/>
      <ref name="tei_geoDecl"/>
      <ref name="tei_fsdDecl"/>
      <ref name="tei_variantEncoding"/>
      <ref name="tei_metDecl"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.editorialDeclPart">
    <rng:choice>
      <ref name="tei_correction"/>
      <ref name="tei_normalization"/>
      <ref name="tei_quotation"/>
      <ref name="tei_hyphenation"/>
      <ref name="tei_segmentation"/>
      <ref name="tei_stdVals"/>
      <ref name="tei_interpretation"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.applicationLike">
    <rng:choice>
      <ref name="tei_application"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.profileDescPart">
    <rng:choice>
      <ref name="tei_textDesc"/>
      <ref name="tei_particDesc"/>
      <ref name="tei_settingDesc"/>
      <ref name="tei_langUsage"/>
      <ref name="tei_textClass"/>
      <ref name="tei_handNotes"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fsdDecl">
    <element name="fsdDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature system declaration) provides a feature system declaration comprising one or more
  feature structure declarations or feature structure declaration links.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_fsDecl"/>
          <ref name="tei_fsdLink"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fsDecl">
    <element name="fsDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature structure declaration) declares one type of feature structure.</a:documentation>
      <group>
        <optional>
          <ref name="tei_fsDescr"/>
        </optional>
        <oneOrMore>
          <ref name="tei_fDecl"/>
        </oneOrMore>
        <optional>
          <ref name="tei_fsConstraints"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives a name for the type of feature structure being declared.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="baseTypes">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the name of one or more typed feature structures
	from which this type inherits feature specifications and
	constraints; if this type includes a feature specification
	with the same name as that of any of those specified by this
	attribute, or if more than one specification of the same name
	is inherited, then the set of possible values is defined by
	unification. Similarly, the set of constraints applicable is
	derived by combining those specified explicitly within this
	element with those implied by the baseTypes
	attribute. When no baseTypes attribute is specified, no
	feature specification or constraint is inherited.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="Name"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fsDescr">
    <element name="fsDescr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature system description (in FSD)) describes in prose what is represented by the type of feature
structure declared in the enclosing fsDecl.</a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fsdLink">
    <element name="fsdLink">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature structure declaration link) associates the name of a typed feature structure with a feature
structure declaration for it.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the type of feature structure to be documented;
      this will be the value of the type attribute on at least one
feature structure.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a pointer to a feature structure declaration
      (fsDecl) element within the current document or elsewhere. </a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fDecl">
    <element name="fDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature declaration) declares a single feature, specifying its name, organization,
range of allowed values, and optionally its default value.</a:documentation>
      <group>
        <optional>
          <ref name="tei_fDescr"/>
        </optional>
        <ref name="tei_vRange"/>
        <optional>
          <ref name="tei_vDefault"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the name of the feature being declared; matches the
name attribute of f elements in the text.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="optional" a:defaultValue="true">
          <a:documentation>indicates whether or not the value of this feature may
	be present.</a:documentation>
          <data type="boolean"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fDescr">
    <element name="fDescr">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature description (in FSD)) describes in prose what is represented by the feature being
declared and its values.</a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vRange">
    <element name="vRange">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value range) defines the range of allowed values for a feature, in the form of
an fs, vAlt, or primitive value;
for the value of an f to be valid, it must be
subsumed by the specified range; if the f
contains multiple values (as sanctioned by the org attribute),
then each value must be subsumed by the vRange.</a:documentation>
      <rng:ref name="tei_model.featureVal"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vDefault">
    <element name="vDefault">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value default) declares the default value to be supplied when a feature structure
does not contain an instance of f for this name; if
unconditional, it is specified as one (or, depending on the value of
the org attribute of the enclosing fDecl) more
fs elements or primitive values;
if conditional, it is specified as
one or more if elements; if no default is specified, or no
condition matches, the value none is assumed.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.featureVal"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_if"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_if">
    <element name="if">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a conditional default value for a feature; the condition
is specified as a feature structure, and is met if it
subsumes the feature structure in the text for which a
default value is sought.</a:documentation>
      <group>
        <choice>
          <ref name="tei_fs"/>
          <ref name="tei_f"/>
        </choice>
        <ref name="tei_then"/>
        <group>
          <ref name="tei_model.featureVal"/>
        </group>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_then">
    <element name="then">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">separates the condition from the default in an if, or
the antecedent and the consequent in a cond element.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fsConstraints">
    <element name="fsConstraints">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature-structure constraints) specifies constraints on the content of valid feature
structures.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_cond"/>
          <ref name="tei_bicond"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_cond">
    <element name="cond">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(conditional feature-structure constraint) defines a conditional feature-structure constraint; the consequent
and the antecedent are specified as feature structures or
feature-structure collections; the constraint is satisfied if both the
antecedent and the consequent subsume a given feature
structure, or if the antecedent does not.</a:documentation>
      <group>
        <choice>
          <ref name="tei_fs"/>
          <ref name="tei_f"/>
        </choice>
        <ref name="tei_then"/>
        <choice>
          <ref name="tei_fs"/>
          <ref name="tei_f"/>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_bicond">
    <element name="bicond">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(bi-conditional feature-structure constraint) defines a biconditional feature-structure constraint; both
consequent and antecedent are specified as feature structures or groups
of feature structures; the constraint is satisfied if both
subsume a given feature structure, or if both do not.</a:documentation>
      <group>
        <choice>
          <ref name="tei_fs"/>
          <ref name="tei_f"/>
        </choice>
        <ref name="tei_iff"/>
        <choice>
          <ref name="tei_fs"/>
          <ref name="tei_f"/>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_iff">
    <element name="iff">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(if and only if) separates the condition from the consequence in a bicond
element.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fs">
    <element name="fs">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature structure) represents a feature structure, that is, a
  collection of feature-value pairs organized as a
structural unit.</a:documentation>
      <zeroOrMore>
        <ref name="tei_f"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the type of the feature structure.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="feats">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(features) references the feature-value specifications making up this feature structure.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_f">
    <element name="f">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature) represents a feature value specification, that
  is, the association of a name with a value of any of several different types.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.featureVal"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a name for the feature.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="fVal">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature value) references any element which can be used to represent the
  value of a feature.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_binary">
    <element name="binary">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(binary value) represents the value part of a feature-value specification which can contain either
  of exactly two possible values.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="value">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a binary value.</a:documentation>
        <choice>
          <data type="boolean"/>
        </choice>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_symbol">
    <element name="symbol">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(symbolic value) represents the value part of a feature-value specification
  which contains one of a finite list of symbols.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="value">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the symbolic value for the feature, one of a finite list that
may be specified in a feature declaration.</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_numeric">
    <element name="numeric">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(numeric value) represents the value part of a feature-value specification
  which contains a numeric value or range.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="value">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a lower bound for the numeric value represented,
      and also (if max is not supplied) its upper bound.</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="max">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies an upper bound for the numeric value represented.</a:documentation>
          <choice>
            <data type="double"/>
            <data type="decimal"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="trunc">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies whether the value represented should be
	  truncated to give an integer value.</a:documentation>
          <choice>
            <data type="boolean"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_string">
    <element name="string">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(string value) represents the value part of a feature-value specification
  which contains a string.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vLabel">
    <element name="vLabel">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value label) represents the value part of a feature-value specification
  which appears at more than one point in a feature structure.</a:documentation>
      <optional>
        <ref name="tei_model.featureVal"/>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name for the sharing point.</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vColl">
    <element name="vColl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(collection of values) represents the value part of a feature-value specification
  which contains multiple values organized as a set, bag, or list.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_fs"/>
            <ref name="tei_model.featureVal.single"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="org">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(organization) indicates organization of given value or values as  set, bag or list.</a:documentation>
          <rng:choice>
            <rng:value>set</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that the given values are organized as a set.
   </a:documentation>
            <rng:value>bag</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that the given values are organized as a
bag (multiset).
   </a:documentation>
            <rng:value>list</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that the given values are organized as a
list.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_default">
    <element name="default">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(default feature value) represents the value part of a feature-value specification
  which contains a defaulted value.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vAlt">
    <element name="vAlt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value alternation) represents the value part of a feature-value specification
  which contains a set of values, only one of which can be valid.</a:documentation>
      <group>
        <group>
          <ref name="tei_model.featureVal"/>
        </group>
        <oneOrMore>
          <ref name="tei_model.featureVal"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vNot">
    <element name="vNot">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value negation) represents a feature value which is the negation of its content.</a:documentation>
      <group>
        <ref name="tei_model.featureVal"/>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vMerge">
    <element name="vMerge">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(merged collection of values) represents a feature value which is the result of merging
  together the feature values contained by its children, using the organization
  specified by the org attribute.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.featureVal"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="org">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the organization of the resulting merged values as  set, bag or list.</a:documentation>
          <rng:choice>
            <rng:value>set</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that the resulting values are organized as a set.</a:documentation>
            <rng:value>bag</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that the resulting values are organized as a bag (multiset).
   </a:documentation>
            <rng:value>list</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates that the resulting values are organized as a list.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fLib">
    <element name="fLib">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature library) assembles a library of feature elements.</a:documentation>
      <oneOrMore>
        <ref name="tei_f"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fvLib">
    <element name="fvLib">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(feature-value library) assembles a library of reusable feature value elements
  (including complete feature structures).</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.featureVal"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_link">
    <element name="link">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines an association or hypertextual link
among elements or passages, of some type
not more precisely specifiable by other elements.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <rng:attribute name="targets">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifiers of the elements or passages
    to be linked or associated.
 </a:documentation>
        <rng:list>
          <data type="anyURI"/>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_linkGrp">
    <element name="linkGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(link group) defines a collection of associations or hypertextual links.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_link"/>
          <ref name="tei_ptr"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.group.attribute.domains"/>
      <ref name="att.pointing.group.attribute.targFunc"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ab">
    <element name="ab">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(anonymous block) contains any arbitrary component-level unit of text, acting as
an anonymous container for phrase or inter level elements analogous to, but
without the semantic baggage of, a paragraph.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="part" a:defaultValue="N">
          <a:documentation>specifies whether or not the block is complete. </a:documentation>
          <rng:choice>
            <rng:value>Y</rng:value>
            <a:documentation>(yes) the block is incomplete</a:documentation>
            <rng:value>N</rng:value>
            <a:documentation>(no) either the block is complete, or no claim is made as to its
completeness</a:documentation>
            <rng:value>I</rng:value>
            <a:documentation>(initial) the initial part of an incomplete block</a:documentation>
            <rng:value>M</rng:value>
            <a:documentation>(medial) a medial part of an incomplete block</a:documentation>
            <rng:value>F</rng:value>
            <a:documentation>(final) the final part of an incomplete block</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_anchor">
    <element name="anchor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(anchor point) attaches an identifier to a
point within a text, whether or not it corresponds with a textual
element.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_seg">
    <element name="seg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(arbitrary segment) represents any  segmentation of text below the
  chunk level.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.segLike.attribute.type"/>
      <ref name="att.segLike.attribute.function"/>
      <ref name="att.segLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <rng:optional>
        <rng:attribute name="subtype">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a sub-categorization of the segment marked.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_when">
    <element name="when">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates a point in time either relative to other elements in the
same timeline tag, or absolutely.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="absolute">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies an absolute value for the time.</a:documentation>
          <choice>
            <data type="date"/>
            <data type="gYear"/>
            <data type="gMonth"/>
            <data type="gDay"/>
            <data type="gYearMonth"/>
            <data type="gMonthDay"/>
            <data type="time"/>
            <data type="dateTime"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="unit">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the unit of time in which the  interval
value is expressed, if this is not inherited from the parent timeline.
Suggested values include: 1] d (days); 2] h (hours); 3] min (minutes); 4] s (seconds); 5] ms (milliseconds)</a:documentation>
          <rng:choice>
            <rng:value>d</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(days) </a:documentation>
            <rng:value>h</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hours) </a:documentation>
            <rng:value>min</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(minutes) </a:documentation>
            <rng:value>s</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seconds) </a:documentation>
            <rng:value>ms</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milliseconds) </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="interval">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the numeric portion of a time interval</a:documentation>
          <choice>
            <data type="float">
              <param name="minExclusive">0</param>
            </data>
            <value>unknown</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="since">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the reference point for determining the time of the
current when element, which is obtained by adding the interval to the
time of the reference point.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_timeline">
    <element name="timeline">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(timeline) provides a set of ordered points in time which can be linked to
elements of a spoken text to create a temporal alignment of that text.</a:documentation>
      <oneOrMore>
        <ref name="tei_when"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="origin">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">designates the origin of the timeline, i.e. the time at which it
begins.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="unit">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the unit of time corresponding to the
	interval value of the timeline or of its
	constituent points in time.
Suggested values include: 1] d (days); 2] h (hours); 3] min (minutes); 4] s (seconds); 5] ms (milliseconds)</a:documentation>
          <rng:choice>
            <rng:value>d</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(days) </a:documentation>
            <rng:value>h</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(hours) </a:documentation>
            <rng:value>min</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(minutes) </a:documentation>
            <rng:value>s</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seconds) </a:documentation>
            <rng:value>ms</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(milliseconds) </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="interval">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the numeric portion of a time interval</a:documentation>
          <choice>
            <data type="float">
              <param name="minExclusive">0</param>
            </data>
            <value>regular</value>
            <value>irregular</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_join">
    <element name="join">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a possibly fragmented segment of text, by pointing
at the possibly discontiguous elements which compose it.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <rng:attribute name="targets">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifiers of the elements or passages
       to be joined into a virtual
       element.</a:documentation>
        <rng:list>
          <data type="anyURI"/>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="result">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the name of an element
which this aggregation
may be understood to represent.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scope" a:defaultValue="root">
          <a:documentation>indicates whether the targets to be joined include the
entire element indicated (the entire subtree including its root),
or just the children of the target (the branches of the subtree).</a:documentation>
          <rng:choice>
            <rng:value>root</rng:value>
            <a:documentation>the rooted subtrees indicated by the targets
attribute are joined, each subtree become a child of the virtual
element created by the join</a:documentation>
            <rng:value>branches</rng:value>
            <a:documentation>the children of the subtrees indicated by the
targets attribute become the children of the virtual element
(i.e. the roots of the subtrees are discarded)</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_joinGrp">
    <element name="joinGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(join group) groups a collection of join elements and possibly
  pointers.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_join"/>
            <ref name="tei_ptr"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.group.attribute.domains"/>
      <ref name="att.pointing.group.attribute.targFunc"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <rng:optional>
        <rng:attribute name="result">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the result of the joins gathered in this collection.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_alt">
    <element name="alt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternation) identifies an alternation or a set of choices among elements or passages.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <rng:attribute name="targets">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifiers of the alternative elements or passages.</a:documentation>
        <rng:list>
          <data type="anyURI"/>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="mode">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">states whether the alternations gathered in this collection are exclusive or inclusive.</a:documentation>
          <rng:choice>
            <rng:value>excl</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(exclusive) indicates that the alternation is exclusive, i.e. that
		  at most one of the alternatives occurs.</a:documentation>
            <rng:value>incl</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(inclusive) indicates that the alternation is not exclusive, i.e. that
		  one or more of the alternatives occur.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="weights">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">If mode is , each weight
      states the probability that the corresponding alternative
      occurs. If mode is incl each weight states
      the probability that the corresponding alternative occurs given
      that at least one of the other alternatives occurs.</a:documentation>
          <rng:list>
            <data type="double">
              <param name="minInclusive">0</param>
              <param name="maxInclusive">1</param>
            </data>
            <rng:oneOrMore>
              <data type="double">
                <param name="minInclusive">0</param>
                <param name="maxInclusive">1</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_altGrp">
    <element name="altGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternation group) groups a collection of alt elements and possibly
pointers.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_alt"/>
          <ref name="tei_ptr"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.pointing.group.attribute.domains"/>
      <ref name="att.pointing.group.attribute.targFunc"/>
      <ref name="att.pointing.attribute.type"/>
      <ref name="att.pointing.attribute.evaluate"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="excl">
          <a:documentation>states whether the alternations gathered in this collection are
exclusive or inclusive.</a:documentation>
          <rng:choice>
            <rng:value>excl</rng:value>
            <a:documentation>(exclusive) indicates that the alternation is exclusive, i.e. that at
most one of the alternatives occurs.</a:documentation>
            <rng:value>incl</rng:value>
            <a:documentation>(inclusive) indicates that the alternation is not exclusive, i.e. that
one or more of the alternatives occur.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.global.linking.attributes">
    <ref name="att.global.linking.attribute.corresp"/>
    <ref name="att.global.linking.attribute.synch"/>
    <ref name="att.global.linking.attribute.sameAs"/>
    <ref name="att.global.linking.attribute.copyOf"/>
    <ref name="att.global.linking.attribute.next"/>
    <ref name="att.global.linking.attribute.prev"/>
    <ref name="att.global.linking.attribute.exclude"/>
    <ref name="att.global.linking.attribute.select"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.corresp">
    <rng:optional>
      <rng:attribute name="corresp">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(corresponds) points to elements that correspond to the current
      element in some way.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.synch">
    <rng:optional>
      <rng:attribute name="synch">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(synchronous) points to elements that are synchronous with the current
      element.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.sameAs">
    <rng:optional>
      <rng:attribute name="sameAs">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to an element that is the same as the current
      element.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.copyOf">
    <rng:optional>
      <rng:attribute name="copyOf">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to an element of which the current element is a
	copy.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.next">
    <rng:optional>
      <rng:attribute name="next">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to the next element of a virtual aggregate of which
      the current element is part.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.prev">
    <rng:optional>
      <rng:attribute name="prev">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(previous) points to the previous element of a virtual aggregate of
      which the current element is part.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.exclude">
    <rng:optional>
      <rng:attribute name="exclude">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to elements that are in exclusive alternation
      with the current element.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.linking.attribute.select">
    <rng:optional>
      <rng:attribute name="select">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">selects one or more alternants; if one alternant is
      selected, the ambiguity or uncertainty is marked as resolved. If
      more than one alternant is selected, the degree of ambiguity or
      uncertainty is marked as reduced by the number of alternants not
      selected.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.pointing.attributes">
    <ref name="att.pointing.attribute.type"/>
    <ref name="att.pointing.attribute.evaluate"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.attribute.type">
    <rng:optional>
      <rng: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"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.attribute.evaluate">
    <rng:optional>
      <rng: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>
        <rng:choice>
          <rng:value>all</rng: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>
          <rng:value>one</rng: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>
          <rng:value>none</rng: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>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.pointing.group.attributes">
    <ref name="att.pointing.group.attribute.domains"/>
    <ref name="att.pointing.group.attribute.targFunc"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.group.attribute.domains">
    <rng:optional>
      <rng:attribute name="domains">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">optionally specifies the identifiers of the elements
      within which all elements indicated by the contents of this
      element lie.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="Name"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.pointing.group.attribute.targFunc">
    <rng:optional>
      <rng:attribute name="targFunc">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target function) describes the function of each of the values of the
      targets attribute of the enclosed link,
      join, or alt tags.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msDesc">
    <element name="msDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript description) contains a description of a single identifiable
manuscript.</a:documentation>
      <group>
        <ref name="tei_msIdentifier"/>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="tei_model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="tei_msContents"/>
            </optional>
            <optional>
              <ref name="tei_physDesc"/>
            </optional>
            <optional>
              <ref name="tei_history"/>
            </optional>
            <optional>
              <ref name="tei_additional"/>
            </optional>
            <zeroOrMore>
              <ref name="tei_msPart"/>
            </zeroOrMore>
          </group>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_catchwords">
    <element name="catchwords">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the system used to ensure
correct ordering of the quires making up a codex or incunable,
typically by means of annotations at the foot of the page.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_dimensions">
    <element name="dimensions">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a dimensional specification.</a:documentation>
      <group>
        <optional>
          <ref name="tei_height"/>
        </optional>
        <optional>
          <ref name="tei_width"/>
        </optional>
        <optional>
          <ref name="tei_depth"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.dimensions.attribute.unit"/>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.precision"/>
      <ref name="att.dimensions.attribute.scope"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates which aspect of the object is being measured. 
Sample values include: 1] leaves; 2] ruled; 3] pricked; 4] written; 5] miniatures; 6] binding; 7] box</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_height">
    <element name="height">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a measurement measured along the axis parallel to the spine. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.dimensions.attribute.unit"/>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.precision"/>
      <ref name="att.dimensions.attribute.scope"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_depth">
    <element name="depth">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a length measured across the spine. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.dimensions.attribute.unit"/>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.precision"/>
      <ref name="att.dimensions.attribute.scope"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_width">
    <element name="width">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a measurement measured along the axis perpendicular to the spine. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.dimensions.attribute.unit"/>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.precision"/>
      <ref name="att.dimensions.attribute.scope"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_heraldry">
    <element name="heraldry">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a heraldic formula
or phrase, typically found as part of a blazon, coat of arms, etc. 
</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_locus">
    <element name="locus">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a location  within a manuscript or manuscript part, usually as a (possibly discontinuous) sequence of folio references. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the foliation scheme in terms of which the location is being specified.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="from">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the starting point of the location in a normalized form.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="to">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the end-point of the location in a normalized form.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="target">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a link to one or more transcriptions of the
      specified range of folios.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_material">
    <element name="material">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing the
  material of which  a manuscript (or part of a manuscript) is composed.
  </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_origDate">
    <element name="origDate">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(origin date) contains any form of date, used to
  identify the date of origin for a manuscript or manuscript part.
  </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_origPlace">
    <element name="origPlace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(origin place) contains any form of place name, used to identify the
place of origin for a manuscript or manuscript part. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_secFol">
    <element name="secFol">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(second folio) The word or words taken from a fixed point
in a codex (typically the beginning of the
second leaf) in order
to provide a unique identifier for it.
</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_signatures">
    <element name="signatures">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains discussion of the leaf or quire signatures found within a codex.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stamp">
    <element name="stamp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing a
stamp or similar device.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_watermark">
    <element name="watermark">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a word or phrase describing a
watermark or similar device.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msIdentifier">
    <element name="msIdentifier">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript identifier) contains the information required to identify
the  manuscript being described. </a:documentation>
      <group>
        <choice>
          <group>
            <ref name="tei_model.placeNamePart_sequenceOptional"/>
            <optional>
              <ref name="tei_institution"/>
            </optional>
            <ref name="tei_repository"/>
            <optional>
              <ref name="tei_collection"/>
            </optional>
            <optional>
              <ref name="tei_idno"/>
            </optional>
          </group>
          <ref name="tei_msName"/>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_altIdentifier"/>
            <ref name="tei_msName"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_institution">
    <element name="institution">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of an organization such as a university or
  library, with which a manuscript is identified, generally its
  holding institution.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_repository">
    <element name="repository">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a repository within which manuscripts are stored, possibly forming part of an institution.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_collection">
    <element name="collection">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a collection of
manuscripts, not necessarily located within a single repository. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_altIdentifier">
    <element name="altIdentifier">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternative identifier) contains an alternative or former structured identifier used for
a manuscript, such as a former catalogue number.</a:documentation>
      <group>
        <ref name="tei_model.placeNamePart_sequenceOptional"/>
        <optional>
          <ref name="tei_institution"/>
        </optional>
        <optional>
          <ref name="tei_repository"/>
        </optional>
        <optional>
          <ref name="tei_collection"/>
        </optional>
        <ref name="tei_idno"/>
        <optional>
          <ref name="tei_note"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msName">
    <element name="msName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternative name) contains any form of unstructured alternative
name used for a manuscript, such as an  ocellus
nominum, or nickname. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_colophon">
    <element name="colophon">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the  colophon
of a  manuscript item: that is, a statement providing information regarding the date, place, agency, or reason for production of the manuscript.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_explicit">
    <element name="explicit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the  explicit of a
manuscript item, that is, the closing words of the text proper,
exclusive of any rubric or colophon which might follow it.
  </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.msExcerpt.attribute.defective"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_filiation">
    <element name="filiation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information concerning the manuscript's filiation, i.e. its relationship to other surviving manuscripts of the same text, its protographs, antigraphs and apographs.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_finalRubric">
    <element name="finalRubric">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the string of words that denotes the end of a text division, often with an assertion as to its author and title, usually set off from the text itself by red ink, by a different size or type of script, or by some other such visual device.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_incipit">
    <element name="incipit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the incipit of a manuscript item, that is the opening words of the text proper, exclusive of any rubric which might precede it, of sufficient length to identify the work uniquely; such incipts were, in fomer times, frequently used a means of reference to a work, in place of a title.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.msExcerpt.attribute.defective"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msContents">
    <element name="msContents">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript contents) describes the intellectual content of
  a manuscript or manuscript part, either as a series of paragraphs or
  as a series of structured manuscript items.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="tei_summary"/>
          </optional>
          <optional>
            <ref name="tei_textLang"/>
          </optional>
          <oneOrMore>
            <choice>
              <ref name="tei_msItem"/>
              <ref name="tei_msItemStruct"/>
            </choice>
          </oneOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.msExcerpt.attribute.defective"/>
      <rng:optional>
        <rng:attribute name="class">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the text types or classifications applicable
	to this object.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msItem">
    <element name="msItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript item) describes an individual work or item within the intellectual
  content of a manuscript or manuscript part. </a:documentation>
      <group>
        <optional>
          <ref name="tei_locus"/>
        </optional>
        <choice>
          <oneOrMore>
            <ref name="tei_model.pLike"/>
          </oneOrMore>
          <oneOrMore>
            <choice>
              <ref name="tei_model.msItemPart"/>
              <ref name="tei_model.global"/>
            </choice>
          </oneOrMore>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.msExcerpt.attribute.defective"/>
      <rng:optional>
        <rng:attribute name="class">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the text types or classifications applicable to this
item</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msItemStruct">
    <element name="msItemStruct">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(structured manuscript item) contains a structured description for an
  individual work or item within the intellectual content of a
  manuscript or manuscript part.</a:documentation>
      <group>
        <optional>
          <ref name="tei_locus"/>
        </optional>
        <choice>
          <oneOrMore>
            <ref name="tei_model.pLike"/>
          </oneOrMore>
          <group>
            <zeroOrMore>
              <ref name="tei_author"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_respStmt"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_title"/>
            </zeroOrMore>
            <optional>
              <ref name="tei_rubric"/>
            </optional>
            <optional>
              <ref name="tei_incipit"/>
            </optional>
            <zeroOrMore>
              <ref name="tei_msItemStruct"/>
            </zeroOrMore>
            <optional>
              <ref name="tei_explicit"/>
            </optional>
            <optional>
              <ref name="tei_finalRubric"/>
            </optional>
            <zeroOrMore>
              <ref name="tei_colophon"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_decoNote"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_listBibl"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_bibl"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_filiation"/>
            </zeroOrMore>
            <zeroOrMore>
              <ref name="tei_model.noteLike"/>
            </zeroOrMore>
            <optional>
              <ref name="tei_textLang"/>
            </optional>
          </group>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.msExcerpt.attribute.defective"/>
      <rng:optional>
        <rng:attribute name="class">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the text types or classifications applicable to this
item</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rubric">
    <element name="rubric">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the text of any rubric or heading attached to a particular manuscript item, that is, a string of words through which a
manuscript signals the beginning of a text division, often with an assertion as to its author and title, which is in some way set off from the text itself, usually in red ink, or by use of different size or type of script, or some other such visual device.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_summary">
    <element name="summary">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief summary of the
intellectual content of an item, provided by the cataloguer.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_textLang">
    <element name="textLang">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text language) describes the languages and writing systems used by a
manuscript (as opposed to its description, which is described in the langUsage element).</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="mainLang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(main language) supplies a code which identifies the chief language used
      in the manuscript.</a:documentation>
          <data type="language"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="otherLangs">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(other languages) one or more codes identifying any other languages used in
      the manuscript.</a:documentation>
          <rng:list>
            <rng:zeroOrMore>
              <data type="language"/>
            </rng:zeroOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_physDesc">
    <element name="physDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(physical description) contains a full physical description of a
manuscript or manuscript part, optionally subdivided using more
specialised elements from the model.physDescPart class.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <ref name="tei_model.physDescPart_sequenceOptional"/>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_objectDesc">
    <element name="objectDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the physical
  components making up the object which is being described.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="tei_supportDesc"/>
          </optional>
          <optional>
            <ref name="tei_layoutDesc"/>
          </optional>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="form">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a short  project-specific name identifying the physical form of
      the carrier, for example as a codex, roll, fragment, partial leaf,
      cutting etc.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_supportDesc">
    <element name="supportDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(support description) groups elements describing the physical support for the written part of a manuscript.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="tei_support"/>
          </optional>
          <optional>
            <ref name="tei_extent"/>
          </optional>
          <zeroOrMore>
            <ref name="tei_foliation"/>
          </zeroOrMore>
          <optional>
            <ref name="tei_collation"/>
          </optional>
          <optional>
            <ref name="tei_condition"/>
          </optional>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="material">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a short project-defined name for the material composing
      the majority of the support</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_support">
    <element name="support">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the materials
etc. which make up the physical support for the written part of a manuscript.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_collation">
    <element name="collation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of how the leaves or bifolia are physically
arranged.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_foliation">
    <element name="foliation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the numbering system or systems used to 
count the leaves or pages in a codex.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_condition">
    <element name="condition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the physical
condition of the manuscript. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_layoutDesc">
    <element name="layoutDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(layout description) collects the set of layout descriptions applicable to a manuscript.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_layout"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_layout">
    <element name="layout">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes how text is laid out on the
  page, including information about any ruling, pricking, or other
  evidence of page-preparation techniques.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="columns">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of columns per page</a:documentation>
          <rng:list>
            <data type="nonNegativeInteger"/>
            <rng:optional>
              <data type="nonNegativeInteger"/>
            </rng:optional>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="ruledLines">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of ruled lines per column</a:documentation>
          <rng:list>
            <data type="nonNegativeInteger"/>
            <rng:optional>
              <data type="nonNegativeInteger"/>
            </rng:optional>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="writtenLines">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of written lines per
      colum</a:documentation>
          <rng:list>
            <data type="nonNegativeInteger"/>
            <rng:optional>
              <data type="nonNegativeInteger"/>
            </rng:optional>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_handDesc">
    <element name="handDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(description of hands) contains a description of all the different kinds of writing  used in a manuscript.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="tei_summary"/>
          </optional>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="hands">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the number of distinct hands identified within the manuscript</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_musicNotation">
    <element name="musicNotation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains description of type of musical notation.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_decoDesc">
    <element name="decoDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(decoration description) contains a description of the decoration of a manuscript, either as a sequence of paragraphs, or as a sequence of topically organised decoNote elements.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_decoNote"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_decoNote">
    <element name="decoNote">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(note on decoration) contains a note describing either a
decorative component of a manuscript, or a fairly homogenous class of
such components.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_additions">
    <element name="additions">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of any significant additions found
within a manuscript, such as marginalia or other annotations. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_bindingDesc">
    <element name="bindingDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(binding description) describes the present and former bindings of a manuscript, either
as a series of paragraphs or as a series of distinct binding elements,
one for each binding of the manuscript. </a:documentation>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="tei_model.pLike"/>
            <ref name="tei_decoNote"/>
          </choice>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_binding"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_binding">
    <element name="binding">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of one binding, i.e. type of covering, boards, etc. applied to a manuscript.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_model.pLike"/>
          <ref name="tei_decoNote"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <rng:optional>
        <rng:attribute name="contemporary">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies whether or not the binding is contemporary with the majority of its contents</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sealDesc">
    <element name="sealDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(seal description) describes the seals or other external items attached to a manuscript, either
as a series of paragraphs or as a series of distinct seal elements,
possibly with additional decoNotes. </a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_decoNote"/>
            <ref name="tei_seal"/>
          </choice>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_seal">
    <element name="seal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of one seal or similar
  attachment applied to a manuscript.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_model.pLike"/>
          <ref name="tei_decoNote"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <rng:optional>
        <rng:attribute name="contemporary">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies whether or not the seal is contemporary with the
      item to which it is affixed</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_accMat">
    <element name="accMat">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(accompanying material) contains details of any significant additional
material which may be closely associated with the manuscript being
described, such as non-contemporaneous documents or fragments bound in
with the manuscript at some earlier historical period.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_history">
    <element name="history">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"> groups elements
describing the full history of a manuscript or manuscript part.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <optional>
            <ref name="tei_summary"/>
          </optional>
          <optional>
            <ref name="tei_origin"/>
          </optional>
          <zeroOrMore>
            <ref name="tei_provenance"/>
          </zeroOrMore>
          <optional>
            <ref name="tei_acquisition"/>
          </optional>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_origin">
    <element name="origin">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any descriptive or other information
concerning the origin of  a manuscript or manuscript part. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_provenance">
    <element name="provenance">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any descriptive or other information
concerning a single identifiable episode during the history of a manuscript
or manuscript part, after its creation but before its acquisition. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_acquisition">
    <element name="acquisition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any descriptive or other information
concerning the process by which a manuscript or manuscript part entered the holding
institution. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_additional">
    <element name="additional">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups additional information, combining
bibliographic information about a manuscript, or surrogate copies of
it with  curatorial or administrative information. </a:documentation>
      <group>
        <optional>
          <ref name="tei_adminInfo"/>
        </optional>
        <optional>
          <ref name="tei_surrogates"/>
        </optional>
        <optional>
          <ref name="tei_listBibl"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_adminInfo">
    <element name="adminInfo">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(administrative information) contains information about the present
custody and availability of the manuscript, and also about the record
description itself. </a:documentation>
      <group>
        <optional>
          <ref name="tei_recordHist"/>
        </optional>
        <optional>
          <ref name="tei_availability"/>
        </optional>
        <optional>
          <ref name="tei_custodialHist"/>
        </optional>
        <optional>
          <ref name="tei_model.noteLike"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_recordHist">
    <element name="recordHist">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(recorded history) provides information about the source and
revision status of the parent manuscript description itself. </a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <group>
          <ref name="tei_source"/>
          <zeroOrMore>
            <ref name="tei_change"/>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_source">
    <element name="source">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the original source for the information contained with a manuscript description. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_custodialHist">
    <element name="custodialHist">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(custodial history) contains a description of a manuscript's custodial history, either
as running prose or as a series of dated custodial events. </a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_custEvent"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_custEvent">
    <element name="custEvent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(custodial event) describes a single event during the custodial history of a manuscript.</a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_surrogates">
    <element name="surrogates">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about any digital or
photographic representations of the manuscript being described which
may exist in the holding institution or elsewhere. </a:documentation>
      <rng:ref name="tei_macro.specialPara"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_msPart">
    <element name="msPart">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(manuscript part) contains information about an originally
distinct manuscript or part of a manuscript, now forming part of a composite manuscript.</a:documentation>
      <group>
        <ref name="tei_altIdentifier"/>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <oneOrMore>
            <ref name="tei_model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="tei_msContents"/>
            </optional>
            <optional>
              <ref name="tei_physDesc"/>
            </optional>
            <optional>
              <ref name="tei_history"/>
            </optional>
            <optional>
              <ref name="tei_additional"/>
            </optional>
            <zeroOrMore>
              <ref name="tei_msPart"/>
            </zeroOrMore>
          </group>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.msExcerpt.attributes">
    <ref name="att.msExcerpt.attribute.defective"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.msExcerpt.attribute.defective">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="defective" a:defaultValue="false">
        <a:documentation>indicates whether the passage being quoted is defective,
      i.e. incomplete through loss or damage.</a:documentation>
        <choice>
          <data type="boolean"/>
          <value>unknown</value>
          <value>inapplicable</value>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_orgName">
    <element name="orgName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(organization name) contains an organizational name. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_persName">
    <element name="persName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(personal name) contains a proper noun or proper-noun phrase referring to a
  person, possibly including any or all of the person's forenames,
  surnames, honorifics, added names, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_surname">
    <element name="surname">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a family (inherited) name, as opposed to a given,
baptismal, or nick name.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_forename">
    <element name="forename">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a forename, given or baptismal name.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_genName">
    <element name="genName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(generational name component) contains a name component used to distinguish otherwise similar
names on the basis of the relative ages or generations of the persons named.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_nameLink">
    <element name="nameLink">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a connecting phrase or link used within a name but not
regarded as part of it, such as  van der or of.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_addName">
    <element name="addName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(additional name) contains an additional name component, such as a nickname, 
epithet, or alias, or any other descriptive phrase used within a
personal name.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_roleName">
    <element name="roleName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a name component which indicates that the referent has a
particular role or position in society, such as an official title or
rank.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.personal.attribute.full"/>
      <ref name="att.personal.attribute.sort"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_placeName">
    <element name="placeName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an absolute or relative place name. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_bloc">
    <element name="bloc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a geo-political unit consisting of  two or
more nation states or countries.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_country">
    <element name="country">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a geo-political unit, such as a nation,
country, colony, or commonwealth, larger than or administratively superior
to a region and smaller than a bloc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_region">
    <element name="region">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of an administrative unit such as a state,
province, or county, larger than a settlement, but smaller than a country.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_district">
    <element name="district">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of any kind of subdivision of a
settlement,  such as a parish, ward, or other
administrative or geographic unit.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_settlement">
    <element name="settlement">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the name of a settlement such as a city, town, or
village identified as a single geo-political or
administrative unit.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_offset">
    <element name="offset">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">that  part of a relative temporal or spatial expression
which indicates the direction of the offset between the two place
names, dates, or times involved in the expression. </a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_geogName">
    <element name="geogName">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographical name) a name associated with some geographical feature such as
  Windrush Valley or Mount Sinai.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides more culture- linguistic- or application-
      specific information used to categorize this name
      component.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_geogFeat">
    <element name="geogFeat">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographical feature name) contains a common noun identifying some geographical feature 
contained within a geographic name, such as valley,
mount, etc.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_affiliation">
    <element name="affiliation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an informal description of a person's present
or past affiliation with some
organization, for example an employer or sponsor.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_age">
    <element name="age">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the age of a person.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a numeric code representing the age or age group</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_birth">
    <element name="birth">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about a person's birth, such as its date
and place.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_climate">
    <element name="climate">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the physical climate of a place.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <oneOrMore>
              <ref name="tei_model.pLike"/>
            </oneOrMore>
          </group>
          <group>
            <oneOrMore>
              <ref name="tei_model.labelLike"/>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_climate"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_death">
    <element name="death">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about a person's death, such as its date
and place.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_education">
    <element name="education">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of the
educational experience of a person.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_event">
    <element name="event">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains data relating to any kind of significant event
  associated with a person, place, or organization.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <oneOrMore>
              <ref name="tei_model.pLike"/>
            </oneOrMore>
          </group>
          <group>
            <oneOrMore>
              <ref name="tei_model.labelLike"/>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_event"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng:attribute name="where">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of an event by pointing to a place element</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_faith">
    <element name="faith">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the faith,  religion, or belief set of a person.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_floruit">
    <element name="floruit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about a person's period of activity.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_geo">
    <element name="geo">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(geographical coordinates) contains any expression of a set of geographic coordinates,
  representing a point, line, or area on the surface of the earth in
  some notation.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_langKnowledge">
    <element name="langKnowledge">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language knowledge) summarizes the state of a person's linguistic knowledge, either
as prose or by a list of langKnown elements.</a:documentation>
      <choice>
        <ref name="tei_model.pLike"/>
        <oneOrMore>
          <ref name="tei_langKnown"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:optional>
        <rng:attribute name="tags">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies one or more valid language tags for the languages
      specified</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="language"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_langKnown">
    <element name="langKnown">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(language known) summarizes the state of a person's linguistic competence,
  i.e., knowledge of a single language.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:attribute name="tag">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a  valid language tag for the language concerned.</a:documentation>
        <data type="language"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="level">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a code indicating the person's level of knowledge for this language </a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listOrg">
    <element name="listOrg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of organizations) contains a list of elements, each of which provides
information about an identifiable organization. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_org"/>
            <ref name="tei_listOrg"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_relationGrp"/>
            <ref name="tei_relation"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listPerson">
    <element name="listPerson">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of persons) contains a list of descriptions, each of which provides
information about an identifiable person or a group of people, for
example the participants in a language interaction, or the people referred
to in a historical source. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_model.personLike"/>
            <ref name="tei_listPerson"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_relation"/>
            <ref name="tei_relationGrp"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listPlace">
    <element name="listPlace">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of places) contains a list of places, optionally followed by a list
      of relationships (other than containment) defined amongst
      them. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_model.placeLike"/>
            <ref name="tei_listPlace"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_relationGrp"/>
            <ref name="tei_relation"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_location">
    <element name="location">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines the location of a place as a set of geographical
  coordinates, in terms of a other named geo-political entities,
  or as an address.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_model.labelLike"/>
          <ref name="tei_model.placeNamePart"/>
          <ref name="tei_model.offsetLike"/>
          <ref name="tei_model.measureLike"/>
          <ref name="tei_model.addressLike"/>
          <ref name="tei_model.noteLike"/>
          <ref name="tei_model.biblLike"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_nationality">
    <element name="nationality">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an informal description of a person's present
or past nationality or citizenship.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_occupation">
    <element name="occupation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an informal description of a person's trade,
profession or occupation.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng:attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification system or taxonomy in use by supplying
the identifier of a taxonomy element elsewhere in the header.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="code">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies an occupation code defined within the
classification system or taxonomy defined by the scheme
attribute.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_org">
    <element name="org">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(organization) provides information about an identifiable organization such
  as a business, a tribe, or any other grouping of people.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <zeroOrMore>
              <ref name="tei_model.pLike"/>
            </zeroOrMore>
          </group>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.labelLike"/>
              <ref name="tei_model.nameLike"/>
              <ref name="tei_model.placeLike"/>
            </choice>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.personLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:optional>
        <rng:attribute name="role">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a primary role or classification for the organization.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_relationGrp">
    <element name="relationGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(relation group) provides information about relationships identified amongst people,
  places, and organizations, either informally as prose or as formally
  expressed relation links. </a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_relation"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_person">
    <element name="person">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides information about an identifiable individual, for
example a participant in a language interaction, or a person referred
to in a historical source.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.personPart"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:optional>
        <rng:attribute name="role">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a primary role or classification for the person.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="Name"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="sex">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sex of the person.</a:documentation>
          <choice>
            <value>0</value>
            <value>1</value>
            <value>2</value>
            <value>9</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="age">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies an age group for the person.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_personGrp">
    <element name="personGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(personal group) describes a group of individuals treated as a single person for
  analytic purposes.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <zeroOrMore>
          <ref name="tei_model.personPart"/>
        </zeroOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="role">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the role of this group of participants in the
        interaction.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="sex">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sex of the participant group.</a:documentation>
          <choice>
            <choice>
              <value>0</value>
              <value>1</value>
              <value>2</value>
              <value>9</value>
            </choice>
            <value>mixed</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="age">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the age group of the participants.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="size">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the size or approximate size of the group.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_place">
    <element name="place">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains data about a geographic location</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <zeroOrMore>
              <ref name="tei_model.pLike"/>
            </zeroOrMore>
          </group>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.labelLike"/>
              <ref name="tei_model.placeStateLike"/>
              <ref name="tei_model.placeTraitLike"/>
              <ref name="tei_model.placeEventLike"/>
            </choice>
          </zeroOrMore>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.placeLike"/>
            <ref name="tei_listPlace"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_population">
    <element name="population">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the population of a place.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <optional>
          <choice>
            <group>
              <oneOrMore>
                <ref name="tei_model.pLike"/>
              </oneOrMore>
            </group>
            <group>
              <oneOrMore>
                <ref name="tei_model.labelLike"/>
              </oneOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.noteLike"/>
              <ref name="tei_model.biblLike"/>
            </choice>
          </zeroOrMore>
        </optional>
        <zeroOrMore>
          <ref name="tei_population"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_relation">
    <element name="relation">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(relationship) describes any kind of relationship or linkage amongst a specified
group of participants.</a:documentation>
      <optional>
        <ref name="tei_desc"/>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="personal">
          <a:documentation>categorizes the relationship in some respect, e.g.
as social, personal or other.
Suggested values include: 1] social; 2] personal; 3] other</a:documentation>
          <rng:choice>
            <rng:value>social</rng:value>
            <a:documentation>relationship concerned with social roles</a:documentation>
            <rng:value>personal</rng:value>
            <a:documentation>relationship concerned with personal roles, e.g.
kinship, marriage, etc.</a:documentation>
            <rng:value>other</rng:value>
            <a:documentation>other kinds of relationship</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a name for the kind of  relationship of which
	this is an instance.</a:documentation>
        <data type="Name"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="passive">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the passive participants in a non-mutual
relationship.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:choice>
        <rng:optional>
          <rng:attribute name="active">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the active participants in a non-mutual
relationship, or all the participants in a mutual one.</a:documentation>
            <rng:list>
              <rng:oneOrMore>
                <data type="anyURI"/>
              </rng:oneOrMore>
            </rng:list>
          </rng:attribute>
        </rng:optional>
        <rng:optional>
          <rng:attribute name="mutual">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies a list of participants amongst all of whom the relationship holds equally.</a:documentation>
            <rng:list>
              <rng:oneOrMore>
                <data type="anyURI"/>
              </rng:oneOrMore>
            </rng:list>
          </rng:attribute>
        </rng:optional>
      </rng:choice>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_residence">
    <element name="residence">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(residence) describes a person's present or past places of residence.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_sex">
    <element name="sex">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the sex of a person.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <choice>
            <value>0</value>
            <value>1</value>
            <value>2</value>
            <value>9</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_socecStatus">
    <element name="socecStatus">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(socio-economic status) contains an informal description of a person's perceived social or
economic status.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <rng:optional>
        <rng:attribute name="scheme">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the classification system or taxonomy in use.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="code">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies a status code defined within the
classification system or taxonomy defined by the source
attribute.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_state">
    <element name="state">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of some status or quality
attributed to a person, place, or organization at some specific time.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_state"/>
        </oneOrMore>
        <group>
          <zeroOrMore>
            <ref name="tei_model.headLike"/>
          </zeroOrMore>
          <oneOrMore>
            <ref name="tei_model.pLike"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.noteLike"/>
              <ref name="tei_model.biblLike"/>
            </choice>
          </zeroOrMore>
        </group>
        <group>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.labelLike"/>
              <ref name="tei_model.noteLike"/>
              <ref name="tei_model.biblLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_terrain">
    <element name="terrain">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains information about the physical terrain of a place.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <choice>
          <group>
            <oneOrMore>
              <ref name="tei_model.pLike"/>
            </oneOrMore>
          </group>
          <group>
            <oneOrMore>
              <ref name="tei_model.labelLike"/>
            </oneOrMore>
          </group>
        </choice>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.noteLike"/>
            <ref name="tei_model.biblLike"/>
          </choice>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_terrain"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_trait">
    <element name="trait">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a description of some culturally-determined and in
  principle unchanging characteristic attributed to a person or place .</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_trait"/>
        </oneOrMore>
        <group>
          <zeroOrMore>
            <ref name="tei_model.headLike"/>
          </zeroOrMore>
          <oneOrMore>
            <ref name="tei_model.pLike"/>
          </oneOrMore>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.noteLike"/>
              <ref name="tei_model.biblLike"/>
            </choice>
          </zeroOrMore>
        </group>
        <group>
          <zeroOrMore>
            <choice>
              <ref name="tei_model.labelLike"/>
              <ref name="tei_model.noteLike"/>
              <ref name="tei_model.biblLike"/>
            </choice>
          </zeroOrMore>
        </group>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.datable.w3c.attribute.period"/>
      <ref name="att.datable.w3c.attribute.when"/>
      <ref name="att.datable.w3c.attribute.notBefore"/>
      <ref name="att.datable.w3c.attribute.notAfter"/>
      <ref name="att.datable.w3c.attribute.from"/>
      <ref name="att.datable.w3c.attribute.to"/>
      <ref name="att.datable.iso.attribute.when-iso"/>
      <ref name="att.datable.iso.attribute.notBefore-iso"/>
      <ref name="att.datable.iso.attribute.notAfter-iso"/>
      <ref name="att.datable.iso.attribute.from-iso"/>
      <ref name="att.datable.iso.attribute.to-iso"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.naming.attribute.key"/>
      <ref name="att.naming.attribute.ref"/>
      <ref name="att.naming.attribute.nymRef"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_nym">
    <element name="nym">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(canonical name) contains the definition for a canonical  name or namepart of
  any kind.</a:documentation>
      <group>
        <group>
          <zeroOrMore>
            <ref name="tei_model.entryPart"/>
          </zeroOrMore>
        </group>
        <group>
          <zeroOrMore>
            <ref name="tei_model.pLike"/>
          </zeroOrMore>
        </group>
        <group>
          <zeroOrMore>
            <ref name="tei_nym"/>
          </zeroOrMore>
        </group>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute name="parts">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to constituent nyms </a:documentation>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sorry, unable to create schema that uses actual counts minOccurs=1 and maxOccurs=100; approximating to minOccurs=1 and maxOccurs=unbounded.</a:documentation>
          <rng:list>
            <data type="anyURI"/>
            <rng:zeroOrMore>
              <data type="anyURI"/>
            </rng:zeroOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listNym">
    <element name="listNym">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of canonical names) contains a list of nyms, that is, standardized names for any
	thing. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.headLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_nym"/>
            <ref name="tei_listNym"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_relationGrp"/>
            <ref name="tei_relation"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.persNamePart">
    <rng:choice>
      <ref name="tei_surname"/>
      <ref name="tei_forename"/>
      <ref name="tei_genName"/>
      <ref name="tei_nameLink"/>
      <ref name="tei_addName"/>
      <ref name="tei_roleName"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.datable.iso.attributes">
    <ref name="att.datable.iso.attribute.when-iso"/>
    <ref name="att.datable.iso.attribute.notBefore-iso"/>
    <ref name="att.datable.iso.attribute.notAfter-iso"/>
    <ref name="att.datable.iso.attribute.from-iso"/>
    <ref name="att.datable.iso.attribute.to-iso"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.iso.attribute.when-iso">
    <rng:optional>
      <rng:attribute name="when-iso">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">supplies the value of a date or time in a standard form.</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"/>
          <data type="token">
            <param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</param>
          </data>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.iso.attribute.notBefore-iso">
    <rng:optional>
      <rng:attribute name="notBefore-iso">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the earliest possible date for the event in
	standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
          <data type="token">
            <param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</param>
          </data>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.iso.attribute.notAfter-iso">
    <rng:optional>
      <rng:attribute name="notAfter-iso">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the latest possible date for the event in
	standard form, e.g. yyyy-mm-dd.</a:documentation>
        <choice>
          <data type="date"/>
          <data type="gYear"/>
          <data type="gMonth"/>
          <data type="gDay"/>
          <data type="gYearMonth"/>
          <data type="gMonthDay"/>
          <data type="time"/>
          <data type="dateTime"/>
          <data type="token">
            <param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</param>
          </data>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.iso.attribute.from-iso">
    <rng:optional>
      <rng:attribute name="from-iso">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the starting point of the period in standard form.</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"/>
          <data type="token">
            <param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</param>
          </data>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.datable.iso.attribute.to-iso">
    <rng:optional>
      <rng:attribute name="to-iso">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the ending point of the period in standard form.</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"/>
          <data type="token">
            <param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</param>
          </data>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.duration.iso.attributes">
    <ref name="att.duration.iso.attribute.dur-iso"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.duration.iso.attribute.dur-iso">
    <rng:optional>
      <rng:attribute name="dur-iso">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(duration) indicates the length of this element in time.</a:documentation>
        <data type="token">
          <param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</param>
        </data>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_graph">
    <element name="graph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">encodes a graph, which is a collection of nodes, and arcs which
connect the nodes.</a:documentation>
      <group>
        <optional>
          <ref name="tei_label"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
        <choice>
          <group>
            <oneOrMore>
              <ref name="tei_node"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <zeroOrMore>
              <ref name="tei_arc"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </zeroOrMore>
          </group>
          <group>
            <oneOrMore>
              <ref name="tei_arc"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <oneOrMore>
              <ref name="tei_node"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
          </group>
        </choice>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the type of graph.
Suggested values include: 1] undirected; 2] directed; 3] transitionNetwork; 4] transducer</a:documentation>
          <rng:choice>
            <rng:value>undirected</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">undirected graph</a:documentation>
            <rng:value>directed</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">directed graph</a:documentation>
            <rng:value>transitionNetwork</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a directed graph with distinguished initial and final nodes</a:documentation>
            <rng:value>transducer</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a transition network with up to two labels on each arc</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="order">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">states the order of the graph, i.e., the number of its nodes.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="size">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">states the size of the graph, i.e., the number of its arcs.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_node">
    <element name="node">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">encodes a node, a possibly labeled point in a graph.</a:documentation>
      <optional>
        <ref name="tei_label"/>
        <optional>
          <ref name="tei_label"/>
        </optional>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of a node, which is a feature structure or
other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a type for a node.
Suggested values include: 1] initial; 2] final</a:documentation>
          <rng:choice>
            <rng:value>initial</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">initial node in a transition network</a:documentation>
            <rng:value>final</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">final node in a transition network</a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="adjTo">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(adjacent to) gives the identifiers of the nodes which are adjacent to the current node.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="adjFrom">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(adjacent from) gives the identifiers of the nodes which are adjacent from the current
node.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="adj">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(adjacent) gives the identifiers of the nodes which are both adjacent to and
adjacent from the current node.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="anyURI"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="inDegree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the in degree of the node, the number of nodes which
are adjacent from the given node.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="outDegree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the out degree of the node, the number of nodes which
are adjacent to the given node.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="degree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the degree of the node, the number of arcs with which
the node is incident.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_arc">
    <element name="arc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">encodes an arc, the connection from one node to another in a graph.</a:documentation>
      <optional>
        <ref name="tei_label"/>
        <optional>
          <ref name="tei_label"/>
        </optional>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="from">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the identifier of the node which is adjacent from this arc.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <rng:attribute name="to">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the identifier of the node which is adjacent to this arc.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_tree">
    <element name="tree">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">encodes a tree, which is made up of a root, internal nodes,
leaves, and arcs from root to leaves.</a:documentation>
      <group>
        <optional>
          <ref name="tei_label"/>
        </optional>
        <group>
          <zeroOrMore>
            <choice>
              <ref name="tei_leaf"/>
              <ref name="tei_iNode"/>
            </choice>
          </zeroOrMore>
          <ref name="tei_root"/>
          <zeroOrMore>
            <choice>
              <ref name="tei_leaf"/>
              <ref name="tei_iNode"/>
            </choice>
          </zeroOrMore>
        </group>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="arity">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the maximum number of children of the root and internal
nodes of the tree.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ord" a:defaultValue="true">
        <a:documentation>(ordered) indicates whether or not the tree is ordered, or if it is
partially ordered.</a:documentation>
        <rng:choice>
          <rng:value>true</rng:value>
          <a:documentation>indicates that all of the branching nodes of the tree are ordered.</a:documentation>
          <rng:value>partial</rng:value>
          <a:documentation>indicates that some of the branching nodes of the tree are ordered
and some are unordered.</a:documentation>
          <rng:value>false</rng:value>
          <a:documentation>indicates that all of the branching nodes of the tree are
unordered.</a:documentation>
        </rng:choice>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="order">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the order of the tree, i.e., the number of its nodes.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_root">
    <element name="root">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(root node) represents the root node of a tree.</a:documentation>
      <optional>
        <ref name="tei_label"/>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of the root, which is a feature structure or
other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:attribute name="children">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a list of identifiers of the elements which are the children of
the root node.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="ord">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ordered) indicates whether or not the root is ordered.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="outDegree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the out degree of the root, the number of its children.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_iNode">
    <element name="iNode">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(intermediate (or internal) node) represents an intermediate (or internal) node of a tree.</a:documentation>
      <optional>
        <ref name="tei_label"/>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of an intermediate node, which is a feature
structure or other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:attribute name="children">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a list of identifiers of the elements which are the children of
the intermediate node.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="parent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the identifier of the element which is the parent of this node.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="ord">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(ordered) indicates whether or not the internal node is ordered.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="follow">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides an identifier of
the element which this node
follows.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="outDegree">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the out degree of an intermediate node, the number of its
children.</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_leaf">
    <element name="leaf">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">encodes the leaves (terminal nodes) of a tree.</a:documentation>
      <optional>
        <ref name="tei_label"/>
      </optional>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a pointer to a feature
structure or other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="parent">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the identifier of parent of a leaf.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="follow">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides an identifier of an element which this leaf follows.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_eTree">
    <element name="eTree">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(embedding tree) provides an alternative to tree element for representing
ordered rooted tree structures.</a:documentation>
      <group>
        <optional>
          <ref name="tei_label"/>
        </optional>
        <zeroOrMore>
          <choice>
            <ref name="tei_eTree"/>
            <ref name="tei_triangle"/>
            <ref name="tei_eLeaf"/>
            <ref name="tei_model.ptrLike"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of an embedding tree, which is a feature
structure or other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_triangle">
    <element name="triangle">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(underspecified embedding tree, so called because of its
  characteristic shape when drawn) Provides for an underspecified eTree, that is, an eTree with
  information left out.</a:documentation>
      <group>
        <optional>
          <ref name="tei_label"/>
        </optional>
        <zeroOrMore>
          <choice>
            <ref name="tei_eTree"/>
            <ref name="tei_triangle"/>
            <ref name="tei_eLeaf"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of a triangle, which is the identifier of a feature
structure or other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_eLeaf">
    <element name="eLeaf">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(leaf or terminal node of an embedding tree) provides explicitly for a leaf of an embedding tree, which may also
be encoded with the eTree element.</a:documentation>
      <group>
        <optional>
          <ref name="tei_label"/>
        </optional>
        <optional>
          <ref name="tei_model.ptrLike"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute name="value">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides the value of an embedding leaf, which is a feature
structure or other analytic element.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_forest">
    <element name="forest">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides for groups of rooted trees.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_tree"/>
          <ref name="tei_eTree"/>
          <ref name="tei_triangle"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the type of the forest.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_forestGrp">
    <element name="forestGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(forest group) provides for groups of forests.</a:documentation>
      <oneOrMore>
        <ref name="tei_forest"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the type of the forest group.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_scriptStmt">
    <element name="scriptStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(script statement) contains a citation giving details of the script used for
a spoken text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <ref name="tei_model.biblLike"/>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_recordingStmt">
    <element name="recordingStmt">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(recording statement) describes a set of recordings used as the basis for transcription of a
spoken text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_recording"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_recording">
    <element name="recording">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(recording event) details of an audio or video recording event
used as the source of a spoken text, either directly or from
a public broadcast. </a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <zeroOrMore>
          <ref name="tei_model.recordingPart"/>
        </zeroOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.duration.iso.attribute.dur-iso"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="audio">
          <a:documentation>the kind of recording.</a:documentation>
          <rng:choice>
            <rng:value>audio</rng:value>
            <a:documentation>audio recording</a:documentation>
            <rng:value>video</rng:value>
            <a:documentation>audio and video recording</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_equipment">
    <element name="equipment">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides technical details of the equipment and media used for
an audio or video recording used as the source for a spoken text.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_broadcast">
    <element name="broadcast">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes a broadcast used as the source of a spoken text.</a:documentation>
      <choice>
        <oneOrMore>
          <ref name="tei_model.pLike"/>
        </oneOrMore>
        <ref name="tei_model.biblLike"/>
        <ref name="tei_recording"/>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_u">
    <element name="u">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(utterance) a stretch of speech usually preceded and followed by
silence or by a change of speaker.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.declaring.attribute.decls"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="trans" a:defaultValue="smooth">
          <a:documentation>(transition) indicates the nature of the transition between this utterance
          and the previous one.</a:documentation>
          <rng:choice>
            <rng:value>smooth</rng:value>
            <a:documentation>this  utterance begins without unusual pause or rapidity.</a:documentation>
            <rng:value>latching</rng:value>
            <a:documentation>this utterance begins with a markedly shorter pause than normal.</a:documentation>
            <rng:value>overlap</rng:value>
            <a:documentation>this utterance begins before the previous one has finished.</a:documentation>
            <rng:value>pause</rng:value>
            <a:documentation>this utterance begins after a noticeable pause.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_pause">
    <element name="pause">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a pause either between or within utterances.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.ascribed.attribute.who"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_vocal">
    <element name="vocal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">any vocalized but not necessarily lexical phenomenon, for
  example voiced pauses, non-lexical backchannels, etc.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.ascribed.attribute.who"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="iterated" a:defaultValue="false">
          <a:documentation>indicates whether or not the phenomenon is repeated.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_kinesic">
    <element name="kinesic">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">any communicative phenomenon, not necessarily vocalized, for
  example a gesture, frown, etc.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="iterated" a:defaultValue="false">
          <a:documentation>indicates whether or not the phenomenon is
      repeated.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_incident">
    <element name="incident">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">any phenomenon or occurrence, not necessarily vocalized or
communicative, for example incidental noises or other events affecting
communication.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.ascribed.attribute.who"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_writing">
    <element name="writing">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a passage of written text revealed to participants in the
  course of a spoken text.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.timed.attribute.start"/>
      <ref name="att.timed.attribute.end"/>
      <ref name="att.duration.w3c.attribute.dur"/>
      <rng:optional>
        <rng:attribute name="source">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to a bibliographic citation in the header giving
	a full description of the source or script of the
	writing.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="gradual">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether the writing is revealed all at once or
	gradually.</a:documentation>
          <choice>
            <data type="boolean"/>
            <value>unknown</value>
            <value>inapplicable</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_shift">
    <element name="shift">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the point at which some paralinguistic feature of a series of
utterances by any one speaker changes.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.ascribed.attribute.who"/>
      <rng:optional>
        <rng:attribute name="feature">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a
paralinguistic feature.</a:documentation>
          <rng:choice>
            <rng:value>tempo</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">speed of utterance.
    </a:documentation>
            <rng:value>loud</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">loudness.
    </a:documentation>
            <rng:value>pitch</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">pitch range.
    </a:documentation>
            <rng:value>tension</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">tension or stress pattern.
    </a:documentation>
            <rng:value>rhythm</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">rhythmic qualities.
    </a:documentation>
            <rng:value>voice</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">voice quality.
    </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="new" a:defaultValue="normal">
          <a:documentation>specifies the new state of the paralinguistic feature specified.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.duration.attributes">
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.global.spoken">
    <rng:choice>
      <ref name="tei_pause"/>
      <ref name="tei_vocal"/>
      <ref name="tei_kinesic"/>
      <ref name="tei_incident"/>
      <ref name="tei_writing"/>
      <ref name="tei_shift"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.recordingPart">
    <rng:choice>
      <ref name="tei_model.dateLike"/>
      <ref name="tei_respStmt"/>
      <ref name="tei_equipment"/>
      <ref name="tei_broadcast"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.divPart.spoken">
    <rng:choice>
      <ref name="tei_u"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att">
    <element name="att">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute) contains the name of an attribute appearing within running text.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_eg">
    <element name="eg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(example) contains any kind of illustrative example. </a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.xmlspace.attribute.xmlspace"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_egXML">
    <element name="egXML" ns="http://www.tei-c.org/ns/Examples">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(example of XML) contains a single well-formed XML fragment demonstrating the
  use of some XML element or attribute, in which the egXML
  element itself functions as the root element. </a:documentation>
      <oneOrMore>
        <choice>
          <text/>
          <ref name="tei_anyTEI"/>
          <ref name="svg"/>
          <ref name="tei_anyAlien"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.xmlspace.attribute.xmlspace"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_gi">
    <element name="gi">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element name) contains the name (generic identifier) of an element.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ident">
    <element name="ident">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) contains an identifier or name for an object of some kind in a formal language.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the type of XML tag intended</a:documentation>
          <rng:choice>
            <rng:value>start</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a start-tag, with delimiters &lt; and &gt; is intended</a:documentation>
            <rng:value>end</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">an end-tag, with delimiters &lt;/ and &gt; is intended</a:documentation>
            <rng:value>empty</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a empty tag, with delimiters &lt; and /&gt; is intended</a:documentation>
            <rng:value>pi</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a pi (processing instruction), with delimiters &lt;? and ?&gt;  is intended</a:documentation>
            <rng:value>comment</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a comment, with delimiters &lt;!-- and --&gt;  is intended</a:documentation>
            <rng:value>ms</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">a marked-section, with delimiters &lt;[CDATA[ and ]]&gt;  is intended</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="scheme" a:defaultValue="TEI">
          <a:documentation>supplies the name of the schema in which this tag is defined.</a:documentation>
          <rng:choice>
            <rng:value>TEI</rng:value>
            <a:documentation> (text encoding initiative) This tag is defined as part of the TEI scheme.</a:documentation>
            <rng:value>DBK</rng:value>
            <a:documentation> (docbook) this tag is part of the Docbook scheme.</a:documentation>
            <rng:value>XX</rng:value>
            <a:documentation>(unknown) this tag is part of an unknown scheme.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_val">
    <element name="val">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value) contains a single attribute value.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_specList">
    <element name="specList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification list) marks where a list of descriptions is to be inserted into the prose documentation.</a:documentation>
      <oneOrMore>
        <ref name="tei_specDesc"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_specDesc">
    <element name="specDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification description) indicates that a description of the specified element or class
  should be included at this point within a document.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="key">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(identifier) supplies the identifier of the documentary element or class for
      which a description is to be obtained.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="atts">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attributes) supplies attribute names for which descriptions should
      additionally be obtained.</a:documentation>
          <rng:list>
            <rng:zeroOrMore>
              <data type="Name"/>
            </rng:zeroOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_moduleRef">
    <element name="moduleRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(module reference) references a module which is to be incorporated into a schema.</a:documentation>
      <optional>
        <ref name="tei_content"/>
      </optional>
      <s:pattern xmlns:s="http://www.ascc.net/xml/schematron" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" name="testschemapattern">
        <s:rule context="tei:moduleRef">
          <s:report test="* and @key">
	  child elements of moduleRef are only allowed when an external module
	  is being loaded
	</s:report>
        </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.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:choice>
        <rng:optional>
          <rng:attribute name="key">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the name of a TEI module</a:documentation>
            <data type="NCName"/>
          </rng:attribute>
        </rng:optional>
        <rng:optional>
          <rng:attribute name="url">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource locator) refers to a non-TEI module of RELAX NG code by external location </a:documentation>
            <data type="anyURI"/>
          </rng:attribute>
        </rng:optional>
      </rng:choice>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_moduleSpec">
    <element name="moduleSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(module specification) documents the structure, content, and purpose of a single
module, i.e. a named and externally visible group of declarations.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_exemplum"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_remarks"/>
        </optional>
        <zeroOrMore>
          <ref name="tei_listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">type of module to be generated</a:documentation>
          <text/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_schemaSpec">
    <element name="schemaSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(schema specification) generates a TEI-conformant schema and documentation for it.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <choice>
            <ref name="tei_moduleRef"/>
            <ref name="tei_specGrpRef"/>
            <ref name="tei_model.oddDecl"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="start" a:defaultValue="TEI">
          <a:documentation>specifies entry points to the schema, i.e. which elements
      are allowed to be used as the root of documents conforming to
      it. </a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="Name"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ns" a:defaultValue="http://www.tei-c.org/ns/1.0">
          <a:documentation>(namespace) specifies the default namespace (if any) applicable to
      components of the schema.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="prefix">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies a prefix which will be appended to all patterns
      relating to TEI elements. This allows for external schemas to be mixed in
      which have elements of the same names as the TEI.
      </a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="targetLang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(target language) specifies which language to use when creating
      the objects in a schema if names for elements or attributes are available in more
      than one language, .</a:documentation>
          <data type="language"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="docLang">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(documentation language) specifies which languages to
      use when creating documentation if  the description for an element, attribute, class or macro
      is available in more than one language, .</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="language"/>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_specGrp">
    <element name="specGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(specification group) contains any convenient grouping of specifications for use within
  the current module.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_model.oddDecl"/>
          <ref name="tei_model.oddRef"/>
          <ref name="tei_model.divPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_specGrpRef">
    <element name="specGrpRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reference to a specification group) indicates that the  declarations contained by the
  specGrp referenced should be inserted at this point.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points at the specification group  which logically belongs here.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_stringVal">
    <element name="stringVal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the intended expansion for the entity documented
by a macroSpec element, enclosed by quotation marks.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_elementSpec">
    <element name="elementSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(element specification) documents the structure, content, and purpose of a single
element type.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_classes"/>
        </optional>
        <optional>
          <ref name="tei_content"/>
        </optional>
        <optional>
          <ref name="tei_attList"/>
        </optional>
        <zeroOrMore>
          <ref name="tei_exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_remarks"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ns" a:defaultValue="http://www.tei-c.org/ns/1.0">
          <a:documentation>(namespace) specifies the namespace to which this element belongs</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="usage" a:defaultValue="opt">
          <a:documentation>specifies the optionality of an attribute or element. </a:documentation>
          <rng:choice>
            <rng:value>req</rng:value>
            <a:documentation>(required) </a:documentation>
            <rng:value>mwa</rng:value>
            <a:documentation>(mandatory when applicable) </a:documentation>
            <rng:value>rec</rng:value>
            <a:documentation>(recommended) </a:documentation>
            <rng:value>rwa</rng:value>
            <a:documentation>(recommended when applicable) </a:documentation>
            <rng:value>opt</rng:value>
            <a:documentation>(optional) </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_classSpec">
    <element name="classSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(class specification) contains reference information for a TEI element class; 
that is a group of 
  elements which appear together in  content models, or 
  which share some common attribute, or both.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_classes"/>
        </optional>
        <optional>
          <ref name="tei_attList"/>
        </optional>
        <zeroOrMore>
          <ref name="tei_exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_remarks"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <rng:attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether this is a model class or an attribute class</a:documentation>
        <rng:choice>
          <rng:value>model</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(content model) members of this class appear in the same  content models</a:documentation>
          <rng:value>atts</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attributes) members of this class share common attributes</a:documentation>
        </rng:choice>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="generate">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates which alternation and sequence instantiations
	of a model class may be referenced. By default, all variations
	are permitted.</a:documentation>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Sorry, unable to create schema that uses actual counts minOccurs=1 and maxOccurs=5; approximating to minOccurs=1 and maxOccurs=unbounded.</a:documentation>
          <rng:list>
            <rng:choice>
              <rng:value>alternation</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
              <rng:value>sequence</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
              <rng:value>sequenceOptional</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
              <rng:value>sequenceOptionalRepeatable</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
              <rng:value>sequenceRepeatable</rng:value>
              <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
            </rng:choice>
            <rng:zeroOrMore>
              <rng:choice>
                <rng:value>alternation</rng:value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are alternatives</a:documentation>
                <rng:value>sequence</rng:value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class are to be provided in sequence</a:documentation>
                <rng:value>sequenceOptional</rng:value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided, in sequence,
	    but are optional</a:documentation>
                <rng:value>sequenceOptionalRepeatable</rng:value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more
	    times, in sequence, but are optional. </a:documentation>
                <rng:value>sequenceRepeatable</rng:value>
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">members of the class may be provided one or more times, in sequence</a:documentation>
              </rng:choice>
            </rng:zeroOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_macroSpec">
    <element name="macroSpec">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(macro specification) documents the function and implementation of a pattern. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <oneOrMore>
          <choice>
            <ref name="tei_stringVal"/>
            <ref name="tei_content"/>
          </choice>
        </oneOrMore>
        <zeroOrMore>
          <ref name="tei_exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_remarks"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_listRef"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates which type of entity should be generated, when an ODD
	processor is generating a module using XML DTD syntax.</a:documentation>
          <rng:choice>
            <rng:value>pe</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(parameter entity) </a:documentation>
            <rng:value>dt</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(datatype entity) </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_remarks">
    <element name="remarks">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains any commentary or discussion about the usage of an
element, attribute, class, or entity not otherwise documented within the
containing element.</a:documentation>
      <oneOrMore>
        <ref name="tei_model.pLike"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.translatable.attribute.version"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listRef">
    <element name="listRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(list of references) supplies a list of significant references to places where this
  element is discussed, in the current document or elsewhere.</a:documentation>
      <oneOrMore>
        <ref name="tei_ptr"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_exemplum">
    <element name="exemplum">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups an example demonstrating the use of an element along
with optional paragraphs of commentary.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.pLike"/>
        </zeroOrMore>
        <choice>
          <ref name="tei_egXML"/>
          <ref name="tei_eg"/>
        </choice>
        <zeroOrMore>
          <ref name="tei_model.pLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.translatable.attribute.version"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_classes">
    <element name="classes">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies all the classes of which the documented element or
class is a member or subclass.</a:documentation>
      <zeroOrMore>
        <ref name="tei_memberOf"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="replace">
          <a:documentation>specifies the effect of this declaration on its parent
    module.</a:documentation>
          <rng:choice>
            <rng:value>change</rng:value>
            <a:documentation>this declaration changes the declaration of the same
    name in the current definition</a:documentation>
            <rng:value>replace</rng:value>
            <a:documentation>this declaration replaces the declaration of the same
    name in the current definition</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_memberOf">
    <element name="memberOf">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies  class membership of the parent element or class.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="key">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the identifier for a class of which the documented
 element or class is a member or subclass</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="add">
          <a:documentation>specifies the effect of this declaration on its parent
    module.</a:documentation>
          <rng:choice>
            <rng:value>add</rng:value>
            <a:documentation>this declaration is added to the current definitions</a:documentation>
            <rng:value>delete</rng:value>
            <a:documentation>this declaration and all of its children are removed from the current setup</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_equiv">
    <element name="equiv">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(equivalent) specifies a component which is considered equivalent to the
  parent element, either by co-reference, or by external link.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.internetMedia.attribute.mimeType"/>
      <rng:optional>
        <rng:attribute name="name">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">names the underlying concept of which the parent is a
  representation</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="uri">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(uniform resource identifier) references the underlying concept of which the parent is a
  representation by means of some external identifier</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="filter">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">references an external script which contains a method to
transform instances of this element to canonical TEI
	</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_altIdent">
    <element name="altIdent">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(alternate identifier) supplies the recommended XML name for an element, class,
  attribute, etc. in some language.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_content">
    <element name="content">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(content model) contains the text of a declaration for the schema
documented.</a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_macro.schemaPattern"/>
          <ref name="tei_valList"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_attList">
    <element name="attList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains documentation for all the attributes associated with this
element, as a series of attDef elements.</a:documentation>
      <oneOrMore>
        <choice>
          <ref name="tei_attRef"/>
          <ref name="tei_attDef"/>
          <ref name="tei_attList"/>
        </choice>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="org" a:defaultValue="group">
          <a:documentation>(organization) specifies whether all the attributes in the list are
  available (org="group") or only  one of them (org="choice")</a:documentation>
          <rng:choice>
            <rng:value>group</rng:value>
            <a:documentation>grouped</a:documentation>
            <rng:value>choice</rng:value>
            <a:documentation>alternated</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_attDef">
    <element name="attDef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute definition) contains the definition of a single attribute.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_datatype"/>
        </optional>
        <optional>
          <ref name="tei_defaultVal"/>
        </optional>
        <optional>
          <choice>
            <ref name="tei_valList"/>
            <ref name="tei_valDesc"/>
          </choice>
        </optional>
        <zeroOrMore>
          <ref name="tei_exemplum"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_remarks"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="usage" a:defaultValue="opt">
          <a:documentation>specifies the optionality of an attribute or element.
 </a:documentation>
          <rng:choice>
            <rng:value>req</rng:value>
            <a:documentation>(required) </a:documentation>
            <rng:value>mwa</rng:value>
            <a:documentation>(mandatory when applicable  ) </a:documentation>
            <rng:value>rec</rng:value>
            <a:documentation>(recommended  ) </a:documentation>
            <rng:value>rwa</rng:value>
            <a:documentation>(recommended when applicable  ) </a:documentation>
            <rng:value>opt</rng:value>
            <a:documentation>(optional ) </a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="ns" a:defaultValue="http://www.tei-c.org/ns/1.0">
          <a:documentation>(namespace) specifies the namespace to which this attribute belongs</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_attRef">
    <element name="attRef">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(attribute pointer) points to the definition of an attribute or group of attributes.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="name">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the name of the pattern defining the attribute(s)</a:documentation>
        <data type="token">
          <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
        </data>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_datatype">
    <element name="datatype">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the declared value for an attribute, by referring to
  any datatype defined by the chosen schema language.</a:documentation>
      <zeroOrMore>
        <group>
          <ref name="tei_macro.schemaPattern"/>
        </group>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="minOccurs" a:defaultValue="1">
          <a:documentation>(minimum number of occurences) indicates the minimum number of times this datatype may
      occur in the specification of the attribute being defined</a:documentation>
          <data type="nonNegativeInteger"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="maxOccurs" a:defaultValue="1">
          <a:documentation>(maximum number of occurences) indicates the maximum number of times this datatype may
      occur in the specification of the attribute being defined</a:documentation>
          <choice>
            <data type="nonNegativeInteger"/>
            <value>unbounded</value>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_defaultVal">
    <element name="defaultVal">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(default value) specifies the default declared value for an attribute.</a:documentation>
      <rng:text/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_valDesc">
    <element name="valDesc">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value description) specifies any semantic or syntactic constraint on the value that
an attribute may take, additional to the information carried by the
datatype element.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="add">
          <a:documentation>specifies the effect of this declaration on its parent module.</a:documentation>
          <rng:choice>
            <rng:value>add</rng:value>
            <a:documentation>this declaration is added to the current definitions</a:documentation>
            <rng:value>delete</rng:value>
            <a:documentation>this declaration and all of its children are removed from the current setup</a:documentation>
            <rng:value>change</rng:value>
            <a:documentation>this declaration changes the declaration of the same
	 name in the current definition</a:documentation>
            <rng:value>replace</rng:value>
            <a:documentation>this declaration replaces the declaration of the same
	name in the current definition</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_valItem">
    <element name="valItem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">documents a single attribute-value within a list of possible
  or mandatory items.</a:documentation>
      <zeroOrMore>
        <ref name="tei_model.glossLike"/>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.identified.attribute.ident"/>
      <ref name="att.identified.attribute.predeclare"/>
      <ref name="att.identified.attribute.module"/>
      <ref name="att.identified.attribute.mode"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_valList">
    <element name="valList">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(value list) contains one or more valItem elements defining possible
  values for an attribute.</a:documentation>
      <oneOrMore>
        <ref name="tei_valItem"/>
      </oneOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="add">
          <a:documentation>specifies the effect of this declaration on its parent
    module.</a:documentation>
          <rng:choice>
            <rng:value>add</rng:value>
            <a:documentation>this declaration is added to the current definitions</a:documentation>
            <rng:value>delete</rng:value>
            <a:documentation>this declaration and all of its children are removed from the current setup</a:documentation>
            <rng:value>change</rng:value>
            <a:documentation>this declaration changes the declaration of the same
	 name in the current definition</a:documentation>
            <rng:value>replace</rng:value>
            <a:documentation>this declaration replaces the declaration of the same
	name in the current definition</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="open">
          <a:documentation>specifies the extensibility of the list of attribute values
      specified.
      </a:documentation>
          <rng:choice>
            <rng:value>closed</rng:value>
            <a:documentation>only the values specified are permitted.</a:documentation>
            <rng:value>semi</rng:value>
            <a:documentation>(semi-open) all the values specified should be supported, but
	  other values are legal and software should have appropriate
	  fallback processing for them.
	  </a:documentation>
            <rng:value>open</rng:value>
            <a:documentation>the values specified are sample values only.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.identified.attributes">
    <ref name="att.identified.attribute.ident"/>
    <ref name="att.identified.attribute.predeclare"/>
    <ref name="att.identified.attribute.module"/>
    <ref name="att.identified.attribute.mode"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.identified.attribute.ident">
    <rng:attribute name="ident">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supplies the identifier by which this element is referenced.</a:documentation>
      <data type="Name"/>
    </rng:attribute>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.identified.attribute.predeclare">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="predeclare" a:defaultValue="false">
        <a:documentation>Says whether this object should be predeclared in the
      tei infrastructure module.</a:documentation>
        <data type="boolean"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.identified.attribute.module">
    <rng:optional>
      <rng:attribute name="module">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">Supplies the name of the module in which this object is to
      be defined.</a:documentation>
        <data type="NCName"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.identified.attribute.mode">
    <rng:optional>
      <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="mode" a:defaultValue="add">
        <a:documentation>specifies the effect of this declaration on its parent
    module.</a:documentation>
        <rng:choice>
          <rng:value>add</rng:value>
          <a:documentation>this declaration is added to the current definitions</a:documentation>
          <rng:value>delete</rng:value>
          <a:documentation>this declaration and all of its children are removed from the current setup</a:documentation>
          <rng:value>change</rng:value>
          <a:documentation>this declaration changes the declaration of the same
    name in the current definition</a:documentation>
          <rng:value>replace</rng:value>
          <a:documentation>this declaration replaces the declaration of the same
    name in the current definition</a:documentation>
        </rng:choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_app">
    <element name="app">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(apparatus entry) contains one entry in a critical apparatus, with an optional
lemma and at least one reading.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_lem"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
          <optional>
            <ref name="tei_wit"/>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </optional>
        </optional>
        <zeroOrMore>
          <choice>
            <group>
              <ref name="tei_model.rdgLike"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
              <optional>
                <ref name="tei_wit"/>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </optional>
            </group>
            <group>
              <ref name="tei_rdgGrp"/>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
              <optional>
                <ref name="tei_wit"/>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </optional>
            </group>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the variation contained in this element according to
some convenient typology.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="from">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the beginning of the lemma in the base text, if
necessary.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="to">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the endpoint of the lemma in the base text, if
necessary.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="loc">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(location) indicates the location of the variation, when the
location-referenced method of apparatus markup is used.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lem">
    <element name="lem">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(lemma) contains the lemma, or base text, of a textual variation.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.global"/>
          <ref name="tei_model.rdgPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.textCritical.attribute.wit"/>
      <ref name="att.textCritical.attribute.type"/>
      <ref name="att.textCritical.attribute.cause"/>
      <ref name="att.textCritical.attribute.varSeq"/>
      <ref name="att.textCritical.attribute.resp"/>
      <ref name="att.textCritical.attribute.hand"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rdg">
    <element name="rdg">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reading) contains a single reading within a textual variation.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.inter"/>
          <ref name="tei_model.global"/>
          <ref name="tei_model.rdgPart"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.textCritical.attribute.wit"/>
      <ref name="att.textCritical.attribute.type"/>
      <ref name="att.textCritical.attribute.cause"/>
      <ref name="att.textCritical.attribute.varSeq"/>
      <ref name="att.textCritical.attribute.resp"/>
      <ref name="att.textCritical.attribute.hand"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rdgGrp">
    <element name="rdgGrp">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(reading group) within a textual variation,
groups two or more readings perceived to have a genetic
relationship or other affinity.</a:documentation>
      <group>
        <oneOrMore>
          <choice>
            <group>
              <ref name="tei_rdgGrp"/>
              <optional>
                <ref name="tei_wit"/>
              </optional>
            </group>
            <zeroOrMore>
              <group>
                <optional>
                  <group>
                    <ref name="tei_lem"/>
                    <optional>
                      <ref name="tei_wit"/>
                    </optional>
                  </group>
                </optional>
                <group>
                  <ref name="tei_model.rdgLike"/>
                  <optional>
                    <ref name="tei_wit"/>
                  </optional>
                </group>
              </group>
            </zeroOrMore>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.textCritical.attribute.wit"/>
      <ref name="att.textCritical.attribute.type"/>
      <ref name="att.textCritical.attribute.cause"/>
      <ref name="att.textCritical.attribute.varSeq"/>
      <ref name="att.textCritical.attribute.resp"/>
      <ref name="att.textCritical.attribute.hand"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_witDetail">
    <element name="witDetail">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness detail) gives further information about a particular witness, or
witnesses, to a particular reading.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.placement.attribute.place"/>
      <rng:attribute name="target">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the identifier for the reading, or readings, to which
the witness detail refers.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="resp">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) identifies the individual responsible for  identifying the
witness</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:attribute name="wit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witnesses) indicates the sigil or sigla for the witnesses to which the
detail refers.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">describes the type of information given about the witness.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_wit">
    <element name="wit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a list of one or more sigla of witnesses attesting a
given reading, in a textual variation.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.rdgPart.attribute.wit"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_listWit">
    <element name="listWit">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness list) lists definitions for all the witnesses referred to by a critical
  apparatus, optionally grouped hierarchically.</a:documentation>
      <group>
        <optional>
          <ref name="tei_model.headLike"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="tei_witness"/>
            <ref name="tei_listWit"/>
          </choice>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_witness">
    <element name="witness">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains either a description of a single witness referred to
within the critical apparatus, or a list of witnesses which is to be
referred to by a single sigil.</a:documentation>
      <rng:ref name="tei_macro.limitedContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_witStart">
    <element name="witStart">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fragmented witness start) indicates the beginning, or resumption, of the text of a
fragmentary witness.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.rdgPart.attribute.wit"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_witEnd">
    <element name="witEnd">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(fragmented witness end) indicates the end, or suspension, of the text of a fragmentary
witness.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.rdgPart.attribute.wit"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lacunaStart">
    <element name="lacunaStart">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the beginning of a lacuna in the text of a mostly
complete textual witness.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.rdgPart.attribute.wit"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_lacunaEnd">
    <element name="lacunaEnd">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the end of a lacuna in a mostly complete textual
witness.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.rdgPart.attribute.wit"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_variantEncoding">
    <element name="variantEncoding">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">declares the method used to encode text-critical variants.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="method">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates which method is used to encode the apparatus of
variants.</a:documentation>
        <rng:choice>
          <rng:value>location-referenced</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">apparatus uses line numbers or other canonical reference scheme
referenced in a base text.</a:documentation>
          <rng:value>double-end-point</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">apparatus indicates the precise locations of the beginning and
ending of each lemma relative to a base text.</a:documentation>
          <rng:value>parallel-segmentation</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">alternate readings of a passage are given in parallel in the
text; no notion of a base text is necessary.</a:documentation>
        </rng:choice>
      </rng:attribute>
      <rng:attribute name="location">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates whether the apparatus appears within the running text
or external to it.</a:documentation>
        <rng:choice>
          <rng:value>internal</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">apparatus appears within the running text.</a:documentation>
          <rng:value>external</rng:value>
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">apparatus appears outside the base text.</a:documentation>
        </rng:choice>
      </rng:attribute>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.rdgLike">
    <rng:choice>
      <ref name="tei_rdg"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_model.rdgPart">
    <rng:choice>
      <ref name="tei_wit"/>
      <ref name="tei_witStart"/>
      <ref name="tei_witEnd"/>
      <ref name="tei_lacunaStart"/>
      <ref name="tei_lacunaEnd"/>
    </rng:choice>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.rdgPart.attributes">
    <ref name="att.rdgPart.attribute.wit"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.rdgPart.attribute.wit">
    <rng:optional>
      <rng:attribute name="wit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness or witnesses) contains a list of one or more sigla indicating the witnesses
which begin or end at this point.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.textCritical.attributes">
    <ref name="att.textCritical.attribute.wit"/>
    <ref name="att.textCritical.attribute.type"/>
    <ref name="att.textCritical.attribute.cause"/>
    <ref name="att.textCritical.attribute.varSeq"/>
    <ref name="att.textCritical.attribute.resp"/>
    <ref name="att.textCritical.attribute.hand"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.textCritical.attribute.wit">
    <rng:optional>
      <rng:attribute name="wit">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(witness or witnesses) contains a list of one or more pointers indicating the witnesses
which attest to a given reading.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.textCritical.attribute.type">
    <rng:optional>
      <rng:attribute name="type">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the reading according to some useful typology.
Sample values include: 1] substantive; 2] orthographic</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.textCritical.attribute.cause">
    <rng:optional>
      <rng:attribute name="cause">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the cause for the variant reading, according to
any appropriate typology of possible origins.
Sample values include: 1] homeoteleuton; 2] homeoarchy; 3] paleographicConfusion; 4] haplography; 5] dittography; 6] falseEmendation</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.textCritical.attribute.varSeq">
    <rng:optional>
      <rng:attribute name="varSeq">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(variant sequence) provides a number indicating the position of this reading in a
sequence, when there is reason to presume a sequence to the variants
on any one lemma.</a:documentation>
        <data type="nonNegativeInteger"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.textCritical.attribute.resp">
    <rng:optional>
      <rng:attribute name="resp">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) identifies the editor responsible for asserting a
	particular reading in the witness.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.textCritical.attribute.hand">
    <rng:optional>
      <rng:attribute name="hand">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signifies the hand responsible for a particular reading in the
witness.</a:documentation>
        <data type="anyURI"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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="tei_teiHeader"/>
        <choice>
          <group>
            <oneOrMore>
              <ref name="tei_model.resourceLike"/>
            </oneOrMore>
            <optional>
              <ref name="tei_text"/>
            </optional>
          </group>
          <ref name="tei_text"/>
        </choice>
      </group>
      <s:ns xmlns:s="http://www.ascc.net/xml/schematron" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
      <s:ns xmlns:s="http://www.ascc.net/xml/schematron" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" prefix="rng" uri="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.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng: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="decimal"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_text">
    <element name="text">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a single text of any kind, whether unitary or
composite, for example a poem or drama, a collection of essays, a novel,
a dictionary, or a corpus sample.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_front"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
        <choice>
          <ref name="tei_body"/>
          <ref name="tei_group"/>
        </choice>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_back"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_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>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <group>
            <group>
              <ref name="tei_model.divTop"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="tei_model.global"/>
                <ref name="tei_model.divTop"/>
              </choice>
            </zeroOrMore>
          </group>
        </optional>
        <optional>
          <group>
            <group>
              <ref name="tei_model.divGenLike"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="tei_model.global"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
            </zeroOrMore>
          </group>
        </optional>
        <group>
          <choice>
            <oneOrMore>
              <group>
                <group>
                  <ref name="tei_model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="tei_model.global"/>
                    <ref name="tei_model.divGenLike"/>
                  </choice>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <oneOrMore>
              <group>
                <group>
                  <ref name="tei_model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="tei_model.global"/>
                    <ref name="tei_model.divGenLike"/>
                  </choice>
                </zeroOrMore>
              </group>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <optional>
                <choice>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="tei_model.divLike"/>
                      </group>
                      <zeroOrMore>
                        <choice>
                          <ref name="tei_model.global"/>
                          <ref name="tei_model.divGenLike"/>
                        </choice>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                  <oneOrMore>
                    <group>
                      <group>
                        <ref name="tei_model.div1Like"/>
                      </group>
                      <zeroOrMore>
                        <choice>
                          <ref name="tei_model.global"/>
                          <ref name="tei_model.divGenLike"/>
                        </choice>
                      </zeroOrMore>
                    </group>
                  </oneOrMore>
                </choice>
              </optional>
            </group>
          </choice>
        </group>
        <zeroOrMore>
          <group>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </group>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_group">
    <element name="group">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the body of a composite text, grouping together a
sequence of distinct texts (or groups of such texts) which are regarded
as a unit for some purpose, for example the collected works of an
author, a sequence of prose essays, etc.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <choice>
            <ref name="tei_text"/>
            <ref name="tei_group"/>
          </choice>
          <zeroOrMore>
            <choice>
              <ref name="tei_text"/>
              <ref name="tei_group"/>
              <ref name="tei_model.global"/>
            </choice>
          </zeroOrMore>
        </group>
        <zeroOrMore>
          <ref name="tei_model.divBottom"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_floatingText">
    <element name="floatingText">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a single text of any kind, whether unitary or
composite, which interrupts the
text containing it at any point and after which the surrounding text
resumes.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_front"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
        <choice>
          <ref name="tei_body"/>
          <ref name="tei_group"/>
        </choice>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <optional>
          <ref name="tei_back"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div">
    <element name="div">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(text division) contains a subdivision of the front, body, or back of a
text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <group>
              <oneOrMore>
                <choice>
                  <ref name="tei_model.divLike"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
            </group>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.divLike"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div1">
    <element name="div1">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-1 text division) contains a first-level subdivision of the front, body, or back
of a text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="tei_model.div2Like"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.div2Like"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div2">
    <element name="div2">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-2 text division) contains a second-level subdivision of the front, body, or back of a
 text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="tei_model.div3Like"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.div3Like"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div3">
    <element name="div3">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-3 text division) contains a third-level subdivision of the front, body, or back of a
 text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="tei_model.div4Like"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.div4Like"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div4">
    <element name="div4">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-4 text division) contains a fourth-level subdivision of the front, body, or back of a
 text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="tei_model.div5Like"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.div5Like"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div5">
    <element name="div5">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-5 text division) contains a fifth-level subdivision of the front, body, or back of a
 text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="tei_model.div6Like"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.div6Like"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div6">
    <element name="div6">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-6 text division) contains a sixth-level subdivision of the front, body, or back of a
 text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <choice>
            <oneOrMore>
              <choice>
                <ref name="tei_model.div7Like"/>
                <ref name="tei_model.divGenLike"/>
              </choice>
              <zeroOrMore>
                <ref name="tei_model.global"/>
              </zeroOrMore>
            </oneOrMore>
            <group>
              <oneOrMore>
                <group>
                  <ref name="tei_model.common"/>
                </group>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </oneOrMore>
              <zeroOrMore>
                <choice>
                  <ref name="tei_model.div7Like"/>
                  <ref name="tei_model.divGenLike"/>
                </choice>
                <zeroOrMore>
                  <ref name="tei_model.global"/>
                </zeroOrMore>
              </zeroOrMore>
            </group>
          </choice>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_div7">
    <element name="div7">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(level-7 text division) contains the smallest possible subdivision of the front, body or
back of a text, larger than a paragraph.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.divTop"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <optional>
          <oneOrMore>
            <group>
              <ref name="tei_model.common"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </oneOrMore>
          <zeroOrMore>
            <group>
              <ref name="tei_model.divBottom"/>
            </group>
            <zeroOrMore>
              <ref name="tei_model.global"/>
            </zeroOrMore>
          </zeroOrMore>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.divLike.attribute.org"/>
      <ref name="att.divLike.attribute.sample"/>
      <ref name="att.divLike.attribute.part"/>
      <ref name="att.metrical.attribute.met"/>
      <ref name="att.metrical.attribute.real"/>
      <ref name="att.metrical.attribute.rhyme"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_trailer">
    <element name="trailer">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a closing title or footer appearing at the end of
a division of a text. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_byline">
    <element name="byline">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains the primary statement of responsibility given for a work
on its title page or at the head or end of the work.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_docAuthor"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_dateline">
    <element name="dateline">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a brief description of the place, date, time, etc. of
	production of a letter, newspaper story, or other work, prefixed or
	suffixed to it as a kind of heading or trailer. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_argument">
    <element name="argument">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">A formal list or prose description of the topics addressed by
	a subdivision of a text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.global"/>
            <ref name="tei_model.headLike"/>
          </choice>
        </zeroOrMore>
        <oneOrMore>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_epigraph">
    <element name="epigraph">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a quotation, anonymous or attributed, appearing at
the start of a section or chapter, or on a title page. </a:documentation>
      <zeroOrMore>
        <choice>
          <ref name="tei_model.common"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_opener">
    <element name="opener">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups together dateline, byline, salutation, and similar
phrases appearing as a preliminary group at the start of a
division, especially of a letter.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_argument"/>
          <ref name="tei_byline"/>
          <ref name="tei_dateline"/>
          <ref name="tei_epigraph"/>
          <ref name="tei_salute"/>
          <ref name="tei_signed"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_closer">
    <element name="closer">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">groups together salutations, datelines, and similar
phrases appearing as a final group at the end of a
division, especially of a letter.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_signed"/>
          <ref name="tei_dateline"/>
          <ref name="tei_salute"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_salute">
    <element name="salute">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(salutation) contains a salutation or greeting prefixed to a foreword,
dedicatory epistle, or other division of a text, or the
salutation in the closing of a letter, preface, etc.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_signed">
    <element name="signed">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(signature) contains the closing salutation, etc., appended to a foreword,
dedicatory epistle, or other division of a text. </a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_postscript">
    <element name="postscript">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a postscript, e.g. to a letter.</a:documentation>
      <zeroOrMore>
        <choice>
          <group>
            <ref name="tei_model.common"/>
          </group>
          <group>
            <ref name="tei_model.global"/>
          </group>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_titlePage">
    <element name="titlePage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(title page) contains the title page of a text, appearing within the front
or back matter. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <group>
          <ref name="tei_model.titlepagePart"/>
        </group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.titlepagePart"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the title page according to any convenient typology.</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docTitle">
    <element name="docTitle">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document title) contains the title of a document, including all its
constituents, as given on a title page.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.global"/>
        </zeroOrMore>
        <oneOrMore>
          <ref name="tei_titlePart"/>
          <zeroOrMore>
            <ref name="tei_model.global"/>
          </zeroOrMore>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_titlePart">
    <element name="titlePart">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a subsection or division of the title of a work, as
indicated on a title page.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="main">
          <a:documentation>specifies the role of this subdivision of the title.
Suggested values include: 1] main; 2] sub (subordinate); 3] alt (alternate); 4] short; 5] desc (descriptive)</a:documentation>
          <rng:choice>
            <rng:value>main</rng:value>
            <a:documentation>main title of the work
        </a:documentation>
            <rng:value>sub</rng:value>
            <a:documentation>(subordinate) subtitle  of the work
        </a:documentation>
            <rng:value>alt</rng:value>
            <a:documentation>(alternate) alternative title  of the work
        </a:documentation>
            <rng:value>short</rng:value>
            <a:documentation>abbreviated form of title</a:documentation>
            <rng:value>desc</rng:value>
            <a:documentation>(descriptive) descriptive paraphrase of the work 
   </a:documentation>
            <data type="Name"/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docAuthor">
    <element name="docAuthor">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document author) contains the name of the author of the document, as given on the
title page (often but not always contained in a byline).</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_imprimatur">
    <element name="imprimatur">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a formal statement authorizing the publication of
a work, sometimes required to appear on a title page or its verso.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docEdition">
    <element name="docEdition">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document edition) contains an edition statement as presented on a title page of a
document.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docImprint">
    <element name="docImprint">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document imprint) contains the imprint statement (place and date of publication,
publisher name), as given
(usually) at the foot of a title page.</a:documentation>
      <zeroOrMore>
        <choice>
          <text/>
          <ref name="tei_model.gLike"/>
          <ref name="tei_model.phrase"/>
          <ref name="tei_pubPlace"/>
          <ref name="tei_docDate"/>
          <ref name="tei_publisher"/>
          <ref name="tei_model.global"/>
        </choice>
      </zeroOrMore>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_docDate">
    <element name="docDate">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(document date) contains the date of a document, as given
(usually) on a title page.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:optional>
        <rng:attribute name="when">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the value of the date in standard form, i.e. YYYY-MM-DD.</a:documentation>
          <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>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_front">
    <element name="front">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(front matter) contains any prefatory matter (headers,
title page, prefaces, dedications, etc.)
found  at the start of a document, before the main body.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.frontPart"/>
            <ref name="tei_model.pLike.front"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <optional>
            <choice>
              <group>
                <group>
                  <ref name="tei_model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="tei_model.frontPart"/>
                    <ref name="tei_model.div1Like"/>
                    <ref name="tei_model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <group>
                  <ref name="tei_model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="tei_model.frontPart"/>
                    <ref name="tei_model.divLike"/>
                    <ref name="tei_model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <optional>
            <group>
              <ref name="tei_model.divBottomPart"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="tei_model.divBottomPart"/>
                <ref name="tei_model.global"/>
              </choice>
            </zeroOrMore>
          </optional>
        </group>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_back">
    <element name="back">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(back matter) contains any appendixes, etc. following the main part of a
    text.</a:documentation>
      <group>
        <zeroOrMore>
          <choice>
            <ref name="tei_model.frontPart"/>
            <ref name="tei_model.pLike.front"/>
            <ref name="tei_model.global"/>
          </choice>
        </zeroOrMore>
        <group>
          <optional>
            <choice>
              <group>
                <group>
                  <ref name="tei_model.div1Like"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="tei_model.frontPart"/>
                    <ref name="tei_model.div1Like"/>
                    <ref name="tei_model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
              <group>
                <group>
                  <ref name="tei_model.divLike"/>
                </group>
                <zeroOrMore>
                  <choice>
                    <ref name="tei_model.frontPart"/>
                    <ref name="tei_model.divLike"/>
                    <ref name="tei_model.global"/>
                  </choice>
                </zeroOrMore>
              </group>
            </choice>
          </optional>
        </group>
        <group>
          <optional>
            <group>
              <ref name="tei_model.divBottomPart"/>
            </group>
            <zeroOrMore>
              <choice>
                <ref name="tei_model.divBottomPart"/>
                <ref name="tei_model.global"/>
              </choice>
            </zeroOrMore>
          </optional>
        </group>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_facsimile">
    <element name="facsimile">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains a representation of some written source in the form of
a set of images rather than as transcribed or encoded text.</a:documentation>
      <group>
        <optional>
          <ref name="tei_front"/>
        </optional>
        <oneOrMore>
          <choice>
            <ref name="tei_model.graphicLike"/>
            <ref name="tei_surface"/>
          </choice>
        </oneOrMore>
        <optional>
          <ref name="tei_back"/>
        </optional>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declaring.attribute.decls"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_surface">
    <element name="surface">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a written surface in terms of a rectangular
coordinate space, optionally  grouping one or more graphic representations of
that space, and rectangular zones of interest
within it.</a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.graphicLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_zone"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.coordinated.attribute.ulx"/>
      <ref name="att.coordinated.attribute.uly"/>
      <ref name="att.coordinated.attribute.lrx"/>
      <ref name="att.coordinated.attribute.lry"/>
      <ref name="att.declaring.attribute.decls"/>
      <rng:optional>
        <rng:attribute name="start">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">points to an element which encodes the starting position of the text corresponding to the
inscribed part of the surface.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_zone">
    <element name="zone">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">defines a rectangular area contained within a surface
element. </a:documentation>
      <group>
        <zeroOrMore>
          <ref name="tei_model.glossLike"/>
        </zeroOrMore>
        <zeroOrMore>
          <ref name="tei_model.graphicLike"/>
        </zeroOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.coordinated.attribute.ulx"/>
      <ref name="att.coordinated.attribute.uly"/>
      <ref name="att.coordinated.attribute.lrx"/>
      <ref name="att.coordinated.attribute.lry"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_addSpan">
    <element name="addSpan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(added span of text) marks the beginning of a longer sequence of text added by an
  author, scribe, annotator or corrector (see also add).</a:documentation>
      <rng:empty/>
      <s:pattern xmlns:s="http://www.ascc.net/xml/schematron" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" name="spanTo_required">
        <s:rule context="tei:addSpan">
          <s:assert test="@spanTo">The spanTo= attribute of <s:name/> is required.</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.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.placement.attribute.place"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.spanning.attribute.spanTo"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_damage">
    <element name="damage">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains an area of damage to the text witness.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.damaged.attribute.extent"/>
      <ref name="att.damaged.attribute.hand"/>
      <ref name="att.damaged.attribute.agent"/>
      <ref name="att.damaged.attribute.degree"/>
      <ref name="att.damaged.attribute.group"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_damageSpan">
    <element name="damageSpan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(damaged span of text) marks the beginning of a longer sequence of text which is
  damaged in some way but still legible.</a:documentation>
      <rng:empty/>
      <s:pattern xmlns:s="http://www.ascc.net/xml/schematron" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" name="spanTo_required_for_damageSpan">
        <s:rule context="tei:damageSpan">
          <s:assert test="@spanTo">The spanTo= attribute of <s:name/> is required.</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.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.damaged.attribute.extent"/>
      <ref name="att.damaged.attribute.hand"/>
      <ref name="att.damaged.attribute.agent"/>
      <ref name="att.damaged.attribute.degree"/>
      <ref name="att.damaged.attribute.group"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.spanning.attribute.spanTo"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_delSpan">
    <element name="delSpan">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(deleted span of text) marks the beginning of a longer sequence of text deleted,
marked as deleted, or otherwise signaled as superfluous or spurious by an
author, scribe, annotator, or corrector.</a:documentation>
      <rng:empty/>
      <s:pattern xmlns:s="http://www.ascc.net/xml/schematron" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" name="spanTo_required_for_delSpan">
        <s:rule context="tei:delSpan">
          <s:assert test="@spanTo">The spanTo= attribute of <s:name/> is required.</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.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <ref name="att.spanning.attribute.spanTo"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_ex">
    <element name="ex">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(editorial expansion) contains a sequence of letters added by an editor or
  transcriber when expanding an abbreviation.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fw">
    <element name="fw">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(forme work) contains a running head (e.g. a header, footer), catchword, or
  similar material appearing on the current page.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.placement.attribute.place"/>
      <rng:optional>
        <rng:attribute name="type">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">classifies the material encoded according to some useful typology.
Sample values include: 1] header; 2] footer; 3] pageNum (page number); 4] lineNum (line number); 5] sig (signature); 6] catch (catchword)</a:documentation>
          <data type="Name"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_handNotes">
    <element name="handNotes">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">contains one or more handNote elements documenting the
different hands identified within the source texts.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_handShift">
    <element name="handShift">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the beginning of a sequence of text written in a new
hand, or the beginning of a scribal stint.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.handFeatures.attribute.scribe"/>
      <ref name="att.handFeatures.attribute.script"/>
      <ref name="att.handFeatures.attribute.medium"/>
      <ref name="att.handFeatures.attribute.scope"/>
      <rng:optional>
        <rng:attribute name="new">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">identifies the new hand.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="resp">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signifies the editor or transcriber responsible for identifying
the change of hand.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_am">
    <element name="am">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(abbreviation marker) contains a sequence of letters or signs present in an
  abbreviation which are omitted or replaced in the expanded form of
  the abbreviation.</a:documentation>
      <rng:ref name="tei_macro.xtext"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_restore">
    <element name="restore">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates restoration of text to an earlier state by
cancellation of an editorial or authorial marking or instruction.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_space">
    <element name="space">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates the location of a significant space in the copy text.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.dimensions.attribute.unit"/>
      <ref name="att.dimensions.attribute.quantity"/>
      <ref name="att.dimensions.attribute.precision"/>
      <ref name="att.dimensions.attribute.scope"/>
      <rng:optional>
        <rng:attribute name="dim">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(dimension) indicates whether the space is horizontal or vertical.</a:documentation>
          <rng:choice>
            <rng:value>horizontal</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the space is horizontal.</a:documentation>
            <rng:value>vertical</rng:value>
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">the space is vertical.</a:documentation>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="resp">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(responsible party) indicates the individual responsible for identifying and measuring
the space.</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_subst">
    <element name="subst">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(substitution) groups one or more deletions with one or more additions when
  the combination is to be regarded as a single intervention in the text.</a:documentation>
      <group>
        <group>
          <ref name="tei_model.pPart.transcriptional"/>
        </group>
        <oneOrMore>
          <ref name="tei_model.pPart.transcriptional"/>
        </oneOrMore>
      </group>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.transcriptional.attribute.hand"/>
      <ref name="att.transcriptional.attribute.status"/>
      <ref name="att.transcriptional.attribute.seq"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_supplied">
    <element name="supplied">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">signifies text supplied by the transcriber or editor for any
  reason, typically because the original cannot be read because of
  physical damage or loss to the original.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.editLike.attribute.cert"/>
      <ref name="att.editLike.attribute.resp"/>
      <ref name="att.editLike.attribute.evidence"/>
      <ref name="att.editLike.attribute.source"/>
      <ref name="att.editLike.attribute.precision"/>
      <rng:optional>
        <rng:attribute name="reason">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">indicates why the text has had to be supplied.</a:documentation>
          <rng:list>
            <rng:oneOrMore>
              <data type="token">
                <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
              </data>
            </rng:oneOrMore>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.global.facs.attributes">
    <ref name="att.global.facs.attribute.facs"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.global.facs.attribute.facs">
    <rng:optional>
      <rng:attribute name="facs">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(facsimile) points to all or part of an image which corresponds with
      the content of the element.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="anyURI"/>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.coordinated.attributes">
    <ref name="att.coordinated.attribute.ulx"/>
    <ref name="att.coordinated.attribute.uly"/>
    <ref name="att.coordinated.attribute.lrx"/>
    <ref name="att.coordinated.attribute.lry"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.coordinated.attribute.ulx">
    <rng:optional>
      <rng:attribute name="ulx">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the x coordinate value for the upper left corner of a
rectangular space.</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.coordinated.attribute.uly">
    <rng:optional>
      <rng:attribute name="uly">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the y coordinate value for the upper left corner of a
rectangular space.</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.coordinated.attribute.lrx">
    <rng:optional>
      <rng:attribute name="lrx">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the x coordinate value for the lower right corner of a
rectangular space.</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.coordinated.attribute.lry">
    <rng:optional>
      <rng:attribute name="lry">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">gives the y coordinate value for the lower right corner of a
rectangular space.</a:documentation>
        <choice>
          <data type="double"/>
          <data type="decimal"/>
        </choice>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_metDecl">
    <element name="metDecl">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(metrical notation declaration) documents the notation employed to represent a metrical
  pattern when this is specified as the value of a met,
  real, or rhyme attribute on any structural
  element of a metrical text (e.g. lg, l, or
  seg).</a:documentation>
      <choice>
        <oneOrMore>
          <choice>
            <ref name="tei_model.pLike"/>
            <ref name="tei_model.noteLike"/>
          </choice>
        </oneOrMore>
        <oneOrMore>
          <ref name="tei_metSym"/>
        </oneOrMore>
      </choice>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.declarable.attribute.default"/>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="type" a:defaultValue="met real">
          <a:documentation>indicates whether the notation conveys the abstract
      metrical form, its actual prosodic realization, or the rhyme
      scheme, or some combination thereof.</a:documentation>
          <rng:list>
            <data type="Name"/>
            <rng:optional>
              <data type="Name"/>
            </rng:optional>
            <rng:optional>
              <data type="Name"/>
            </rng:optional>
          </rng:list>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="pattern">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(regular expression pattern) specifies a regular expression defining any value that
	is legal for this notation.</a:documentation>
          <data type="token"/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_metSym">
    <element name="metSym">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(metrical notation symbol) documents the intended significance of a particular character or
character sequence within a metrical notation, either explicitly or in
terms of other symbol elements in the same metDecl.</a:documentation>
      <rng:ref name="tei_macro.phraseSeq.limited"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <rng:attribute name="value">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the character or character sequence being documented.</a:documentation>
        <rng:list>
          <rng:oneOrMore>
            <data type="token">
              <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
            </data>
          </rng:oneOrMore>
        </rng:list>
      </rng:attribute>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="terminal" a:defaultValue="true">
          <a:documentation>specifies whether the symbol is defined in terms of other
symbols (terminal is set to false) or in prose
(terminal is set to true).</a:documentation>
          <choice>
            <data type="boolean"/>
          </choice>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_caesura">
    <element name="caesura">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the point at which a metrical line may be divided.</a:documentation>
      <rng:empty/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_rhyme">
    <element name="rhyme">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">marks the rhyming part of  a metrical line.</a:documentation>
      <rng:ref name="tei_macro.paraContent"/>
      <ref name="att.global.attribute.xmlid"/>
      <ref name="att.global.attribute.n"/>
      <ref name="att.global.attribute.xmllang"/>
      <ref name="att.global.attribute.rend"/>
      <ref name="att.global.attribute.rendition"/>
      <ref name="att.global.attribute.xmlbase"/>
      <ref name="att.global.linking.attribute.corresp"/>
      <ref name="att.global.linking.attribute.synch"/>
      <ref name="att.global.linking.attribute.sameAs"/>
      <ref name="att.global.linking.attribute.copyOf"/>
      <ref name="att.global.linking.attribute.next"/>
      <ref name="att.global.linking.attribute.prev"/>
      <ref name="att.global.linking.attribute.exclude"/>
      <ref name="att.global.linking.attribute.select"/>
      <ref name="att.global.analytic.attribute.ana"/>
      <ref name="att.global.facs.attribute.facs"/>
      <ref name="att.typed.attribute.type"/>
      <ref name="att.typed.attribute.subtype"/>
      <rng:optional>
        <rng:attribute name="label">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">provides a label to identify which part of a rhyme
	scheme this rhyming string instantiates.</a:documentation>
          <data type="token">
            <param name="pattern">(\p{L}|\p{N}|\p{P}|\p{S})+</param>
          </data>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.metrical.attributes">
    <ref name="att.metrical.attribute.met"/>
    <ref name="att.metrical.attribute.real"/>
    <ref name="att.metrical.attribute.rhyme"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.metrical.attribute.met">
    <rng:optional>
      <rng:attribute name="met">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(metrical structure, conventional) contains a user-specified encoding for the conventional
metrical structure of the element.</a:documentation>
        <data type="token"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.metrical.attribute.real">
    <rng:optional>
      <rng:attribute name="real">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(metrical structure, realized) contains a user-specified encoding for the actual realization
of the conventional metrical structure applicable to the element.</a:documentation>
        <data type="token"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.metrical.attribute.rhyme">
    <rng:optional>
      <rng:attribute name="rhyme">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(rhyme scheme) specifies the rhyme scheme applicable to a group of verse lines.</a:documentation>
        <data type="token"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_att.enjamb.attributes">
    <ref name="att.enjamb.attribute.enjamb"/>
    <empty/>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="att.enjamb.attribute.enjamb">
    <rng:optional>
      <rng:attribute name="enjamb">
        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">(enjambement) indicates that the end of a verse line is marked by enjambement.
Sample values include: 1] no; 2] yes; 3] weak; 4] strong</a:documentation>
        <data type="Name"/>
      </rng:attribute>
    </rng:optional>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_include">
    <element name="include" ns="http://www.w3.org/2001/XInclude">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <optional>
        <ref name="tei_fallback"/>
      </optional>
      <rng:optional>
        <rng:attribute name="href">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">pointer to the resource being included</a:documentation>
          <data type="anyURI"/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" name="parse" a:defaultValue="xml">
          <a:documentation/>
          <rng:choice>
            <rng:value>xml</rng:value>
            <a:documentation/>
            <rng:value>text</rng:value>
            <a:documentation/>
          </rng:choice>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="xpointer">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <text/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="encoding">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <text/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="accept">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <text/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="accept-charset">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <text/>
        </rng:attribute>
      </rng:optional>
      <rng:optional>
        <rng:attribute name="accept-language">
          <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
          <text/>
        </rng:attribute>
      </rng:optional>
      <empty/>
    </element>
  </define>
  <define xmlns="http://relaxng.org/ns/structure/1.0" name="tei_fallback">
    <element name="fallback" ns="http://www.w3.org/2001/XInclude">
      <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
      <rng:ref name="tei_AnyThing"/>
      <empty/>
    </element>
  </define>
  <rng:start>
    <rng:choice>
      <ref xmlns="http://relaxng.org/ns/structure/1.0" name="tei_TEI"/>
      <ref xmlns="http://relaxng.org/ns/structure/1.0" name="tei_teiCorpus"/>
    </rng:choice>
  </rng:start>
</rng:grammar>
