XSLT - Exemple 2


<xsl:template match="/">
   <html>
     <head>
       <title>Customers</title>
     </head>
     <body>
     <table>
     <tbody>       <xsl:for-each select="customers/customer">
         <tr>
           <th>             <xsl:apply-templates select="name"/>
           </th>           <xsl:for-each select="order">
             <td>               <xsl:apply-templates/>
             </td>           </xsl:for-each>
         </tr>       </xsl:for-each>
     </tbody>
     </table>
     </body>
   </html></xsl:template>