aspose file tools*
The moose likes XML and Related Technologies and the fly likes Generate XML using XSD and data in CSV Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Generate XML using XSD and data in CSV" Watch "Generate XML using XSD and data in CSV" New topic
Author

Generate XML using XSD and data in CSV

sam kulkarni
Greenhorn

Joined: Mar 18, 2011
Posts: 12
Hi All,

I have to generate an xml using XSD and data from CSV.
XSD contains all the header information required.
CSV would contain the data.

What approach should i use to generate xml using xsd and data from csv?
Also, the problem is I cannot generate java objects or POJO as there would be many different XSD's so creating soo many classes is not a feasible solution, that would unnecessary create java classes in source code.

Thanks in advance.

Cheers
 
Don't get me started about those stupid light bulbs.
 
subject: Generate XML using XSD and data in CSV