Version 9.5 SP1
 —  X-Query Reference Guide  —

ProximityExpr

Check if two values are equal or positioned close to each other.


Syntax

ProximityExpr

graphics/ProximityExpr.jpg

Top of page

Description

A ProximityExpr can either be an EqualityExpr using the equality operators = and != or the contains operator ~= or it can use the operators adj and near. The operator adj is used to locate adjacent values that are in the exact order as specified with the adj operator. The operator near is used to locate adjacent values irrespective of exact order. The adj and near operators can only be used on the right side of an expression with the contains operator.

Top of page

Compatibility

There is no ProximityExpr in XPath.

Top of page

Examples

Top of page

Related Expression

BetweenExpr

Top of page