xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magnus Sjöberg <magnus.sjob...@secode.com>
Subject Re: exit command for <xsl:for-each>
Date Mon, 05 May 2003 10:39:41 GMT
The simple answer is: You don't, because you can't (at least 
not using for-each)

Depending on your needs you might be able to do it using 
recursion. Using named templates and recursion it is 
possible to create constructs similar to for- and 
while-loops. See 
http://www.xml.com/lpt/a/2001/08/01/gettingloopy.html for a 
good discussion of this.

hth//
	Magnus Sjöberg


Elmar.Hurni@agi.ch wrote:
> Hi @ all
> 
> [ENGLISH]
> Does somewon knows, how i can stop or terminate an <xsl:for-each> loop?
> 
> [GERMAN]
> Weiss jemand, wie ich eine <xsl:for-each> 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


Mime
View raw message