SAX/Python : read an xml from the end to the top

Peter Hansen peter at engcorp.com
Tue Mar 7 19:17:08 CET 2006


kepioo wrote:
> Peter,
> 
> I cannot really process as your advice : it is not that stereotypical
> entries....we built a data structure for the xml and we report various
> types of events, always under the same format but with different
> contents types.
> 
> The script i am writing aims at picking only special events (
> identified by a route tag and an information tag).

Can you post one or two small examples that show the range of 
possibilities?  I still have this feeling there will be a simpler 
approach than really parsing the XML, but maybe I'm wrong.

-Peter




More information about the Python-list mailing list