Date comparisons in XSL

Subject: Date comparisons in XSL
From: julian.burman@xxxxxxxxxxxxxx
Date: Mon, 18 Jan 1999 09:14:33 +0000

As far as I can tell, XSL provides support for date pattern matching.
Microsoft's own examples include:

books[pub_date < date("1995-01-01")], to find all books where the
publication date (pub_date) is before Jan 1 1995.

No matter what I try, I have been unable to implememt this in my own code.

Why does the following not work?

<xsl:apply-templates select="TOCCHAP[LASTMODIFIED&lt;date('18/01/1999')]"
/>


Regards


Julian Burman



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread