-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchameleon.dtd
43 lines (35 loc) · 1.09 KB
/
chameleon.dtd
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
<!ELEMENT Chameleon (Page+)>
<!ELEMENT Page (#PCDATA | Page | Text | Button | Toggle | Input | Dropdown | Group)*>
<!ATTLIST Page
title CDATA #REQUIRED
category CDATA #IMPLIED
key CDATA #IMPLIED
key CDATA #IMPLIED>
<!ELEMENT Text (#PCDATA)>
<!ATTLIST Text
key CDATA #REQUIRED
label CDATA #REQUIRED>
<!ELEMENT Button (#PCDATA)>
<!ATTLIST Button
key CDATA #REQUIRED
label CDATA #REQUIRED
click CDATA #REQUIRED>
<!ELEMENT Toggle (#PCDATA)>
<!ATTLIST Toggle
key CDATA #REQUIRED
label CDATA #REQUIRED
click CDATA #REQUIRED>
<!ELEMENT Input (#PCDATA)>
<!ATTLIST Input
title CDATA #REQUIRED
action_event CDATA #REQUIRED
type (0|1|2) #IMPLIED>
<!ELEMENT Dropdown (#PCDATA | item)>
<!ATTLIST Dropdown
key CDATA #REQUIRED
label CDATA #REQUIRED
click CDATA #IMPLIED>
<!ELEMENT item (#PCDATA)>
<!ELEMENT Group (#PCDATA | Page | Text | Button | Toggle | Input | Dropdown)*>
<!ATTLIST Group
title CDATA #REQUIRED>