If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.

XPath True

Last modified: August 27, 2024

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.

Example

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

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