]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/work-packages_index.xsl
Deliverables are now described in XML.
[helm.git] / helm / mowgli / home / xsl / work-packages_index.xsl
index af2b199eb9f574d46e211a0032ac0227b4cd8b9a..dbe56c09ea6a3a32bede0dcbaa0e637e437e3b2e 100644 (file)
   <td valign="top">
    <xsl:if test="$work-package/deliverable">
     <ul>
-     <xsl:variable name="url" select="concat(@file,'.html')"/>
      <xsl:for-each select="$work-package/deliverable[@file]">
       <xsl:apply-templates select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable">
-       <xsl:with-param name="url" select="$url"/>
+       <xsl:with-param name="url" select="concat('../deliverables/',@file,'.html')"/>
       </xsl:apply-templates>
      </xsl:for-each>
     </ul>
@@ -88,7 +87,7 @@
 <xsl:template match="deliverable">
  <xsl:param name="url"/>
  <li>
-  <a href="{$url}#{@id}">
+  <a href="{$url}">
    <xsl:value-of select="@id"/>
    <xsl:text> </xsl:text>
    <xsl:value-of select="name"/>