Trees | Indices | Help |
---|
|
object --+ | dict --+ | _XmlDict
Example usage:
>>> tree = ElementTree.parse('your_file.xml') >>> root = tree.getroot() >>> xmldict = _XmlDictConvertWithAssistant(root, assistant_dict)
Or, if you want to use an XML string:
>>> root = ElementTree.XML(xml_string) >>> xmldict = _XmlDictConvertWithAssistant(root, assistant_dict)
And then use xmldict for what it is... a dict.
|
|||
new empty dictionary |
|
||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 27 11:20:20 2013 | http://epydoc.sourceforge.net |