You can't break out of a for-each loop for the simple reason that it isn't a loop. XSLT is not a procedural language.
Try to imagine that when you do a for-each all elements that are selected are processed simultaneously, in parallel so as to speak.
You can accomplish what you want by narrowing down the selection to start with:
Code:
<xsl:for-each select="catalog/cd[price > 10][1]">
Remeber you asked for price greater than 10 so "Empire Burlesque" won't appear as its price is not greater than 10.
--
Joe (
Microsoft MVP - XML)