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

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


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

	 Character and glyph documentation--><!--Definitions from module gaiji--><!--Set global predeclared macros--><!--Set predeclared macros--><!--0. predeclared macros--><!--1. classes--><!--2. elements--><define name="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>
         <ref name="char.content"/>
         <ref name="char.localattributes"/>
      </element>
   </define>
   <define name="char.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <optional>
            <ref name="charName"/>
         </optional>
         <zeroOrMore>
            <ref name="model.glossLike"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="charProp"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="mapping"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="figure"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="model.graphicLike"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="model.noteLike"/>
         </zeroOrMore>
      </group>
   </define>
   <define name="char.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="charDecl.content"/>
         <ref name="charDecl.localattributes"/>
      </element>
   </define>
   <define name="charDecl.content">
      <rng:group xmlns:rng="http://relaxng.org/ns/structure/1.0"
                 xmlns="http://www.tei-c.org/ns/1.0">
         <optional xmlns="http://relaxng.org/ns/structure/1.0">
            <ref name="desc"/>
         </optional>
         <oneOrMore xmlns="http://relaxng.org/ns/structure/1.0">
            <rng:choice xmlns="http://www.tei-c.org/ns/1.0">
               <ref xmlns="http://relaxng.org/ns/structure/1.0" name="char"/>
               <ref xmlns="http://relaxng.org/ns/structure/1.0" name="glyph"/>
            </rng:choice>
         </oneOrMore>
      </rng:group>
   </define>
   <define name="charDecl.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="charName.content"/>
         <ref name="charName.localattributes"/>
      </element>
   </define>
   <define name="charName.content">
      <text/>
   </define>
   <define name="charName.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="charProp.content"/>
         <ref name="charProp.localattributes"/>
      </element>
   </define>
   <define name="charProp.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <choice>
            <ref name="unicodeName"/>
            <ref name="localName"/>
         </choice>
         <ref name="value"/>
      </group>
   </define>
   <define name="charProp.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="g.content"/>
         <ref name="g.localattributes"/>
      </element>
   </define>
   <define name="g.content">
      <text/>
   </define>
   <define name="g.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <optional>
         <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>
            <ref name="data.pointer"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="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>
         <ref name="glyph.content"/>
         <ref name="glyph.localattributes"/>
      </element>
   </define>
   <define name="glyph.content">
      <group xmlns:rng="http://relaxng.org/ns/structure/1.0">
         <optional>
            <ref name="glyphName"/>
         </optional>
         <zeroOrMore>
            <ref name="model.glossLike"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="charProp"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="mapping"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="figure"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="model.graphicLike"/>
         </zeroOrMore>
         <zeroOrMore>
            <ref name="model.noteLike"/>
         </zeroOrMore>
      </group>
   </define>
   <define name="glyph.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="glyphName.content"/>
         <ref name="glyphName.localattributes"/>
      </element>
   </define>
   <define name="glyphName.content">
      <text/>
   </define>
   <define name="glyphName.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="localName.content"/>
         <ref name="localName.localattributes"/>
      </element>
   </define>
   <define name="localName.content">
      <text/>
   </define>
   <define name="localName.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="mapping.content"/>
         <ref name="mapping.localattributes"/>
      </element>
   </define>
   <define name="mapping.content">
      <ref name="macro.xtext"/>
   </define>
   <define name="mapping.localattributes">
      <ref name="att.global.attributes"/>
      <ref name="att.typed.attributes"/>
      <empty/>
   </define>
   <define name="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>
         <ref name="unicodeName.content"/>
         <ref name="unicodeName.localattributes"/>
      </element>
   </define>
   <define name="unicodeName.content">
      <text/>
   </define>
   <define name="unicodeName.localattributes">
      <ref name="att.global.attributes"/>
      <optional>
         <attribute name="version">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies the version number of the Unicode Standard in which this property name is
        defined.</a:documentation>
            <ref name="data.version"/>
         </attribute>
      </optional>
      <empty/>
   </define>
   <define name="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>
         <ref name="value.content"/>
         <ref name="value.localattributes"/>
      </element>
   </define>
   <define name="value.content">
      <ref name="macro.xtext"/>
   </define>
   <define name="value.localattributes">
      <ref name="att.global.attributes"/>
      <empty/>
   </define>
   <!--3. macros--></grammar>