We sometimes do something similar at work, but not on python. In this case, for each use, the user program must be recorded. We only have the SAX parser. Using an XML decoder to get a dictionary / hash in one step will help a lot.
At least you will need to say which tags map to tables and fields, no pre-existing lib can know that ...
source
share