Documentation Center

canReplaceChild

Description

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

Syntax

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