github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/REC/test-8-1.xsl (about)

     1  <xsl:stylesheet version="1.0"
     2        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     3        xmlns:fo="http://www.w3.org/1999/XSL/Format"
     4        exclude-result-prefixes="fo">
     5  <xsl:template match="/">
     6    <html>
     7      <head>
     8        <title>Customers</title>
     9      </head>
    10      <body>
    11        <table>
    12  	<tbody>
    13  	  <xsl:for-each select="customers/customer">
    14  	    <tr>
    15  	      <th>
    16  		<xsl:apply-templates select="name"/>
    17  	      </th>
    18  	      <xsl:for-each select="order">
    19  		<td>
    20  		  <xsl:apply-templates/>
    21  		</td>
    22  	      </xsl:for-each>
    23  	    </tr>
    24  	  </xsl:for-each>
    25  	</tbody>
    26        </table>
    27      </body>
    28    </html>
    29  </xsl:template>
    30  </xsl:stylesheet>