Version 0.4 from: Phil Fearon
XMLSpectrum-FX is a simple graphical front-end for controlling an XSLT transform that converts XPath and related languages to a form rendered in HTML. The application is coded in Java-FX 2.2
The Saxon-HE XSLT 2.0 processor from Saxonica is discributed with this application.
Download the xmlspectrum-fx.zip file, expand it and then copy it to your chosen install path.
From the command-line run
java -version to check that you have the latest version of Java installed on your machine - this should be at least Java 1.7.0_07-b11.
Using the command shell of your OS, navigate to the install path and run XMLSpectrum-FX with the following:
java -jar XMLSpectrum-FX.jar
Once launched, you will see the main XMLSpectrum-FX window. This comprises an embedded browser (Webkit) with a vertical control panel to the right of it. Above the browser you will find a text-box; enter the URL or path of a source file here, alternatively, drag-and-drop a local file from your file manager to this location.
With the text-box populated with a valid URL or file-path, press the adjacent Run button. You should now see the source code rendered in the browser view in colorised form and formatted in accordance with the parameter settings in the control panel.
This product's main use is as a product demonstrator and graphical test-harness for the XMLSpectrum XSLT stylesheets which are really optimised for server-side document-processing. However, it may also prove useful as an ad-hoc tool for preparing XPath/XSLT code snippets ready for publishing on the web.
Large files or projects may take a while to process; to ensure UI responsiveness, all transforms are performed on a separate thread. The XMLSpectrum status bar below the HTML view is updated continusouly to show the progress of a transform
Settings for syntax-coloring and formatting are managed from the 2 vertical panels surrounding the browser view. The following settings are available:
Please contact firstname.lastname@example.org with any issues, queries or feature requests, I will do my best to give a timely reply but please bear in mind that this is a 'spare-time' project so there may be other priorities.
This product was developed by Phil Fearon, it is free and requires no registration. The XMLSpectrum XSLT included is open source and available on GitHub for download. The Java-FX source code will be made available on request, but the emphasis is on the XSLT, not the GUI.
Also maintained by Phil Fearon: XMLQuire, an XML/XSLT editor for windows, PathEnq an online XPath 2.0 editor using Saxon-CE.
XMLQuire-WE is free of cost, there's no registration.
This product is designed to be platform independent and requires Java 1.7 or later. There is a dependency also on a Saxon XSLT processor - Saxon-HE is included with the product distribution.
XMLSpectrum-FX is distributed under the Apache 2.0 license. By using this software you agree to license conditions included in the notices directory of the distribution for this product and other third-party libraries.
You may not:
THE DEVELOPER OF THIS SOFTWARE IS NOT RESPONSIBLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES.