Sign in Join
FPDoc Onlineexperiment

TDOMNode.GetNextNodeSkipChildren function

Member of TDOMNodepublicIn unit Laz2_DOM

Gets the next sibling for the node in the DOM hierarchy.

Declaration

pascal
function GetNextNodeSkipChildren: TDOMNode

Function result

Next sibling node in the DOM hierarchy, or Nil.

Description

GetNextNodeSkipChildren is a TDOMNode function used to get the next sibling node, ignoring all child nodes, for the current node.

The return value contains the TDOMNode that is the NextSibling for the current node, and can actually contain a previous sibling if NextSibling is unassigned. The return value is Nil when NextSibling is unassigned for both the current node and ParentNode.

GetNextNodeSkipChildren is used in the implementation of the TDOMNodeAllChildEnumerator.Create method, and called from the TDOMNode.GetNextNode method.

See also

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