]> matita.cs.unibo.it Git - helm.git/commitdiff
Ordered list (ol) replaced by a table to be able to number packages
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 13 Feb 2002 12:20:17 +0000 (12:20 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 13 Feb 2002 12:20:17 +0000 (12:20 +0000)
starting from 0. ;-(

helm/mowgli/home/xsl/work-packages_index.xsl

index e75e08e7b02671100f5159fd5eb67718df393cb6..a9a711be261e479450508e5f2d024c5492ea2495 100644 (file)
 
 <xsl:template match="work-packages">
  <h1>Work Packages</h1>
- <ol>
+ <table>
   <xsl:apply-templates/>
- </ol>
+ </table>
 </xsl:template>
 
 <xsl:template match="work-package">
  <xsl:variable name="work-package"
                select="document(concat('../xml/work-packages/',@file,'.xml'))/work-package"/>
- <li value="{$work-package/@number + 1}">
-  <a href="{@file}.html">
-   <xsl:value-of select="@file"/>
-  </a>
- </li>
+ <tr>
+  <td><xsl:value-of select="$work-package/@number"/>.</td>
+  <td>
+   <a href="{@file}.html">
+    <xsl:value-of select="$work-package/name"/>
+   </a>
+  </td>
+ </tr>
 </xsl:template>
 
 </xsl:stylesheet>