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
| <xsl:output method="html"/>
<xsl:template match="/">
<html>
<head>
<title>OF</title>
</head>
<body>
<a name="haut"/>
<center>Gestion des OF</center><br/><br/>
<xsl:for-each select="/XML_TEST/OF">
<center><xsl:value-of select="OF_num"/></center>
Quantité à fabriquer en Kg : <xsl:value-of select="OF_quantite"/><br/>
Date : <xsl:value-of select="OF_date"/><br/>
<br/><br/>
<center>
<table border="1">
<tr>
<th>Marque du produit</th>
<th>Désignation du produitf fini</th>
<th>Poids unitaire</th>
<th>Date Limite d'Utilisation Optimale</th>
<th>pd</th>
</tr>
<xsl:for-each select="OF_lotPF">
<tr align="center" valign="middle">
<td><xsl:value-of select="LOTPF_marque_pf"/></td>
<td><xsl:value-of select="LOTPF_designation_pf"/></td>
<td><xsl:value-of select="LOTPF_quantiteFabriquee_pf"/></td>
<td><xsl:value-of select="LOTPF_DLUO_pf"/></td>
<td><xsl:value-of select="LOTPF_poidsUnitaire_pf"/></td>
</tr>
</xsl:for-each>
</table>
</center>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet> |
Partager