Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 11753 invoked from network); 29 Dec 2006 10:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2006 10:28:37 -0000 Received: (qmail 20786 invoked by uid 500); 29 Dec 2006 10:28:40 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 20718 invoked by uid 500); 29 Dec 2006 10:28:40 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 20705 invoked by uid 99); 29 Dec 2006 10:28:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 02:28:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [213.133.33.40] (HELO smtp.is.nl) (213.133.33.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 02:28:30 -0800 Received: from [213.133.51.241] (HELO hai01.hippo.local) by smtp.is.nl (CommuniGate Pro SMTP 5.0.10) with ESMTP id 7592620 for users@cocoon.apache.org; Fri, 29 Dec 2006 11:28:08 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Subject: RE: Using date difference with cocoon Date: Fri, 29 Dec 2006 11:24:22 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using date difference with cocoon Thread-Index: Accqq9Z4sJoRr8CyQjuK4wjgM1r1kwAh1ZkQ From: "Ard Schrijvers" To: X-Virus-Checked: Checked by ClamAV on apache.org >=20 > Hi, >=20 > 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. >=20 > 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.=20 Regards Ard >=20 > Sanket >=20 > On 12/28/06, Sanket Pattekar 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 wrote: > > > Hi Sanket, > > > > > > On Dec 28, 2006, at 9:31 AM, Sanket Pattekar wrote: > > > > > > > > > > > > > > > If I run the same with saxon then, I get the correct=20 > difference, but > > > > the same doesnot work inside cocoon. > > > > > > Are you using Saxon in Cocoon? > > > > > > =97ml=97 > > > > > > > > >=20 > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > > > For additional commands, e-mail: users-help@cocoon.apache.org > > > > > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org