For light weight XML parsing, the class Class XML can be used. The class provides a simple interface to parse and manipulate XML files using LibreOffice XML utils.

The Original ooodev.utils.xml_util.XML as been moved into a separate package. The package can be found on PYPI.

The documentation of the class can be found on Read the docs:

After installing the package, the import will be:

from ooodev_xml.odxml import XML

If you were using the class directly from the ooodev.utils.xml_util module, you can now use the class from the ooodev_xml.odxml module.