]> granicus.if.org Git - docbook-dsssl/commitdiff
Turn off fast chunking messages if chunker.output.quiet is
authorBob Stayton <bobs@sagehill.net>
Thu, 14 Jul 2011 19:12:14 +0000 (19:12 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 14 Jul 2011 19:12:14 +0000 (19:12 +0000)
set to 1.

xsl/html/chunk-common.xsl

index e6c71e1e288621183e88b7a95e9125e014e710d8..652e9f37266bb3d5f5836528d1b15fc1fa830bc6 100644 (file)
   <xsl:if test="$chunk.fast != 0">
     <xsl:choose>
       <xsl:when test="$exsl.node.set.available != 0">
-        <xsl:message>Computing chunks...</xsl:message>
+        <xsl:if test="$chunker.output.quiet = 0">
+          <xsl:message>Computing chunks...</xsl:message>
+        </xsl:if>
         <xsl:apply-templates select="/*" mode="find.chunks"/>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:message>
-          <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text>
-          <xsl:text>Using "slow" chunking.</xsl:text>
-        </xsl:message>
+        <xsl:if test="$chunker.output.quiet = 0">
+          <xsl:message>
+            <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text>
+            <xsl:text>Using "slow" chunking.</xsl:text>
+          </xsl:message>
+        </xsl:if>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:if>