summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-events.rnc
diff options
context:
space:
mode:
authorMark A. Hershberger <mah@everybody.org>2007-11-23 06:58:00 +0000
committerMark A. Hershberger <mah@everybody.org>2007-11-23 06:58:00 +0000
commit8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc (patch)
tree7bcd47a7dcbbad100dd3e8f8a7e08b48353c58a8 /etc/schema/xhtml-events.rnc
parentf7cf8b2009b0bc2526d50c3455f737a543122dd4 (diff)
downloademacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.tar.gz
emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.tar.bz2
emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.zip
Initial merge of nxml
Diffstat (limited to 'etc/schema/xhtml-events.rnc')
-rw-r--r--etc/schema/xhtml-events.rnc47
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/schema/xhtml-events.rnc b/etc/schema/xhtml-events.rnc
new file mode 100644
index 00000000000..536874201e1
--- /dev/null
+++ b/etc/schema/xhtml-events.rnc
@@ -0,0 +1,47 @@
+# Events Module
+
+a.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+area.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+form.attlist &=
+ attribute onreset { Script.datatype }?,
+ attribute onsubmit { Script.datatype }?
+body.attlist &=
+ attribute onload { Script.datatype }?,
+ attribute onunload { Script.datatype }?
+label.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+input.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onchange { Script.datatype }?,
+ attribute onfocus { Script.datatype }?,
+ attribute onselect { Script.datatype }?
+select.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onchange { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+textarea.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onchange { Script.datatype }?,
+ attribute onfocus { Script.datatype }?,
+ attribute onselect { Script.datatype }?
+button.attlist &=
+ attribute onblur { Script.datatype }?,
+ attribute onfocus { Script.datatype }?
+Events.attrib =
+ attribute onclick { Script.datatype }?,
+ attribute ondblclick { Script.datatype }?,
+ attribute onmousedown { Script.datatype }?,
+ attribute onmouseup { Script.datatype }?,
+ attribute onmouseover { Script.datatype }?,
+ attribute onmousemove { Script.datatype }?,
+ attribute onmouseout { Script.datatype }?,
+ attribute onkeypress { Script.datatype }?,
+ attribute onkeydown { Script.datatype }?,
+ attribute onkeyup { Script.datatype }?
+Common.attrib &= Events.attrib
+CommonIdRequired.attrib &= Events.attrib