+++ /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="people">
- <html>
- <head>
- <title>People Directory</title>
- </head>
- <body>
- <h1>People</h1>
-
- <table border="0" width="100%">
- <tr>
- <td valign="top">
-
- <h3><a name="#site">By Site</a></h3>
- <xsl:apply-templates select="from"/>
-
- </td>
- <td valign="top">
-
- <h3><a name="#alpha">Alphabetical</a></h3>
- <xsl:apply-templates select="from/person" mode="alphabetical">
- <xsl:sort select="@file"/>
- </xsl:apply-templates>
-
- </td>
- </tr>
- </table>
- </body>
- </html>
-</xsl:template>
-
-<xsl:template match="person">
- <xsl:variable name="person" select="document(concat('../xml/people/',../@site,'/',@file,'.xml'))/person"/>
- <a href="people/{../@site}/{@file}.html">
- <xsl:call-template name="person-name">
- <xsl:with-param name="file" select="concat(../@site,'/',@file)"/>
- </xsl:call-template>
- </a>
- <br />
-</xsl:template>
-
-<xsl:template match="person" mode="alphabetical">
- <xsl:variable name="person" select="document(concat('../xml/people/',../@site,'/',@file,'.xml'))/person"/>
- <a href="people/{../@site}/{@file}.html">
- <xsl:value-of select="$person/surname"/>
- <xsl:text>, </xsl:text>
- <xsl:value-of select="$person/name"/>
- </a>
- <br />
-</xsl:template>
-
-<xsl:template match="name">
- <xsl:param name="file" select="''"/>
- <h4><a href="sites/{$file}.html"><xsl:value-of select="."/></a></h4>
-</xsl:template>
-
-<xsl:template match="from">
- <xsl:variable name="site" select="document(concat('../xml/sites/',@site,'.xml'))/site"/>
- <xsl:apply-templates select="$site/name | $site/subsite[1]/name">
- <xsl:with-param name="file" select="@site"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="person">
- <xsl:sort select="@file"/>
- </xsl:apply-templates>
-</xsl:template>
-
-</xsl:stylesheet>