nodereplacechild21 IBM The method replaceChild replaces the child node oldChild with newChild in the list of children, and returns the oldChild node. Using replaceChild on this DocumentType node attempt to replace an Entity node with a notation node of retieved from the DTD of another document and verify if a NO_MODIFICATION_ALLOWED_ERR is thrown since DocumentType node is read-only. Also try replacing the docType with an entity node and see if the same exception gets thrown. Neil Delima 2002-06-10