[Home] [By Thread] [By Date] [Recent Entries]
rowan@xxxxxxxxxxxxxxxxxxxxx wrote:
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.
-- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



