943,944 Members | Top Members by Rank

Ad:
Nov 9th, 2009
0

xslt exit from style sheet

Expand Post »
Hi all,

I have a one problem in xsl.

I dont want to do further execution, when a condition reaches. I need to come out from the style sheet. Could you any one help me out on this.

Thanks,
Veera
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
veera_kumar is offline Offline
1 posts
since Nov 2009
Nov 9th, 2009
0
Re: xslt exit from style sheet
XSLT is written in a very functional style, and in this style there is no equivalent of a exit/break statement.
XML, XSLT and XPATH Syntax (Toggle Plain Text)
  1. <xsl:for-each select="nodes">
  2. <xsl:if test="some condition">
  3. body of loop...
  4. </xsl:if>
  5. </xsl:for-each>
Take a look at this article - http://articles.techrepublic.com.com...1-5085807.html
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in XML, XSLT and XPATH Forum Timeline: Fetch live scores and save them to database
Next Thread in XML, XSLT and XPATH Forum Timeline: Recursive Select Using XPath 2.0





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC