]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/html_set.xsl
Modified Files:
[helm.git] / helm / style / html_set.xsl
index a8511d65d66596a990fe3d580c48742d99fa82bc..3bff65d2be918111d2bf44f7de7e8635d213a216 100644 (file)
@@ -39,9 +39,9 @@
 <!-- SET -->
 
  <xsl:template mode="inline" match="m:set">
-  <xsl:variable name="uri">
-   <xsl:value-of select="concat(string($absPath), @definitionURL)"/>
-  </xsl:variable>
+  <xsl:variable name="uri" select="@definitionURL"/>
+<!--   <xsl:value-of select="concat(string($absPath), @definitionURL)"/>
+  </xsl:variable>-->
   <xsl:choose>
    <xsl:when test="count(child::*) = 0">
     <FONT FACE="symbol" mathcolor="blue">&#198;</FONT>
   </xsl:variable>
   <xsl:text>(</xsl:text>
   <xsl:apply-templates mode="inline" select="*[2]"/>
-  <a>
-   <xsl:attribute name="href">
-    <xsl:call-template name="makeURL">
-     <xsl:with-param name="url" select="$uri"/>
-    </xsl:call-template>
-   </xsl:attribute>
+  <a href="{$uri}">
    <FONT FACE="symbol" mathcolor="blue">
     <xsl:value-of select="$symbol"/>
    </FONT>
      <xsl:call-template name="make_indent">
       <xsl:with-param name="current_indent" select="$current_indent + 2"/> 
      </xsl:call-template>
-     <a>
-     <xsl:attribute name="href">
-      <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"/>
-     </FONT>
+     <a href="{$uri}">
+      <FONT FACE="symbol" mathcolor="blue">
+       <xsl:value-of select="$symbol"/>
+      </FONT>
      </a>
      <xsl:apply-templates select="*[3]">
       <xsl:with-param name="current_indent" select="$current_indent + 2"/>
  <xsl:template match="m:set">
   <xsl:param name="current_indent" select="0"/> 
   <xsl:param name="width" select="$framewidth"/>
-  <xsl:variable name="uri">
-   <xsl:value-of select="concat(string($absPath), @definitionURL)"/>
-  </xsl:variable>
+  <xsl:variable name="uri" select="@definitionURL"/>
+<!--   <xsl:value-of select="concat(string($absPath), @definitionURL)"/>
+  </xsl:variable>-->
   <xsl:choose>
    <xsl:when test="count(child::*) = 0">
     <FONT FACE="symbol" mathcolor="blue">&#198;</FONT>