[XSLT] Affichage selon attribut
Re re re re bonjour à tous :)
Un nouveau probleme pour moi ...
J'aimerais, par l'intermediaire de mon xsl d'affichage, afficher seulement les index qui ont l'atrribut VISIBLE=1
Voici mon xml
Code:
1 2 3 4 5 6
| <CO CO_NAME="Nom">
<INDEX VISIBLE="1">
<LABEL>NOM</LABEL>
<VALUE>MonNom</VALUE>
</INDEX_DESC>
</CO> |
et mon xsl
Code:
1 2 3 4
| <xsl:template match="INDEX[VISIBLE='1']">
<xsl:value-of select="./LABEL"/>
<xsl:value-of select="./VALUE"/>
</xsl:template> |
Voila, mais ca marche po ... :(
Merci de votre aide