In this post, I present some code that uses the Open XML SDK and LINQ to XML to accept all revisions in an Open XML word processing document. So, for example, if we have this document: And we run this code, the document then looks like this: The main part of the work when accepting revisions is to delete a bunch of nodes, however, there are other tasks to accomplish. In the attached code, you will see that in one case with inserted text, we need to move child nodes of the w:ins element up to the
Read More...