Simple XML-to-Python conversion

gaudetteje at gmail.com gaudetteje at gmail.com
Wed Mar 16 23:19:49 CET 2005


I've been searching high and low for a way to simply convert a small
XML configuration file to Python data structures.  I came across gnosis
XML tools, but need a built-in option for doing something similar.

My knowledge of DOM and anything beyond simple XML structures is
rudimentary at best.  Is there a simple way to use SAX handlers to pull
attributes and elements into Python lists/dictionaries?




More information about the Python-list mailing list