xsl-list
[Top] [All Lists]

[xsl] [Ann] XMLSpectrum - Update to support reformatting of malformed XSLT

2013-03-25 04:17:37
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] [Ann] XMLSpectrum - Update to support reformatting of malformed XSLT, Philip Fearon <=