[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: does variable contain a node-set or a string

Subject: RE: does variable contain a node-set or a string
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 9 May 2008 23:32:25 +0100
RE:   does variable contain a node-set or a string
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.