Documentation Center

insertAfter

Description

Add a new child to this node, after the referenced node.

Syntax

XopusNode .insertAfter (newChild : XopusNode, refChild : XopusNode) : XopusNode

Arguments

newChild
XopusNode . The node to insert.
refChild
XopusNode . The new previousSibling of newChild or null to append.

Return Value

XopusNode . The inserted node or null if the insertion was cancelled.