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">
29 <xsl:with-param name="path_to_top" select="'..'"/>
36 <xsl:template match="work-package">
38 <xsl:text>Work Package </xsl:text>
39 <xsl:value-of select="number"/>
40 <xsl:text>: </xsl:text>
41 <xsl:value-of select="name"/>
43 <h2>Begin: <xsl:value-of select="begin"/></h2>
44 <h2>End: <xsl:value-of select="end"/></h2>
47 <xsl:for-each select="person-month">
48 <td><xsl:value-of select="@participant"/></td>
52 <xsl:for-each select="person-month">
53 <td><xsl:value-of select="@number"/></td>
58 <xsl:copy-of select="objectives/*"/>
60 <xsl:apply-templates select="description/*"/>
61 <h2>Deliverables:</h2>
63 <xsl:for-each select="deliverable">
66 <xsl:when test="@file">
67 <a href="../deliverables/{@file}.html">
68 <xsl:variable name="deliverable"
69 select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable"/>
70 <xsl:value-of select="$deliverable/@id"/>
71 <xsl:text> </xsl:text>
72 <xsl:value-of select="$deliverable/name"/>
76 <xsl:value-of select="."/>
82 <h2>Milestones and Expected Results:</h2>
83 <xsl:copy-of select="milestones/*"/>
86 <xsl:template match="tasks">
88 <xsl:apply-templates/>
92 <xsl:template match="task">
95 <xsl:value-of select="@id"/>
96 <xsl:text> </xsl:text>
97 <xsl:value-of select="name"/>
100 <xsl:copy-of select="*"/>
104 <xsl:template name="p|ul|dl">
105 <xsl:copy-of select="."/>