Next / Previous / Contents / TCC Help System / NM Tech homepage

3. What is a customization layer?

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 TCC standard style is a customization layer built on top of the stock, uncustomized DocBook XSL Stylesheets.

Specifically, you can do any of these things:

The procedure for building a customization layer is well-described on p. 102 of Stayton. Briefly:

  1. 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.

  2. In this file, use xsl:import to read the layer you are building yours on—the TCC stylesheets or the stock DocBook XSL Stylesheets.

  3. Write templates to replace the parts of the layer under you that you don't like.