extends Node
A Boolean represents the two boolean values true and false.
Encode this Boolean into a sequence of bytes.
Returns: A single byte, 1 if this Boolean is true otherwise 0.
See also: XPath v1.0 4.4 Number Functions
Boolean true is converted to 1; boolean false is converted to 0
See also: XPath v1.0 4.2 String Functions
The boolean false value is converted to the string false. The boolean true value is converted to the string true.