Forum Discussion
HKosova
Alumni
14 years agoHi Ashok,
The problem is the same as the one discussed in the following thread:
first call to function is working but second isn't
Please see my reply there for explanations why this happens.
To fix your script, you need to change the following code:
Also, note that to "nullify" variables, you need to use Doc = null, not Doc[null].
The problem is the same as the one discussed in the following thread:
first call to function is working but second isn't
Please see my reply there for explanations why this happens.
To fix your script, you need to change the following code:
...to this:
doGetxmlvaluebyNode=(ValueNode["text"])
Doc[null];
return doGetxmlvaluebyNode;
}
...
var value = ValueNode["text"];
Doc = null;
return value;
}
Also, note that to "nullify" variables, you need to use Doc = null, not Doc[null].