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

Re: Variable: true or false

Subject: Re: Variable: true or false
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Sat, 7 Apr 2001 09:01:36 +0100
set a variable true false
Hi Tom,

> I do the transform on this XSL and get "true". I would have expected
> "false". Thought the boolean of an empty object would always be
> false.

You are right.  Setting a variable without using any content or a
select attribute should set the variable to the empty string (see
third bullet point at http://www.w3.org/TR/xslt#variable-values).

> Using Xerces 1.4 and Xalan 1.1

I can only guess that this version of Xalan was buggy in this regard.
I think that Xalan 2 has been available for a while now - it's
definitely worth upgrading.  It tests fine with this version.

I hope that helps,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.