<xsl:import href="common.xsl"/>
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
<xsl:template match="/">
<html>
<head>
<title>Work Packages</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" href="../../style/mowgli.css" type="text/css"/>
</head>
<body>
- <blockquote>
- <xsl:call-template name="head"/>
<xsl:apply-templates/>
- <xsl:call-template name="foot"/>
- </blockquote>
</body>
</html>
</xsl:template>
<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>
<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"/>