]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/xml/ld-html-library.xsl
little workaround for multiple screens, gdk support not bound by lablgtk2
[helm.git] / helm / software / lambda-delta / xml / ld-html-library.xsl
index b640b0b0df1715bd28ccaefde0a9eb31218e19a2..cf6857d654377042ba5945673ca599f41bc8a715 100644 (file)
 
 <xsl:template name="global">
    <span style="{$global}">
-      <xsl:value-of select="@name"/>
-   </span>   
+      <a name="" title="{@mark}">
+         <xsl:value-of select="@name"/>
+      </a>
+   </span>
 </xsl:template>
 
 <xsl:template name="mk_segment">
 
 <xsl:template name="mk_path">
    <xsl:param name="rpath" select="@uri"/>
-   <xsl:variable name="newrpath" select="substring-after($rpath, '/')"/>
+   <xsl:variable name="newrpath" select="substring-after($rpath,'/')"/>
    <xsl:choose>
       <xsl:when test="$newrpath">
          <xsl:variable name="segment" select="substring-before($rpath,$newrpath)"/>   
             <xsl:with-param name="name" select="substring-before($segment,'/')"/>
          </xsl:call-template>
         <xsl:call-template name="mk_path">
-           <xsl:with-param name="rpath" select="substring-after($rpath,'/')"/>
+           <xsl:with-param name="rpath" select="$newrpath"/>
         </xsl:call-template>
       </xsl:when>
       <xsl:otherwise>
    </xsl:choose>
 </xsl:template>
 
-<xsl:template name="entry">
+<xsl:template name="entity">
    <xsl:call-template name="sp"/>
    <xsl:call-template name="global"/>
    <xsl:call-template name="sp"/>