summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/etc/schema/mjt.rnc
blob: b37f01adf8bcec112ea8dd663fc7e770d4ca2d34 (plain)
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
68
69
70
71
72
73
74
include "xhtml-loader.rnc"

MjtAll.attrib =
  attribute mjt.def { Text.datatype }?,
  attribute mjt.when { Text.datatype }?,
  attribute mjt.otherwise { Text.datatype }?,
  attribute mjt.for { Text.datatype }?,
  attribute mjt.if { Text.datatype }?,
  attribute mjt.elif { Text.datatype }?,
  attribute mjt.else { Text.datatype }?,
  attribute mjt.script { Text.datatype }?,
  attribute mjt.choose { Text.datatype }?,
  attribute mjt.replace { Text.datatype }?,
  attribute mjt.content { Text.datatype }?,
  attribute mjt.strip { Text.datatype }?,
  attribute mjt.src { Text.datatype }?,
  attribute mjt.style { Text.datatype }?,
  attribute mjt.class { Text.datatype }?,
  attribute mjt.id { Text.datatype }?,
  attribute mjt.attrs { Text.datatype }?,
  attribute mjt.task { Text.datatype }?


a.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?
area.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?
form.attlist &=
  attribute mjt.onreset { Script.datatype }?,
  attribute mjt.onsubmit { Script.datatype }?
body.attlist &=
  attribute mjt.onload { Script.datatype }?,
  attribute mjt.onunload { Script.datatype }?
label.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?
input.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onchange { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?,
  attribute mjt.onselect { Script.datatype }?
select.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onchange { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?
textarea.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onchange { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?,
  attribute mjt.onselect { Script.datatype }?
button.attlist &=
  attribute mjt.onblur { Script.datatype }?,
  attribute mjt.onfocus { Script.datatype }?

MjtEvents.attrib =
  attribute mjt.onclick { Script.datatype }?,
  attribute mjt.ondblclick { Script.datatype }?,
  attribute mjt.onmousedown { Script.datatype }?,
  attribute mjt.onmouseup { Script.datatype }?,
  attribute mjt.onmouseover { Script.datatype }?,
  attribute mjt.onmousemove { Script.datatype }?,
  attribute mjt.onmouseout { Script.datatype }?,
  attribute mjt.onkeypress { Script.datatype }?,
  attribute mjt.onkeydown { Script.datatype }?,
  attribute mjt.onkeyup { Script.datatype }?


Common.attrib &= MjtAll.attrib
CommonIdRequired.attrib &= MjtAll.attrib

Common.attrib &= MjtEvents.attrib
CommonIdRequired.attrib &= MjtEvents.attrib