Programmer's Guide > Interfaces > W3C NodeEditVAL interface > canReplaceChild method
  
canReplaceChild method
Determines whether the Node.replaceChild operation would make this document not compliant with the VAL_INCOMPLETE validity type.
canReplaceChild(newChild, oldChild)
Parameters
NodenewChild
New Node.
NodeoldChild
Node to be replaced.
Returns
unsigned short. A validation state constant.