RE: [xsl] XSL hold, compare, and replace param value

Subject: RE: [xsl] XSL hold, compare, and replace param value
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 13 Jul 2006 14:26:54 +0100
> I have a problem holding on to a param or variable value in xslt.
> Setting it Globally or Locally.
> 
> How can I hold onto the country value? Compare to the next 
> value, if country is diff. then replace the value for that 
> param with the next country value?

Please take a step back. Try to describe the problem: what's the input,
what's the required output?

It looks to me as if you are trying to code a solution using ideas learned
from other programming languages, which might not be the right way to tackle
the problem in XSLT.

Michael Kay
http://www.saxonica.com/

Current Thread