Using XML DOM to Detect Tracked Revisions in an Open XML WordprocessingML Document

I’ve written a short article at OpenXMLDeveloper.org that shows how to detect tracked revisions using XmlDocument. Previously, I wrote an article on detecting tracked revisions using LINQ to XML or the strongly-typed object model of the Open XML SDK 2.0. However, some developers do not have the option of using LINQ, and instead must use one of a variety of XML DOM Document implementations. The OpenXMLDeveloper.org article presents some XmlDocument code that is pretty easy to translate to other languages and platforms.

!!!

3 Comments »

  1. Otaku said,

    May 12, 2011 @ 7:24 am

    Have you ever looked at processing Open XML with F#? I haven’t seen any examples, but based on your functional approach, I wonder if it’s something you’ve considered.

  2. Eric White said,

    May 12, 2011 @ 2:00 pm

    Hi Otaku,

    I certainly have considered it. It would be a lot of fun, and I think that there are possibilities for writing very succinct code for transforming documents. I have it on my list of things to do. While writing some XML DOM code to do search and replace, I really remembered why I like the functional approach.

    -Eric

  3. Piet Amersfoort said,

    June 6, 2011 @ 9:02 pm

    I have created some examples in F#: create a word document and a spreadsheet. Unfortunately it is not a trivial activity to transform C# code to F#.

RSS feed for comments on this post · TrackBack URI

Leave a Comment