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(_dot_)h(_dot_)moog(_at_)intel(_dot_)com]
Sent: 09 May 2008 23:12
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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 ?
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--