+++ /dev/null
-<?xml version="1.0"?>
-
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:import href="common.xsl"/>
-
-<xsl:output method="xml"/>
-
-<xsl:template match="/">
- <html>
- <head>
- <title>Consortium</title>
- </head>
- <body>
- <xsl:apply-templates/>
- </body>
- </html>
-</xsl:template>
-
-<xsl:template match="consortium">
- <h1>The Consortium</h1>
- <p>
- <xsl:text>The Consortium is made of </xsl:text>
- <xsl:value-of select="count(site)"/>
- <xsl:text> sites:</xsl:text>
- </p>
- <ul>
- <xsl:for-each select="site">
- <li>
- <a href="sites/{@file}.html">
- <xsl:variable name="site" select="document(concat('../xml/sites/',@file,'.xml'))/site"/>
- <xsl:choose>
- <xsl:when test="$site/name">
- <xsl:value-of select="$site/name"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$site/subsite/name"/>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </li>
- </xsl:for-each>
- </ul>
- <xsl:copy-of select="description/*"/>
-</xsl:template>
-
-</xsl:stylesheet>