MySQL Forums
Forum List  »  Connector/Node.js

Re: XML 2 MYSQL
Posted by: Jonathan Stephens
Date: June 16, 2007 05:19AM

For MySQL 5.0, you'll have to write some kind of parser application to turn the XML into INSERT statements.

For MySQL 5.1, the job might be much simpler using the XML/XPath functions that have been added in that version.

See in particular the ExtractValue() function http://dev.mysql.com/doc/refman/5.1/en/xml-functions.html#function_extractvalue, which now supports variables in XPath expressions.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
June 15, 2007 04:14AM
Re: XML 2 MYSQL
June 16, 2007 05:19AM
June 16, 2007 01:27PM
July 01, 2007 12:49PM


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.