<?xml version="1.0" encoding="utf-8"?><!-- DWXMLSource="rss.xml" -->
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]><!-- /* $Id: feeds.xsl,v 1.1 2006/03/16 08:09:29 pjkix Exp $ */ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>News Feed</title>
<link rel="stylesheet" type="text/css" href="feeds.css" />
</head>

<body>
<div id="header">
  <h1>This is a news  feed using RSS+XSL/T</h1>
  <h2>Check out all the cool stuff you can do. </h2>
</div>
<div id="note">
	<p>The  feed will still be served in the same rss format but browsers will be able to tranform it into html using this template. </p>
	<p>Basically though you should NOT be reading rss in a browser but use an <a href="http://google.com/search?q=news+aggregator" title="google search for news aggregator">aggregator </a> [<a href="http://en.wikipedia.org/wiki/News_aggregator" title="wikipedia entry for news aggregator">W</a>] instead</p>
</div>
<div id="content">

<div id="channel">
	<h3>Channel Details:</h3>
	<p><strong>Image</strong>: <img src="{rss/channel/image/url}" alt="" /></p>
	<p><strong>Title</strong>: <xsl:value-of select="rss/channel/title"/></p>
	<p><strong>Link</strong>: <xsl:value-of select="rss/channel/link"/></p>
	<p><strong>Description</strong>:<xsl:value-of select="rss/channel/description" disable-output-escaping="yes"/></p>
	<p><strong>Editor</strong>:<xsl:value-of select="rss/channel/managingEditor"/></p>
	<p><strong>WebMaster</strong>:<xsl:value-of select="rss/channel/webMaster"/></p>
</div>

<div id="items">
	<h3>Feed Items:</h3>
	<dl>
		<xsl:for-each select="rss/channel/item">
		<dt><a href="{link}">
		<xsl:value-of select="title"/></a></dt>
		<dd><xsl:value-of select="description"/> </dd>
		</xsl:for-each>
	</dl>
</div>

</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
