[lxml-dev] time for ideas: a good API for iterparse() on HTML ?
Stefan Behnel
stefan_ml at behnel.de
Fri Sep 21 08:50:46 CEST 2007
Stefan Behnel wrote:
> The alternatives would be an "html" keyword option to iterparse (the straight
> forward, simple solution, but which we use nowhere else in the API):
>
> >>> iterator = etree.iterparse(f, html=True)
I implemented this on the trunk for now. I'm not particularly happy about it,
but it'll do for an alpha release.
Any comments appreciated.
Stefan
More information about the lxml-dev
mailing list