]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/html_reals.xsl
Modified Files:
[helm.git] / helm / style / html_reals.xsl
index 72d6dab7d60f1e57360141a069690220c219e317..3403b9dcb8c537e752d448116b87d3b35cd92142 100644 (file)
      <xsl:variable name="uri">
       <xsl:value-of select="m:limit/@definitionURL"/>
      </xsl:variable>
-     <a>
-     <xsl:attribute name="href">
-      <xsl:call-template name="makeURL">
-       <xsl:with-param name="url" select="$uri"/>
-      </xsl:call-template>
-     </xsl:attribute>
-     <xsl:text>lim</xsl:text>
+     <a href="{$uri}">
+      <xsl:text>lim</xsl:text>
      </a>
      <SUB>
       <xsl:apply-templates select="m:bvar/m:ci"/>
      <xsl:variable name="uri">
       <xsl:value-of select="m:diff/@definitionURL"/>
      </xsl:variable>
-     <a>
-     <xsl:attribute name="href">
-      <xsl:call-template name="makeURL">
-       <xsl:with-param name="url" select="$uri"/>
-      </xsl:call-template>
-     </xsl:attribute>
-     <SUP>d</SUP>
+     <a href="{$uri}">
+      <SUP>d</SUP>
       <xsl:text>/</xsl:text>
-     <SUB>
-      <xsl:text>d</xsl:text>
-      <xsl:value-of select="m:bvar/m:ci"/>
-     </SUB>
+      <SUB>
+       <xsl:text>d</xsl:text>
+       <xsl:value-of select="m:bvar/m:ci"/>
+      </SUB>
      </a>
      <xsl:apply-templates mode="inline" select="*[3]"/>
  </xsl:template>
     </xsl:when>
    </xsl:choose>
   </xsl:variable>
-  <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}">
    <xsl:value-of select="$symbol"/>
   </a>
   <xsl:text>{</xsl:text>
   </xsl:variable>
   <xsl:choose>
     <xsl:when test="$charlength > $framewidth">
-     <a>
-     <xsl:attribute name="href">
-      <xsl:call-template name="makeURL">
-       <xsl:with-param name="url" select="$uri"/>
-      </xsl:call-template>
-     </xsl:attribute>
-     <xsl:text>lim</xsl:text>
+     <a href="{$uri}">
+      <xsl:text>lim</xsl:text>
      </a>
      <SUB>
       <xsl:apply-templates select="m:bvar/m:ci"/>
   <xsl:variable name="uri">
    <xsl:value-of select="m:diff/@definitionURL"/>
   </xsl:variable>
-     <a>
-     <xsl:attribute name="href">
-      <xsl:call-template name="makeURL">
-       <xsl:with-param name="url" select="$uri"/>
-      </xsl:call-template>
-     </xsl:attribute>
-     <SUP>d</SUP>
+     <a href="{$uri}">
+      <SUP>d</SUP>
       <xsl:text>/</xsl:text>
-     <SUB>
-      <xsl:text>d</xsl:text>
-      <xsl:value-of select="m:bvar/m:ci"/>
-     </SUB>
+      <SUB>
+       <xsl:text>d</xsl:text>
+       <xsl:value-of select="m:bvar/m:ci"/>
+      </SUB>
      </a>
      <xsl:apply-templates select="*[3]">
       <xsl:with-param name="current_indent" select="$current_indent + 5"/>
   </xsl:variable>
   <xsl:choose>
     <xsl:when test="$charlength > $framewidth">
-     <a>
-     <xsl:attribute name="href">
-      <xsl:call-template name="makeURL">
-       <xsl:with-param name="url" select="$uri"/>
-      </xsl:call-template>
-     </xsl:attribute>
-     <xsl:value-of select="$symbol"/>
+     <a href="{$uri}">
+      <xsl:value-of select="$symbol"/>
      </a>
      <xsl:text>{</xsl:text>
      <xsl:apply-templates select="*[2]">