Bonjour, c'est encore moi ^^
Pour des raisons de design (ce n'est pas moi qui m'en occupe alors ne me jetez pas la pierre si il ne respecte pas les standards, je n'y suis pour rien), je dois analyser en xsl plusieurs noeuds en un tour de boucle. Par boucle j'entend un seul appel à <xsl:template>
Pour le moment j'utilise cela :
Mais evidemment, il me repete 8 fois le même noeud. J'aimerai donc pouvoir passer au suivant.
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55 <xsl:template match="/liste"> <tr> <td width="15"></td> <td width="180"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td width="180"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td width="180"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td width="180"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td width="15"></td> </tr> <tr height="18"> <td colspan="6" height="18"> </td> </tr> <tr height="264"> <td height="264"></td> <td height="264"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td height="264"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td height="264"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td height="264"> <div align="center"> <xsl:apply-templates select="product" /> </div> </td> <td height="264"></td> </tr> </xsl:template>
J'ai cherché mais je ne trouve rien qui corresponde à ce que je recherche.
Merci beaucoup d'avance.
Partager