Thank you. This worked perfectly.
As a note: it won’t work if you completely extract the document to a folder, edit, compress that folder as a zip, then rename it back. It only works if you edit the zip archive in place for some reason. That is, open the zipped folder, extract only the document.xml file, edit it, save it, then drag the edited file back into the compressed folder.