[lxml-dev] Efficient methods to build a tree out of HTML structure?

Stefan Behnel stefan_ml at behnel.de
Fri May 16 11:14:59 CEST 2008


Hi,

Viksit Gaur wrote:
> 2) Things like iterwalk do return "start" and "end" actions - but 
> instead of first doing an iterwalk and then parsing the results, is 
> there a better way to construct the tree when iterwalk itself is running?

I don't understand what you mean here. Are you modifying the tree during the
iteration? Or do you think of some kind of pipelining?

Stefan


More information about the lxml-dev mailing list