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

TDOMNode.GetNextNodeSkipChildren

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

Declaration

Source position: laz2_dom.pas line 274

public function TDOMNode.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

TDOMNode.NextSibling

  

Next DOM Node at the same level in the DOM tree.

TDOMNode.ParentNode

  

DOM node that is the immediate ancestor of this node.

TDOMNodeAllChildEnumerator.Create

  

Constructor for the class instance.

TDOMNode.GetNextNode

  

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


Version 3.2 Generated 2024-02-25 Home