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>Consortium</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="consortium">
30 <h1>The Consortium</h1>
32 <xsl:text>The Consortium is made of </xsl:text>
33 <xsl:value-of select="count(site)"/>
34 <xsl:text> sites:</xsl:text>
37 <xsl:for-each select="site">
39 <a href="sites/{@file}.html">
40 <xsl:variable name="site" select="document(concat('../xml/sites/',@file,'.xml'))/site"/>
42 <xsl:when test="$site/name">
43 <xsl:value-of select="$site/name"/>
46 <xsl:value-of select="$site/subsite/name"/>
53 <xsl:copy-of select="description/*"/>