]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/theory_content.xsl
Many improvements in theory-rendering.
[helm.git] / helm / style / theory_content.xsl
index 507370edb2f2e09678bb5ebafdca6fdf83fb0fed..838324c08c76716d074e439f50f1a6f131026fbe 100644 (file)
@@ -62,7 +62,8 @@
 <xsl:variable name="uri" select="concat(string($current_uri),$delim,string(@uri))"/>
     <xsl:copy>
      <xsl:copy-of select="@as"/>
-     <xsl:attribute name="name"><xsl:value-of select="substring-before(@uri,&quot;.&quot;)"/></xsl:attribute>
+     <!-- CSC: 'name' is now equal to 'uri' but for the final extension -->
+     <xsl:attribute name="name"><xsl:value-of select="substring-before($uri,&quot;.&quot;)"/></xsl:attribute>
      <xsl:attribute name="uri"><xsl:value-of select="$uri"/></xsl:attribute>
     </xsl:copy>
 </xsl:template>
@@ -78,4 +79,4 @@
   </xsl:copy>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>