> > 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 jave and put in the dates. Be aware, don't create date/current date/compare dates withing xslt/exslt yourself. You probably want to use caching in cocoon, and this cannot handle implicit dates in xslt. Regards Ard > > Sanket > > On 12/28/06, Sanket Pattekar <[EMAIL PROTECTED]> wrote: > > 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 Lundquist <[EMAIL PROTECTED]> wrote: > > > 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 unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]