Let's be careful to move XSLT questions to the Mulberry list and archives--we have a link to it on the Resources page, also a Google search will find it.
This ML will become overwhelmed--like Mulberry!-- should we start answering XSLT questions here. Glen --- "Andreas L. Delmelle" <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Dang Minh Phuong [mailto:[EMAIL PROTECTED] > > > > I use for-each to loop through all nodes and test > the value. If the > > condition is true, I'd like to stop the loop. How > can I do that. Could you > > help me to suggest ideas??? Thanks > > > > A break-statement like in Java? I think not. An > <xsl:for-each> is > unconditionally completed for all nodes in the > source document that match > the given expression... > > What you *can* do is use <xsl:if> or <xsl:choose> > inside the <xsl:for-each> > to put a filter on the nodes to be processed... ( > only process the nodes > that satisfy a certain condition ). > > > Greetz, > > Andreas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
