MM_XSLTransform error.
Unescaped '<' not allowed in attributes values. Check tag when, line 22, column 38 in file bbc-sport-news.xsl.
attributes construct error. Check tag when, line 22, column 38 in file bbc-sport-news.xsl.
Couldn't find end of Start Tag for-each line 22. Check tag for-each, line 22, column 38 in file bbc-sport-news.xsl.
StartTag: invalid element name. Check tag when, line 22, column 39 in file bbc-sport-news.xsl.
Opening and ending tag mismatch: when line 21 and span. Check tag when, line 26, column 94 in file bbc-sport-news.xsl.
Opening and ending tag mismatch: choose line 20 and for-each. Check tag choose, line 27, column 16 in file bbc-sport-news.xsl.
Opening and ending tag mismatch: for-each line 19 and when. Check tag for-each, line 28, column 12 in file bbc-sport-news.xsl.
Opening and ending tag mismatch: template line 16 and choose. Check tag template, line 32, column 14 in file bbc-sport-news.xsl.
Opening and ending tag mismatch: stylesheet line 14 and for-each. Check tag stylesheet, line 33, column 16 in file bbc-sport-news.xsl.
Extra content at the end of the document. Check line 34, column 1 in file bbc-sport-news.xsl.
<?xml version="1.0" encoding="ISO-8859-1"?><!-- DWXMLSource="http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/front_page/rss.xml" -->
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY copy "©">
<!ENTITY reg "®">
<!ENTITY trade "™">
<!ENTITY mdash "—">
<!ENTITY ldquo "“">
<!ENTITY rdquo "”">
<!ENTITY pound "£">
<!ENTITY yen "¥">
<!ENTITY euro "€">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="ISO-8859-1"/>
<xsl:template match="/">
<link href="feed.css" rel="stylesheet" type="text/css" />
<xsl:for-each select="rss/channel">
<xsl:choose>
<xsl:when test="item">
<xsl:for-each select="item[position() <= 8]">
<a href="{link}" title="{title}" target="_blank" class="greentitle">
<xsl:value-of select="title"/></a>
<br />
<span class="descriptiontext"><xsl:value-of select="description" disable-output-escaping="yes"/></span>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
Update in Progress...
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>