XmlDict

Module Contents

Classes

XmlDict

xmltodict type dictionary providing and propagating access to keys without @ sign

XmlList

xmltodict type list propagating access to keys without @ sign

Functions

xml2dict(→ dict)

dict2xml(→ str)

Attributes

dct

class XmlDict.XmlDict

Bases: dict

xmltodict type dictionary providing and propagating access to keys without @ sign

__getitem__(key: str)

x.__getitem__(y) <==> x[y]

get(key: str, default=None)

Return the value for key if key is in the dictionary, else default.

copy() XmlDict

D.copy() -> a shallow copy of D

class XmlDict.XmlList

Bases: list

xmltodict type list propagating access to keys without @ sign

__getitem__(index: int)

x.__getitem__(y) <==> x[y]

__iter__() XmlList

Implement iter(self).

__next__()
XmlDict.xml2dict(xml_metadata: str) dict
XmlDict.dict2xml(dct: dict) str
XmlDict.dct