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>Consortium</title>
16 <xsl:apply-templates/>
21 <xsl:template match="consortium">
22 <h1>The Consortium</h1>
24 <xsl:text>The Consortium is made of </xsl:text>
25 <xsl:value-of select="count(site)"/>
26 <xsl:text> sites:</xsl:text>
29 <xsl:for-each select="site">
31 <a href="sites/{@file}.html">
32 <xsl:variable name="site" select="document(concat('../xml/sites/',@file,'.xml'))/site"/>
34 <xsl:when test="$site/name">
35 <xsl:value-of select="$site/name"/>
38 <xsl:value-of select="$site/subsite/name"/>
45 <xsl:copy-of select="description/*"/>