[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
  • next sibling
    • Lea Allison - Tue, 23 Apr 2002 09:32:44 -0400 (EDT)
      • Michael Kay - Tue, 23 Apr 2002 10:11:25 -0400 (EDT) <=
      • <Possible follow-ups>
      • Brinkman, Theodore - Tue, 23 Apr 2002 09:40:06 -0400 (EDT)
        • Carmelo - Tue, 23 Apr 2002 11:24:42 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member