PageRenderTime 67ms CodeModel.GetById 63ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-1-pre5/modes/sgml.xml

#
XML | 47 lines | 34 code | 7 blank | 6 comment | 0 complexity | c33c8e54b18f29d2ffec91a6928f1a85 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		<!-- SGML comment -->
12		<SPAN TYPE="COMMENT1">
13			<BEGIN>&lt;!--</BEGIN>
14			<END>--&gt;</END>
15		</SPAN>
16
17		<!-- DTD Entity declarations -->
18		<SPAN TYPE="KEYWORD2" DELEGATE="xml::ENTITY-TAGS">
19			<BEGIN>&lt;!ENTITY</BEGIN>
20			<END>&gt;</END>
21		</SPAN>
22
23		<!-- CDATA sections -->
24		<SPAN TYPE="KEYWORD2" DELEGATE="xml::CDATA">
25			<BEGIN>&lt;![CDATA[</BEGIN>
26			<END>]]&gt;</END>
27		</SPAN>
28
29		<!-- DTD instructions -->
30		<SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
31			<BEGIN>&lt;!</BEGIN>
32			<END>&gt;</END>
33		</SPAN>
34
35		<!-- markup tags -->
36		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
37			<BEGIN>&lt;</BEGIN>
38			<END>&gt;</END>
39		</SPAN>
40
41		<!-- SGML entities -->
42		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
43			<BEGIN>&amp;</BEGIN>
44			<END>;</END>
45		</SPAN>
46	</RULES>
47</MODE>