[XPATH] Probleme d expression pour test
Bonjour,
je suis en train de continuer , j ai fait hier et j essaie de faire des tests de variable si il a telle valeur sinon non etc
mais je ne vois pas l erreur ./....:(
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:template match="/">
<html>
<head> </head>
<body>
<xsl:apply-templates select="//materiel[@type='IBM System x3455']"></xsl:apply-templates>
</body>
</html>
</xsl:template>
<xsl:template match="materiel">
<font face="helevetica" color ="red"> Nom :<xsl:value-of select="nbre[not(nbre/@value> 1)]"/><br/></font>
</xsl:template>
</xsl:stylesheet> |
Quand je fais ca il m affiche toutes les valeurs il ne prend pas en compte l iteration ..... comprends pas
merci d avance pour vos reponses :)