RE: Using date difference with cocoon

2006-12-29 Thread Ard Schrijvers
Hi, I have seen the date:difference function specified in the exslt, the problem I see is that The number of months specified in the duration must be less than 12, which may not be the case with me. I definately need some other way to find the difference Just use exslt and write it in

Using date difference with cocoon

2006-12-28 Thread Sanket Pattekar
Hi, I want to find the difference between 2 dates in cocoon 2.1.8. I have the following pseudo code xsl:variable name=current-date as=xs:date2006-10-23/xsl:variable xsl:variable name=compare-date as=xs:date2006-10-12/xsl:variable xsl:variable name=diff

RE: Using date difference with cocoon

2006-12-28 Thread Jeroen Reijn
/difference/index.html I hope this helps. Kind regards, Jeroen Reijn -Original Message- From: Sanket Pattekar [mailto:[EMAIL PROTECTED] Posted At: Thursday, December 28, 2006 6:32 PM Posted To: Cocoon User List Conversation: Using date difference with cocoon Subject: Using date difference

Re: Using date difference with cocoon

2006-12-28 Thread Mark Lundquist
Hi Sanket, On Dec 28, 2006, at 9:31 AM, Sanket Pattekar wrote: snip If I run the same with saxon then, I get the correct difference, but the same doesnot work inside cocoon. Are you using Saxon in Cocoon? —ml— - To

Re: Using date difference with cocoon

2006-12-28 Thread Sanket Pattekar
Hi, I am not using Saxon inside cocoon, but run the same outside. Also I have not defined the transformer, so it should be using the default that is defined I would check the exslt date functions, but how can I get the same working using the standard xpath functions Sanket On 12/28/06, Mark

Re: Using date difference with cocoon

2006-12-28 Thread Sanket Pattekar
Hi, I have seen the date:difference function specified in the exslt, the problem I see is that The number of months specified in the duration must be less than 12, which may not be the case with me. I definately need some other way to find the difference Sanket On 12/28/06, Sanket Pattekar

Re: Using date difference with cocoon

2006-12-28 Thread Mark Lundquist
On Dec 28, 2006, at 10:03 AM, Sanket Pattekar wrote: I am not using Saxon inside cocoon, but run the same outside. Also I have not defined the transformer, so it should be using the default that is defined I would check the exslt date functions, but how can I get the same working using the