]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/consortium.xsl
- added common stylesheet
[helm.git] / helm / mowgli / home / xsl / consortium.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>Consortium</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="consortium">
24  <h1>The Consortium</h1>
25  <p>
26   <xsl:text>The Consortium is made of </xsl:text>
27   <xsl:value-of select="count(site)"/>
28   <xsl:text> sites:</xsl:text>
29  </p>
30  <ul>
31   <xsl:for-each select="site">
32    <li>
33     <a href="sites/{@file}.html">
34      <xsl:value-of select="@file"/>
35     </a>
36    </li>
37   </xsl:for-each>
38  </ul>
39  <xsl:copy-of select="description/*"/>
40 </xsl:template>
41
42 </xsl:stylesheet>