]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/work-package.xsl
- more uniform layout
[helm.git] / helm / mowgli / home / xsl / work-package.xsl
index 0e4eb84e3f214d2d30d1c3d09e4c8985293fcc8c..22486f4a1825322a91dc23476c1cb3860bfed885 100644 (file)
    <link rel="stylesheet" href="../../style/mowgli.css" type="text/css"/>
   </head>
   <body>
-   <xsl:apply-templates/>
+   <blockquote>
+    <xsl:call-template name="head"/>
+    <xsl:apply-templates/>
+    <xsl:call-template name="foot"/>
+   </blockquote>
   </body>
  </html>
 </xsl:template>
    <li>
     <xsl:choose>
      <xsl:when test="@file">
-      <a href="../deliverables/{@file}.html">
-       <xsl:value-of select="@file"/>
-      </a>
+      <xsl:variable name="deliverable"
+                    select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable"/>
+      <a name="{$deliverable/@id}"/>
+      <xsl:value-of select="$deliverable/@id"/>
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$deliverable/name"/>
      </xsl:when>
      <xsl:otherwise>
       <xsl:value-of select="."/>