[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'laz2_xpath' (#lazutils)

TXPathExpression.Evaluate

Evaluates an XPath expression using the scanner for the class instance with the specified context node and environment.

Declaration

Source position: laz2_xpath.pas line 460

public function TXPathExpression.Evaluate(

  AContextNode: TDOMNode

):TXPathVariable;

function TXPathExpression.Evaluate(

  AContextNode: TDOMNode;

  AEnvironment: TXPathEnvironment

):TXPathVariable;

Arguments

AContextNode

  

Context node for the expression.

Function result

Value from the evaluated expression.

Arguments

AContextNode

  

Context node for the expression.

AEnvironment

  

XPath environment for the evaluation.