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

4. Overall structure of the local customization layer

In general, to produce a local customization of the DocBook XSL Stylesheets, we need only write an XSLT file (with file extension .xsl) that imports the DocBook XSL Stylesheets and then adds local customizations.

However, there is another significant complication. Customizing the title page format for either HTML or FO output is a two-stage process. First, one must create an XML template file that describes the format of the title page. Our customization file is called tcc-titlepage.xml. Then, one runs it through xsltproc using a special stylesheet, template/titlepage.xsl in the DocBook XSL Stylesheets, that converts it into file tcc-titlepage.xsl, which is the part of the local customization layer that describes the title page layout.

These are the principal components of the TCC's local customization layer for the Modular Stylesheets. All file references are relative to the root of our current customization layer, which is currently at /u/www/docs/tcc/doc/docbook42xep on infohost.