XSL - Unknown Error in FF media:content/@url
Posted
by danit
on Stack Overflow
See other posts from Stack Overflow
or by danit
Published on 2009-09-30T19:46:33Z
Indexed on
2010/05/16
6:10 UTC
Read the original article
Hit count: 387
xslt
I keep getting "Unknow Error occurred" when i try this in my XSLT:
<table class="TEDtalks">
<xsl:for-each select="/rss/channel/item">
<tr>
<td><xsl:value-of select="title"/></td>
<td>
<xsl:value-of select="media:content/@url" />
</td>
</tr>
</xsl:for-each>
</table>
The XML
<rss>
<channel>
<item>
<title>TEDTalks : Karen Armstrong: Let's revive the Golden Rule - Karen Armstrong (2009)</title>
<itunes:author>Karen Armstrong</itunes:author>
<description>Weeks from the Charter for Compassion launch, Karen Armstrong looks at religion's role in the 21st century: Will its dogmas divide us? Or will it unite us for common good? She reviews the catalysts that can drive the world's faiths to rediscover the Golden Rule.<img src="http://feeds.feedburner.com/~r/TEDTalks_video/~4/th6FBgvV22o" height="1" width="1"/></description>
<itunes:subtitle>Karen Armstrong: Let's revive the Golden Rule</itunes:subtitle>
<itunes:summary><![CDATA[Weeks from the Charter for Compassion launch, Karen Armstrong looks at religion's role in the 21st century: Will its dogmas divide us? Or will it unite us for common good? She reviews the catalysts that can drive the world's faiths to rediscover the Golden Rule.]]></itunes:summary>
<link>http://feedproxy.google.com/~r/TEDTalks_video/~3/th6FBgvV22o/647</link>
<guid isPermaLink="false">http://video.ted.com/talks/podcast/KarenArmstrong_2009G.mp4</guid>
<pubDate>Tue, 29 Sep 2009 12:46:00 -0500</pubDate>
<category>Higher Education</category>
<itunes:explicit>no</itunes:explicit>
<itunes:duration>00:09:54</itunes:duration>
<itunes:keywords>TED</itunes:keywords>
<media:content url="http://feedproxy.google.com/~r/TEDTalks_video/~5/XT8k_DqlzGc/KarenArmstrong_2009G.mp4" fileSize="33726021" type="video/mp4" />
© Stack Overflow or respective owner