The utility library for Python to convert between xml and dict objects
test_string = 'CHILD2CHILD11'
print(xml2dict(test_string))
test_obj = { 'parent': { 'child1': { 'child11': 'CHILD11' }, 'child2': 'CHILD2' } }
print(dict2xml(test_obj))
MIT License. Further details in LICENSE.txt