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