This post is based on an interesting query - a user of Open XML wanted a general way to extract the comments from Open XML documents and save them in a common metadata server. This post contains a short example that iterates through all files in a directory, and extracts all comments from them, and outputs some XML containing the comments. The directory can contain all types of Open XML documents: WordprocessingML, SpreadsheetML, and PresentationML documents.

Following is the example, in its entirety. This example was interesting, in that I originally write it using queries instead of the for loops in the extension methods, and in this case, I think that the code is more readable using an imperative style of coding.

This post is based on an interesting query - a user of Open XML wanted a general way to extract the comments from Open XML documents and save them in a common metadata server. This post contains a short example that iterates through all files in a directory...

In this post, I'm going to give out one of my favorite secrets - how to read specifications quickly, with a high degree of retention. I have a particular technique, and if you use this technique, you may read specs more quickly, and you will remember...

The Open XML specification is one of the most scrutinized specs ever to go through a standards process, and that's great news for developers because there is a lot of useful new content in the proposed dispositions of various comments. A good example...

I've been in my new job for three weeks as Technical Evangelist for Open XML. While I was pretty familiar with technical aspects of Open XML before taking this job, during these three weeks I've learned a whole lot about what is going on in the standardization...