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

TXPathFilterNode

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

Implements an XPath Filter expression.

Declaration

Source position: laz2_xpath.pas line 208

type TXPathFilterNode = class(TXPathExprNode)

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  function Evaluate(); override;

  

Evaluates the XPath expression.

end;

Inheritance

TXPathFilterNode

  

Implements an XPath Filter expression.

|

TXPathExprNode

  

Defines the base class used to evaluate XPath expressions.

|

TObject

Description

TXPathFilterNode is a TXPathExprNode descendant used to implement a Filter expression in the XPath syntax. For example:

//book[@*]

TXPathFilterNode allows a node set to be filtered to ensure that only values matching the XPath expression are included in the result. An overridden Evaluate method is provided to generate the node set in the return value, and to apply predicates in the XPath expression.


Version 4.0 Generated 2025-05-03 Home