| 1 | <?xml version='1.0'?> |
| 2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 3 | version='1.0'> |
| 4 | <!-- In Docbook, a Section does not add its RefEntry to the TOC. --> |
| 5 | |
| 6 | <xsl:template match="section" mode="toc"> |
| 7 | <xsl:param name="toc-context" select="."/> |
| 8 | |
| 9 | <xsl:call-template name="subtoc"> |
| 10 | <xsl:with-param name="toc-context" select="$toc-context"/> |
| 11 | <xsl:with-param name="nodes" select="section|refentry |
| 12 | |bridgehead[$bridgehead.in.toc != 0]"/> |
| 13 | </xsl:call-template> |
| 14 | </xsl:template> |
| 15 | |
| 16 | </xsl:stylesheet> |
| 17 |