
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
	<xsl:output method="html" indent="no"/>

	<xsl:template match="/">
		<xsl:call-template name="dvt_1"/>
	</xsl:template>

	<xsl:template name="dvt_1">
		<xsl:variable name="dvt_StyleName">Table</xsl:variable>
		<xsl:variable name="Items" select="/rss/channel/item"/>
		<ul>
			<xsl:call-template name="RSSItem">
				<xsl:with-param name="Items" select="$Items"/>
			</xsl:call-template>
		</ul>
	</xsl:template>

	<xsl:template name="RSSItem">
		<xsl:param name="Items"/>
		<xsl:for-each select="$Items[position() &lt;= 10]">
			<xsl:call-template name="ItemView"/>
		</xsl:for-each>
	</xsl:template>

	<xsl:template name="ItemView">
		<li>
			<a>
				<xsl:attribute name="href">
					<xsl:value-of select="link"/>
				</xsl:attribute>
				<xsl:attribute name="title">
					<xsl:value-of select="description"/>
				</xsl:attribute>
				<xsl:value-of select="title"/>
			</a>
		</li>
	</xsl:template>
</xsl:stylesheet>	
