read_tarfile_xml
- read_tarfile_xml(path: str | Path, inner_path: str, **kwargs: Any) lxml.etree.ElementTree[source]
Read an inner XML file from a tar archive.
- Parameters:
path – The path to the tar archive
inner_path – The path inside the tar archive to the xml file
kwargs – Additional kwargs to pass to
lxml.etree.parse()
- Returns:
An XML element tree