[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] [ANN] Updates to XMLSpectrum syntax highlighter

Subject: [xsl] [ANN] Updates to XMLSpectrum syntax highlighter
From: "Philip Fearon pgfearo@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Dec 2014 09:38:01 -0000


I've recently updated XMLSpectrum on GitHub to fix issues and align
the XSLT 3.0 syntax highlighting with the latest spec (W3C Last Call
Working Draft 2 October 2014).

Main changes
1. Text value templates now parsed properly on xslt *and* non-xslt elements
2. List or <expression> attributes updated to reflect the spec
3. New sample Bash and Dos helper scripts for invoking the XSLT
processor and resolving the sourcepath argument to the current
directory (if relative)
4. Map constructors from XPath 3.1 supported
5. Minor styling improvements and a new color theme added
6. XMLSpectrum-FX GUI updated to use latest XSLT

The new XSLT 3.0 xsl:use-package instruction info is not resolved to a
filepath when generating the TOC for a mutli-package XSLT project.
i.e.only xsl:include and xsl:import instructions are followed when
building the globals map.

As a reminder, XMLSpectrum is implemented as pure XSLT 2.0 but with
lexical preservation assured by parsing the input as text (using
fn:unparsed-text). It works with XSLT 3.0 and XQuery 3.0, plus other
XML formats that have XPath embedded - such as XSD 1.1. The output is
HTML5, a CSS file for the chosen colour theme is generated by default
but the output may include inline CSS styling if required.

XMLSpectrum is open source (apache 2.0 license) and can be downloaded
from: http://github.com/pgfearo/xmlspectrum

(Please submit any issues on the GitHub project page)

Many thanks,

Phil Fearon

Current Thread