lxml/ElementTree and .tail

Fredrik Lundh fredrik at pythonware.com
Thu Nov 16 15:17:02 CET 2006

Paul Boddie wrote:

>> It's not very difficult, really; especially if you, as Stefan said,
>> think in infoset terms rather "a sequence of little piggies" terms.
> Are piggies part of the infoset too? Does the Piggie class represent a
> piggie from the infoset plus a stretch of the road to the market? ;-)

no, they just appear in serialized XML.  if you want concrete piggies, you have
to wrap ET's iterparse function, or perhaps the XMLParser class.


More information about the Python-list mailing list