Nodes.from_xml¶
- classmethod Nodes.from_xml(data, return_data: bool = False, **kwargs)[source]¶
Load object from
.xml
data.- Parameters
- datastr, file, ElementTree or Element
- Initialize object from xml file by passing
filename as str,
file object that contains XML data,
the XML ElementTree,
or the root Element of the ElementTree.
- kwargskeyword arguments, optional
Keyword arguments for constructing object.