[XML-SIG] Re: XML for scientific data storage and search
Fredrik Lundh
fredrik at pythonware.com
Wed Jan 12 20:54:52 CET 2005
"Ping Yeh" <ping at pingyeh.net> 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>
More information about the XML-SIG
mailing list