On Oct 31, 4:43 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Wed, 31 Oct 2007 20:24:43 +0000, Sean Davis wrote: > > I have some very large XML files that are basically recordsets. I > > would like to access each record, one-at-a-time, and I particularly > > like the ElementTree library for accessing the data. Is there a way > > to have ElementTree read only one record of the data at a time? > > Have you tried `iterparse()`? > > Ciao, > Marc 'BlackJack' Rintsch
Detailed docs at http://effbot.org/zone/element-iterparse.htm George -- http://mail.python.org/mailman/listinfo/python-list