[xsl] Re: XSL Line Breaks/Indentation - Please !!!

Subject: [xsl] Re: XSL Line Breaks/Indentation - Please !!!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 27 Apr 2001 09:27:01 +0100
  <xsl:text disable-output-escaping="yes">&lt;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

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,


This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread