PageRenderTime 64ms CodeModel.GetById 54ms app.highlight 7ms RepoModel.GetById 0ms app.codeStats 1ms

/jEdit/tags/jedit-4-2-pre4/modes/asp.xml

#
XML | 372 lines | 258 code | 61 blank | 53 comment | 0 complexity | 595699c614e0f03c5f5036e54e2e4aa5 MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!DOCTYPE MODE SYSTEM "xmode.dtd">
  4
  5<!-- ASP mode by Andre Kaplan -->
  6<MODE>
  7	<PROPS>
  8		<PROPERTY NAME="commentStart" VALUE="&lt;!--" />
  9		<PROPERTY NAME="commentEnd" VALUE="--&gt;" />
 10	</PROPS>
 11
 12	<RULES IGNORE_CASE="TRUE">
 13		<SEQ TYPE="MARKUP" DELEGATE="ASPVB">&lt;%@LANGUAGE="VBSCRIPT"%&gt;</SEQ>
 14		<SEQ TYPE="MARKUP" DELEGATE="ASPJS">&lt;%@LANGUAGE="JSCRIPT"%&gt;</SEQ>
 15		<SEQ TYPE="MARKUP" DELEGATE="ASPJS">&lt;%@LANGUAGE="JAVASCRIPT"%&gt;</SEQ>
 16		<SEQ TYPE="MARKUP" DELEGATE="ASPPL">&lt;%@LANGUAGE="PERLSCRIPT"%&gt;</SEQ>
 17
 18		<!-- Inlined server-side VBScript -->
 19		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
 20			<BEGIN>&lt;%</BEGIN>
 21			<END>%&gt;</END>
 22		</SPAN>
 23
 24		<!-- Server-side VBScript -->
 25		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
 26			<BEGIN>&lt;script language="vbscript" runat="server"&gt;</BEGIN>
 27			<END>&lt;/script&gt;</END>
 28		</SPAN>
 29
 30		<!-- Server-side Javascript -->
 31		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
 32			<BEGIN>&lt;script language="jscript" runat="server"&gt;</BEGIN>
 33			<END>&lt;/script&gt;</END>
 34		</SPAN>
 35
 36		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
 37			<BEGIN>&lt;script language="javascript" runat="server"&gt;</BEGIN>
 38			<END>&lt;/script&gt;</END>
 39		</SPAN>
 40
 41		<!-- Server-side PerlScript -->
 42		<SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
 43			<BEGIN>&lt;script language="perlscript" runat="server"&gt;</BEGIN>
 44			<END>&lt;/script&gt;</END>
 45		</SPAN>
 46
 47		<!-- Client-side javascript -->
 48		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
 49			<BEGIN>&lt;script language="jscript"&gt;</BEGIN>
 50			<END>&lt;/script&gt;</END>
 51		</SPAN>
 52
 53		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
 54			<BEGIN>&lt;script language="javascript"&gt;</BEGIN>
 55			<END>&lt;/script&gt;</END>
 56		</SPAN>
 57
 58		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
 59			<BEGIN>&lt;script&gt;</BEGIN>
 60			<END>&lt;/script&gt;</END>
 61		</SPAN>
 62
 63		<!-- Server-Side include -->
 64		<SPAN TYPE="MARKUP">
 65			<BEGIN>&lt;!--#</BEGIN>
 66			<END>--&gt;</END>
 67		</SPAN>
 68
 69		<!-- SGML comment -->
 70		<SPAN TYPE="COMMENT1">
 71			<BEGIN>&lt;!--</BEGIN>
 72			<END>--&gt;</END>
 73		</SPAN>
 74
 75		<!-- stylesheet -->
 76		<SPAN TYPE="MARKUP" DELEGATE="css::MAIN">
 77			<BEGIN>&lt;STYLE&gt;</BEGIN>
 78			<END>&lt;/STYLE&gt;</END>
 79		</SPAN>
 80
 81		<!-- markup tags -->
 82		<SPAN TYPE="MARKUP" DELEGATE="ASPVB_TAGS">
 83			<BEGIN>&lt;</BEGIN>
 84			<END>&gt;</END>
 85		</SPAN>
 86
 87		<!-- SGML entities -->
 88		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
 89			<BEGIN>&amp;</BEGIN>
 90			<END>;</END>
 91		</SPAN>
 92	</RULES>
 93
 94	<!-- ******************************************************************
 95	     ASP with VBScript as default script engine
 96	     ****************************************************************** -->
 97	<RULES SET="ASPVB" IGNORE_CASE="TRUE">
 98		<!-- Inlined server-side VBScript -->
 99		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
