One of the great benefits of the DocBook-XSL Stylesheets is their modularity. If you don't like a style, you can start your own customization layer that makes changes to someone else's style, leaving intact the parts you don't want to change. The style described here is a customization layer built on top of the stock, uncustomized DocBook-XSL Stylesheets.
Specifically, you can do any of these things:
Follow the procedures in Writing documentation with DocBook-XML 5.0.
If you don't like some parts of this style, you can add your
customization layer on top of that customization layer.
For these files, see Section 2, “Online files”.
The root HTML customization file is named
zdp_html.xsl and the
root PDF file is named
If you don't want any part of this style, you can build your own customization layer on top of the DocBook-XSL Stylesheets. The stock stylesheets live here:
There are two releases of the stylesheets in this directory:
docbook-xsl-1.78.1 is release 1.78 of
docbook-xsl-ns-1.78.1 is release 1.78 with
The procedure for building a customization layer is well-described on p. 102 of Stayton. Briefly:
Create a subdirectory to hold the DocBook-XSL Stylesheets, currently:
Download the stylesheets to that directory. First go to:
Click on, then on , then . The download link is labeled . Place this file in the parent directory above where you want the stylesheets install, and unzip it.
Create a file whose name ends in
.xsl to hold your customization layer, and
set up your
Makefile or other
procedures to use this file as input to xsltproc.
In this file, use
to read the layer you are building yours
on—the stylesheets or the stock DocBook-XSL Stylesheets.
Write templates to replace the parts of the layer under you that you don't like.