XPath.evalAsInt()

Signature

int evalAsInt (String path) and return an int.

Domain

ACTION, CONDITION, QUERY, BUI

Description

Evaluate the xpath expression on the objects as specified in XPathbuilder.

Parameters

NameTypeDescription
pathStringFormed using XPathBuilder.

Returns

TypeDescription
intReturns the value identified by path param as int if exists, 0 otherwise.

Cautions

Using more than one object is join in the rule's engine.