[xsl] Testing a variable for node

Subject: [xsl] Testing a variable for node
From: "rowan@xxxxxxxxxxxxxxxxxxxxx" <rowan@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Oct 2009 08:50:52 -0400
How do I test a variable to see whether it contains a node, or something
else (usually, in the case I'm working on, an empty string)? Everything I
try causes an error if the variable contains a string. I have some code
that will only work on nodes, and before calling this code I need to test
and do something different if the variable doesn't contain a node.

Thanks - Rowan

--------------------------------------------------------------------
myhosting.com - Premium Microsoft. Windows. and Linux web and application
hosting - http://link.myhosting.com/myhosting

Current Thread