xmlto

Apply an XSL stylesheet to an XML document. More information: https://pagure.io/xmlto.

xmlto pdf document.xml

xmlto -o path/to/html_files html document.xml

xmlto html-nochunks document.xml

xmlto -x stylesheet.xsl output_format document.xml