Sign in Join
FPDoc Onlineexperiment

TDOMNode.GetNextNode function

Member of TDOMNodepublicIn unit Laz2_DOM

Gets the next Child or Sibling node for the DOM node.

Declaration

pascal
function GetNextNode: TDOMNode

Function result

Next child or sibling node in the DOM hierarchy.

Description

GetNextNode is a TDOMNode function used to get the next child or sibling node in the DOM node hierarchy. GetNextNode visits nodes starting at the FirstChild node for the class instance. If FirstChild is not assigned, the GetNextNodeSkipChildren method is called to get the NextSibling node, or the NextSibling node in the ParentNode.

The return value is the TDOMNode which represents the next child or sibling node in the document hierarchy.

GetNextNode is called from the TDOMNodeAllChildEnumerator.MoveNext method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.