instance as a sequence
Diez B. Roggisch
deets at nospam.web.de
Mon Nov 5 18:40:13 CET 2007
sndive at gmail.com wrote:
> suppose i want to
> make foo.childNodes[bar] available as foo[bar]
> (while still providing access to the printxml/printprettyxml()
> and other functionality of dom/minidom instance).
> What is a good way to accomplish that?
Using element-tree. That already gives you the iterable and
More information about the Python-list