Bonjour,

Le code suivant m'affiche : XSLT Error: (essai.xsl, line 47, column 38.)
La ligne 47 correspond à : <xsl:template name="affiche_donnees">

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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
 
<body>
<table width="100%" border="0">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
	<td>&nbsp;</td>
  </tr>
 
 
<xsl:variable name="ville">
<xsl:value-of select="LEI/resultat/sit_liste/ADRPROD_LIBELLE_COMMUNE" />
</xsl:variable>
 
<xsl:if test="position()=1">
	<xsl:call-template name="affiche_donnees">
		<xsl:with-param name="val_ville" select="$ville">
		</xsl:with-param>
	</xsl:call-template>
</xsl:if>
<xsl:template name="affiche_donnees">
	<xsl:param name="val_ville" />
		<xsl:for-each "LEI/resultat/sit_liste/ADRPROD_LIBELLE_COMMUNE"="$val_ville">
			<tr>
				<td>LEI/Resultat/sit_liste/NOM</td>
				<td>LEI/Resultat/sit_liste/ADRPROD_LIBELLE_COMMUNE</td>
				<td>LEI/Resultat/sit_liste/ADRPROD_TEL</td>
			</tr>
		</xsl:for-each>
</xsl:template>
 
</table>
</body>
Je ne vois pas du tout !
J'espère que la solution est aussi évidente que lors de mon dernier message. Merci.