<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:rdf="http://realPrefixRemovedForThisDemo.org#"
    xmlns:rss="http://purl.org/rss/1.0/"
    xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="rdf rss">
    <xsl:template match="/">
        <html>
            <head>
                <title>
                    <xsl:value-of select="rdf:RDF/rss:channel/rss:title"/>
                </title>
            </head>
            <body>
                <xsl:apply-templates select="rdf:RDF/rss:channel"/>
            </body>
        </html>
    </xsl:template>
    <xsl:template match="rss:channel">
        <div class="channel" id="planet">
	    <h1> <xsl:value-of select="./rss:title"/>
	          .... Get it!
                 <a href="{./rss:link}">
                    <img alt="RSS channel" src="feed-icon-24x24.png"/>
                 </a>
 	    </h1>
            <xsl:value-of select="./rss:description"/>

	    <table border='1'>
                <xsl:apply-templates select="/rdf:RDF/rss:item"/>
            </table>
        </div>
    </xsl:template>

    <!-- deal with each <item> -->
    <xsl:template match="rss:item">
        <tr>
           <td>
	      <!-- make link using title and 'link -->
              <a href="{./rss:link}">
                <xsl:value-of select="./rss:title"/>
              </a>
           </td>
           <td>
             <xsl:value-of select="./rss:description"/>
           </td>
        </tr>
    </xsl:template>

</xsl:stylesheet>

