Hi,
I wonder if you know what the problem is here.
I need to replace a Document Node with another Node.
I get a run time error when it tries the doing the replace.
Is it possible to do it?
i saw in the API why this occurs:
NOT_FOUND_ERR: Raised if oldChild is not a child of this node.
At run time it says:
org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.