MySQL Forums
Forum List  »  Connector/Node.js

Re: Import XML to MySql Table
Posted by: Roland Bouman
Date: March 14, 2006 05:48PM

Well, the question is, do need to insert it structured, or as-is?

If as-is (as a xml fragment) it's not that hard:

insert into t_table(xml) values load_file('path/to/my/file')

file must be on the server.
If structured, well, I'm afraid it be quite hard - at least to find a general solution (check out 5.1 -

Right now, I think xslt would be the most straigtforward way.

Options: ReplyQuote

Written By
March 14, 2006 07:08AM
Re: Import XML to MySql Table
March 14, 2006 05:48PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.