XML Module problems

Martin von Loewis loewis at informatik.hu-berlin.de
Sun Mar 11 15:15:27 EST 2001


sean at digitome.com (Sean Mc Grath) writes:

> Yes. The original pyexpat used a list for attributes on the start
> element handler. A later version of pyexpat changed to a dictionary.
> The code on http://www.pyxie.org was changed to worth with both
> flavours of pyexpat.

The current version of pyexpat supports both: if the
ordered_attributes attribute of the Parser object is zero (which is
the default), it returns attributes; if it is nonzero, it returns
lists.

Regards,
Martin



More information about the Python-list mailing list