1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<xsl:stylesheet version="1.0"
4    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6<xsl:template match="/">
7    <html>
8    <body>
9    <h2>Generated HTML</h2>
10    <table>
11    <tr bgcolor="green">
12    <th>Title</th>
13    <th>Value</th>
14    </tr>
15    <xsl:for-each select="test/field">
16        <tr>
17        <td><xsl:value-of select="title"/></td>
18        <td><xsl:value-of select="value"/></td>
19        </tr>
20    </xsl:for-each>
21    </table>
22    </body>
23    </html>
24</xsl:template>
25
26</xsl:stylesheet>
27