xsl-list
[Top] [All Lists]

RE: Comparing and re-assigning variables.

2003-02-24 09:12:03
- 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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 



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