<grammar xmlns="http://www.thaiopensource.com/trex"
         ns="http://www.w3.org/1999/xhtml"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <xsd:annotation>
    <xsd:documentation>
      XHTML Ruby Module in TREX for full ruby markup
      Revision: $Id: xhtml-full-ruby-1.trex,v 1.2 2001/05/30 00:26:56 mimasa Exp $
    </xsd:documentation>
  </xsd:annotation>

  <include href="xhtml-ruby-1.trex"/>

  <define name="ruby.content" combine="choice">
    <xsd:annotation>
      <xsd:documentation>Add complex ruby support</xsd:documentation>
    </xsd:annotation>

     <ref name="Ruby.content.complex"/>
  </define>

  <define name="rt.attlist" combine="interleave">
    <xsd:annotation>
      <xsd:documentation>
        Add the rbspan attribute as one of attributes of the rt element
      </xsd:documentation>
    </xsd:annotation>

    <ref name="rbspan.attrib"/>
  </define>

</grammar>
