<xsl:template match="/">
<xsl:element name="channel-right-now">
- <!-- [contains(@class,'listCell')] -->
- <xsl:apply-templates select="//xhtml:tr[xhtml:td[contains(@class, 'listCell')]]"/>
+ <xsl:apply-templates select="//xhtml:tr[xhtml:td[not(contains(@class, 'listCell'))]]"/>
</xsl:element>
</xsl:template>
<xsl:element name="action">
<xsl:attribute name="name">
<xsl:call-template name="string-replace">
- <xsl:with-param name="src" select="xhtml:td[2]/xhtml:a"/>
+ <xsl:with-param name="src" select="xhtml:td[2]//xhtml:a"/>
<xsl:with-param name="from" select="$newline"/>
<xsl:with-param name="to" select="''"/>
</xsl:call-template>
<xsl:text>program-info</xsl:text>
</xsl:attribute>
<xsl:attribute name="reference">
- <xsl:value-of select="xhtml:td[2]/xhtml:a/@href"/>
+ <xsl:value-of select="xhtml:td[2]//xhtml:a/@href"/>
</xsl:attribute>
<xsl:element name="time">
<xsl:call-template name="string-replace">