[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: distinguish whether variable holds string or node set
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 13 Jun 2010 23:48:31 +0100
Is there a way to determine whether a variable holds a string or a
node set?

In pure XSLT 1.0, no.


There is an EXSLT extension function (I've forgotten the name) that allows such testing: it might be implemented for your chosen processor(s).

Michael Kay
Saxonica

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member