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

TXPathUnionNode

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

Represents a Union Expression node.

Declaration

Source position: laz2_xpath.pas line 196

type TXPathUnionNode = class(TXPathBinaryNode)

public

  constructor Create();

  

Constructor for the class instance.

  function Evaluate(); override;

  

Evaluates the XPath expression.

end;

Inheritance

TXPathUnionNode

  

Represents a Union Expression node.

|

TXPathBinaryNode

  

The base class for XPath expressions which represent Binary operations.

|

TXPathExprNode

  

Defines the base class used to evaluate XPath expressions.

|

TObject

Description

TXPathUnionNode is a TXPathBinaryNode descendant used to represent a Union expression in the XPath syntax. For example:

./child::*|./attribute::*

TXPathUnionNode provides a constructor used to set the operands for the Union expression. An overridden Evaluate method is provided to evaluate node sets generated for the XPath expression. It ensures that the selected node sets for each operand are in document order.


Version 4.0 Generated 2025-05-03 Home