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: [email protected]      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
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to