Processing XML that's embedded in HTML
Stefan Behnel
stefan.behnel-n05pAM at web.de
Wed Jan 23 11:49:44 EST 2008
Mike Driscoll wrote:
> Both the normal parser example and the objectify example you gave me
> give a traceback as follows:
>
> Traceback (most recent call last):
> File "\\clippy\xml_parser2.py", line 70, in -toplevel-
> for row in tree.iterfind("//Row"):
> AttributeError: 'etree._ElementTree' object has no attribute
> 'iterfind'
>
>
> Is there some kind of newer version of lxml?
Yep, lxml 2.0. It's currently in beta, but that doesn't say much.
http://codespeak.net/lxml/dev/
Stefan
More information about the Python-list
mailing list