[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] How to beautify XML source code?


Subject: [xsl] How to beautify XML source code?
From: "Ben Stover" <bxstover@xxxxxxxxxxx>
Date: Wed, 21 May 2008 20:24:49 +0200

After applying a XSLT stylesheet the resulting XML doc is rather scrambled.
Many tags are concatenated on a single line instead of split over multiple lines
and indended.

Currently I have to insert <xsl:text> &#10;</xsl:text> tages to get lines split. Very unconfortable.

How can I beautify such an ugly (but valid) XML doc otherwise?

Is there a source code beautifier XSL script or command line option (for Saxon)?

Ben


Current Thread
Keywords