286bb5c90742d42587d1287e7f178bfb

Scripting is disabled and therefore annotations cannot be shown.
<!-- Frames Module -->

<grammar xmlns="http://www.thaiopensource.com/trex">

<define name="frameset">
  <element name="frameset">
    <ref name="frameset.attlist"/>
    <interleave>
      <oneOrMore>
	<choice>
	  <ref name="frameset"/>
	  <ref name="frame"/>
	</choice>
      </oneOrMore>
      <optional>
	<ref name="noframes"/>
      </optional>
    </interleave>
  </element>
</define>

<define name="frameset.attlist">
  <ref name="Core.attrib"/>
  <optional>
    <attribute name="cols">
      <ref name="MultiLength.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="rows">
      <ref name="MultiLength.datatype"/>
    </attribute>
  </optional>
</define>

<define name="frame">
  <element name="frame">
    <ref name="frame.attlist"/>
  </element>
</define>

<define name="frame.attlist">
  <ref name="Core.attrib"/>
  <optional>
    <attribute name="longdesc">
      <ref name="URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="src">
      <ref name="URI.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="frameborder">
      <choice>
        <string>1</string>
        <string>0</string>
      </choice>
    </attribute>
  </optional>
  <optional>
    <attribute name="marginwidth">
      <ref name="Pixels.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="marginheight">
      <ref name="Pixels.datatype"/>
    </attribute>
  </optional>
  <optional>
    <attribute name="noresize">
      <string>noresize</string>
    </attribute>
  </optional>
  <optional>
    <attribute name="scrolling">
      <choice>
        <string>yes</string>
        <string>no</string>
        <string>auto</string>
      </choice>
    </attribute>
  </optional>
</define>

<define name="noframes">
  <element name="noframes">
    <ref name="noframes.attlist"/>
    <ref name="body"/>
  </element>
</define>

<define name="noframes.attlist">
  <ref name="Common.attrib"/>
</define>

<define name="html" combine="replace">
  <element name="html">
    <ref name="html.attlist"/>
    <ref name="head"/>
    <!-- We depart from XHTML mod here. It's silly for the frames module
	 to require the use of frames. -->
    <choice>
      <ref name="body"/>
      <ref name="frameset"/>
    </choice>
  </element>
</define>

</grammar>