xml-deserialization

How to convert an XML string to a dictionary?

How to convert an XML string to a dictionary? Question: I have a program that reads an XML document from a socket. I have the XML document stored in a string which I would like to convert directly to a Python dictionary, the same way it is done in Django’s simplejson library. Take as an …

Total answers: 21