xml to csv
Posted by joy
Does anyone know of an app that will convert XML files to CSV?
And no, I do not have access to the latest version of Microsoft Office. And Open Office could do it, but I’d be forced to create a filter by hand.
Does anyone know of an app that will convert XML files to CSV?
And no, I do not have access to the latest version of Microsoft Office. And Open Office could do it, but I’d be forced to create a filter by hand.
This entry was posted on Wednesday, August 25th, 2004 at 6:03 pm and is filed under Tech. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.
August 25th, 2004 at 7:35 pm
CSV is typically flat, while XML is typically nested. XML is much better-suited to S-expressions. Of course it depends on what you’re trying to convert.
If it’s simple enough you could just try doing something with XSLT.
August 25th, 2004 at 9:20 pm
It’s a long story. Basically, I’m using an old version of MS Office and I have data in this XML file that I’d like to import either into .CSV or into an Access table.
August 26th, 2004 at 10:45 am
Okay, and is it flat data, or is it hierarchical? Again, flat would be pretty easy to do via XSLT, but hierarchical wouldn’t, since CSV is strictly flat.
August 26th, 2004 at 7:46 pm
It’s a long story. Basically, I’m using an old version of MS Office and I have data in this XML file that I’d like to import either into .CSV or into an Access table.
How fast do you need it: for work I’m a step away of focussing on a couple of XML import routines. Secondly, as fluffy said, how hierarchical does it look like?
August 26th, 2004 at 10:07 pm
Arthur, what are you importing into?
The data isn’t that hierarchical, it’s basically database data in XML.
August 27th, 2004 at 6:59 am
Arthur, what are you importing into?
Postgres.
August 27th, 2004 at 7:01 am
it’s basically database data in XML.
If it’s not personal data, send me a sample to my gmail-address, so I can see what I can do with it.
September 6th, 2004 at 8:20 pm
Did you ever resolve this?
September 9th, 2004 at 10:25 pm
I did solve the problem….. I got a copy of Office 2003 (long story, to be told later) and it can read the malformed xml out of the box.