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:with-param name="path_to_top" select="'..'"/>
22 <xsl:apply-templates/>
23 <xsl:call-template name="foot">
24 <xsl:with-param name="path_to_top" select="'..'"/>
31 <xsl:template match="site|subsite">
33 <xsl:when test="subsite">
34 <p>This is an aggregate site, whose members are:</p>
36 <xsl:for-each select="subsite">
38 <a href="#{generate-id()}">
39 <xsl:value-of select="name"/>
44 <xsl:for-each select="subsite">
46 <a name="{generate-id()}"/>
47 <xsl:apply-templates select="."/>
51 <h1><xsl:value-of select="name"/></h1>
52 <h2><xsl:value-of select="country"/></h2>
53 <p><xsl:value-of select="address"/></p>
54 <p><a href="{url}">Visit the institution home page.</a></p>
56 <xsl:text>Site responsible: </xsl:text>
57 <a href="../people/{responsible/@file}.html">
58 <xsl:call-template name="person-name">
59 <xsl:with-param name="file" select="responsible/@file"/>
62 <xsl:text>.</xsl:text>
64 <xsl:copy-of select="description/*"/>
65 <xsl:if test="project">
66 <h1>Projects developed by this site related to MOWGLI:</h1>
68 <xsl:apply-templates select="project"/>
73 <xsl:template match="project">
75 <xsl:value-of select="name"/>
76 <xsl:if test="acronym">
77 <xsl:text> (</xsl:text>
78 <xsl:value-of select="acronym"/>
79 <xsl:text>)</xsl:text>
82 <p><a href="{url}">Visit the project home page.</a></p>
83 <p>Members of the project also involved in MOWGLI:</p>
85 <xsl:for-each select="member">
87 <a href="../people/{@file}.html">
88 <xsl:call-template name="person-name">
89 <xsl:with-param name="file" select="@file"/>
95 <xsl:copy-of select="description/*"/>