OK, that's about the worst possible answer: XSLT 1.0 has no date arithmetic and no regular expression support.
Use substring() and concat() to convert the dates to format YYYYMMDD, then treat these as numbers and compare them as numbers. To get the system date you'll have to pass it in to the stylesheet as a parameter.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|