<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" />
	<xsl:variable name="articleCount" select="10"/>
	<xsl:template match="rss/channel">
		<style media="all" lang="en" type="text/css">
			.ChannelTitle
			{
			font-family:  Verdana;
			font-size:  11pt;
			font-weight:  bold;
			text-align:  center;
			}
			.articles
			{
			border-width:  1px;
			border-color:  #F2A31B;
			border-style:  solid;
			background-color: #F5EAD5;
			}
			.ArticleTitle
			{
			color:  #395D8D;
			font-family:  Verdana;
			font-size:  9pt;
			font-weight:  bold;
			padding-left:  5px;
			padding-top:  5px;
			padding-bottom:  5px;
			/*background: #678FC2 url('breadcrumb_bg.gif') repeat-x;*/
			height: 25px;
			}
			.ArticleHeader
			{
			background-color: transparent;
			color:  #7572B0;
			font-family:  Verdana;
			font-size:  7pt;
			padding-left:  5px;
			padding-top:  2px;
			padding-bottom:  2px;
			}
			.ArticleTitle A:visited
			{
			color:  #395D8D;
			text-decoration:  none;
			}
			.ArticleTitle A:link
			{
			color:  #395D8D;
			text-decoration:  none;
			}
			.ArticleTitle A:hover
			{
			text-decoration:  underline;
			}
			.ArticleDescription
			{
			color:  #000000;
			font-family:  Verdana;
			font-size:  9pt;
			padding-left:  5px;
			padding-top:  5px;
			padding-bottom:  5px;
			padding-right:  5px;
			}
		</style>
		<div class="articles">
			<xsl:call-template name="BuildItem">
				<xsl:with-param name="count" select="1"/>
			</xsl:call-template>
		</div>
	</xsl:template>
	<xsl:template match="title">
		<div class="ChannelTitle">
			<a href="{link}">
				<xsl:value-of select="text()" />
			</a>
		</div>
		<br />
	</xsl:template>
	<xsl:template match="item">
		<div class="ArticleEntry">
			<div class="ArticleTitle">
				<a href="{link}">
					<xsl:value-of select="title" />
				</a>
			</div>
			<div class="ArticleHeader">
				<xsl:value-of select="pubDate" />
			</div>
			<div class="ArticleDescription">
				<b>Description:</b>
				<xsl:value-of select="description" disable-output-escaping="yes"/>
			</div>
		</div>
		<br />
	</xsl:template>

	<xsl:template name="BuildItem">
		<xsl:param name="count"/>
		<xsl:variable name="currentItem" select="//rss/channel/item[$count]"/>

		<div class="ArticleEntry">
			<div class="ArticleTitle">
				<a href="{$currentItem/link}" target="_blank">
					<xsl:value-of select="$currentItem/title" />
				</a>
			</div>
			<div class="ArticleHeader">
				<xsl:value-of select="$currentItem/pubDate" />
			</div>
<!--			<div class="ArticleDescription">
				<b>Description:</b>
				<xsl:value-of select="$currentItem/description" disable-output-escaping="yes"/>
			</div> -->
		</div>
		<br />
		<xsl:if test="$count &lt; $articleCount">
			<xsl:call-template name="BuildItem">
				<xsl:with-param name="count" select="$count + 1"/>
			</xsl:call-template>
		</xsl:if>
	</xsl:template>
</xsl:stylesheet>
