1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Frames Module -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<include href="struct.rng">
<define name="html">
<element name="html">
<ref name="html.attlist"/>
<ref name="head"/>
<ref name="frameset"/>
</element>
</define>
</include>
<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>
<value>1</value>
<value>0</value>
</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">
<value>noresize</value>
</attribute>
</optional>
<optional>
<attribute name="scrolling">
<choice>
<value>yes</value>
<value>no</value>
<value>auto</value>
</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>
</grammar>
|