canReplaceChild

See if we can replace the new child with an old child. It assumes that the given childNode is an orphan.


XopusNode.canReplaceChild( newChild : XopusNode,  oldChild : XopusNode) : Integer

Arguments

newChild
XopusNode. The child to insert.
oldChild
XopusNode. The child to replace.

Return Value

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