Using sax libxml2 html parser

Stefan Behnel stefan.behnel-n05pAM at
Sat Jan 6 13:16:43 CET 2007

cesar.ortiz at wrote:
> I have created an example using libxml2 based in the code that appears
> in
> My example processes an enough amount of html files to see that the
> memory consumption rises till the process ends (I check it with the
> 'top' command).

Try the lxml binding for libxml2. It relieves you from having to do your own
memory management and makes using that library plain easy.


More information about the Python-list mailing list