rendered paste body<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:output
method="xml"
media-type="text/html"
indent="yes"
omit-xml-declaration="yes"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
/>
<xsl:template match="/">
<html>
<head>
<title>Date</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
</head>
<body>
<table>
<xsl:for-each select="//ROW[not(program_title=preceding-sibling::ROW/program_title)]">
<tr>
<th><xsl:value-of select="date" /></th>
</tr>
<tr><th></th><th>Channel</th><th></th><th>Program</th><th></th><th>Times</th></tr>
<tr>
<td />
<td><xsl:value-of select="channel_name" /></td>
<td />
<td><xsl:value-of select="program_title" /></td>
<td />
<td><xsl:value-of select="concat(start_time,' - ',finish_time)" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>