fix some db docs
[factor/jcg.git] / basis / xmode / modes / html.xml
bloba5af6045db3bd1ef6e61d829d66f36cedb4b4f7c
1 <?xml version="1.0"?>\r
2 \r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">\r
4 \r
5 <MODE>\r
6         <PROPS>\r
7                 <PROPERTY NAME="commentStart" VALUE="&lt;!--" />\r
8                 <PROPERTY NAME="commentEnd" VALUE="--&gt;" />\r
9         </PROPS>\r
11         <RULES IGNORE_CASE="TRUE">\r
12                 <!-- SGML comment -->\r
13                 <SPAN TYPE="COMMENT1">\r
14                         <BEGIN>&lt;!--</BEGIN>\r
15                         <END>--&gt;</END>\r
16                 </SPAN>\r
18                 <!-- JavaScript -->\r
19                 <SPAN TYPE="MARKUP" DELEGATE="JAVASCRIPT">\r
20                         <BEGIN>&lt;SCRIPT</BEGIN>\r
21                         <END>&lt;/SCRIPT&gt;</END>\r
22                 </SPAN>\r
24                 <!-- stylesheet -->\r
25                 <SPAN TYPE="MARKUP" DELEGATE="CSS">\r
26                         <BEGIN>&lt;STYLE</BEGIN>\r
27                         <END>&lt;/STYLE&gt;</END>\r
28                 </SPAN>\r
30                 <!-- DTD instructions -->\r
31                 <SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">\r
32                         <BEGIN>&lt;!</BEGIN>\r
33                         <END>&gt;</END>\r
34                 </SPAN>\r
36                 <!-- markup tags -->\r
37                 <SPAN TYPE="MARKUP" DELEGATE="TAGS">\r
38                         <BEGIN>&lt;</BEGIN>\r
39                         <END>&gt;</END>\r
40                 </SPAN>\r
42                 <!-- SGML entities -->\r
43                 <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">\r
44                         <BEGIN>&amp;</BEGIN>\r
45                         <END>;</END>\r
46                 </SPAN>\r
47         </RULES>\r
49         <!-- ESCAPE is not exactly right but it is needed to correctly\r
50              handle JavaScript in on* parameters -->\r
51         <RULES SET="TAGS" DEFAULT="MARKUP" ESCAPE="\">\r
52                 <SPAN TYPE="LITERAL1">\r
53                         <BEGIN>"</BEGIN>\r
54                         <END>"</END>\r
55                 </SPAN>\r
57                 <SPAN TYPE="LITERAL1">\r
58                         <BEGIN>'</BEGIN>\r
59                         <END>'</END>\r
60                 </SPAN>\r
62                 <SEQ TYPE="OPERATOR">=</SEQ>\r
64                 <KEYWORDS>\r
65                         <!-- HTML/XHTML elements, taken from http://de.selfhtml.org/html/referenz/elemente.htm -->\r
66                         <KEYWORD1>fieldset</KEYWORD1>\r
67                         <KEYWORD1>a</KEYWORD1>\r
68                         <KEYWORD1>abbr</KEYWORD1>\r
69                         <KEYWORD1>acronym</KEYWORD1>\r
70                         <KEYWORD1>address</KEYWORD1>\r
71                         <KEYWORD1>applet</KEYWORD1>\r
72                         <KEYWORD1>area</KEYWORD1>\r
73                         <KEYWORD1>b</KEYWORD1>\r
74                         <KEYWORD1>base</KEYWORD1>\r
75                         <KEYWORD1>basefont</KEYWORD1>\r
76                         <KEYWORD1>bdo</KEYWORD1>\r
77                         <KEYWORD1>big</KEYWORD1>\r
78                         <KEYWORD1>blockquote</KEYWORD1>\r
79                         <KEYWORD1>body</KEYWORD1>\r
80                         <KEYWORD1>br</KEYWORD1>\r
81                         <KEYWORD1>button</KEYWORD1>\r
82                         <KEYWORD1>caption</KEYWORD1>\r
83                         <KEYWORD1>center</KEYWORD1>\r
84                         <KEYWORD1>cite</KEYWORD1>\r
85                         <KEYWORD1>code</KEYWORD1>\r
86                         <KEYWORD1>col</KEYWORD1>\r
87                         <KEYWORD1>colgroup</KEYWORD1>\r
88                         <KEYWORD1>dd</KEYWORD1>\r
89                         <KEYWORD1>del</KEYWORD1>\r
90                         <KEYWORD1>dfn</KEYWORD1>\r
91                         <KEYWORD1>dir</KEYWORD1>\r
92                         <KEYWORD1>div</KEYWORD1>\r
93                         <KEYWORD1>dl</KEYWORD1>\r
94                         <KEYWORD1>dt</KEYWORD1>\r
95                         <KEYWORD1>em</KEYWORD1>\r
96                         <KEYWORD1>fieldset</KEYWORD1>\r
97                         <KEYWORD1>font</KEYWORD1>\r
98                         <KEYWORD1>form</KEYWORD1>\r
99                         <KEYWORD1>frame</KEYWORD1>\r
100                         <KEYWORD1>frameset</KEYWORD1>\r
101                         <KEYWORD1>h1</KEYWORD1>\r
102                         <KEYWORD1>h2</KEYWORD1>\r
103                         <KEYWORD1>h3</KEYWORD1>\r
104                         <KEYWORD1>h4</KEYWORD1>\r
105                         <KEYWORD1>h5</KEYWORD1>\r
106                         <KEYWORD1>h6</KEYWORD1>\r
107                         <KEYWORD1>head</KEYWORD1>\r
108                         <KEYWORD1>hr</KEYWORD1>\r
109                         <KEYWORD1>html</KEYWORD1>\r
110                         <KEYWORD1>i</KEYWORD1>\r
111                         <KEYWORD1>iframe</KEYWORD1>\r
112                         <KEYWORD1>img</KEYWORD1>\r
113                         <KEYWORD1>input</KEYWORD1>\r
114                         <KEYWORD1>ins</KEYWORD1>\r
115                         <KEYWORD1>isindex</KEYWORD1>\r
116                         <KEYWORD1>kbd</KEYWORD1>\r
117                         <KEYWORD1>label</KEYWORD1>\r
118                         <KEYWORD1>legend</KEYWORD1>\r
119                         <KEYWORD1>li</KEYWORD1>\r
120                         <KEYWORD1>link</KEYWORD1>\r
121                         <KEYWORD1>map</KEYWORD1>\r
122                         <KEYWORD1>menu</KEYWORD1>\r
123                         <KEYWORD1>meta</KEYWORD1>\r
124                         <KEYWORD1>noframes</KEYWORD1>\r
125                         <KEYWORD1>noscript</KEYWORD1>\r
126                         <KEYWORD1>object</KEYWORD1>\r
127                         <KEYWORD1>ol</KEYWORD1>\r
128                         <KEYWORD1>optgroup</KEYWORD1>\r
129                         <KEYWORD1>option</KEYWORD1>\r
130                         <KEYWORD1>p</KEYWORD1>\r
131                         <KEYWORD1>param</KEYWORD1>\r
132                         <KEYWORD1>pre</KEYWORD1>\r
133                         <KEYWORD1>q</KEYWORD1>\r
134                         <KEYWORD1>s</KEYWORD1>\r
135                         <KEYWORD1>samp</KEYWORD1>\r
136                         <KEYWORD1>script</KEYWORD1>\r
137                         <KEYWORD1>select</KEYWORD1>\r
138                         <KEYWORD1>small</KEYWORD1>\r
139                         <KEYWORD1>span</KEYWORD1>\r
140                         <KEYWORD1>strike</KEYWORD1>\r
141                         <KEYWORD1>strong</KEYWORD1>\r
142                         <KEYWORD1>style</KEYWORD1>\r
143                         <KEYWORD1>sub</KEYWORD1>\r
144                         <KEYWORD1>sup</KEYWORD1>\r
145                         <KEYWORD1>table</KEYWORD1>\r
146                         <KEYWORD1>tbody</KEYWORD1>\r
147                         <KEYWORD1>td</KEYWORD1>\r
148                         <KEYWORD1>textarea</KEYWORD1>\r
149                         <KEYWORD1>tfoot</KEYWORD1>\r
150                         <KEYWORD1>th</KEYWORD1>\r
151                         <KEYWORD1>thead</KEYWORD1>\r
152                         <KEYWORD1>title</KEYWORD1>\r
153                         <KEYWORD1>tr</KEYWORD1>\r
154                         <KEYWORD1>tt</KEYWORD1>\r
155                         <KEYWORD1>u</KEYWORD1>\r
156                         <KEYWORD1>ul</KEYWORD1>\r
157                         <KEYWORD1>var</KEYWORD1>\r
158                 </KEYWORDS>\r
159         </RULES>\r
161         <RULES SET="JAVASCRIPT" DEFAULT="MARKUP" IGNORE_CASE="TRUE">\r
162                 <SEQ TYPE="MARKUP" DELEGATE="javascript::MAIN">&gt;</SEQ>\r
163                 <!-- handle <SCRIPT SRC="..."> properly -->\r
164                 <SEQ TYPE="MARKUP" DELEGATE="BACK_TO_HTML">SRC=</SEQ>\r
165         </RULES>\r
167         <RULES SET="BACK_TO_HTML" DEFAULT="MARKUP">\r
168                 <SEQ TYPE="MARKUP" DELEGATE="html::MAIN">&gt;</SEQ>\r
169         </RULES>\r
171         <RULES SET="CSS" DEFAULT="MARKUP">\r
172                 <SEQ TYPE="MARKUP" DELEGATE="css::MAIN">&gt;</SEQ>\r
173         </RULES>\r
174 </MODE>\r