Re: [xsl] Generating CSV : Line feed and carriage return not working

Subject: Re: [xsl] Generating CSV : Line feed and carriage return not working
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Jul 2003 11:48:32 +0100

  <xsl:text>&#10;&#13;</xsl:text>

  Neither generates a new line when I view the output in IE 6.

XSLT generates HTML, not the image you see in a browser.

<xsl:text>&#10;</xsl:text>
produces a newline in the result, but newlines are treated as
spaces in an HTML system, look at
<p>
one
two
three
</p>
in IE6.

If you want to generate a new line in the rendered result, you don't
want a newline character you want a <br/> element.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread