rendered paste body<?xml version="1.0" ?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="yes" omit-xml-declaration="no" encoding="iso-8859-1" /> <xsl:template match="/"> <my-root> <table border="1"> <tr> <th>Channels</th> <th>Program Title</th> <th>Start Time</th> <th>Finish Time</th> <th>Duration</th> <th>Widescreen</th> <th>Subtitles</th> </tr> <xsl:for-each select="tvguide/programs/ROWSET/ROW"> <tr> <xsl:for-each select="*[not(channel_name=preceding-sibling::channel_name)]"> <td><xsl:value-of select="."/></td> </xsl:for-each> </tr> </xsl:for-each> </table> </my-root> </xsl:template> </xsl:stylesheet>