File: xml.syntax

package info (click to toggle)
mc 3%3A4.7.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 17,628 kB
  • ctags: 11,335
  • sloc: ansic: 95,090; sh: 12,633; perl: 2,075; makefile: 1,251; yacc: 288; python: 241; cs: 42; sed: 16
file content (46 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# XML syntax highlighting
#
# Author: Petr Kozelka <pkozelka@email.cz>
# http://kozelka.hyperlink.cz

context default
	keyword &*; white cyan
	spellcheck

context <!-- --> brightgreen
	spellcheck

context <! > yellow
	keyword '+' brightcyan
	keyword "+" brightcyan
	keyword whole DOCTYPE white red
	keyword whole PUBLIC brightred
	keyword whole SYSTEM brightred
	keyword whole NDATA brightred
	keyword whole CDATA white
	keyword whole #PCDATA white
	keyword whole EMPTY white
	keyword whole #REQUIRED white
	keyword whole #IMPLIED white
	keyword whole ELEMENT white
	keyword whole ENTITY brightred
	keyword whole ATTLIST white
	keyword whole %*; white cyan
	keyword \( lightgray
	keyword \) lightgray
	keyword \* lightgray
	keyword \? lightgray
	keyword \+ lightgray
	keyword \| lightgray
	keyword \, lightgray
	spellcheck

context <\?xml \?> white red
context <\? \?> lightgray black
context < > white
	keyword \sxmlns\:*\="+" brightred
	keyword \sxmlns\="+" brightred
	keyword \s*= yellow
	keyword '*' brightcyan
	keyword "*" brightcyan
	spellcheck