fix some db docs
[factor/jcg.git] / basis / xmode / modes / xml.xml
blob116be4605423fd541d8413467d1ac2640dbaab83
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
10         <RULES>\r
11                 <!-- SGML comment -->\r
12                 <SPAN TYPE="COMMENT1">\r
13                         <BEGIN>&lt;!--</BEGIN>\r
14                         <END>--&gt;</END>\r
15                 </SPAN>\r
17                 <!-- DTD Entity declarations -->\r
18                 <SPAN TYPE="KEYWORD2" DELEGATE="ENTITY-TAGS">\r
19                         <BEGIN>&lt;!ENTITY</BEGIN>\r
20                         <END>&gt;</END>\r
21                 </SPAN>\r
23                 <!-- CDATA sections -->\r
24                 <SPAN TYPE="KEYWORD2" DELEGATE="CDATA">\r
25                         <BEGIN>&lt;![CDATA[</BEGIN>\r
26                         <END>]]&gt;</END>\r
27                 </SPAN>\r
29                 <!-- DTD instructions -->\r
30                 <SPAN TYPE="KEYWORD2" DELEGATE="DTD-TAGS">\r
31                         <BEGIN>&lt;!</BEGIN>\r
32                         <END>&gt;</END>\r
33                 </SPAN>\r
35                 <!-- PI directives -->\r
36                 <SPAN TYPE="KEYWORD3">\r
37                         <BEGIN>&lt;?</BEGIN>\r
38                         <END>&gt;</END>\r
39                 </SPAN>\r
41                 <!-- markup tags -->\r
42                 <SPAN TYPE="MARKUP" DELEGATE="TAGS">\r
43                         <BEGIN>&lt;</BEGIN>\r
44                         <END>&gt;</END>\r
45                 </SPAN>\r
47                 <!-- SGML entities -->\r
48                 <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">\r
49                         <BEGIN>&amp;</BEGIN>\r
50                         <END>;</END>\r
51                 </SPAN>\r
52         </RULES>\r
53         <RULES SET="TAGS" DEFAULT="MARKUP" NO_WORD_SEP="-_">\r
54                 <!-- SGML comment -->\r
55                 <SPAN TYPE="COMMENT1">\r
56                         <BEGIN>&lt;!--</BEGIN>\r
57                         <END>--&gt;</END>\r
58                 </SPAN>\r
60                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">\r
61                         <BEGIN>"</BEGIN>\r
62                         <END>"</END>\r
63                 </SPAN>\r
65                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">\r
66                         <BEGIN>'</BEGIN>\r
67                         <END>'</END>\r
68                 </SPAN>\r
70                 <SEQ TYPE="MARKUP">/</SEQ>\r
71                 <MARK_PREVIOUS TYPE="LABEL" MATCH_TYPE="OPERATOR">:</MARK_PREVIOUS>\r
72         </RULES>\r
73         <RULES SET="DTD-TAGS" DEFAULT="KEYWORD2" IGNORE_CASE="FALSE" NO_WORD_SEP="-_">\r
74                 <!-- SGML comment -->\r
75                 <SPAN TYPE="COMMENT1">\r
76                         <BEGIN>&lt;!--</BEGIN>\r
77                         <END>--&gt;</END>\r
78                 </SPAN>\r
80                 <!-- SGML comment -->\r
81                 <SPAN TYPE="COMMENT1">\r
82                         <BEGIN>--</BEGIN>\r
83                         <END>--</END>\r
84                 </SPAN>\r
86                 <!-- Parameter entities -->\r
87                 <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">\r
88                         <BEGIN>%</BEGIN>\r
89                         <END>;</END>\r
90                 </SPAN>\r
92                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">\r
93                         <BEGIN>"</BEGIN>\r
94                         <END>"</END>\r
95                 </SPAN>\r
97                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">\r
98                         <BEGIN>'</BEGIN>\r
99                         <END>'</END>\r
100                 </SPAN>\r
102                 <!-- This appears in some SGML documents -->\r
103                 <SPAN TYPE="KEYWORD2" DELEGATE="MAIN">\r
104                         <BEGIN>[</BEGIN>\r
105                         <END>]</END>\r
106                 </SPAN>\r
108                 <SEQ TYPE="OPERATOR">(</SEQ>\r
109                 <SEQ TYPE="OPERATOR">)</SEQ>\r
110                 <SEQ TYPE="OPERATOR">|</SEQ>\r
111                 <SEQ TYPE="OPERATOR">?</SEQ>\r
112                 <SEQ TYPE="OPERATOR">*</SEQ>\r
113                 <SEQ TYPE="OPERATOR">+</SEQ>\r
114                 <SEQ TYPE="OPERATOR">,</SEQ>\r
116                 <KEYWORDS>\r
117                         <KEYWORD1>CDATA</KEYWORD1>\r
118                         <KEYWORD1>EMPTY</KEYWORD1>\r
119                         <KEYWORD1>INCLUDE</KEYWORD1>\r
120                         <KEYWORD1>IGNORE</KEYWORD1>\r
121                         <KEYWORD1>NDATA</KEYWORD1>\r
122                         <KEYWORD1>#IMPLIED</KEYWORD1>\r
123                         <KEYWORD1>#PCDATA</KEYWORD1>\r
124                         <KEYWORD1>#REQUIRED</KEYWORD1>\r
125                 </KEYWORDS>\r
126         </RULES>\r
127         <RULES SET="ENTITY-TAGS" DEFAULT="KEYWORD2">\r
128                 <!-- SGML comment -->\r
129                 <SPAN TYPE="COMMENT1">\r
130                         <BEGIN>&lt;!--</BEGIN>\r
131                         <END>--&gt;</END>\r
132                 </SPAN>\r
134                 <!-- SGML comment -->\r
135                 <SPAN TYPE="COMMENT1">\r
136                         <BEGIN>--</BEGIN>\r
137                         <END>--</END>\r
138                 </SPAN>\r
140                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">\r
141                         <BEGIN>"</BEGIN>\r
142                         <END>"</END>\r
143                 </SPAN>\r
145                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">\r
146                         <BEGIN>'</BEGIN>\r
147                         <END>'</END>\r
148                 </SPAN>\r
150                 <SEQ TYPE="OPERATOR">=</SEQ>\r
152                 <SEQ TYPE="OPERATOR">%</SEQ>\r
154                 <KEYWORDS>\r
155                         <KEYWORD1>SYSTEM</KEYWORD1>\r
156                 </KEYWORDS>\r
157         </RULES>\r
158         <RULES SET="CDATA" DEFAULT="COMMENT2">\r
159                 <!-- no rules -->\r
160         </RULES>\r
161 </MODE>\r