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 to EXCEL


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


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