]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/project.xsl
ocaml 3.09 transition
[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="xml"/>
9
10 <xsl:template match="/">
11  <html>
12   <head>
13    <title>The Project</title>
14   </head>
15   <body>
16     <xsl:apply-templates/>
17   </body>
18  </html>
19 </xsl:template>
20
21 <xsl:template match="project">
22  <h1>
23   <xsl:value-of select="full_title"/>
24   <xsl:text> (</xsl:text>
25   <xsl:value-of select="acronym"/>
26   <xsl:text>)</xsl:text>
27  </h1>
28  <p>
29   <xsl:text>Project type: </xsl:text>
30   <xsl:value-of select="type"/>
31   <xsl:text> (</xsl:text>
32   <xsl:value-of select="type_acronym"/>
33   <xsl:text>)</xsl:text>
34  </p>
35  <p>
36   <xsl:text>Proposal Contract Number: </xsl:text>
37   <xsl:value-of select="proposal_contract_no"/>
38  </p>
39  <p>
40   <xsl:text>Operative Commencement Date: </xsl:text>
41   <xsl:call-template name="print_date">
42    <xsl:with-param name="date" select="operative_commencement_of_contract"/>
43   </xsl:call-template>
44  </p>
45  <br/>
46   <p><xsl:text>More about the Proposal:</xsl:text></p>
47   <xsl:copy-of select="proposal/*"/>
48 </xsl:template>
49
50 </xsl:stylesheet>