This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How to distinguish b/n a scalar and a node-set having a single text node?
- To: xsl-list at mulberrytech dot com
- Subject: How to distinguish b/n a scalar and a node-set having a single text node?
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Date: Fri, 20 Oct 2000 05:03:34 -0700 (PDT)
- Reply-To: xsl-list at mulberrytech dot com
I am trying to determine whether the value of a parameter is a scalar
or a node-set, and to do so without using extension functions (I
consider node-set() to be "standard", as it will be in XSLT 1.1).
The only problemetic case is:
How to determine whether what seems to be a node-set having a single
text node is actually a node set or whether it is a scalar (the value
of the text node).
Any help would be highly appreciated.
Thanking you in advance,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list