[Tutor] Extracting xml text

Stefan Behnel stefan_ml at behnel.de
Sun Jun 20 10:32:33 CEST 2010


Hi,

please don't top-post, it makes your replies hard to read in context.

Karim, 20.06.2010 10:24:
> On 06/20/2010 10:14 AM, Stefan Behnel wrote:
>> Use ElementTree's iterparse:
>>
>> from xml.etree.cElementTree import iterparse
 >> [...]
 >
> I know you are promoting Etree and I am very interesting in it.
> Is there any chance to have it integrated in future standard Python
> version?

The import above comes directly from the standard library (Python 2.5 and 
later). You may be referring to lxml.etree, which will most likely never 
make it into the stdlib.

Stefan



More information about the Tutor mailing list