XPath true
Last modified: July 1, 2023
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”:
[IsGoldCustomer = true()]
//Sales.Customer[IsGoldCustomer = true()]
Feedback
Was this page helpful?
Glad to hear it! Thank you for your response.
Sorry to hear that. Please tell us how we can improve.