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.
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