klyn.io.xml.dom.XMLNode.replaceChild
method
public replaceChild(newChild as Node, oldChild as Node) as Node throws DOMException:
Description

Performs a DOM operation.

Throws
  • DOMException if the DOM operation violates document ownership, hierarchy, naming, index, or node-state constraints.