This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: next sibling
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 23 Apr 2002 15:17:53 +0100
- Subject: RE: [xsl] next sibling
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I am looking for away to jump to the next node in a for-each loop.
You are thinking of XSLT as an imperative programming language with loops
and goto's. It isn't!
When you write an xsl:for-each instruction the select attribute defines the
set of nodes you want to process. Nothing you do inside the xsl:for-each can
change that. The answer almost invariably lies in refining the selection of
the nodes to be processed.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list