home contribute faq download

FunctX XSLT Functions

fn:true

The boolean value true

Google
Webdatypic.com

Description

The fn:true function, which takes no arguments, is useful for constructing the boolean value true. XQueryXPath 2.0 uses the false() and true() functions instead of keywords false and true.

This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book.

Arguments and Return Type

NameType
return value xs:boolean

Examples

XPath ExampleResults
true()
true

See Also

fn:falseThe boolean value false
fn:booleanThe effective boolean value of a sequence

History

Published OnLast UpdatedContributor(s)
2006-06-272007-02-26W3C, XQuery 1.0 and XPath 2.0 Functions and Operators, http://www.w3.org/TR/xpath-functions/
Datypic XSLT Services

Recommended Reading:

XQuery