canInsertBefore

Description

See if we can insert the given child in this node. It assumes that the given childNode is an orphan.

Syntax

XopusNode .canInsertBefore (childNode : XopusNode, refNode : XopusNode) : Integer

Arguments

childNode
XopusNode . The child to insert.
refNode
XopusNode . The node to insert the child before.

Return Value

Integer. Uses values from the W3C DOM specification (true = 5, false = 6).