<?xml version="1.0" encoding="ISO-8859-1"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/xsl"> | |
<xsl:template match="/"> | |
<html> | |
<body> | |
<table border="2" bgcolor="yellow"> | |
<tr> | |
<th>Title</th> | |
<th>Artist</th> | |
</tr> | |
<xsl:for-each select="CATALOG/CD"> | |
<tr> | |
<td> | |
<xsl:value-of select="TITLE"/> | |
</td> | |
<td> | |
<xsl:value-of select="ARTIST"/> | |
</td> | |
</tr> | |
</xsl:for-each> | |
</table> | |
</body> | |
</html> | |
</xsl:template> | |
</xsl:stylesheet> |