Skip a test when run against old servers.
[svn.git] / doc / tools / base-html-stylesheet.xsl
blob831f536e875a0e6a314614ab23b4462661752938
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]"/>
13 </xsl:call-template>
14 </xsl:template>
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]"/>
23 </xsl:call-template>
24 </xsl:template>
26 </xsl:stylesheet>