]> matita.cs.unibo.it Git - helm.git/commitdiff
Variable redefined twice fixed.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 4 Dec 2002 11:05:42 +0000 (11:05 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 4 Dec 2002 11:05:42 +0000 (11:05 +0000)
helm/style/objcontent.xsl

index 4d7fdaa85acd2265f6e77d0fb44856e6c475b8ff..5b243e78362c30e52b1eb39c05a33f5fe87cbfc5 100644 (file)
    </xsl:call-template>
   </xsl:variable> 
   <!--xsl:if test="string($prefix) != &quot; &quot; "-->
-   <xsl:variable name="string" select="concat($string,', ', $prefix)"/>
+   <xsl:variable name="string1" select="concat($string,', ', $prefix)"/>
   <!--/xsl:if-->
   <xsl:choose>
    <xsl:when test="$suffix = &quot;&quot;">
-   <xsl:value-of select="substring-after(concat($string, ' '),',')"/>
+   <xsl:value-of select="substring-after(concat($string1, ' '),',')"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:call-template name="var_name">
     <xsl:with-param name="uri" select="$suffix"/>
-    <xsl:with-param name="string" select="$string"/>
+    <xsl:with-param name="string" select="$string1"/>
    </xsl:call-template>
    </xsl:otherwise>
   </xsl:choose>