xsl-list
[Top] [All Lists]

[xsl] Testing a variable for node

2009-10-09 08:51:26
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>