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 -- http://mail.python.org/mailman/listinfo/python-list