Convert a DocBook XML document to HTML format and store the resulting files in a separate directory

xmlto

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

click the source code to copy install xmlto on any operating system with command-not-found.com