3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <xsl:import href="common.xsl"/>
8 <xsl:output method="html"/>
10 <xsl:template match="/">
14 <xsl:text>Work Package </xsl:text>
15 <xsl:value-of select="work-package/@number"/>
16 <xsl:text>: </xsl:text>
17 <xsl:value-of select="work-package/name"/>
19 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
20 <link rel="stylesheet" href="../../style/mowgli.css" type="text/css"/>
24 <xsl:call-template name="head"/>
25 <xsl:apply-templates/>
26 <xsl:call-template name="foot"/>
32 <xsl:template match="work-package">
34 <xsl:text>Work Package </xsl:text>
35 <xsl:value-of select="number"/>
36 <xsl:text>: </xsl:text>
37 <xsl:value-of select="name"/>
39 <h2>Begin: <xsl:value-of select="begin"/></h2>
40 <h2>End: <xsl:value-of select="end"/></h2>
43 <xsl:for-each select="person-month">
44 <td><xsl:value-of select="@participant"/></td>
48 <xsl:for-each select="person-month">
49 <td><xsl:value-of select="@number"/></td>
54 <xsl:copy-of select="objectives/*"/>
56 <xsl:apply-templates select="description/*"/>
57 <h2>Deliverables:</h2>
59 <xsl:for-each select="deliverable">
62 <xsl:when test="@file">
63 <xsl:variable name="deliverable"
64 select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable"/>
65 <a name="{$deliverable/@id}"/>
66 <xsl:value-of select="$deliverable/@id"/>
67 <xsl:text> </xsl:text>
68 <xsl:value-of select="$deliverable/name"/>
71 <xsl:value-of select="."/>
77 <h2>Milestones and Expected Results:</h2>
78 <xsl:copy-of select="milestones/*"/>
81 <xsl:template match="tasks">
83 <xsl:apply-templates/>
87 <xsl:template match="task">
90 <xsl:value-of select="@id"/>
91 <xsl:text> </xsl:text>
92 <xsl:value-of select="name"/>
95 <xsl:copy-of select="*"/>
99 <xsl:template name="p|ul|dl">
100 <xsl:copy-of select="."/>