1 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version='
1.0'
>
3 <xsl:param name=
"html.stylesheet">styles.css
</xsl:param>
4 <xsl:param name=
"toc.section.depth">3</xsl:param>
5 <xsl:param name=
"annotate.toc">0</xsl:param>
7 <xsl:template match=
"sect1" mode=
"toc">
8 <xsl:param name=
"toc-context" select=
"."/>
9 <xsl:call-template name=
"subtoc">
10 <xsl:with-param name=
"toc-context" select=
"$toc-context"/>
11 <xsl:with-param name=
"nodes"
12 select=
"sect2|refentry|bridgehead[$bridgehead.in.toc != 0]"/>
16 <xsl:template match=
"sect2" mode=
"toc">
17 <xsl:param name=
"toc-context" select=
"."/>
19 <xsl:call-template name=
"subtoc">
20 <xsl:with-param name=
"toc-context" select=
"$toc-context"/>
21 <xsl:with-param name=
"nodes"
22 select=
"sect3|refentry|bridgehead[$bridgehead.in.toc != 0]"/>