[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

Subject: [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
 [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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.