Ben Stover wrote:
However I would like to keep the xml:space="preserve" instruction because it
ensures that the output is on a minimum human readable format.
Without this I have one very, very long line. This is unacceptable for me.
Is the XML input document not indented? The identity transformation
template will copy any text nodes so indentation should be preserved.
If the input is not indented then use
<xsl:output indent="yes"/>
in your stylesheet to have the XSLT processor indent the result when
serializing.
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
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>
--~--