]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/project.xsl
- main page now generated automatically
[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:call-template name="head">
19      <xsl:with-param name="path_to_top" select="'.'"/>
20     </xsl:call-template>
21     <xsl:apply-templates/>
22     <xsl:call-template name="foot">
23      <xsl:with-param name="path_to_top" select="'../..'"/>
24     </xsl:call-template>
25   </body>
26  </html>
27 </xsl:template>
28
29 <xsl:template match="project">
30  <h1>
31   <xsl:value-of select="full_title"/>
32   <xsl:text> (</xsl:text>
33   <xsl:value-of select="acronym"/>
34   <xsl:text>)</xsl:text>
35  </h1>
36  <p>
37   <xsl:text>Project type: </xsl:text>
38   <xsl:value-of select="type"/>
39   <xsl:text> (</xsl:text>
40   <xsl:value-of select="type_acronym"/>
41   <xsl:text>)</xsl:text>
42  </p>
43  <p>
44   <xsl:text>Proposal Contract Number: </xsl:text>
45   <xsl:value-of select="proposal_contract_no"/>
46  </p>
47  <p>
48   <xsl:text>Operative Commencement Date: </xsl:text>
49   <xsl:value-of select="operative_commencement_of_contract"/>
50  </p>
51 </xsl:template>
52
53 </xsl:stylesheet>