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

Re: XML to CSV columns problem

Subject: Re: XML to CSV columns problem
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Mon, 20 Apr 2009 11:50:49 +0200
Re:  XML to CSV columns problem
Byomokesh Sahoo schrieb:
Hi All,

I am writing one xslt to convert xml to csv. My problem is Data is not
coming proper column wise. Some data is coming extra tag (compare two
products).

Others will probably tell you how to do it in XSLT, but my advice is to use the CSV module or extension of a language you invoke your XSLT processor from, like Text::CSV_XS in Perl (very good), or maybe SuperCSV in Java (haven't tested that one). Use XSLT to assemble data for rows, then call out to your CSV module by means of an extension function you've registered with the XSLT processor.

You should also find numerous references to XSLT + CSV in the archives.

Michael

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.