<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">

<html>
<body>
<table cellpadding="2" cellspacing="0" border="1">
	<tr>
		<th>ID</th>
		<th>Nom</th>
		<th>Classe</th>
		<th>Race</th>
		<th>Compétence</th>
		<th>Niveau</th>
	</tr>
	<xsl:for-each select="page/joueur">
		<tr>
			<td valign="top"><xsl:value-of select="id"/></td>
			<td valign="top"><xsl:value-of select="nom"/></td>
			<td valign="top"><xsl:value-of select="classe"/></td>
			<td valign="top"><xsl:value-of select="race"/></td>
			<td>
				<xsl:for-each select="competences/competence">
					<xsl:value-of select="nom"/><br />
				</xsl:for-each>
			</td>
			<td>
				<xsl:for-each select="competences/competence">
					<xsl:value-of select="niveau"/><br />
				</xsl:for-each>
			</td>
		</tr>
	</xsl:for-each>
</table>
</body>
</html>

</xsl:template>
</xsl:stylesheet>
