XML technologies / DocBook / Generating (X)HTML / Creating a customization file for (X)HTML

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

The DocBook stylesheets can be customized through parameters or a customization file. A list of all (X)HTML parameters is available at docbook.sourceforge.net: HTML Parameter Reference. More complex changes always require a customization file. A minimal file looks as follows:

Example: A customization file for HTML

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:import href="DBBASISURI/html/docbook.xsl"/>
  <!-- Fügen Sie hier Ihre Anpassungen ein -->
</xsl:stylesheet>

Replace the placeholder DBBASISURI with the appropriate official URI.

Depending on your customization, the xsl:import element must specify the appropriate file name or format (HTML or XHTML). You have already encountered the available stylesheets.

  

back to top