modify_xml_document()'s code for no-opping when no change has been