]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/html_init.xsl
Bug fixed: now propagates informations about inner-types usage and
[helm.git] / helm / style / html_init.xsl
index f52525ebf3eb80f20a52e190a542c97ecd35dcff..26ddf68d2c83eff3f86a8f1481c6c2a57490cf56 100644 (file)
@@ -77,7 +77,9 @@
   <xsl:apply-templates mode="inline" select="*[2]"/>
   <a>
    <xsl:attribute name="href">
-    <xsl:value-of select="concat(string($header),string($uri))"/>
+    <xsl:call-template name="makeURL">
+     <xsl:with-param name="url" select="$uri"/>
+    </xsl:call-template>
    </xsl:attribute>
    <FONT FACE="symbol" mathcolor="blue">
     <xsl:value-of select="$symbol"/>
@@ -97,7 +99,9 @@
    <xsl:when test="count(child::*)=2">
     <a>
     <xsl:attribute name="href">
-     <xsl:value-of select="concat(string($header),string($uri))"/>
+    <xsl:call-template name="makeURL">
+     <xsl:with-param name="url" select="$uri"/>
+    </xsl:call-template>
     </xsl:attribute>
     <xsl:text>-</xsl:text>
     </a>
     <xsl:apply-templates mode="inline" select="*[2]"/>
     <a>
      <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
+      <xsl:call-template name="makeURL">
+       <xsl:with-param name="url" select="$uri"/>
+      </xsl:call-template>
      </xsl:attribute>
      <xsl:text>-</xsl:text>
     </a>
   </xsl:variable>
      <a>
      <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
+      <xsl:call-template name="makeURL">
+       <xsl:with-param name="url" select="$uri"/>
+      </xsl:call-template>
      </xsl:attribute>
      <FONT FACE="symbol" mathcolor="blue">&#216;</FONT>
      </a>
   </xsl:variable>
   <a>
    <xsl:attribute name="href">
-    <xsl:value-of select="concat(string($header),string($uri))"/>
+    <xsl:call-template name="makeURL">
+     <xsl:with-param name="url" select="$uri"/>
+    </xsl:call-template>
    </xsl:attribute>
    <FONT FACE="symbol" mathcolor="blue">&#36;</FONT>
   </a>
      </xsl:call-template>
      <a>
      <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
+      <xsl:call-template name="makeURL">
+       <xsl:with-param name="url" select="$uri"/>
+      </xsl:call-template>
      </xsl:attribute>
      <FONT FACE="symbol" mathcolor="blue">
       <xsl:value-of select="$symbol"/>
    <xsl:when test="count(child::*)=2">
     <a>
     <xsl:attribute name="href">
-     <xsl:value-of select="concat(string($header),string($uri))"/>
+     <xsl:call-template name="makeURL">
+      <xsl:with-param name="url" select="$uri"/>
+     </xsl:call-template>
     </xsl:attribute>
     <xsl:text>-</xsl:text>
     </a>
       </xsl:call-template>
       <a>
       <xsl:attribute name="href">
-       <xsl:value-of select="concat(string($header),string($uri))"/>
+       <xsl:call-template name="makeURL">
+        <xsl:with-param name="url" select="$uri"/>
+       </xsl:call-template>
       </xsl:attribute>
       <xsl:text>-</xsl:text>
       </a>
   </xsl:variable>
      <a>
      <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
+      <xsl:call-template name="makeURL">
+       <xsl:with-param name="url" select="$uri"/>
+      </xsl:call-template>
      </xsl:attribute>
      <FONT FACE="symbol" mathcolor="blue">&#216;</FONT>
      </a>
     <xsl:when test="$charlength > $framewidth">
      <a>
      <xsl:attribute name="href">
-      <xsl:value-of select="concat(string($header),string($uri))"/>
+      <xsl:call-template name="makeURL">
+       <xsl:with-param name="url" select="$uri"/>
+      </xsl:call-template>
      </xsl:attribute>
      <FONT FACE="symbol" mathcolor="blue">&#36;</FONT>
      </a>