[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XSL Line Breaks/Indentation - Please !!!
- From: David Carlisle <davidc@nag.co.uk>
- To: thusharap@eurocenter.lk
- Date: Fri, 27 Apr 2001 09:27:01 +0100
<xsl:text disable-output-escaping="yes"><PRODUCT xml:lang="</xsl:text>
<xsl:value-of select="$attribValue"/>
why on earth are you doing that rather than outputting element and
attribute nodes?
Does anyone know how to put a line break in XSL ? I am trying to transform
one XML file to another XML file using XSL. However, resulting XML doesn't
have the formatting (line breaks, indentation etc) which is in the Source
XML.
By default (except with msxml) all white space in the input document is
preserved and will be copied to the output, so if you are losing white
space then you must be _removing_ it with your stylesheet,
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp