Subject: [xsl] [Ann] XQuery support added to the (XSLT coded) XML Spectrum syntax-highlighter From: Philip Fearon <pgfearo@xxxxxxxxxxxxxx> Date: Mon, 10 Jun 2013 21:12:23 +0100 |
Dear list, Just a quick note to say I've added XQuery support to the XML Spectrum syntax-highlighter that generates an HTML/CSS output. To keep things flexible, all processing is done by standard XSLT 2.0. The lexer/tokenizer was hand-coded in about 1000 lines. Performance was not a key consideration, but a 2MB XQuery file (XQueryML30.xq) is transformed to syntax-highlighted HTML in just over a minute on a high-spec laptop - or put another way, 1300 lines of XQuery is transformed in about 3 seconds. Coloring is by CSS which may be inline, internal or external. A few popular color themes are supported, these are fully configurable via XML. Whitespace is preserved as-is, re-formatting of the XQuery and inter/intra-module cross-referencing hyperlinks are not yet supported. The other standards already supported are: XSLT 2.0, XPath 2.0, XML Schema 1.1, XProc and Schematron. The XMLSpectrum-FX GUI front-end for the XSLT (a Java-FX app) has also been updated. XMLSpectrum is an open source project. The source code and app are available from GitHub at: https://github.com/pgfearo/xmlspectrum Many thanks Phil Fearon
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting max/min numbers o, Martin Honnen | Thread | [xsl] XSL-FO, vertical text in tabl, Jesper Tverskov |
RE: [xsl] Getting max/min numbers o, Michele R Combs | Date | [xsl] XSL-FO, vertical text in tabl, Jesper Tverskov |
Month |