[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: book level toc at other levels?
On Mon, Jun 17, 2002 at 05:09:21PM -0700, Marc Brierley wrote:
> Hello - I'm trying to get the HTML stylesheets (chunk) to build a
> navigation menu that essentially would be the book level (index.html)
> toc that would also be on chapter pages. In my stylesheet I write:
>
> <xsl:template name="user.header.content">
> <xsl:call-template name="divisions.toc">
> <xsl:with-param name="toc-context" select="book"/>
> </xsl:call-template>
>
> At the index.html level this produces the desired results of a book
> level toc, but at chpt.html level, nothing appears. I know I'm
> probably not understanding how autotoc works, but this has been my
> best try. Any ideas out there?
Probably a context problem. There is no 'book' element
child in the context of a division.
Try select="ancestor::book".
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC