Formatting Object Paramter Reference

Norman Walsh

$Id: param.xsl,v 1.5 2000/10/26 01:02:07 ndw Exp $

Introduction

This is technical reference documentation for the DocBook XSL Stylesheets; it documents (some of) the parameters, templates, and other elements of the stylesheets.

This reference describes each of the Formatting Object Stylesheet parameters. These are the “easily customizable” parts of the stylesheet. If you want to specify an alternate value for one or more of these parameters, you can do so in a “driver” stylesheet.

For example, if you want to turn on automatic section numbering, you might create a driver stylesheet like this:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version='1.0'>

  <xsl:import href="/path/to/fo/docbook.xsl"/>

  <xsl:param name="section.autolabel" select="1"/>

</xsl:stylesheet>

Naturally, you have to change the href attribute on <xsl:import> to point to docbook.xsl on your system.

This is not intended to be “user” documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in “how it works”.

Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-)

Table of Contents

qandadiv.autolabel
qanda.inherit.numeration
graphic.default.extension
mode
mode
mode

qandadiv.autolabel

Name

qandadiv.autolabel — Are divisions in QAndASets enumerated?

Synopsis

If true (non-zero), unlabeled qandadivs will be enumerated.


qanda.inherit.numeration

Name

qanda.inherit.numeration — Does enumeration of QandASet components inherit the numeration of parent elements?

Synopsis

If true (non-zero), numbered QandADiv elements and Questions and Answers inherit the numeration of the ancestors of the QandASet.


graphic.default.extension

Name

graphic.default.extension — Default extension for graphic filenames

Synopsis

If a graphic or mediaobject includes a reference to a filename that does not include an extension, and the format attribute is unspecified, the default extension will be used.


mode

Name

mode — Properties of formal object titles

This attribute set is used to specify the properties of formal object titles.


mode

Name

mode — Properties of component titles

This attribute set is used to specify the properties of component titles.


mode

Name

mode — Spacing properties of normal paragraphs

This attribute set is used to specify the spacing properties of normal paragraphs.