Re: [xsl] XML to EXCEL

Subject: Re: [xsl] XML to EXCEL
From: Antonio Fiol <fiol@xxxxxxxxxx>
Date: Tue, 16 Jul 2002 21:34:18 +0200
Mathy V Arumugam wrote:


Ok, I have modified the xml file to: <?xml-stylesheet type='text/csv' href='test.xsl'?>

Nope... type="text/xml" here. Your stylesheet is XML, isn't it?



<xsl:output method="text" encoding="ISO-8859-1"/>

You will need to look at the spec. You need to add the media type to the output element, but I can't remember the exact ssyntax.


http://www.w3.org/TR/xsl/


You need to output your table as


header1,header2,header3
123,456,789
987,654,321
46,79,13
31.97,64

It is up to you to do the right formatting. XSLT will help, but will not do it for you.

And neither can I... Sorry.


Antonio



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



Current Thread