Re: [xsl] For loop

Subject: Re: [xsl] For loop
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 12 Jul 2001 12:55:11 +0100
> What I need though is a way of looping and stopping the loop under
> a certain condition

It's best to think of for-each as evaluating all the branches in
parallel (that is a valid implementation technique) You can't assume
that they are evaluated in order, and you can't stop once you've
started. If you don't want to iterate over all the nodes, modify the
select expression just to select those that you do want.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:

Current Thread