[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [Ann] XQuery support added to the (XSLT coded) XML Sp
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|