|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] is there a way to break out of the xsl:for-each loop ?
What to look thru a listOfNodes, and set contents on a variable, foundIt, when I found what I am looking for, then break. <xsl:variable name="foundIt"> <xsl:for-each select="$listofNodes"> <xsl:if test="string(current()) = $mySearchItem"> <!-- break out of look if found what I am looking for --> <xsl:break> </xsl:if> </xsl:for-each> </xsl:variable> <!-- do something with foundIt --> Bill Riegel LandMark Graphics 713-839-3388
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








