Subject:Variable to persist value after assignment Author:Michael Kwee Date:01 Jan 2007 11:36 PM
Hi there,
I have a problem in which when i need to persist the value of a variable to store the value of an element in the source xml so that i can use it in a condition (xsl choose) to determine the value to set for another element in the target xml.
During debugging mode, the variable is always set to the value of the element but will be reset to "Symbol Unknown" after the current parse.
Is there any way to persist the value of the variable ? If not, is there other ways of doing this ?
Subject:Variable to persist value after assignment Author:Minollo I. Date:01 Jan 2007 11:45 PM
If debugger shows "symbol unknwon" it means that the variable is out of scope at that point; you either need to change where it's defined, or you need to pass it through the chain of template invocations as a parameter...