summaryrefslogtreecommitdiff
path: root/support/highlight/langDefs/xml.lang
blob: ced4d44b2226040cc45fa3e5077e9ebebc5f5177 (plain)
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
# XML language definition file
#
# Author: Andre Simon
#   Mail: andre.simon1@gmx.de
#   Date: 02.03.2003
# Update: 06.01.2009
# ------------------------------------------
# This file is a part of highlight, a free source code converter released under the GPL.
#
# The file is used to describe keywords and special symbols of programming languages.
# See README in the highlight directory for details.
#
# New definition files for future releases of highlight are always appreciated ;)
# ----------
# andre.simon1@gmx.de
# http:/www.andre-simon.de/

$DESCRIPTION=XML

#$KEYWORDS(kwa)=regex(<!?\/?\??[\w\:\-]+>?|\??/?>)
$KEYWORDS(kwa)=regex(<!?(?!\-\-)\/?\??[\w\:\-]+>?|\??/?>, 0)

$KEYWORDS(kwb)=regex(([-\w]+)=")
$KEYWORDS(kwd)=regex(\&\#?\w+;)
$STRINGDELIMITERS="
$ML_COMMENT= <!-- -->
$IGNORECASE=true