[lxml-dev] iterparse support ?
Hi list, Is there any plan to add the 'iterparse' method (or some kind emulation) of emulation to lxml.etree? I don't really know libxml2 but it should be possible to reproduce the iterparse semantics by using libxml2's SAX API, shouldn't it? Apparently, the yum developpers (the fedora package manager) found this missing feature to be a decisive drawback that prevented them to switch from ElementTree to lxml.etree: https://www.redhat.com/archives/fedora-devel-list/2005-May/msg00328.html I also wanted to implement a lxml.etree based XML parser plugin for rdflib, but I guess it's not wise to load all the XML tree in memory before actually constructing the RDF graph. BTW, the missing iterparse method should be mentionned on http://codespeak.net/lxml/compatibility.html Best, -- Olivier
participants (2)
-
Martijn Faassen
-
Olivier Grisel