]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/consortium.xsl
- more uniform layout
[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    <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="consortium">
28  <h1>The Consortium</h1>
29  <p>
30   <xsl:text>The Consortium is made of </xsl:text>
31   <xsl:value-of select="count(site)"/>
32   <xsl:text> sites:</xsl:text>
33  </p>
34  <ul>
35   <xsl:for-each select="site">
36    <li>
37     <a href="sites/{@file}.html">
38      <xsl:value-of select="document(concat('../xml/sites/',@file,'.xml'))/site/name"/>
39     </a>
40    </li>
41   </xsl:for-each>
42  </ul>
43  <xsl:copy-of select="description/*"/>
44 </xsl:template>
45
46 </xsl:stylesheet>