textreplacewholetext06 IBM The method replaceWholeText substitutes the a specified text for the text of the current node and all logically-adjacent text nodes. This method raises a NO_MODIFICATION_ALLOWED_ERR if one of the Text nodes being replaced is readonly. Invoke replaceWholeText on an existing text node with newly created text and Entityreference nodes (whose replacement text is a character entity reference) appended as children of its parent element node. Where the nodes to be removed are read-only descendants of an EntityReference, the EntityReference must be removed instead of the read-only nodes. Only if any EntityReference to be removed has descendants that are not EntityReference, Text, or CDATASection nodes, the replaceWholeText method must fail, raising a NO_MODIFICATION_ALLOWED_ERR. Verify that the method does not raise an exception and verify the content of the returned text node. Neil Delima 2002-05-30