← Prev in month ← Prev in thread

DOCBOOK-APPS: When to use fo/component.xsl

From
Jens Stavnstrup <>
Date
2002-11-13T11:11:22+00:00
ID
Thread
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
← Prev in month ← Prev in thread