3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <xsl:import href="common.xsl"/>
8 <xsl:output method="html"/>
10 <xsl:template match="/">
13 <title><xsl:value-of select="site/name"/></title>
14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
15 <link rel="stylesheet" href="../../style/mowgli.css" type="text/css"/>
19 <xsl:call-template name="head"/>
20 <xsl:apply-templates/>
21 <xsl:call-template name="foot"/>
27 <xsl:template match="site|subsite">
29 <xsl:when test="subsite">
30 <p>This is an aggregate site, whose members are:</p>
32 <xsl:for-each select="subsite">
34 <a href="#{generate-id()}">
35 <xsl:value-of select="name"/>
40 <xsl:for-each select="subsite">
42 <a name="{generate-id()}"/>
43 <xsl:apply-templates select="."/>
47 <h1><xsl:value-of select="name"/></h1>
48 <h2><xsl:value-of select="country"/></h2>
49 <p><xsl:value-of select="address"/></p>
50 <p><a href="{url}">Visit the institution home page.</a></p>
52 <xsl:text>Site responsible: </xsl:text>
53 <a href="../people/{responsible/@file}.html">
54 <xsl:call-template name="person-name">
55 <xsl:with-param name="file" select="responsible/@file"/>
58 <xsl:text>.</xsl:text>
60 <xsl:copy-of select="description/*"/>
61 <xsl:if test="project">
62 <h1>Projects developed by this site related to MOWGLI:</h1>
64 <xsl:apply-templates select="project"/>
69 <xsl:template match="project">
71 <xsl:value-of select="name"/>
72 <xsl:if test="acronym">
73 <xsl:text> (</xsl:text>
74 <xsl:value-of select="acronym"/>
75 <xsl:text>)</xsl:text>
78 <p><a href="{url}">Visit the project home page.</a></p>
79 <p>Members of the project also involved in MOWGLI:</p>
81 <xsl:for-each select="member">
83 <a href="../people/{@file}.html">
84 <xsl:call-template name="person-name">
85 <xsl:with-param name="file" select="@file"/>
91 <xsl:copy-of select="description/*"/>