Bonjour,

je veux affiche chaque numero de matricule dans un case avec des quantite sous forme d'un tableau voir le pièce jointe

et voila le fichier xsl:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="iso-8859-1" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
<!--<xsl:variable name="numero"  select="gestion/commande[@numCo='Co1235']/@numCo"/>-->
<!--<xsl:variable name="numero1" select="compagne/personnel[@nomP='duracuire']/@numP"/>-->
<table border="1" cellspacing="0" width="100%">
<tr bgcolor="yellow">
<td width="30%">numarticle</td>
<td width="30%">qteCo</td>
</tr>
<!--<xsl:for-each select="gestion/commande[@numCo=$numero]">-->
<xsl:for-each select="gestion/commande[@numCo='Co1235']">
    <tr>
      <td width="30%"><xsl:for-each select="article/@numarticle">
        <xsl:value-of select="."/>
      </xsl:for-each></td><br />
      <td width="30%"><xsl:for-each select="article/@qteCo">
         <xsl:value-of select="."/>
      </xsl:for-each></td><br />
    </tr> 
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>

upload/18713-img.png