Re: XML syntax highlighting



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]