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

index 372ae22c1abbfec7dede5b27bbb740a6413c3420..4d7fdaa85acd2265f6e77d0fb44856e6c475b8ff 100644 (file)
 <xsl:template name="var_name">
  <xsl:param name="uri"/>
  <xsl:param name="string" select="&quot;&quot;"/>
-  <xsl:variable name="prefix" select="substring-before($uri, &quot; &quot;)"/>
+  <xsl:variable name="prefix0" select="substring-before($uri, &quot; &quot;)"/>
   <xsl:variable name="suffix" select="substring-after($uri, &quot; &quot;)"/> 
   <xsl:variable name="prefix">
    <xsl:call-template name="name_of_uri_bis">
-    <xsl:with-param name="uri" select="$prefix"/>
+    <xsl:with-param name="uri" select="$prefix0"/>
    </xsl:call-template>
   </xsl:variable> 
   <!--xsl:if test="string($prefix) != &quot; &quot; "-->