Sign in Join
FPDoc Onlineexperiment

TStep class

In unit Laz2_XPath

Implements an XPath Location Step.

Declaration

pascal
TStep = class(TXPathFilterNode)

Inheritance

  1. TStep
  2. TXPathFilterNode
  3. TXPathExprNode

Description

TStep is a TXPathFilterNode descendant used to implement a Location Step expression in the XPath syntax. A location step expression contains an Axis name, a node test, and optional predicates that determine the items available in a node set. For example:

./child::book[@lang='en']

Use the constructor to specify the Axis and Node Test for the XPath expression. An overridden Evaluate method is provided to select the nodes included in the node set returned by the method.

Methods

CreatepublicConstructor for the class instance.
EvaluatepublicEvaluates the XPath expression for the Location Step.

Fields

AxispublicAxis type for the Location Step.
NodeTestTypepublicNode Test Type for the Location Step.
NodeTestStringpublicNode Test Type as a String value.
NSTestStringpublicNamespace Test as a String value.

Inherited

From TXPathFilterNode (1)

Destroy

From TXPathExprNode (1)

EvalPredicate

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.