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

Subject: Re: xslt 2. Date arithmetic.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Mar 2005 16:13:01 GMT
you could use fn:years-from-duration and fn:months-from-duration to
extract the years and montsh separately from $t2 - $t1 then concatenate
them back together and coerce to xdt:yearMonthDuration.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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