[EMAIL PROTECTED] schrieb:
> I wrote a program that takes an XML file into memory using Minidom. I
> found out that the XML document is 10gb.
> 
> I clearly need SAX or something else?
> 
> Any suggestions on what that something else is? Is it hard to convert
> the code from DOM to SAX?

Yes.

You could used elementtree iterparse - that should be the easiest solution.

http://effbot.org/zone/element-iterparse.htm

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to