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
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Iframe Module -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<define name="iframe">
<element name="iframe">
<ref name="iframe.attlist"/>
<ref name="Flow.model"/>
</element>
</define>
<define name="iframe.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="width">
<ref name="Length.datatype"/>
</attribute>
</optional>
<optional>
<attribute name="height">
<ref name="Length.datatype"/>
</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="scrolling">
<choice>
<value>yes</value>
<value>no</value>
<value>auto</value>
</choice>
</attribute>
</optional>
</define>
<define name="Inline.class" combine="choice">
<ref name="iframe"/>
</define>
</grammar>
|