summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-image.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/schema/xhtml-image.rnc')
-rw-r--r--etc/schema/xhtml-image.rnc11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/schema/xhtml-image.rnc b/etc/schema/xhtml-image.rnc
new file mode 100644
index 00000000000..e1d6e5662f7
--- /dev/null
+++ b/etc/schema/xhtml-image.rnc
@@ -0,0 +1,11 @@
+# Image Module
+
+img = element img { img.attlist }
+img.attlist =
+ Common.attrib,
+ attribute src { URI.datatype },
+ attribute alt { Text.datatype },
+ attribute longdesc { URI.datatype }?,
+ attribute height { Length.datatype }?,
+ attribute width { Length.datatype }?
+Inline.class |= img