Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 17, 2015
  1. More loose typecheck for iterable in _emit

    It doesn't have to be `list`, `tuple` or `GeneratorType`, it can be any iterable
    that's not a string or a dict.
  2. Merge pull request #92 from bzamecnik/generators-in-unparse

    Allow generators in input dicts for unparse() #91
  3. Process namespaces in attributes too.

    xmltodict was processing namespaces in tags only, not attributes.
    Fixes #87.
Commits on Apr 15, 2015
  1. Merge pull request #96 from TyMaszWeb/issue95

    Provide OrderedDict under Python 2.6 for test suite
  2. @centralniak
  3. @centralniak
  4. Merge pull request #90 from sq6jnx/python34

    Declared support for Python 3.4
  5. Merge pull request #93 from ubershmekel/patch-1

    README: Showing the structure of the resulting dict
  6. @ubershmekel

    Showing the structure of the resulting dict

    ubershmekel authored
    This visualization helped me understand what was going on better than the lines of code in the existing example. Perhaps it's also worth mentioning in the readme that `OrderedDict` is what's returned from from `parse` and we're serializing to json because `pprint` does not work with OrderedDict.
Commits on Apr 12, 2015
  1. @bzamecnik
  2. @bzamecnik
Commits on Apr 8, 2015
  1. Declared support for Python 3.4

    Michał Sadowski authored
Commits on Feb 4, 2015
  1. Fix multiroot check for list values

    Fixes #80
    unparse({'node': [1, 2, 3, 4]})
    raises ValueError('document with multiple roots')
Commits on Jan 18, 2015
  1. Merge pull request #81 from martinblech/fulldoc-single-root-check

    Only check single root when full_document=True
  2. Fix tests for Jython 2.7b3

Commits on Jul 27, 2014
  1. Fixed namespaces example in README

    Fixes #66.
Commits on Jun 22, 2014
  1. Merge pull request #65 from frewsxcv/patch-1

    Enable automated testing with Python 3.4
Commits on Jun 21, 2014
  1. @frewsxcv

    Add Python 3.4 to the matrix

    frewsxcv authored
Commits on Jun 20, 2014
  1. @frewsxcv
Commits on Apr 17, 2014
Commits on Apr 16, 2014
  1. Added

    Fixes #48
  2. Avoid ternary operator in call to ParserCreate().

    This is the only thing making xmltodict incompatible with Python 2.4, according
    to #49.
  3. Added full_document flag to unparse (default=True).

    If false, it suppresses the XML declaration, as required by #55.
Commits on Mar 27, 2014
  1. Merge pull request #56 from HansWeltar/master

    Improve performance for large files
  2. Improve performance for large files

    Karsten Verelst authored
    xmltodict becomes slow when you have an XML file with large texts.
    Enabling the parser.buffer_text option dramatically increases performance.
    Code used to benchmark:
    import xmltodict
    import time
    xml = "<root>" + ("a"*70+"\n")*10000 + "</root>"
    print(time.time() - s)
     # 19.9860811234 seconds without buffer_text
     # 0.059289932251 seconds with buffer_text
     # So 300 times faster
Commits on Feb 16, 2014
Commits on Feb 3, 2014
Something went wrong with that request. Please try again.