[xsl] Adding duration to date

Subject: [xsl] Adding duration to date
From: "tom tom" <tomxsllist@xxxxxxxxxxx>
Date: Tue, 24 Jul 2007 17:41:06 +0100
I wish to add a duration to a date, something along the lines of:

<xsl:value-of select="current-date() + xdt:yearMonthDuration('P6D')"/>.

I am using saxon 8.x, what is the correct way to do this, what should my namespace declarations be to make this work and does the way I do this depend on which version of Saxon / another processor I am using?

_________________________________________________________________
The next generation of Hotmail is here!  http://www.newhotmail.co.uk

Current Thread