Monthly Archives: January 2008
Importing XML into a database with Python and SQLAlchemy
Let’s begin by analyzing the XML we want to import into our database, it consists of a book’s ISBN, title, and author. <!– books.xml –> <catalog> <book isbn=”1-880985-26-8″> <title>The Consumer</title> <author>M. Gira</author> </book> <book isbn=”0-679775-43-9″> <title>The Wind-Up Bird Chronicle</title> <author>Haruki … Continue reading
Posted in MySQL, Postgres, Python
Leave a comment