XML DOM, but in chunks

Tommy Nordgren tommy.nordgren at comhem.se
Wed Oct 31 21:27:31 EDT 2007


On 31 okt 2007, at 22.36, Tommy Nordgren wrote:

>
> On 31 okt 2007, at 21.24, 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?
>> 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
>>
>> --   
>> http://mail.python.org/mailman/listinfo/python-list
> 	You need a Python (or other language) implementation of the SAX API
> 	
	The module you need is xml.sax
----------------------------------
Skinheads are so tired of immigration, that they are going to move to  
a country that don't accept immigrants!
Tommy Nordgren
tommy.nordgren at comhem.se






More information about the Python-list mailing list