[XML-SIG] automatically building Python data structures from DOM trees?
hanwen at xs4all.nl
Fri Dec 2 12:43:15 CET 2005
I'm looking for a package that will translate a minidom tree into
something which is native python, i.e. translate
<foo id="1" />
<foo id="2" />
into a python object, for which the following holds
bar.bla.id == "2"
Of course, I would have to supply a mapping from names like "bar" and
"bla" to my own classes (probably deriving from xml.node).
Does such a thing exist?
Han-Wen Nienhuys - hanwen at xs4all.nl - http://www.xs4all.nl/~hanwen
More information about the XML-SIG