]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed test of $toc PI to turn on qandaset TOC.
authorBob Stayton <bobs@sagehill.net>
Wed, 26 Feb 2003 18:03:11 +0000 (18:03 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 26 Feb 2003 18:03:11 +0000 (18:03 +0000)
xsl/html/qandaset.xsl

index 357613ccb2744d403e0a55ba52124ce0fa032953..81efb7021be616ffeae67f9c328ce51fec2782c7 100644 (file)
@@ -70,7 +70,7 @@
 
   <div class="{name(.)}">
     <xsl:apply-templates select="$title"/>
-    <xsl:if test="contains($toc.params, 'toc') and $toc != '0'">
+    <xsl:if test="contains($toc.params, 'toc') and $toc = '1'">
       <xsl:call-template name="process.qanda.toc"/>
     </xsl:if>
     <xsl:apply-templates select="$preamble"/>