How to improve variable overriding/overwriting in XSL?
- by ChrisBenyamin
I want to do the following:
Declare a variable
Go into a if-statement
Overwrite the variable
XSL says I can't declare a variable twice, so what can I do to improve this step?
Another approach was to check if a variable is set at all. I did this, because i skipped the first step and declared the variable in the if-statement. In another if-statement I wanted to check if the variable exists at all.