<grammar xmlns="http://relaxng.org/ns/structure/0.9"
         ns="http://www.w3.org/1999/xhtml"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <xsd:annotation>
    <xsd:documentation>
      XHTML Ruby Module in RELAX NG for full ruby markup

      Revision: $Id: xhtml-full-ruby-1.rng,v 1.2 2001/06/12 05:19:33 mimasa Exp $

      DISCLAIMER: This RELAX NG module is purely experimental.
        This is basically a rewrite of Ruby RELAX module in RELAX NG.
        Most probably this module contains errors.
    </xsd:documentation>
  </xsd:annotation>

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

  <define name="Ruby.content" combine="choice">
    <xsd:annotation>
      <xsd:documentation>
        Allow complex ruby markup in addition to simple ruby markup
      </xsd:documentation>
    </xsd:annotation>

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

</grammar>
