This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]