Replace the text of all Text nodes logically adjacent to this node with content, removing the other nodes. Return this node, or None if content is empty.
xml.dom/Text.replaceWholeText
Text.replaceWholeText