Re: XML syntax highlighting
- From: Pavel Roskin <proski gnu org>
- To: Petr Kozelka <pkozelka centrum cz>
- Cc: Mc-devel gnome org
- Subject: Re: XML syntax highlighting
- Date: Fri, 11 Jan 2002 00:52:36 -0500 (EST)
Hello!
> These two lines should come to file syntax/Syntax:
> ----------------------------------------------------------------------------
> -
> file ..\*\\.(xml|XML|xsd|xsl|xslt|dtd)$ XML\sdocument
> (xml\sversion|DOCTYPE\s)
> include xml.syntax
> ----------------------------------------------------------------------------
I improved this to include all uppercase extensions and to require "?" and
"!" before "xml version" and "DOCTYPE" respectively:
file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
include xml.syntax
> and the "xml.syntax" file is attached (gzipped)
Applied. Thank you!
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]