Forums Register Login

Break the loop in XSL

+Pie Number of slices to send: Send
Hi guys,
I am checking for a condition in a for loop. if the condition is met I print a cell (<td> ....</td> , but only once.
The condition can be true more than once,but if once the condition is met I want to print a cell.
how do I come out of the loop once the condition is met. Is there any increment function.
Please help.
regards
Neha
+Pie Number of slices to send: Send
There is no break statement in XSl.
I guess you would have to use recursive calls to a template to achive this!!!
i am not exactly sure how u woudl implemnt it though!!
Good luck !!!
+Pie Number of slices to send: Send
Neha, please don't crosspost the same question in several forums.
Ranchers, please continue the discussion in the other thread. I'm closing this one.
He was expelled for perverse baking experiments. This tiny ad is a model student:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


Reply locked
This thread has been viewed 615 times.
Similar Threads
width of HTML table cell
Scroll of div fail to work when table row inside it is higlighted
Supplying value to innerHTML
Read Arabic text in Servlet
doubt in continue and break
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:22:11.