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:apply-templates/>
23 <xsl:template match="site|subsite">
25 <xsl:when test="subsite">
26 <p>This is an aggregate site, whose members are:</p>
28 <xsl:for-each select="subsite">
30 <a href="#{generate-id()}">
31 <xsl:value-of select="name"/>
36 <xsl:for-each select="subsite">
38 <a name="{generate-id()}"/>
39 <xsl:apply-templates select="."/>
43 <h1><xsl:value-of select="name"/></h1>
44 <h2><xsl:value-of select="country"/></h2>
45 <p><xsl:value-of select="address"/></p>
46 <p><a href="{url}">Visit the institution home page.</a></p>
48 <xsl:text>Site responsible: </xsl:text>
49 <a href="../people/{responsible/@file}.html">
50 <xsl:value-of select="responsible/@file"/>
52 <xsl:text>.</xsl:text>
54 <xsl:copy-of select="description/*"/>
55 <xsl:if test="project">
56 <h1>Projects developed by this site related to MOWGLI:</h1>
58 <xsl:apply-templates select="project"/>
63 <xsl:template match="project">
65 <xsl:value-of select="name"/>
66 <xsl:if test="acronym">
67 <xsl:text> (</xsl:text>
68 <xsl:value-of select="acronym"/>
69 <xsl:text>)</xsl:text>
72 <p><a href="{url}">Visit the project home page.</a></p>
73 <p>Members of the project also involved in MOWGLI:</p>
75 <xsl:for-each select="member">
77 <a href="../people/{@file}.html">
78 <xsl:value-of select="@file"/>
83 <xsl:copy-of select="description/*"/>