<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"
  xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
  <namespace ns="http://www.w3.org/2002/06/xhtml2">
    <a:documentation>We begin with XHTML2 sections.</a:documentation>
    <validate schema="xhtml2.rng">
      <a:documentation>This action invokes the XHTML2 schema.</a:documentation>
      <mode>
        <namespace ns="http://www.w3.org/2002/xforms">
          <a:documentation>XForms in XHTML2</a:documentation>
          <validate schema="xforms.rng">
            <a:documentation>The first action invokes the XForms schema
              for XForms in XHTML2.</a:documentation>
            <mode>
              <namespace ns="http://www.w3.org/2002/xforms">
                <a:documentation>XForms in ... in *XForm* in XHTML2</a:documentation>
                <attach message="Attaching a descendant XForms section."/>
              </namespace>
              <namespace ns="http://www.w3.org/2002/06/xhtml2">
                <a:documentation>XHTML2 in ... in *XForm* in XHTML2</a:documentation>
                <unwrap message="Skipping a descedant XHTML2 section."/>
              </namespace>
            </mode>
          </validate>
          <unwrap>
            <a:documentation>This action skip XForms in XHTML2.</a:documentation>
            <mode>
              <namespace ns="http://www.w3.org/2002/xforms">
                <a:documentation>XForms in ... in XForms in *XHTML2*</a:documentation>
                <unwrap message="Skipping a descendant XForms section."/>
              </namespace>
              <namespace ns="http://www.w3.org/2002/06/xhtml2">
                <a:documentation>XHTML2 in ... in XForms in *XHTML2*</a:documentation>
                <attach message="Attaching a descendant XHTML2 section."/>
              </namespace>
            </mode>
          </unwrap>
        </namespace>
      </mode>
    </validate>
  </namespace>
</rules>