RE: [xsl] How to beautify XML source code?

Subject: RE: [xsl] How to beautify XML source code?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 21 May 2008 19:37:04 +0100
<xsl:output indent="yes"/>

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Ben Stover [mailto:bxstover@xxxxxxxxxxx] 
> Sent: 21 May 2008 19:24
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] How to beautify XML source code?
> 
> 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