I need to have a globale changeable variable in my xslt so that I can change the value inside a loop depending on some query. How can I accomplish this? My understanding is that the variable type in xslt is misleading... :p
With XSLT you can't change a variable - the name is confusing, I admit, but that's the way it is - the way you approach a problem is very different in XSLT than in, say, C# or JavaScript...
Tell us a little more about your specific case and we'll provide you with a way to solve it. Promise.
Global changable variable
I need to have a globale changeable variable in my xslt so that I can change the value inside a loop depending on some query. How can I accomplish this? My understanding is that the variable type in xslt is misleading... :p
Stig
Hi Stig
I guess you could store it in a XSLT file called "Global.xslt" for instance and then import the XSLT file into those where it's needed?
/Jan
Hi Stig,
With XSLT you can't change a variable - the name is confusing, I admit, but that's the way it is - the way you approach a problem is very different in XSLT than in, say, C# or JavaScript...
Tell us a little more about your specific case and we'll provide you with a way to solve it. Promise.
/Chriztian
is working on a reply...