high level, fast XML package for Python?

"Martin v. Löwis" martin at v.loewis.de
Wed Sep 20 13:18:54 EDT 2006


Paul Boddie schrieb:
>> It seems that everybody is proposing libraries that use in-memory
>> representations. There is a standard xml package for Python, it's
>> called "xml" (and comes with the standard library). It contains a
>> SAX interface, xml.sax, which can parse files incrementally.
> 
> What about xml.dom.pulldom? It quite possibly resembles ElementTree's
> iterparse, or at least promotes event-style handling of XML information
> using some kind of mainloop...

Right; that also meets the criteria of being standard and not
in-memory (nobody had mentioned it so far).

Whether it is high-level and fast is in the eyes of the beholder
(as they are relative, rather than absolute properties).

Regards,
Martin



More information about the Python-list mailing list