FilterExpr

Select a subset of a given node-set by checking whether they satisfy one or more predicates.


Syntax

FilterExpr

PrimaryExpr TaminoQueryExt | PrimaryExpr Predicate TaminoQueryExt

Description

A FilterExpr contains some PrimaryExpr which constitutes a node-set, and optionally a predicate which filters the node-set according to the predicate expression.

Compatibility

It corresponds to the expression FilterExpr defined in XPath, Section 3.3, Rule 20.

Example

Select all patients and relatives sharing the surname "Atkins" (a SetExpr filtered by a Predicate that selects all those names containing a case-insensitive form of "Atkins"):

(/patient/name | /patient/nextofkin/name)[surname ~= 'Atkins']

Related Expressions

Predicate PrimaryExpr