User Tools

Site Tools


docbook-to-html

How to generate HMTL from XML DocBook


DocBook is a widely-used format for writing documentation, articles, books, etc. Easiest way to generate HTML is to use xsltproc.

You need to install the following packages in Debian/Devuan:

apt-get install xsltproc docbook-xsl-ns docbook5-xml

Then run xsltproc as below and it will create an HTML file (documentation.html in this case) in the current directory:

xsltproc -o documentation.html /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/html/docbook.xsl documentation.xml

Navigation: asm . compilation . linux . windows . mac . back to start

docbook-to-html.txt · Last modified: 2017/11/25 17:36 by darkbyte