[Home] [By Thread] [By Date] [Recent Entries]

Subject: expression syntax
From: "Alan Divorty" <alan.divorty@xxxxxxxxxxxxxx>
Date: Sun, 14 Nov 2004 10:13:40 -0000
I am trying to compare two dates, one in the xml data against an external
parameter holding today's date.

The format of each is yyyy-mm-dd

<xsl:for-each select="performance[date = $today]">

successfully processes records with today's date.  However, I want to select
all records equal to or later than today, but

<xsl:for-each select="performance[date &gt;= $today]">  does not select any
records.

Is my syntax wrong?

I'm using IE6 to process the files.

Thanks,
Alan

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member