xsl-list
[Top] [All Lists]

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

2008-05-21 11:37:42
<xsl:output indent="yes"/>

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

-----Original Message-----
From: Ben Stover [mailto:bxstover(_at_)yahoo(_dot_)co(_dot_)uk] 
Sent: 21 May 2008 19:24
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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




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



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