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. Then, one runs it through xsltproc using a special
template/titlepage.xsl in the DocBook-XSL Stylesheets. That step converts
it into an XSL file, which is the part of the local
customization layer that describes the title page layout.
Here, we are using an XSL file to transform an XML file
Our title customization files are called
fo-titlepage.xml for the HTML and FO versions, respectively. The
transformed files are
transformed files are referenced by the base stylesheets.
These are the principal components of this customization layer for the Modular Stylesheets. All file references are relative to the root of our current customization layer, which is currently:
zdp_html.xsl file is the root customization file for
producing HTML output. See Section 7, “
html-titlepage.xml file describes the HTML title page
format. It is transformed by the
to produce the
html-titlepage.xsl file that actually generates
the HTML title page. See Section 9, “
HTML title page template”.
zdp_fo.xsl file is the root customization file for
producing PDF output. See Section 11, “
zdp_fo.xsl: PDF customization
fo-titlepage.xml file describes the PDF title page
format. It is transformed by
template/titlepage.xsl to produce
fo-titlepage.xsl file that generates the PDF title page.
See Section 13, “
fo-titlepage.xml: PDF title page templates”.