OpenXML

Interesting Microsoft Word XMLNode selection behavior

Since I have not yet passed out from beating my head against the wall, I’d thought I’d report an interesting finding regarding the Microsoft Word object model. The object model includes methods to access content based on embedded XML, but you don’t really get a DOM to manipulate those nodes so you have to [...]

Word 2007 – System.IO.FileSystemWatcher followup

Ok, just to followup, I figured out the deal with Word and FileSystemWatcher that I posted about the other day. Don’t know why this wasn’t obvious to me, but Word, rather than saving a file like 99.9% percent of the applications on the planet do, instead works on a hidden temp file, saves it, [...]

OpenXml, back to reality

How do you know when your XML format is too complex? When you are trying to get your data out and your XPath expressions look like:

/w:document/w:body//w:customXml[@w:element = 'WorkOrderQuote']/w:customXmlPr/w:attr[@w:name = 'RecId']/@w:val

Share/Bookmark

System.IO.FileSystemWatcher and Word 2007

Development can be great fun. Can be. Right at the moment, I feel like I’m beating my head against a wall. I’ve put together a nice little app to monitor a directory for file changes using .NET’s System.IO.FileSystemWatcher.
Works great, mostly. I’ve been testing all along using “touch” at the command line [...]

OpenXML and XSL:FO

I’m currently working on a project generating OpenXml documents. OpenXml is Microsoft’s new default file format for Office 2007. The format, in general, is a great step forward. For those who haven’t looked at it, it’s a combination of a packaging standard, and several app specific schemas, WordprocessingML, SpreadsheetML, etc. So, [...]

Switch to our mobile site