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


[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to