I have a variable in my xsl that may or may not be declared. How can I tell if it has been declared.
The issue is I have 2 style sheets. A parent (where the global variable is declared) and a child (where the global variable is referenced). I usually call the parent stylesheet which then calls the child stylesheet. So everything is fine because the variable is declared. But I sometimes call the child style sheet by itself.
So the easiest solution for me is a way to check if the variable has been declared before trying to use it.
Any help is greatly appreciated.