]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/deliverable.xsl
Bug fixed: the top directory has a different (relative) path depending on
[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="html"/>
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    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
19    <link rel="stylesheet" href="../../../style/mowgli.css" type="text/css"/>
20   </head>
21   <body>
22    <blockquote>
23     <xsl:call-template name="head">
24      <xsl:with-param name="path_to_top" select="'../..'"/>
25     </xsl:call-template>
26     <xsl:apply-templates/>
27     <xsl:call-template name="foot"/>
28    </blockquote>
29   </body>
30  </html>
31 </xsl:template>
32
33 <xsl:template match="deliverable">
34  <h1>
35   <xsl:value-of select="deliverable/@id"/>
36   <xsl:text> </xsl:text>
37   <xsl:value-of select="deliverable/@name"/>
38  </h1>
39  <p>
40   <xsl:text>Working package: </xsl:text>
41   <a href="../../work-packages/{working-package/@file}.html">
42    <xsl:value-of select="working-package/@file"/>
43   </a>
44  </p>
45  <p>
46   <xsl:text>Leader site: </xsl:text>
47   <a href="../../sites/{leader-site/@file}.html">
48    <xsl:value-of select="leader-site/@file"/>
49   </a>
50  </p>
51  <p>
52   <xsl:text>Extimated person-month: </xsl:text>
53   <xsl:value-of select="extimated-person-month/@value"/>
54  </p>
55  <p>
56   <xsl:text>Type: </xsl:text>
57   <xsl:value-of select="type/@value"/>
58  </p>
59  <p>
60   <xsl:text>To be delivered at: </xsl:text>
61   <xsl:value-of select="to-be-delivered"/>
62  </p>
63 </xsl:template>
64
65 </xsl:stylesheet>