InsertSib method: Node class

Syntax

InsertSib(NodeName)

Description

The InsertSib method inserts a new node (as specified by NodeName) as a sibling node to the node object executing the method. The node specified by NodeName must be a new node. You receive an error if the node already exists.

A node object associated with the new node is returned. If the new node isn’t inserted successfully, the method returns Null.

Parameters

Parameter Description

NodeName

Specify a name for the new node. This parameter takes a string value. NodeName must not already exist.

Returns

A reference to the new node. If this method fails, it returns False.

Example

&NEWNODE = &MYNODE.InsertSib("100500");