Return-Path: Delivered-To: apmail-xml-fop-user-archive@xml.apache.org Received: (qmail 57894 invoked by uid 500); 5 May 2003 12:47:29 -0000 Mailing-List: contact fop-user-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: fop-user@xml.apache.org Delivered-To: mailing list fop-user@xml.apache.org Received: (qmail 57875 invoked from network); 5 May 2003 12:47:28 -0000 Received: from unknown (HELO correio.petrobras.com.br) (200.157.150.20) by daedalus.apache.org with SMTP; 5 May 2003 12:47:28 -0000 Subject: Re: exit command for To: fop-user@xml.apache.org X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: jaccoud@petrobras.com.br Date: Mon, 5 May 2003 09:48:18 -0300 X-MIMETrack: Serialize by Router on RJLN06/RJ/H/Petrobras(Release 5.0.11 |July 24, 2002) at 05/05/2003 09:47:50 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N for-each is not an iteration structure, although you can think that if = you as accustomed to C's for loop. When a for-each structure is entered, ea= ch node in the node-set is processed using the same template, and the resu= lts are concatenated in the same order. The node processing may happen in parallel, in as many threads as the processor chooses to. Of course, th= e processor may choose to do it with a single thread, and process each no= de sequentially, but you cannot force this (why would one de-optimize the processing?). This is why there is no way to 'stop' the iteration -- th= ere is none. If you want to iterate, do it with a recursive template. That's the way= to do it in functional programming languages like XSLT. You can thus exert= full control over the iteration. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Marcelo Jaccoud Amaral Petrobr=E1s (http://www.petrobras.com.br) mailto:jaccoud@petrobras.com.br =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D There are only 10 kinds of people in the world: those who understand bi= nary and those who don't. = =20 Elmar.Hurni@agi.c = =20 h Para: fop-user@xml.a= pache.org =20 cc: = =20 05/05/2003 06:35 Assunto: exit command f= or =20 Favor responder a = =20 fop-user = =20 = =20 = =20 Hi @ all [ENGLISH] Does somewon knows, how i can stop or terminate an loop?= [GERMAN] Weiss jemand, wie ich eine Schlaufe stoppen oder beenden= kann? THX Elmar Hurni Web Technologies & Applications _______________________________________________________________________= ____________ Diese E-Mail ist nur fuer die als Empfaenger genannte Person oder Gesellschaft bestimmt. Wenn Sie diese E-Mail irrtuemlich erhalten haben, bitten wir Sie, den Absender zu benachrichtigen und die E-Mail auf Ihrem Computersystem zu loeschen. _______________________________________________________________________= ____________ --------------------------------------------------------------------- To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org For additional commands, e-mail: fop-user-help@xml.apache.org = --------------------------------------------------------------------- To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org For additional commands, e-mail: fop-user-help@xml.apache.org