read#

read(path: Union[str, pathlib.Path, cloudpathlib.cloudpath.CloudPath]) lxml.etree._Element[source]#

Read an XML file, even stored on the cloud

Parameters

path (Union[str, Path, CloudPath]) – Path to the XML file

Returns

XML Root

Return type

_Element