[lxml-dev] lxml.html.ElementSoup
Stefan Behnel
stefan_ml at behnel.de
Mon Mar 10 09:28:24 CET 2008
Hi,
Ian Bicking wrote:
> I believe lxml.html.ElementSoup.parse doesn't have the same API as other
> parse functions -- it returns an element, where the other parse
> functions return trees.
>
> Also, should ElementSoup have a lower case name? (Maybe renaming it
> would make deprecating this parse behavior easier too)
I agree that it's not consistent, but it's how ET does it:
http://effbot.org/zone/element-soup.htm
Stefan
More information about the lxml-dev
mailing list