Skip to main content

Convert between XML String and Python Dict

Project description

# 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](http://www.apache.org/licenses/LICENSE-2.0.html)

XML2Dict is inspired from Chen Zheng’s [xml2dict](http://github.com/nkchenz/xml2dict/tree)

## 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](https://gist.github.com/1209773)

Fix MANIFEST.in syntax to avoid creating broken distributions; bump version to 0.2.2 [slinkp](https://github.com/mcspring/XML2Dict/pull/2)

Add custom coding support to parsexml(s, cls, coding) [yaodianmi](https://github.com/yaodianmi)

## About

XML2Dict is written by [Sprint Mc](https://github.com/mcspring).

And you can follow me on [Twitter](http://twitter.com/mcspring)!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for XML2Dict, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size XML2Dict-0.2.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page