RE: [xsl] xml 2 csv

Subject: RE: [xsl] xml 2 csv
From: "Jan Weiss" <jweiss@xxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Nov 2001 15:40:16 +0100
thanx a lot, cyril!!!







-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Cyril Rognon
Sent: Freitag, 16. November 2001 14:42
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] xml 2 csv


the csv format tells you to insert line break to finish a row.

insert a line break with this :
<xsl:text>
</xsl:text>

with MSXML you may have to put a real CR or FL caracter
<xsl:text>&#10;</xsl:text>


as for some servlet response to launch some sowftare to directly handle you
csv file, you must either set the url with the corrrect end (.csv) and be
sure your browser will use Excel , or set the content type of the servlet's
answer to the correct mime type ("application/vnd.ms-excel" ?).

Cyril Rognon

At 14:19 16/11/2001 +0100, you wrote:
>and how am i able to get an output for each line:
>at the moment, all the data appears in one line.
>
>another question:
>
>i am using jakarta-tomcat which sends the data to my browser. now i want
>excel to open when i send the csv data. is this possible? with pdf it works
>(to open acrobat) without any problem.


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


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


Current Thread