Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Importing XML Feed to a Mysql Database/table

Posted on 2011-03-08
1
Medium Priority
?
624 Views
Last Modified: 2012-05-11
Hello Folks,

I am looking for some information to would educate me on how one would go about downloading and inserting .xml data feeds into a mysql database.
Currently I know nothing about the method and would like to learn. the way in which the feeds are available to me is via a url.

e.g: http:mysite.com/mycategory/feedname.xml


Thanks in advance
0
Comment
Question by:Eaddy Barnes
1 Comment
 
LVL 4

Accepted Solution

by:
gizmola earned 2000 total points
ID: 35073809
This is a great summary article of the subject.  http://rpbouman.blogspot.com/2006/03/importing-xml-data-into-mysql-using.html

A more flexible solution is to use some sort of scripting language (PHP is a popular one) that comes with xml parsing routines, to read in the xml file, parse it and insert the data into one or more tables that match the implied structure of the xml.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question