xml to mysql (vice versa ) too

swapna mudavath swapna.nitw at gmail.com
Mon Jun 23 07:57:03 EDT 2008


Hi,

I need to write a python script to store data which is in XML to MYSQL and
even vice versa....
what should be the approach?
i am able to establish a connection,create tables and insert data .....
but how to read an xml file and store in MYSQL....
my XML structure is like

<list  title=" xyz", id = "1",........>
    <item name="  abc" ,pos="1",........>
    </item>
    <item  name =" hgdf", pos ="3",......>
    </item>
   .
   ....
   ...
</list>
can somebody please help me......i am really confused!!!!!!

thanks in advance  :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080623/29e818c5/attachment.html>


More information about the Python-list mailing list