Subject: RE: Comparing and re-assigning variables.
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 24 Feb 2003 16:12:03 -0000
|
> - How can i remember the previous value of cpmMemBI
XSLT has no concept of "previous", and no concept of "remember". It is a
functional language, not a procedural one. A stylesheet is a description
of the functional relationship of the output to the input, not a
sequence of instructions to be obeyed in order.
What you are describing is a procedural algorithm for grouping. In XSLT
you need a completely different approach to grouping - see
http://www.jenitennison.com/xslt/grouping
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
|