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:with-param name="path_to_top" select="'..'"/>
27 <xsl:apply-templates/>
28 <xsl:call-template name="foot"/>
34 <xsl:template match="work-package">
36 <xsl:text>Work Package </xsl:text>
37 <xsl:value-of select="number"/>
38 <xsl:text>: </xsl:text>
39 <xsl:value-of select="name"/>
41 <h2>Begin: <xsl:value-of select="begin"/></h2>
42 <h2>End: <xsl:value-of select="end"/></h2>
45 <xsl:for-each select="person-month">
46 <td><xsl:value-of select="@participant"/></td>
50 <xsl:for-each select="person-month">
51 <td><xsl:value-of select="@number"/></td>
56 <xsl:copy-of select="objectives/*"/>
58 <xsl:apply-templates select="description/*"/>
59 <h2>Deliverables:</h2>
61 <xsl:for-each select="deliverable">
64 <xsl:when test="@file">
65 <a href="../deliverables/{@file}.html">
66 <xsl:variable name="deliverable"
67 select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable"/>
68 <xsl:value-of select="$deliverable/@id"/>
69 <xsl:text> </xsl:text>
70 <xsl:value-of select="$deliverable/name"/>
74 <xsl:value-of select="."/>
80 <h2>Milestones and Expected Results:</h2>
81 <xsl:copy-of select="milestones/*"/>
84 <xsl:template match="tasks">
86 <xsl:apply-templates/>
90 <xsl:template match="task">
93 <xsl:value-of select="@id"/>
94 <xsl:text> </xsl:text>
95 <xsl:value-of select="name"/>
98 <xsl:copy-of select="*"/>
102 <xsl:template name="p|ul|dl">
103 <xsl:copy-of select="."/>