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

TXPathNSResolver

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

Implements a Namespace resolver for the XPath environment.

Declaration

Source position: laz2_xpath.pas line 319

type TXPathNSResolver = class

protected

  FNode: TDOMNode;

public

  constructor Create();

  

Constructor for the class instance.

  function LookupNamespaceURI(); virtual;

  

Gets the Namespace URI with the specified Prefix.

end;

Inheritance

TXPathNSResolver

  

Implements a Namespace resolver for the XPath environment.

|

TObject

Description

TXPathNSResolver is a class used to implement a Namespace resolver for the XPath environment. TXPathNSResolver performs namespace look-ups for Qualified Names which include a prefix. Namespaces are resolved relative to the context node passed to the constructor for the class instance.

TXPathNSResolver is used in the implementation of TXPathScanner, TXPathExpression, and passed as an argument to the EvaluateXPathExpression routine.

See also

TXPathScanner

  

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

TXPathExpression

  

Evaluates an XPath expression using the specified scanner and resolver.

EvaluateXPathExpression

  

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


Version 4.0 Generated 2025-05-03 Home