canInsertBefore

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


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).