RE: [xsl] does variable contain a node-set or a string

Subject: RE: [xsl] does variable contain a node-set or a string
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 9 May 2008 23:32:25 +0100
If this is a 1.0 question, I believe the answer is no. That's assuming
you're not prepared to do something like count($x) which succeeds if $x is a
node-set and aborts the transformation if it is a string.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Moog, Thomas H [mailto:thomas.h.moog@xxxxxxxxx] 
> Sent: 09 May 2008 23:12
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] does variable contain a node-set or a string
> 
> 
> Using only standard functions (not exslt:object_type) is 
> there a way to tell if an xsl variable contains a node-set 
> vs. a string ?

Current Thread