Re: JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Marc Salvetti
- Ursprüngliche Nachricht --- Von: Jan Hinzmann <[EMAIL PROTECTED]> An: users@cocoon.apache.org Betreff: Re: JXTemplate - Incrementing value of variable in a loop Datum: Tue, 12 Jul 2005 16:39:16 +0200 On Tuesday 12 July 2005 16:05, Johannes Becker wrote: Thanks! The xpath function sum()

Re: JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Johannes Becker
distribution)? Thanks Jonny > --- Ursprüngliche Nachricht --- > Von: Jan Hinzmann <[EMAIL PROTECTED]> > An: users@cocoon.apache.org > Betreff: Re: JXTemplate - Incrementing value of variable in a loop > Datum: Tue, 12 Jul 2005 16:39:16 +0200 > > On Tuesday 12 July 2005

Re: JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Jan Hinzmann
nts you from having logic in your Templates. > Thanks > Jonny > > > > > > --- Ursprüngliche Nachricht --- > > Von: "Chris Marasti-Georg" <[EMAIL PROTECTED]> > > An: > > Betreff: RE: JXTemplate - Incrementing value of variable in a loop > > Datum: Tue, 12 Jul

RE: JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Johannes Becker
TECTED]> > An: > Betreff: RE: JXTemplate - Incrementing value of variable in a loop > Datum: Tue, 12 Jul 2005 09:47:02 -0400 > > There is an xpath function sum(), try using #{sum(item/quantity)} (not > sure of exact syntax) > ex. > > Chris Marasti-Georg > > > >

RE: JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Chris Marasti-Georg
Re: JXTemplate - Incrementing value of variable in a loop > > Johannes Becker wrote: > > Hi, > > > > I want to increment the value of a variable in a > -loop. In > > my case, I want to increment the variable "total" with the > > "quantity"-e

Re: JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Upayavira
Johannes Becker wrote: Hi, I want to increment the value of a variable in a -loop. In my case, I want to increment the variable "total" with the "quantity"-element (from item). ??? #{total} += #{quantity} ??? Is there a way to do this? Or a workaround? See http://

JXTemplate - Incrementing value of variable in a loop

2005-07-12 Thread Johannes Becker
Hi, I want to increment the value of a variable in a -loop. In my case, I want to increment the variable "total" with the "quantity"-element (from item). ??? #{total} += #{quantity} ??? Is there a way to do this? Or a workaround? Thanks Jonny -- 5 GB Mailbox, 50 Fr