[EMAIL PROTECTED] wrote: > The API reference isn't clear on whether parseString can only handle > discrete bits of valid XML
the documentation says that "parse" expects an XML document, and that "parseString" is the same thing, but parses from a buffer. it's probably easier to pass a BZ2File instance to "parse", but if you insist on doing incremental SAX parsing, the IncrementalParser class might be what you need: http://www.python.org/doc/current/lib/module-xml.sax.xmlreader.html http://www.python.org/doc/current/lib/incremental-parser-objects.html </F> -- http://mail.python.org/mailman/listinfo/python-list