[xsl] Filter by date in XSL not in XSLT

Subject: [xsl] Filter by date in XSL not in XSLT
From: "Amargos Carreras, Albert" <aamargos@xxxxxxxxxxx>
Date: Mon, 28 Apr 2003 19:37:41 +0200
HI all,

I have to filter a xml file from a date greater than today's date, and I
don't  really know how can I take now's date.
My code makes sth like that:

<xsl:for-each
select="a:multistatus/a:response[a:propstat/a:prop/d:dtstart $ge$
'2003-04-28'][a:propstat/a:prop/d:dtstart $le$ '2003-05-05']"
order-by="a:propstat/a:prop/d:dtstart">

Currently I am comparing dates like strings, but I don't know how can I
can take now's date using XSL better than XSLT (my ie5.x have to view it
as well)

Regards,
Alberto

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


Current Thread