XML DOM, but in chunks

Sean Davis seandavi at gmail.com
Wed Oct 31 16:24:43 EDT 2007


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?
Alternatively, are there other ways that would allow one to parse out
a record at a time and maintain some nice ways of accessing the
elements within the record?

Thanks,
Sean




More information about the Python-list mailing list