<?xml version="1.0"?> 
<xsl:stylesheet 
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:xhtml="http://www.w3.org/1999/xhtml" 
  version="1.0"
  exclude-result-prefixes="xhtml"
>

<xsl:output method="xml" indent="yes" encoding="us-ascii"/>

<xsl:template match="rss">
<rss version="2.0">
<xsl:apply-templates select="channel" />
</rss>
</xsl:template>

<xsl:template match="channel">
<channel>
<title>
<xsl:value-of select="title" />
</title>
<description>
<xsl:value-of select="description" />
</description>
<language>
<xsl:value-of select="language" />
</language>
<link>
<xsl:value-of select="link" />
</link>
<title>
Jon's Radio (full-length descriptions)
</title>
<xsl:apply-templates select="item" />
</channel>
</xsl:template>


<xsl:template match="item">
<item>
<dc:date>
<xsl:value-of select="dc:date" />
</dc:date>
<link>
<xsl:value-of select="link" />
</link>
<title>
<xsl:value-of select="title" />
</title>
<description>
<xsl:value-of select="content:encoded" />
</description>
<xsl:if test="./enclosure">
<enclosure>
<xsl:attribute name="url">
<xsl:value-of select="enclosure/@url" />
</xsl:attribute>
<xsl:attribute name="length">
<xsl:value-of select="enclosure/@length" />
</xsl:attribute>
<xsl:attribute name="type">
<xsl:value-of select="enclosure/@type" />
</xsl:attribute>
</enclosure>
</xsl:if>
</item>
</xsl:template>

<xsl:template match="xhtml:body">
</xsl:template>



</xsl:stylesheet>
