|
|
xml_to_dict(root_or_str,
strict=True)
Converts `root_or_str` which can be parsed xml or a xml string to
dict. |
source code
|
|
|
|
dict_to_xml(dict_xml)
Converts `dict_xml` which is a python dict to corresponding xml. |
source code
|
|
|
|
_to_xml(el)
Converts `el` to its xml representation. |
source code
|
|
|
|
|
|
|
_dict_to_xml(els)
Converts `els` which is a python dict to corresponding xml. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_from_xml(el,
strict)
Extracts value of xml element element `el`. |
source code
|
|
|
|
_val_and_maybe_convert(el)
Converts `el.text` if `el` has attribute `type` with valid value. |
source code
|
|
|
|
_list_from_xml(els,
strict)
Converts xml elements list `el_list` to a python list. |
source code
|
|
|
|
_dict_from_xml(els,
strict)
Converts xml doc with root `root` to a python dict. |
source code
|
|