daps

DAPS is an open source program for transforming DocBook XML into output formats such as HTML or PDF.

TLDR

Check if a DocBook XML file is valid

$ daps -d [path/to/file.xml] validate
copy

Convert a DocBook XML file into PDF

$ daps -d [path/to/file.xml] pdf
copy

Convert a DocBook XML file into a single HTML file

$ daps -d [path/to/file.xml] html --single
copy

Display help

$ daps --help
copy

Display version

$ daps --version
copy

Copied to clipboard
digitalocean