1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output
method="html"
encoding="ISO-8859-1"
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/html4/strict.dtd"
indent="yes" />
<xsl:template match="cv">
<html>
<head>
<title>Test pour une reponse developpez.com</title>
</head>
<body>
<table width="100%" border="1">
<xsl:for-each select="skills/languages/language">
<tr>
<td><xsl:value-of select="name[@lang='fr']"/></td>
<td><xsl:value-of select="level[@lang='fr']"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet> |