python parser project
uche <[email protected]> Tue, 21 Jul 2009 10:19:13 -0700 (PDT)
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <6369de2b-a579-4a31-a6bf-9e627ef14b54@a37g2000prf.googlegroups.com> |
Hi All, I am developing a python parsing program. This program takes two inputs a comma dilimeted txt file and an xml file, which represents the structure of the datafile. I am using python minidom to read in the xml file and create a tree structure in an object file. The next thing to do is to insert the data into the respective fields of the tree. Once I am done, I'd like to send this object to an sql database. Has anyone attempted to do this ? Is there an example code online that I can reference to ? ... More specifically what code will allow me to combine the data and tree structure into a complete object that I can use to populate the sql database ? Thanks. _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig