[Python-ideas] etree improvements

Dj Gilcrease digitalxero at gmail.com
Mon Aug 3 07:44:54 CEST 2009


Well I find myself converting a project from an OLD version of minidom
(from back 1999  or so) to etree. And I find myself  wishing there was
something like the Element(Tree).findall / Element(Tree).getiterator
pair for Element(Tree).find and Element(Tree).findtext, like a
Element(Tree).iter_find / Element(Tree).iter_findtext that would
recurse till the whole tree is walked or they found the tag / path you
specified.

Something like http://dpaste.com/hold/74590/



More information about the Python-ideas mailing list