This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL Line Breaks/Indentation - Please !!!
- To: thusharap at eurocenter dot lk
- Subject: [xsl] Re: XSL Line Breaks/Indentation - Please !!!
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 27 Apr 2001 09:27:01 +0100
- CC: XSL-List at lists dot mulberrytech dot com, xml-dev at lists dot xml dot org
- References: <711677989624D411B81E0030050162552F69CB@eccolcom01.colombo.eurocenter.lk>
- Reply-To: xsl-list at lists dot mulberrytech dot com
<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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list