[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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: jirka@kosek.cz 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 ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]