Return to Snippet

Revision: 17275
at August 30, 2009 12:13 by radeks


Initial Code
<?xml version="1.0"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
  <html>
  <body>
    <h1><a href="{rss/channel/link}"><xsl:value-of select="rss/channel/title" /></a></h1>
    <p><xsl:value-of select="rss/channel/description" /></p>
    <ol>
      <xsl:for-each select="rss/channel/item">
        <li>
          <h1><a href="{link}"><xsl:value-of select="title" /></a></h1>
          <p><xsl:value-of select="description" /></p>
        </li>
      </xsl:for-each>
    </ol>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>

Initial URL

                                

Initial Description
A simple RSS reader written in XSLT

Initial Title
Simple XSLT RSS Reader

Initial Tags

                                

Initial Language
XSLT