xml2dict - dict2xml
Thomas Guettler
zopestoller at thomas-guettler.de
Tue Apr 16 11:08:09 EDT 2002
Henning Peters wrote:
> hi NG,
>
> i am searching for the best solution to convert a small xml fragment in a
> python dictionary and vice versa.
> speed is a very important factor, so i have tried the xml.parsers.expat
> interface, but i did not found out, how to map a tree with it (i.e. to parse
> only one branch).
>
Try this link:
http://www-106.ibm.com/developerworks/xml/library/x-matters11.html
I asked a similar question some time ago. I haven't tried the
code from this article.
thomas
More information about the Python-list
mailing list