bonjour
je me cogne la tête ...
voici:
un extrait
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 <xsl:choose> <xsl:when test="Root/data/mytbl_theme=1"> <xsl:variable name="picto" select="PictoPatrimoine.gif" /> </xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="Root/data/mytbl_theme=2"> <xsl:variable name="picto" select="PictoNature.gif" /> </xsl:when> </xsl:choose> <xsl:choose> <xsl:when test="Root/data/mytbl_theme=3"> <xsl:variable name="picto" select="PictoSavoirFaire.gif" /> </xsl:when> </xsl:choose> <div style="background-color:#fafafa; color: black; font-size: medium; font-family: serif; visibility: visible; display: block; position: absolute; top: 67px; left: 26px; width: 128px; height: 156px;"> <img><xsl:attribute name="src">../../pagesTypeImg/ficheproduit/<xsl:value-of select="picto" /></xsl:attribute><xsl:attribute name="title"><xsl:value-of select="Root/data/mytbl_titre" /></xsl:attribute></img></div>
provient d'une base my_sql (la lecture est ok)
Code : Sélectionner tout - Visualiser dans une fenêtre à part Root/data/mytbl_theme
j'ai declaréau debut via
Code : Sélectionner tout - Visualiser dans une fenêtre à part pictol'image ne s'affiche pas ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part <xsl:variable name="picto"/>
si quelqu'un peu m'aider ^^ merci
Partager