
9 Jan
2014
9 Jan
'14
4:32 a.m.
From: Royce Lv <lvroyce@linux.vnet.ibm.com> In kimchi we are having a increasing need of parse xml to dict. Bingbu proposed a very useful tool to fullfil this function. Resend it so that storage targets parse can use this. Royce Lv (3): xml parser: Add a parser to xmlutils xml parser: pep8 clean for xmlutils.py xml parser: Add testcase for xml_to_dict Makefile.am | 1 + src/kimchi/exception.py | 4 ++++ src/kimchi/xmlutils.py | 56 +++++++++++++++++++++++++++++++++++++++---- tests/test_xmlutil.py | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 121 insertions(+), 4 deletions(-) create mode 100644 tests/test_xmlutil.py -- 1.8.1.2