I’ve been trying to give my XML feed some style since Chrome doesn’t have a default XML style.
I got most of it figured out, but my last problem is that the ‘description’ field in the XML is coming out as paragraph text, but it’s ignoring all of the HTML tags already imbedded in the ‘description’
The XML Feed is located here: http://www.ezup.com/ezrss.php
This is my XSL code:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="utf-8"/>
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="rss/channel/title"/> Feed</title>
<style type="text/css">
@import url(includes/css/rss.css);
</style>
</head>
<body>
<div id="explanation">
<h1>E-Z UP RSS Feed</h1>
<p>You are viewing an <acronym title="Really Simple Syndication">RSS</acronym> feed. An RSS feed is a file allowing users a way to read updates to a website either through a third party RSS aggregator or other form of RSS syndication service.<br/> You can find out more about the RSS file format at the <a href="http://en.wikipedia.org/wiki/RSS_(file_format)">Wikipedia RSS entry</a>.</p>
<p>You may use the <acronym title="Uniform Resource Locater">URL</acronym> of this document for any RSS purposes.</p>
</div>
<div id="content">
<xsl:for-each select="rss/channel/item">
<div class="article">
<h2><a href="{link}" rel="bookmark"><xsl:value-of select="title"/></a></h2>
<p class="date"><xsl:value-of select="pubDate" /></p>
<p><xsl:value-of select="description" /></p>
</div>
</xsl:for-each>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>