PageRenderTime 89ms CodeModel.GetById 87ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
XML | 51 lines | 36 code | 8 blank | 7 comment | 0 complexity | 69d8b9e502286e95918fa60f79e323b5 MD5 | raw file
 1<?xml version="1.0"?>
 2
 3<!DOCTYPE MODE SYSTEM "xmode.dtd">
 4
 5<MODE>
 6	<PROPS>
 7		<PROPERTY NAME="commentStart" VALUE="&lt;!--" />
 8		<PROPERTY NAME="commentEnd" VALUE="--&gt;" />
 9	</PROPS>
10	<RULES>
11		<!-- whitespace: (space and tab) -->
12		<WHITESPACE> </WHITESPACE>
13		<WHITESPACE>	</WHITESPACE>
14
15		<!-- SGML comment -->
16		<SPAN TYPE="COMMENT1">
17			<BEGIN>&lt;!--</BEGIN>
18			<END>--&gt;</END>
19		</SPAN>
20
21		<!-- DTD Entity declarations -->
22		<SPAN TYPE="KEYWORD2" DELEGATE="xml::ENTITY-TAGS">
23			<BEGIN>&lt;!ENTITY</BEGIN>
24			<END>&gt;</END>
25		</SPAN>
26
27		<!-- CDATA sections -->
28		<SPAN TYPE="KEYWORD2" DELEGATE="xml::CDATA">
29			<BEGIN>&lt;![CDATA[</BEGIN>
30			<END>]]&gt;</END>
31		</SPAN>
32
33		<!-- DTD instructions -->
34		<SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
35			<BEGIN>&lt;!</BEGIN>
36			<END>&gt;</END>
37		</SPAN>
38
39		<!-- markup tags -->
40		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
41			<BEGIN>&lt;</BEGIN>
42			<END>&gt;</END>
43		</SPAN>
44
45		<!-- SGML entities -->
46		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
47			<BEGIN>&amp;</BEGIN>
48			<END>;</END>
49		</SPAN>
50	</RULES>
51</MODE>