OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Customize user.footer.content for one webpage only?


On Wed, 03 Dec 2008 23:57:00 +0100, Boris <boriss@web.de> wrote:

> I've defined the template user.footer.content to append a copyright note  
> to every webpage (I use chunking). For the first page (index.html) I'd  
> like to customize user.footer.content: The version number and the  
> publishing date should be appended, too.
>
> Now I've seen that the template chunk-element-content in  
> chunk.common.xsl simpy always calls the template user.footer.content -  
> no matter what webpage is written. That's why I guess I need to find out  
> in user.footer.content somehow to which file the content is currently  
> appended: If it's the beginning of the book (the book's titlepage)  
> something more should be appended. Is this possible? I think I need a  
> <xsl:if test="..."> but what exactly do I have to test?

I think I should have been more specific: I can test if the current node  
is book. However as I've set chunk.tocs.and.lots to 1 to put the toc into  
its own file the footer content is appended to that page, too (as there  
the current node is also book). I think I need to check the current  
filename. But how do I find out?

Boris



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]