[xsl] Break the For-each loop

Subject: [xsl] Break the For-each loop
From: "Khorasani, Houman" <houman_khorasani@xxxxxxxxxxxxxx>
Date: Fri, 9 Sep 2005 10:36:17 +0100
Hello,

I would like to look after a specific XML tag (e.g. apple), which can
occur several times.  I was thinking using a for-each loop and output
the first found apple. But I would get in this case all the apples
because of the for-each loop. So how do I break the loop after I have
found the first apple?

Thanks
Houman

Current Thread