cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: Using date difference with cocoon
Date Fri, 29 Dec 2006 10:24:22 GMT

> 
> 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 <sanket.pattekar@gmail.com> 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 <ml@wrinkledog.com> 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: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message