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"/>
18 <xsl:call-template name="head">
19 <xsl:with-param name="path_to_top" select="'..'"/>
21 <xsl:apply-templates/>
22 <xsl:call-template name="foot">
23 <xsl:with-param name="path_to_top" select="'..'"/>
29 <xsl:template match="site|subsite">
31 <xsl:when test="subsite">
32 <p>This is an aggregate site, whose members are:</p>
34 <xsl:for-each select="subsite">
36 <a href="#{generate-id()}">
37 <xsl:value-of select="name"/>
42 <xsl:for-each select="subsite">
44 <a name="{generate-id()}"/>
45 <xsl:apply-templates select="."/>
49 <h1><xsl:value-of select="name"/></h1>
50 <h2><xsl:value-of select="country"/></h2>
51 <p><xsl:value-of select="address"/></p>
52 <p><a href="{url}">Visit the institution home page.</a></p>
54 <xsl:text>Site responsible: </xsl:text>
55 <a href="../people/{responsible/@file}.html">
56 <xsl:call-template name="person-name">
57 <xsl:with-param name="file" select="responsible/@file"/>
60 <xsl:text>.</xsl:text>
62 <xsl:copy-of select="description/*"/>
63 <xsl:if test="project">
64 <h1>Projects developed by this site related to MOWGLI:</h1>
66 <xsl:apply-templates select="project"/>
71 <xsl:template match="project">
73 <xsl:value-of select="name"/>
74 <xsl:if test="acronym">
75 <xsl:text> (</xsl:text>
76 <xsl:value-of select="acronym"/>
77 <xsl:text>)</xsl:text>
80 <p><a href="{url}">Visit the project home page.</a></p>
81 <p>Members of the project also involved in MOWGLI:</p>
83 <xsl:for-each select="member">
85 <a href="../people/{@file}.html">
86 <xsl:call-template name="person-name">
87 <xsl:with-param name="file" select="@file"/>
93 <xsl:copy-of select="description/*"/>