XML DOM, but in chunks

George Sakkis george.sakkis at gmail.com
Thu Nov 1 04:27:17 CET 2007

On Oct 31, 4:43 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> 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


More information about the Python-list mailing list