Version 8.2.2
 —  X-Query Reference Guide  —

PredicateExpr

Any expression within a predicate.


Syntax

PredicateExpr

Expr

Top of page

Description

A PredicateExpr can be any X-Query expression. If this expression results in a numeric value, then it is a numeric predicate, otherwise it is a Boolean predicate. See Predicate for more details.

Top of page

Compatibility

It corresponds to the expression PredicateExpr defined in XPath, Section 2.4, Rule 9.

Top of page

Example

Select all patients that have a next of kin (all patient nodes that have at least one immediate child element nextofkin):

/patient[nextofkin]

Top of page

Related Expressions

Expr Predicate Step

Top of page