"Ping Yeh" <[EMAIL PROTECTED]> wrote:
> I'm looking for something like
>
> xml.sax.parseFile('data0.xml', myContentHandler)
> objects = myContentHandler.getObjects() # returns an iterator
> for obj in objects: # reading occurs here (delayed reading)
> # do something with obj...
>
> But I haven't found any. I'm not sure this is possible with current
> architecture of parsers. Any advise is highly appreciated.
http://online.effbot.org/2004_12_01_archive.htm#element-generator
http://online.effbot.org/2004_12_01_archive.htm#element-generator-2
</F>
_______________________________________________
XML-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/xml-sig