<?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"/>

  <xsl:param name="pressReleaseToDisplay"/>
  
  <xsl:template match="rss/channel">
    <xsl:apply-templates select="item[position()&lt;$pressReleaseToDisplay + 1]">
    </xsl:apply-templates>    
  </xsl:template>
            
  <xsl:template match="item">

    <p><xsl:attribute name="class">txt-PR</xsl:attribute><xsl:value-of select="displayDate"/> - 
    <a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
    </p>
  </xsl:template>
</xsl:stylesheet>