In article <[email protected]>, Stefan Behnel <[email protected]> wrote: > >First of all: don't use SAX. Use ElementTree's iterparse() function. That >will shrink you code down to a simple loop in a few lines.
Unless I'm missing something, that only helps if the final tree fits into memory. What do you suggest other than SAX if your XML file may be hundreds of megabytes? -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ "...if I were on life-support, I'd rather have it run by a Gameboy than a Windows box." --Cliff Wells -- http://mail.python.org/mailman/listinfo/python-list
