]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
web site update
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index f5cdfbed0464e7c055d161de1d28682471a90a11..b819137274cd6b05b4ccf95396fec4d2ab7deecd 100644 (file)
    </div>
 </xsl:template>
 
+<xsl:template match="ld:index">
+   <table><xsl:apply-templates/></table>
+</xsl:template>
+
+<xsl:template match="ld:file">
+   <tr class="{@class}">
+     <td class="center"><xsl:value-of select="@type"/></td>
+     <td><a href="{$baseurl}{@to}">
+       <xsl:value-of select="@name"/>
+     </a></td> 
+   </tr>
+</xsl:template>
+
 <xsl:template match="ld:link">
    <a href="{@to}">
       <xsl:apply-templates/>
    <li class="{@class}"><xsl:apply-templates/></li>
 </xsl:template>
 
+<xsl:template match="ld:line">
+  <div class="{@class}">
+    <xsl:choose>
+      <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+      <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
 <xsl:template match="ld:style">
   <span class="{@class}">
     <xsl:choose>