<xsl:import href="common.xsl"/>
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
<xsl:template match="people">
<html>
<head>
<title>People Directory</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
</head>
<body>
- <xsl:call-template name="head">
- <xsl:with-param name="path_to_top" select="'.'"/>
- </xsl:call-template>
<h1>People</h1>
<table border="0" width="100%">
<td valign="top">
<h3><a name="#site">By Site</a></h3>
- <xsl:apply-templates select="from">
- <xsl:sort select="@site"/>
- </xsl:apply-templates>
+ <xsl:apply-templates select="from"/>
</td>
<td valign="top">
</td>
</tr>
</table>
-
- <xsl:call-template name="foot">
- <xsl:with-param name="path_to_top" select="'.'"/>
- </xsl:call-template>
</body>
</html>
</xsl:template>
<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:apply-templates select="person">
+ <xsl:sort select="@file"/>
+ </xsl:apply-templates>
</xsl:template>
</xsl:stylesheet>
-