Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

XPath true

Last modified: August 2, 2022

1 Overview

The function true() returns the Boolean value true.

To use the values true or false in XPath queries, it is necessary to either call true() or false() functions, or to enclose the values in quotation marks.

2 Example

This query returns all the customers who are classified as “gold customers”:

1
//Sales.Customer[IsGoldCustomer = true()]