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

TDOMNode.FindNode

Finds the Child Node with the specified name.

Declaration

Source position: laz2_dom.pas line 302

public function TDOMNode.FindNode(

  const ANodeName: DOMString

):TDOMNode; virtual;

Arguments

ANodeName

  

Node Name to locate in the Child Nodes for the DOM Node.

Function result

DOM Node located with the specified name.

Description

FindNode is a TDOMNode function used to locate a child node in the class instance with the value in ANodeName in its NodeName property. The return value contains the TDOMNode instance with the specified name, or Nil if a node is not found with the specified name.

FindNode always returns Nil in TDOMNode since physical storage is not allocated in TDOMNode for child node instances. It must be overridden in a descendent class to performs actions needed for the DOM node specialization.

See also

TDOMNode.ChildNodes

  

Provides access to the list of Child nodes for the current node.

TDOMNode.GetChildNodes

  

Gets the value for the ChildNodes property.

TDOMNode.NodeName

  

Name for the DOM node.


Version 4.0 Generated 2025-05-03 Home