From RAD Studio API Documentation
Jump to: navigation, search


function FindSibling(const Node: IXMLNode; Delta: Integer): IXMLNode;


virtual _di_IXMLNode __fastcall FindSibling(const _di_IXMLNode Node, int Delta) = 0 ;


Type Visibility Source Unit Parent
function public
Xml.XMLIntf IXMLNodeList


Returns a node that appears a specified amount before or after another node.

Call FindSibling to access the node whose position has a specified relationship to another node.

Node is a node in the list to use as a reference point.

Delta indicates where the desired node appears, relative to Node. If Delta is positive, FindSibling returns the node that appears Delta positions after Node. If Delta is negative, FindSibling returns a node that appears before Node.

FindSibling returns the node that appears at the position offset by Delta, relative to the position of Node. If Delta specifies a position before the first node or after the last node in the list, FindSibling returns nil (Delphi) or NULL (C++).

See Also