]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/project.xsl
- added common stylesheet
[helm.git] / helm / mowgli / home / xsl / project.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>The Project</title>
14    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
15    <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
16   </head>
17   <body>
18    <xsl:apply-templates/>
19   </body>
20  </html>
21 </xsl:template>
22
23 <xsl:template match="project">
24  <h1>
25   <xsl:value-of select="full_title"/>
26   <xsl:text> (</xsl:text>
27   <xsl:value-of select="acronym"/>
28   <xsl:text>)</xsl:text>
29  </h1>
30  <p>
31   <xsl:text>Project type: </xsl:text>
32   <xsl:value-of select="type"/>
33   <xsl:text> (</xsl:text>
34   <xsl:value-of select="type_acronym"/>
35   <xsl:text>)</xsl:text>
36  </p>
37  <p>
38   <xsl:text>Proposal Contract Number: </xsl:text>
39   <xsl:value-of select="proposal_contract_no"/>
40  </p>
41  <p>
42   <xsl:text>Operative Commencement Date: </xsl:text>
43   <xsl:value-of select="operative_commencement_of_contract"/>
44  </p>
45 </xsl:template>
46
47 </xsl:stylesheet>