- <xsl:apply-templates select="$work-package/description/tasks">
- <xsl:with-param name="url" select="concat(@file,'.html')"/>
- </xsl:apply-templates>
+ </td>
+ <td valign="top">
+ <xsl:choose>
+ <xsl:when test="$work-package/description/tasks">
+ <xsl:apply-templates select="$work-package/description/tasks">
+ <xsl:with-param name="url" select="concat(@file,'.html')"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise> </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td valign="top">
+ <xsl:if test="$work-package/deliverable">
+ <ul>
+ <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="concat('../deliverables/',@file,'.html')"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </ul>
+ </xsl:if>