Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CSV to XML??

843834May 26 2007 — edited Jun 10 2007
Hi

I need to convert a csv file to xml.
Can anyone give me any advice on any approaches.

I read a few articles about this can be done with XSLT but none of these articles covered how you might instantiate this process from within a java method.

What I want to do in my method specifically is:

1. get the CSV file
2. transform to xml (I have a schema - W3C XML schema language)
3. then validate the xml file against my schema


Any advice appreciated?

kind regards
Jon Jackson
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2007
Added on May 26 2007
1 comment
221 views