PageRenderTime 199ms CodeModel.GetById 189ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre3/modes/asp.xml

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