XML technologies / DocBook / Generating FO (PDF) / Customization file for XSL-FO creation

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

As with (X)HTML, parameters can be changed through the XSLT processor or set in a customization file. For a list of all XSL-FO parameters, see docbook.sourceforge.net: FO Parameter Reference. More complex changes always require a customization file. A minimal file has the following structure:

Example: A customization file for XSL-FO

<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:import href="DBBASISURI/fo/docbook.xsl"/>
  <xsl:param name="paper.type" select="'A4'"/>
  <!-- Fügen Sie hier weitere Optionen ein -->
</xsl:stylesheet>

Replace the placeholder DBBASISURI with the appropriate official URI; see the table Base URIs for DocBook 4 and DocBook 5.

  

back to top