|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: breaking xsl loop or template
Hi Prasad, XSLT is not a procedural language. It is based on functional programming ideas. Its not possible to break from a for loop in XSLT as in Java or C. The value of select attribute in xsl:for-each loop (xsl:for-each select="") is a "node set expression".. You can imagine that iterations of xsl:for-each may execute in parallel.. So breaking from a for loop would not be possible. For your problem, there are workarounds.. Please read Dave Pawson's XSLT FAQ.. Regards, Mukul --- Prasad Akella <avlnprasad@xxxxxx> wrote: > > i would like to break an xsl loop until some user > action is done and then proceed further. for example > > if the user were to write an exam with a set of > questions being obtained from the xml, i should be > able to display one question, wait till the user has > entered the answer and only then display the next > question. __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
|
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








