convert xml file to python native dict object
Python
Latest commit a84f7af Apr 19, 2016 @mcspring Merge pull request #8 from Milesjpool/master
Add naive handling for non-string type elements (tested with int and bool), by casting to string.

README.md

XML2Dict

XML2Dict is an open source python library, which used for converting python dict and XML type.

XML2Dict is licensed under the Apache License, Version 2.0

XML2Dict is inspired from Chen Zheng's xml2dict

Example

Please see source test case

Attention

XML2Dict do not test for all cases now, if you find any bug please issue an report.

Thanks

Fix parse error when tag has empty content snwilhelm

Fix MANIFEST.in syntax to avoid creating broken distributions; bump version to 0.2.2 slinkp

Add custom coding support to parsexml(s, cls, coding) yaodianmi

About

XML2Dict is written by Sprint Mc.

And you can follow me on Twitter!