etree._XercesElement.replace() behavior fix.