Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 50680 invoked from network); 12 Nov 2003 00:13:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Nov 2003 00:13:30 -0000 Received: (qmail 30562 invoked by uid 500); 12 Nov 2003 00:13:11 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 30530 invoked by uid 500); 12 Nov 2003 00:13:11 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 30515 invoked from network); 12 Nov 2003 00:13:10 -0000 Received: from unknown (HELO subdns1.tech.beacon-it.co.jp) (61.194.41.162) by daedalus.apache.org with SMTP; 12 Nov 2003 00:13:10 -0000 Received: from tech.beacon-it.co.jp (tcint1 [172.22.160.204]) by subdns1.tech.beacon-it.co.jp (Postfix) with ESMTP id ABEFFF26E8 for ; Wed, 12 Nov 2003 09:16:00 +0900 (JST) Received: from tech.beacon-it.co.jp (utvsrv.tech.beacon-it.co.jp [172.22.160.202]) by tech.beacon-it.co.jp (8.9.3 (PHNE_22672)/3.7Wpl2.01030916) with ESMTP id JAA18461 for ; Wed, 12 Nov 2003 09:08:22 +0900 (JST) Message-ID: <3FB17B2A.9050703@tech.beacon-it.co.jp> Date: Wed, 12 Nov 2003 09:13:30 +0900 From: Bill Keese User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [Jelly] xml:forEach, core:forEach and varStatus? References: <1068576075.1228.64.camel@lucifer> In-Reply-To: <1068576075.1228.64.camel@lucifer> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I suspect you can use position() but I haven't tried it. Marcus Crafter wrote: >Hi All, > >Hope all is well. > >Was just wondering, one of the differences between the core:forEach tag >and the xml:forEach tag as far as 'for-loop' functionality goes, is the >'varStatus' attribute which is available on the core tag (but not on the >xml tag). > >Is there any way to achieve the same functionatlity on the xml tag? ie. >have an integer index available, into the set being iterator over? Some >xpath wizardry perhaps? > >Thoughts/comments/etc all appreciated. > >Cheers, > >Marcus > > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org