PredicateExpr

Any expression within a predicate.


Syntax

PredicateExpr

Expr

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.

Compatibility

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

Example

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

/patient[nextofkin]

Related Expressions

Expr Predicate Step