Jump to content

How can I convert a csv file to an xml file given an xsd


Guest bansheebear

Recommended Posts

Guest bansheebear

Hi there,I have the three below things.1) a csv file in which the first row is the column name, and the other rows are data.2) an xsd file which describes how how the xml file should be created3) an example of what the xml file should look like.Is there a way to take the csv + xsd and somehow get the xml file I need using Excel or maybe some other tool? I would really like to be able to do it via Excel as this tool is already available.I can provide samples of the csv, xsd and sample xml on request.Can this be done in excel 2003/2007 or in some other tool?Thanks very much.

Link to comment
Share on other sites

No. AFAIK, there are no tools that could take these as inputs and generate XML out of it. You can always make yours in any programming language though.PHP is probably the easiest, as it can read CSV files, and it has APIs for generating XMLs and validating them against an XML Schema. But like I said, it can be done in basically any language.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...