[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Testing a variable for node
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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|