[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Generating CSV : Line feed and carriage return not

Subject: Re: Generating CSV : Line feed and carriage return not working
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Mon, 7 Jul 2003 11:45:28 +0100
xslt line feed
Hi Allistair,

> I a using
>
> <xsl:output method="text"/>
>
> And then to get a new line I have tried both
>
> &#10;&#13;
>
> and 
>
> <xsl:text>&#10;&#13;</xsl:text>
>
> Neither generates a new line when I view the output in IE 6.

The latter (using <xsl:text>) should give you a new line (actually two
newlines probably). The problem is probably that when you view your
document in IE6, it thinks you're viewing HTML, in which whitespace
isn't significant. Try performing the transformation using a
command-line XSLT processor so that you can save the result and then
have a look at that result in a normal text editor; you should see the
newlines.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.