Re: Re: xml highlight problem
Lorenzo Bettini <[email protected]> Sun, 08 Oct 2006 19:44:01 +0200
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
Lorenzo Bettini wrote: > Attached, you find the fixed xml.lang definition file, which now > highlights xml file correctly. ehm... sorry... forgot the attachment :-) -- +-----------------------------------------------------+ | Lorenzo Bettini ICQ# lbetto, 16080134 | | PhD in Computer Science, DSI, Univ. di Firenze | | Florence - Italy (GNU/Linux User # 158233) | | http://www.lorenzobettini.it | | http://tronprog.blogspot.com BLOG | | http://www.purplesucker.com Deep Purple Cover Band | | http://www.gnu.org/software/src-highlite | | http://www.gnu.org/software/gengetopt | | http://www.lorenzobettini.it/software/gengen | | http://www.lorenzobettini.it/software/doublecpp | +-----------------------------------------------------+ _______________________________________________ Help-source-highlight mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-source-highlight
xml.lang
(text/plain, 374 B)
state preproc delim "<?xml" "?>" multiline begin string delim "\"" "\"" escape "\\" multiline end comment delim "<!--" "-->" multiline nested keyword = '<(/)?[[:alnum:]:_]+(/)?>' state keyword delim '<(/)?[[:alnum:]:_]+' '(/)?>' multiline begin type = '[^="[:blank:]>]+' symbol = "=" string delim "\"" "\"" escape "\\" multiline end preproc = '&([[:alnum:]]+);'