[EMAIL PROTECTED] wrote: > suppose i want to > make foo.childNodes[bar] available as foo[bar] > (while still providing access to the printxml/printprettyxml() > functions > 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 __getitem__-functionality. Diez -- http://mail.python.org/mailman/listinfo/python-list