]> granicus.if.org Git - docbook-dsssl/commitdiff
Use param exsl.node.set.available to test for function.
authorBob Stayton <bobs@sagehill.net>
Mon, 16 Mar 2009 06:35:43 +0000 (06:35 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 16 Mar 2009 06:35:43 +0000 (06:35 +0000)
xsl/fo/verbatim.xsl
xsl/fo/xref.xsl

index 82355f17a9dbfb4dc0d591671b3bc3c7014de473..22f21c6dd8ad3e6c74521ccfef2b517a45b0b085 100644 (file)
@@ -70,7 +70,7 @@
              xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style">
           <xsl:choose>
             <xsl:when test="$hyphenate.verbatim != 0 and 
-                            function-available('exsl:node-set')">
+                            $exsl.node.set.available != 0">
               <xsl:apply-templates select="exsl:node-set($content)" 
                                    mode="hyphenate.verbatim"/>
             </xsl:when>
@@ -85,7 +85,7 @@
                   xsl:use-attribute-sets="monospace.verbatim.properties">
           <xsl:choose>
             <xsl:when test="$hyphenate.verbatim != 0 and 
-                            function-available('exsl:node-set')">
+                            $exsl.node.set.available != 0">
               <xsl:apply-templates select="exsl:node-set($content)" 
                                    mode="hyphenate.verbatim"/>
             </xsl:when>
index 195a50478ad38391c1f002f9f1a58778b516dae7..2d615e4e0fce5e6950a65754c6d3bff18bdd7c45 100644 (file)
   </xsl:variable>
 
   <xsl:choose>
-    <xsl:when test="function-available('exsl:node-set')">
+    <xsl:when test="$exsl.node.set.available != 0">
       <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/>
     </xsl:when>
     <xsl:otherwise>