100			<BEGIN>&lt;%</BEGIN>
101			<END>%&gt;</END>
102		</SPAN>
103
104		<!-- Server-side VBScript -->
105		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
106			<BEGIN>&lt;script language="vbscript" runat="server"&gt;</BEGIN>
107			<END>&lt;/script&gt;</END>
108		</SPAN>
109
110		<!-- Server-side Javascript -->
111		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
112			<BEGIN>&lt;script language="jscript" runat="server"&gt;</BEGIN>
113			<END>&lt;/script&gt;</END>
114		</SPAN>
115
116		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
117			<BEGIN>&lt;script language="javascript" runat="server"&gt;</BEGIN>
118			<END>&lt;/script&gt;</END>
119		</SPAN>
120
121		<!-- Server-side PerlScript -->
122		<SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
123			<BEGIN>&lt;script language="perlscript" runat="server"&gt;</BEGIN>
124			<END>&lt;/script&gt;</END>
125		</SPAN>
126
127		<!-- Client-side javascript -->
128		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
129			<BEGIN>&lt;script language="jscript"&gt;</BEGIN>
130			<END>&lt;/script&gt;</END>
131		</SPAN>
132
133		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
134			<BEGIN>&lt;script language="javascript"&gt;</BEGIN>
135			<END>&lt;/script&gt;</END>
136		</SPAN>
137
138		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
139			<BEGIN>&lt;script&gt;</BEGIN>
140			<END>&lt;/script&gt;</END>
141		</SPAN>
142
143		<!-- Server-Side include -->
144		<SPAN TYPE="MARKUP">
145			<BEGIN>&lt;!--#</BEGIN>
146			<END>--&gt;</END>
147		</SPAN>
148
149		<!-- SGML comment -->
150		<SPAN TYPE="COMMENT1">
151			<BEGIN>&lt;!--</BEGIN>
152			<END>--&gt;</END>
153		</SPAN>
154
155		<!-- stylesheet -->
156		<SPAN TYPE="MARKUP" DELEGATE="css::MAIN">
157			<BEGIN>&lt;STYLE&gt;</BEGIN>
158			<END>&lt;/STYLE&gt;</END>
159		</SPAN>
160
161		<!-- markup tags -->
162		<SPAN TYPE="MARKUP" DELEGATE="ASPVB_TAGS">
163			<BEGIN>&lt;/</BEGIN>
164			<END>&gt;</END>
165		</SPAN>
166
167		<SPAN TYPE="MARKUP" DELEGATE="ASPVB_TAGS">
168			<BEGIN>&lt;</BEGIN>
169			<END>&gt;</END>
170		</SPAN>
171
172		<!-- SGML entities -->
173		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
174			<BEGIN>&amp;</BEGIN>
175			<END>;</END>
176		</SPAN>
177	</RULES>
178
179	<!-- ******************************************************************
180	     ASP with JScript as default script engine
181	     ****************************************************************** -->
182	<RULES SET="ASPJS" IGNORE_CASE="TRUE">
183		<!-- Inlined server-side Javascript -->
184		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
185			<BEGIN>&lt;%</BEGIN>
186			<END>%&gt;</END>
187		</SPAN>
188
189		<!-- Server-side VBScript -->
190		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
191			<BEGIN>&lt;script language="vbscript" runat="server"&gt;</BEGIN>
192			<END>&lt;/script&gt;</END>
193		</SPAN>
194
195		<!-- Server-side Javascript -->
196		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
197			<BEGIN>&lt;script language="jscript" runat="server"&gt;</BEGIN>
198			<END>&lt;/script&gt;</END>
199		</SPAN>
200
201		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
202			<BEGIN>&lt;script language="javascript" runat="server"&gt;</BEGIN>
203			<END>&lt;/script&gt;</END>
204		</SPAN>
205
206		<!-- Server-side PerlScript -->
207		<SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
208			<BEGIN>&lt;script language="perlscript" runat="server"&gt;</BEGIN>
209			<END>&lt;/script&gt;</END>
210		</SPAN>
211
212		<!-- Client-side javascript -->
213		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
214			<BEGIN>&lt;script language="jscript"&gt;</BEGIN>
215			<END>&lt;/script&gt;</END>
216		</SPAN>
217
218		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
219			<BEGIN>&lt;script language="javascript"&gt;</BEGIN>
220			<END>&lt;/script&gt;</END>
221		</SPAN>
222
223		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
224			<BEGIN>&lt;script&gt;</BEGIN>
225			<END>&lt;/script&gt;</END>
226		</SPAN>
227
228		<!-- Server-Side include -->
229		<SPAN TYPE="MARKUP">
230			<BEGIN>&lt;!--#</BEGIN>
231			<END>--&gt;</END>
232		</SPAN>
233
234		<!-- SGML comment -->
235		<SPAN TYPE="COMMENT1">
236			<BEGIN>&lt;!--</BEGIN>
237			<END>--&gt;</END>
238		</SPAN>
239
240		<!-- stylesheet -->
241		<SPAN TYPE="MARKUP" DELEGATE="css::MAIN">
242			<BEGIN>&lt;STYLE&gt;</BEGIN>
243			<END>&lt;/STYLE&gt;</END>
244		</SPAN>
245
246		<!-- markup tags -->
247		<SPAN TYPE="MARKUP" DELEGATE="ASPJS_TAGS">
248			<BEGIN>&lt;/</BEGIN>
249			<END>&gt;</END>
250		</SPAN>
251
252		<SPAN TYPE="MARKUP" DELEGATE="ASPJS_TAGS">
253			<BEGIN>&lt;</BEGIN>
254			<END>&gt;</END>
255		</SPAN>
256
257		<!-- SGML entities -->
258		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
259			<BEGIN>&amp;</BEGIN>
260			<END>;</END>
261		</SPAN>
262	</RULES>
263
264	<!-- ******************************************************************
265	     ASP with PerlScript as default script engine
266	     ****************************************************************** -->
267	<RULES SET="ASPPL" IGNORE_CASE="TRUE">
268		<!-- Inlined server-side Perlscript -->
269		<SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
270			<BEGIN>&lt;%</BEGIN>
271			<END>%&gt;</END>
272		</SPAN>
273
274		<!-- Server-side VBScript -->
275		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
276			<BEGIN>&lt;script language="vbscript" runat="server"&gt;</BEGIN>
277			<END>&lt;/script&gt;</END>
278		</SPAN>
279
280		<!-- Server-side Javascript -->
281		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
282			<BEGIN>&lt;script language="jscript" runat="server"&gt;</BEGIN>
283			<END>&lt;/script&gt;</END>
284		</SPAN>
285
286		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
287			<BEGIN>&lt;script language="javascript" runat="server"&gt;</BEGIN>
288			<END>&lt;/script&gt;</END>
289		</SPAN>
290
291		<!-- Server-side PerlScript -->
292		<SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
293			<BEGIN>&lt;script language="perlscript" runat="server"&gt;</BEGIN>
294			<END>&lt;/script&gt;</END>
295		</SPAN>
296
297		<!-- Client-side javascript -->
298		<SPAN TYPE="MARKUP" DELEGATE="ASPPL_CSJS">
299			<BEGIN>&lt;script language="jscript"&gt;</BEGIN>
300			<END>&lt;/script&gt;</END>
301		</SPAN>
302
303		<SPAN TYPE="MARKUP" DELEGATE="ASPPL_CSJS">
304			<BEGIN>&lt;script language="javascript"&gt;</BEGIN>
305			<END>&lt;/script&gt;</END>
306		</SPAN>
307
308		<SPAN TYPE="MARKUP" DELEGATE="ASPPL_CSJS">
309			<BEGIN>&lt;script&gt;</BEGIN>
310			<END>&lt;/script&gt;</END>
311		</SPAN>
312
313		<!-- Server-Side include -->
314		<SPAN TYPE="MARKUP">
315			<BEGIN>&lt;!--#</BEGIN>
316			<END>--&gt;</END>
317		</SPAN>
318
319		<!-- SGML comment -->
320		<SPAN TYPE="COMMENT1">
321			<BEGIN>&lt;!--</BEGIN>
322			<END>--&gt;</END>
323		</SPAN>
324
325		<!-- stylesheet -->
326		<SPAN TYPE="MARKUP" DELEGATE="css::MAIN">
327			<BEGIN>&lt;STYLE&gt;</BEGIN>
328			<END>&lt;/STYLE&gt;</END>
329		</SPAN>
330
331		<!-- markup tags -->
332		<SPAN TYPE="MARKUP" DELEGATE="ASPPL_TAGS">
333			<BEGIN>&lt;/</BEGIN>
334			<END>&gt;</END>
335		</SPAN>
336
337		<SPAN TYPE="MARKUP" DELEGATE="ASPPL_TAGS">
338			<BEGIN>&lt;</BEGIN>
339			<END>&gt;</END>
340		</SPAN>
341
342		<!-- SGML entities -->
343		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
344			<BEGIN>&amp;</BEGIN>
345			<END>;</END>
346		</SPAN>
347	</RULES>
348
349	<!-- ******************************************************************
350	     HTML Tags
351	     ****************************************************************** -->
352	<RULES SET="ASPVB_TAGS" DEFAULT="MARKUP">
353		<SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
354			<BEGIN>&lt;%</BEGIN>
355			<END>%&gt;</END>
356		</SPAN>
357	</RULES>
358
359	<RULES SET="ASPJS_TAGS" DEFAULT="MARKUP">
360		<SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
361			<BEGIN>&lt;%</BEGIN>
362			<END>%&gt;</END>
363		</SPAN>
364	</RULES>
365
366	<RULES SET="ASPPL_TAGS" DEFAULT="MARKUP">
367		<SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
368			<BEGIN>&lt;%</BEGIN>
369			<END>%&gt;</END>
370		</SPAN>
371	</RULES>
372</MODE>