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.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top