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="xml"/>
10 <xsl:template match="/">
13 <title><xsl:value-of select="site/name"/></title>
16 <xsl:apply-templates/>
21 <xsl:template match="site|subsite">
23 <xsl:when test="subsite">
24 <p>This is an aggregate site, whose members are:</p>
26 <xsl:for-each select="subsite">
28 <a href="#{generate-id()}">
29 <xsl:value-of select="name"/>
34 <xsl:for-each select="subsite">
36 <a name="{generate-id()}"/>
37 <xsl:apply-templates select="."/>
41 <h1><xsl:value-of select="name"/></h1>
42 <h2><xsl:value-of select="country"/></h2>
43 <p><xsl:value-of select="address"/></p>
44 <p><a href="{url}">Visit the institution home page.</a></p>
46 <xsl:text>Site responsible: </xsl:text>
47 <a href="../people/{responsible/@file}.html">
48 <xsl:call-template name="person-name">
49 <xsl:with-param name="file" 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:call-template name="person-name">
79 <xsl:with-param name="file" select="@file"/>
85 <xsl:copy-of select="description/*"/>