<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="ISO-8859-1" />

<xsl:template match="/">
<html>
<head>
<title>
Nombre de personnes
</title>
</head>
<body>
<h1>
    On a vu <xsl:apply-templates select="//personne" /> personnes.
</h1>
</body>
</html>
</xsl:template>

<xsl:template match="personne">
    <xsl:if test="position() = last()">
          <xsl:value-of select="position()" />
    </xsl:if>
</xsl:template>

</xsl:stylesheet>
