This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
When to use fo/component.xsl
- From: Jens Stavnstrup <js at ddre dot dk>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 13 Nov 2002 12:10:29 +0100 (CET)
- Subject: DOCBOOK-APPS: When to use fo/component.xsl
In the book "DocBook: The Definitive Guide", components are defined as
"the chapter-like elements of a book". Among these elements are preface,
chapter, appendix and bibliography etc.
When a book is processed, the template "component.title" in
fo/component.xsl is called to generate the titlepage for each component.
To my big suprise apparently not only components are using this template:
If we print out the name of each node calling this template, we get
the following result:
assumed actual
node-type name() of node
--------- --------------
preface preface
chapter title
appendix title
bibliography bibliography
It seem to me, that there is some assymetry here. Note, the stylessheets
works just as expected, so I do not consider this a bug, but ...
Regards,
Jens