summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-frames.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/schema/xhtml-frames.rnc')
-rw-r--r--etc/schema/xhtml-frames.rnc26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/schema/xhtml-frames.rnc b/etc/schema/xhtml-frames.rnc
new file mode 100644
index 00000000000..9b9f9ba1465
--- /dev/null
+++ b/etc/schema/xhtml-frames.rnc
@@ -0,0 +1,26 @@
+# Frames Module
+
+include "xhtml-struct.rnc" {
+ html = element html { html.attlist, head, frameset }
+}
+frameset =
+ element frameset {
+ frameset.attlist,
+ ((frameset | frame)+ & noframes?)
+ }
+frameset.attlist =
+ Core.attrib,
+ attribute cols { MultiLength.datatype }?,
+ attribute rows { MultiLength.datatype }?
+frame = element frame { frame.attlist }
+frame.attlist =
+ Core.attrib,
+ attribute longdesc { URI.datatype }?,
+ attribute src { URI.datatype }?,
+ attribute frameborder { "1" | "0" }?,
+ attribute marginwidth { Pixels.datatype }?,
+ attribute marginheight { Pixels.datatype }?,
+ attribute noresize { "noresize" }?,
+ attribute scrolling { "yes" | "no" | "auto" }?
+noframes = element noframes { noframes.attlist, body }
+noframes.attlist = Common.attrib