XML ElementTree
https://towardsdatascience.com/processing-xml-in-python-elementtree-c8992941efd2 : Processing XML in Python — ElementTree by Deepesh Nair
BeautifulSoup .prettify()
BeautifulSoup may be the simplest solution for Python <=3.9.
https://stackoverflow.com/questions/749796/pretty-printing-xml-in-python
lxml
Prettier output but with arguments.