Sign in Join
FPDoc Onlineexperiment

TXPathExprNode.Evaluate function

Member of TXPathExprNodepublicIn unit Laz2_XPath

Specifies the method used to evaluate an XPath Predicate Expression.

Declaration

pascal
function Evaluate(AContext: TXPathContext; 
 AEnvironment: TXPathEnvironment): TXPathVariable
 ; virtual; abstract

Arguments

AContext

Context node for the expression.

AEnvironment

XPath environment for the evaluation.

Function result

Contains the result for the evaluated expression.

Description

Evaluate is an abstract virtual TXPathVariable function which specifies the interface used to evaluate an XPath Predicate Expression. Evaluate must be implemented in descendent classes which handles specific Predicate Expression types in the XPath syntax.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.