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

TXPathExpression

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Evaluates an XPath expression using the specified scanner and resolver.

Declaration

Source position: laz2_xpath.pas line 451

type TXPathExpression = class

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  function Evaluate();

  

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

end;

Inheritance

TXPathExpression

  

Evaluates an XPath expression using the specified scanner and resolver.

|

TObject

Description

TXPathExpression is a class used to evaluate an XML XPath expression provided to an XPath scanner. It contains methods used to evaluate the expression in the scanner and return a TXPathVariable with the node(s) or value(s) which match the expression.

TXPathExpression instances are created and used in the EvaluateXPathExpression routine.

See also

TXPathExpression.Evaluate

  

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

TXPathScanner

  

Implements a lexical scanner and parser using XPath syntax and semantics.

TXPathNSResolver

  

Implements a Namespace resolver for the XPath environment.

TXPathVariable

  

Base class used to represent an XPath variables and results.

EvaluateXPathExpression

  

Evaluates an XPath expression using the specified context node and optional namespace resolver.


Version 4.0 Generated 2025-05-03 Home