]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/deliverable.xsl
Tactic update
[helm.git] / helm / mowgli / home / xsl / deliverable.xsl
1 <?xml version="1.0"?>
2
3 <xsl:stylesheet version="1.0"
4                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6 <xsl:import href="common.xsl"/>
7
8 <xsl:output method="xml"/>
9
10 <xsl:template match="/">
11  <html>
12   <head>
13    <title>
14     <xsl:value-of select="deliverable/@id"/>
15     <xsl:text> </xsl:text>
16     <xsl:value-of select="deliverable/@name"/>
17    </title>
18   </head>
19   <body>
20     <xsl:apply-templates/>
21   </body>
22  </html>
23 </xsl:template>
24
25 <xsl:template match="deliverable">
26  <h1>
27   <xsl:value-of select="deliverable/@id"/>
28   <xsl:text> </xsl:text>
29   <xsl:value-of select="deliverable/@name"/>
30  </h1>
31  <p>
32   <xsl:text>Working package: </xsl:text>
33   <a href="../../work-packages/{working-package/@file}.html">
34    <xsl:value-of select="working-package/@file"/>
35   </a>
36  </p>
37  <p>
38   <xsl:text>Leader site: </xsl:text>
39   <a href="../../sites/{leader-site/@file}.html">
40    <xsl:value-of select="leader-site/@file"/>
41   </a>
42  </p>
43  <p>
44   <xsl:text>Extimated person-month: </xsl:text>
45   <xsl:value-of select="extimated-person-month/@value"/>
46  </p>
47  <p>
48   <xsl:text>Type: </xsl:text>
49   <xsl:value-of select="type/@value"/>
50  </p>
51  <p>
52   <xsl:text>To be delivered at: </xsl:text>
53   <xsl:value-of select="to-be-delivered"/>
54  </p>
55 </xsl:template>
56
57 </xsl:stylesheet>