File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate XML using XSD and data in CSV