Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 7th, 2005, 07:48 AM
Registered User
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML to CSV

Hi All,

I have a task. I have to convert some XML file to CSV format.
What do you suggest? Trying a converter, or trying to code?

Thanks,
Attila

 
Old September 7th, 2005, 08:00 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

If it's very simple XML, and it's a one off job, try loading it into Excel and exporting as CSV. If that doesn't meet the requirements, write a little XSLT to do the job.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old September 7th, 2005, 08:51 AM
Registered User
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Thanks It's working.
But I need an automatic script wich is converting the XML to SCV






Similar Threads
Thread Thread Starter Forum Replies Last Post
translating XML into CSV file vxc2222 XSLT 1 December 29th, 2007 12:01 PM
.csv to xml conversion balakrishna XML 0 March 5th, 2007 01:07 PM
CSV and XML with PHP NEO1976 PHP How-To 1 July 17th, 2006 02:33 AM
Nested XML to CSV transformation 2Poc XSLT 2 September 19th, 2005 03:11 AM
convert xml to csv woofy77 XSLT 0 December 8th, 2003 02:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.