Martin v. Löwis wrote: >> Is there a standard xml package for Python? Preferably high-level, fast >> and that can parse in-file, not in-memory since I have to deal with >> potentially MBs of data. > > 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.
note that the requirements included "high-level" and "fast"; sax is low-level, error-prone, and once you've finally fixed all the remaining bugs in your state machine, not that fast, really. </F> -- http://mail.python.org/mailman/listinfo/python-list