[Python-au] simple XML->Dict tool

Darryl Ross spam at afoyi.com
Thu Sep 15 09:05:01 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Darryl Ross wrote:
> I'm trying to convert a simple xml document into a python dictionary,
> similar to SimpleXML for PHP and XML::Dumper for Perl.

> Does anyone have any pointers to something that would do what I need, or
> even some decent documentation on how to write a module to do it?

Thanks to the people who have responded to my question already -- talk
about quick! :)

I have tried I don't know how many different modules today, but I
finally settled on handyxml[1] which I was able to wrap to do what I need.

Regards
Darryl

[1] http://www.nedbatchelder.com/code/modules/handyxml.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDKR0c/XQ6DbmPjokRAmUCAJ4tatnti0KeVn1ZTPYDub05D/K9IgCdHvC9
nqrad79ASs7zedUDB6JNtJ8=
=rYZc
-----END PGP SIGNATURE-----



More information about the python-au mailing list