<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
	<table width="100%" border="1">
		<tr>
			<td>
				<center>
				<img>
					<xsl:attribute name="src">
						<xsl:value-of select="rss/channel/image/url" />
					</xsl:attribute>
					<xsl:attribute name="width">
						<xsl:value-of select="rss/channel/image/width" />
					</xsl:attribute>
					<xsl:attribute name="height">
						<xsl:value-of select="rss/channel/image/height" />
					</xsl:attribute>
					<xsl:attribute name="alt">
						<xsl:value-of select="rss/channel/image/title" />
					</xsl:attribute>
				</img>

				<h3><xsl:value-of select="rss/channel/title" /></h3><xsl:text disable-output-escaping="yes"><![CDATA[ &nbsp;&nbsp;&nbsp;]]></xsl:text>On <b><xsl:value-of select="rss/channel/pubDate" /></b></center>
			</td>
		</tr>

		<xsl:if test="count(rss/channel/item)=0">
			<tr>
				<td align="center">No Updates</td>
			</tr>
		</xsl:if>
		<xsl:apply-templates select="rss/channel/item" />
	</table>
</xsl:template>

<xsl:template match="item">	
	<xsl:variable name="styleValue">
		<xsl:choose>
			<xsl:when test="position() mod 2 = 0">
				<xsl:value-of select="'background-color=#CCCCCC;'" />
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="'background-color=FFFFCC'" />
			</xsl:otherwise>
		</xsl:choose>
	</xsl:variable>

	<tr style="{$styleValue}">
		<td>
			<b><xsl:value-of select="./title" /></b>
			<xsl:value-of disable-output-escaping="yes" select="./description" />
		</td>
	</tr>
</xsl:template>

</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" externalpreview="no" url="rss_sanfrancisco.xml" htmlbaseurl="" outputurl="" processortype="internal" useresolver="no" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->