You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by El...@agi.ch on 2003/05/05 11:35:08 UTC
exit command for
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
Re: exit command for
Posted by Magnus Sjöberg <ma...@secode.com>.
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