If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > how to dump XML data in to MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-06, 11:26
kapil.dhakad kapil.dhakad is offline
Registered User
 
Join Date: Jul 2005
Posts: 11
how to dump XML data in to MySQL

hi,

I have .xml file which contains data for a table. How can I dump this data into table of MySQL database.

Is there any way to do this using java program ? So that I can provide option to user to upload file using web application and after uploading file, if user click on "Load Data" the data will get load into tables.

Thanks In Advance
- Kapil Dhakad
IT Shastra (I) Pvt. Ltd.
Reply With Quote
  #2 (permalink)  
Old 04-20-06, 16:31
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
You're going to have to write an XML parser for your files. Or find a very flexible one somewhere.
__________________
Give a man a fish and you feed him for a day. Teach a man to fish and you lose a steady customer.
-----------
Eclectic Web Development (under heavy construction)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On