[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Customizing the HTML output
> -----Original Message----- > From: Nancy Brandt > > 1) How do I remove sections from the Part TOC? Customize the template with match="section" and mode="toc" (original in autotoc.xsl): <xsl:template match="section" mode="toc"> <xsl:param name="toc-context" select="."/> <xsl:if test="not(local-name($toc-context) = 'part')"> <xsl:call-template name="subtoc"> <xsl:with-param name="toc-context" select="$toc-context"/> <xsl:with-param name="nodes" select="section |bridgehead[$bridgehead.in.toc != 0]"/> </xsl:call-template> </xsl:if> </xsl:template> I think this is the easiest way to exclude sections from the part TOC. A similar customization is described here: http://www.sagehill.net/docbookxsl/TOCcontrol.html#CustomTocLevels > 2) I would like to place the book TOC in a side window, like > in WebHelp, is it possible? Do you mean a frameset layout? In that case, there is some information here: http://www.sagehill.net/docbookxsl/HtmlFrames.html Mauritz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]