** Pastebin PRO Accounts Spring Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!

How-to break a for-each loop in XSLT

By: a guest on Feb 26th, 2012  |  syntax: None  |  size: 0.13 KB  |  views: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <xsl:for-each select="...nodes...">
  2.     <xsl:if test="...some condition...">
  3.         ...body of loop...
  4.     </xsl:if>
  5. </xsl:for-each>
clone this paste RAW Paste Data