This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xml 2 csv



Thinking ahead on this one...

Is there anything special that needs to be done to handle quotes in the 
data or commas in the data? The idea of using a table seems to be a great 
work around for handling the potential commas and quotes in the data.

If I HAD to write something that handled the generic case (and it looks 
like I will soon) I think I could simply use the text functions in xslt to 
look for those characters and replace them with the correct escape 
sequences.

Unless I missed something else.  Have I?

Thanks

bruce

-----Original Message-----
From:	Eric Vitiello [SMTP:xsl-list@perceive.net]
Sent:	Friday, November 16, 2001 5:12 AM
To:	xsl-list@lists.mulberrytech.com
Subject:	Re: [xsl] xml 2 csv

-- Jan Weiss [Fri, 16 Nov 2001 10:21:06 +0100]:
>hi all,
>
>i am transforming xml into three output formats: html, pdf and xml
>
>now i would like to know, if it is also possible to transform xml
>into csv
>files
>so i can view it with microsoft excel in my browser??
>if it is, what do i need to use and is there a reference about that
>topic
>somewhere?
>
>
>at the moment i am using saxon 6.2 and fop 0.19.0 for transformation.
>
>hope someone can help!


Microsoft excel will also open up an HTML file with a table in it, just as 
if it were a .xls


-e.
perceive designs
<www.perceive.net>


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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]