File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes xml conversion 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 "xml conversion" Watch "xml conversion" New topic

xml conversion

Rajusa Raj

Joined: Jun 06, 2008
Posts: 3

I need a help on XML parsing. My requirement is 1. read an XML file and has to create a database(MYSQL) table, based on the XML structure. 2. Need to insert the parsed XML file data into that table. XML file size will be 1+ MB. 3. XML file structure will be changed thoroughly, So, Table should be created programmatically. No manual changes again. Could anyone help me on this.
The XML structure will be like this.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
How far have you gotten in this project? Do you know how to parse an XML document with DOM or SAX methods? If not you should find a tutorial and start simply. Worry about the database side after you are comfortable with parsing.

Harold's VERY complete book is available online for free.

I see that you have asked this question several times - WHY? Are you expecting somebody to hand you a complete solution?
[ June 07, 2008: Message edited by: William Brogden ]
I agree. Here's the link:
subject: xml conversion
It's not a secret anymore!