<?xml version="1.0"?>
<xsl:stylesheet version="1.0" 
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:date="http://exslt.org/dates-and-times" > 
<xsl:output method="xml" indent="no" encoding="ISO-8859-1"/>

<xsl:param name="today"/>

<xsl:template match="races">
   <races>
      <xsl:apply-templates 
            select="race[translate(mydate,'-','')>translate($today,'-','')
            and area='ne']">
         <xsl:sort order="ascending" select="myid"/>
      </xsl:apply-templates>
   </races>
</xsl:template>

<xsl:template match="race">
   <xsl:copy-of select="."/>
</xsl:template>

</xsl:stylesheet>
