xml.sax.xmlreader and expat
stefan.behnel-n05pAM at web.de
Wed Jun 28 08:40:24 CEST 2006
Fredrik Lundh wrote:
> Gary Robinson wrote:
>> We're using xml.sax.xmlreader in our app (http://www.goombah.com,
>> which is written in Python).
>> In Python 2.3.x, does that use the C-language expat under the hood?
>> The reason I'm asking is because we're wondering if we can speed up
>> the parsing significantly.
> if you want speed, you don't really want any of the xml.sax or xml.dom
> stuff. I'm a bit biased, but I'd recommend the iterparse interface to
or to lxml (if you want to do more than just parsing):
More information about the Python-list