[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[Ann] XMLSpectrum - Update to support reformatting of

Subject: [Ann] XMLSpectrum - Update to support reformatting of malformed XSLT
From: Philip Fearon <pgfearo@xxxxxxxxxxxxxx>
Date: Mon, 25 Mar 2013 09:17:58 +0000
 [Ann] XMLSpectrum - Update to support reformatting of
I've updated XMLSpectrum so it can now correct the formatting of
indented multi-line XPath expressions which may be corrupted by XSLT
editors when such expressions are copied and pasted or the host XSLT
is reformatted.

The highlight-file.xsl is the entry point in XMLSpectrum, so this can
be set up as a scenario within the editor with the XSLT parameters for
'indent' set to the required number of spaces and 'auto-trim' and
'css-inline' set to 'yes'. With my editor, the properly formatted code
is opened automatically in a browser from which I then paste into the
editor - unfortunately, I first need to disable the editor's own
'smart' formatting to prevent the formatting being corrupted again.

Using XMLSpectrum in this way is somewhat cumbersome, but seems to be
the best way of fixing this issue until XSLT editors improve support
for XPath formatting (at least one vendor is looking into this).

XMLSpectrum can be downloaded from Github on:

https://github.com/pgfearo/xmlspectrum

----------
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.