Using the Stylesheets

To use the stylesheets you should be familiar with the xsltproc application. The first argument is the location of the db2html.xsl stylesheet. The second argument is the top-level docbook file for which to generate the HTML.

Example 1Generating HTML from a DocBook file

$ xsltproc /usr/share/xml/gnome/xslt/docbook/html/db2html.xsl <docbook file>

For more information on xsltproc and the libxslt libraries, see http://xmlsoft.org/.

XInclude Processing

If you make use of XInclude to include other files in your document, then you must use the --xinclude parameter to generate the complete DocBook file before processing it with the db2html.xsl stylesheet(s).