initial commit
[emacs-init.git] / nxhtml / etc / schema / mjt.rnc
1 include "xhtml-loader.rnc"
2
3 MjtAll.attrib =
4   attribute mjt.def { Text.datatype }?,
5   attribute mjt.when { Text.datatype }?,
6   attribute mjt.otherwise { Text.datatype }?,
7   attribute mjt.for { Text.datatype }?,
8   attribute mjt.if { Text.datatype }?,
9   attribute mjt.elif { Text.datatype }?,
10   attribute mjt.else { Text.datatype }?,
11   attribute mjt.script { Text.datatype }?,
12   attribute mjt.choose { Text.datatype }?,
13   attribute mjt.replace { Text.datatype }?,
14   attribute mjt.content { Text.datatype }?,
15   attribute mjt.strip { Text.datatype }?,
16   attribute mjt.src { Text.datatype }?,
17   attribute mjt.style { Text.datatype }?,
18   attribute mjt.class { Text.datatype }?,
19   attribute mjt.id { Text.datatype }?,
20   attribute mjt.attrs { Text.datatype }?,
21   attribute mjt.task { Text.datatype }?
22
23
24 a.attlist &=
25   attribute mjt.onblur { Script.datatype }?,
26   attribute mjt.onfocus { Script.datatype }?
27 area.attlist &=
28   attribute mjt.onblur { Script.datatype }?,
29   attribute mjt.onfocus { Script.datatype }?
30 form.attlist &=
31   attribute mjt.onreset { Script.datatype }?,
32   attribute mjt.onsubmit { Script.datatype }?
33 body.attlist &=
34   attribute mjt.onload { Script.datatype }?,
35   attribute mjt.onunload { Script.datatype }?
36 label.attlist &=
37   attribute mjt.onblur { Script.datatype }?,
38   attribute mjt.onfocus { Script.datatype }?
39 input.attlist &=
40   attribute mjt.onblur { Script.datatype }?,
41   attribute mjt.onchange { Script.datatype }?,
42   attribute mjt.onfocus { Script.datatype }?,
43   attribute mjt.onselect { Script.datatype }?
44 select.attlist &=
45   attribute mjt.onblur { Script.datatype }?,
46   attribute mjt.onchange { Script.datatype }?,
47   attribute mjt.onfocus { Script.datatype }?
48 textarea.attlist &=
49   attribute mjt.onblur { Script.datatype }?,
50   attribute mjt.onchange { Script.datatype }?,
51   attribute mjt.onfocus { Script.datatype }?,
52   attribute mjt.onselect { Script.datatype }?
53 button.attlist &=
54   attribute mjt.onblur { Script.datatype }?,
55   attribute mjt.onfocus { Script.datatype }?
56
57 MjtEvents.attrib =
58   attribute mjt.onclick { Script.datatype }?,
59   attribute mjt.ondblclick { Script.datatype }?,
60   attribute mjt.onmousedown { Script.datatype }?,
61   attribute mjt.onmouseup { Script.datatype }?,
62   attribute mjt.onmouseover { Script.datatype }?,
63   attribute mjt.onmousemove { Script.datatype }?,
64   attribute mjt.onmouseout { Script.datatype }?,
65   attribute mjt.onkeypress { Script.datatype }?,
66   attribute mjt.onkeydown { Script.datatype }?,
67   attribute mjt.onkeyup { Script.datatype }?
68
69
70 Common.attrib &= MjtAll.attrib
71 CommonIdRequired.attrib &= MjtAll.attrib
72
73 Common.attrib &= MjtEvents.attrib
74 CommonIdRequired.attrib &= MjtEvents.attrib