
May 31, 2006
4:19 p.m.
Hi all, Stefan Behnel wrote:
ElementTree's getiterator() can filter for any tag ("*"), but not for any tag within a namespace ("{namespace}*").
Note that it's not currently supported in findall, though, as we use the same implementation as ElementTree there.
Actually, it *does* work in findall. ET's _elementpath.py nicely passes the pattern on to getiterator(), so that lxml now supports it in getiterator() and the find*() methods. Stefan