Re: [docbook-apps] Book title in page footer

From
Jirka Kosek <>
Date
2010-12-01T16:57:09+00:00
ID
Thread
Re: [docbook-apps] Book title in page footer
Steffen Köhler wrote:

> <xsl:when test="($sequence = 'odd' or $sequence = 'even') and $position = 
> 'center'">
>         <xsl:value-of select="ancestor-or-self::book/title">
> </xsl:when>
> 
> Works also fine but the superscript is removed. I think the reason is the 
> "ancestor-or-self".
> Please give me a hint how can I insert the book title in the footer with 
> the footer.

You need to use <xsl:apply-templates/> instead of <xsl:value-of/> as
<xsl:value-of/> always returns string value of expression -- any nested
markup is ignored.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------