[Blog Map] This blog is inactive. New blog: EricWhite.com/blog
There is a new article, Use XSLT to transform XML to OpenXML, on the OpenXmlDeveloper.org web site on using XSLT to create Open XML documents. With this approach, you first create a template of the document that you want to create, with all appropriate styles, etc. You retrieve the main document part from your ‘template’ document, and create an XSLT using it as the base. You then modify the XSLT, using appropriate XSLT constructs to inject content at relevant places. You then use a small C# program, OOXMLSpike.exe, which invokes the transform, generates a new main document part, and creates a new document. OOXMLSpike is a very small program that uses the Open XML SDK.
There is another article that I'd like to point out - an Open XML crawler example, that shows how to crawl a number of Open XML documents, and discover properties of documents.
Pretty cool, check it out.