Re: [xsl] distinguish whether variable holds string or node set

Subject: Re: [xsl] 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