[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
comparing true and false with 0 or 1
Subject: comparing true and false with 0 or 1|
From: "Fraser Goffin" <goffinf@xxxxxxxxxxx>
Date: Fri, 25 Nov 2005 17:41:44 +0000
I am trying to compare two element values that are of type boolean. In
either case the XML instance may contain either true or false or 0 or 1.
I've been looking at the boolean(), number(), and string() functions but I
can't seem to create an expression that evaluates correctly. e.g. :-
(true = 1) = true
(true = 0) = false
(false = 1) = true
(false = 0) = false
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format