]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix variable scoping problem
authorNorman Walsh <ndw@nwalsh.com>
Wed, 1 Jan 2003 18:33:20 +0000 (18:33 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 1 Jan 2003 18:33:20 +0000 (18:33 +0000)
xsl/common/table.xsl

index 2566171904c9cc1a3454e933e4b72417838954c6..eb59715b3ad71f0522df60502f657fdd1a4a645b 100644 (file)
@@ -290,7 +290,7 @@ or 0 (the empty string)</para>
       <xsl:variable name="colspec"
                     select="$tgroup/colspec[@colname=$namest]"/>
 
-      <xsl:variable name="namest.value">
+      <xsl:variable name="inner.namest.value">
         <xsl:call-template name="get-attribute">
           <xsl:with-param name="element" select="$colspec"/>
           <xsl:with-param name="attribute" select="$attribute"/>
@@ -298,8 +298,8 @@ or 0 (the empty string)</para>
       </xsl:variable>
 
       <xsl:choose>
-        <xsl:when test="$namest.value">
-          <xsl:value-of select="$namest.value"/>
+        <xsl:when test="$inner.namest.value">
+          <xsl:value-of select="$inner.namest.value"/>
         </xsl:when>
         <xsl:otherwise></xsl:otherwise>
       </xsl:choose>