RE: [xsl] next sibling

Subject: RE: [xsl] next sibling
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 23 Apr 2002 15:17:53 +0100
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread