xmlto

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

Install

All systems
curl cmd.cat/xmlto.sh
Debian Debian
apt-get install xmlto
Ubuntu
apt-get install xmlto
Alpine
apk add xmlto
Arch Arch Linux
pacman -S xmlto
image/svg+xml Kali Linux
apt-get install xmlto
CentOS
yum install xmlto
Fedora
dnf install xmlto
Windows (WSL2)
sudo apt-get update sudo apt-get install xmlto
OS X
brew install xmlto
Raspbian
apt-get install xmlto
Docker
docker run cmd.cat/xmlto xmlto powered by Commando

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

  • Convert a DocBook XML document to PDF format:
    xmlto pdf document.xml
  • Convert a DocBook XML document to HTML format and store the resulting files in a separate directory:
    xmlto -o path/to/html_files html document.xml
  • Convert a DocBook XML document to a single HTML file:
    xmlto html-nochunks document.xml
  • Specify a stylesheet to use while converting a DocBook XML document:
    xmlto -x stylesheet.xsl output_format document.xml

© tl;dr; authors and contributors