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

Re: how to assign a NULL to a variable?

Subject: Re: how to assign a NULL to a variable?
From: Justin Johansson <procode@xxxxxxxxxx>
Date: Fri, 27 Jul 2007 00:50:15 +0900
Re:  how to assign a NULL to a variable?
>> In XSLT 1.0 you have 4 datatypes: number, boolean, string and nodeset.
>
>actually there is another, and that is the type that will be returned in
>this case (with an xsl:variable with eleemnt content). 
>result tree fragment.
>

Well, yes.  Forgot about that in 1.0 but how would the OP test for a result
tree fragment
for the purposes of signifying "nil" or "null" without incurring a runtime
error, given that the operations
permitted on a result tree fragment are a subset of those permitted on a
node-set?

Justin Johansson

*** A horse with no name is called Lambda ***

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.