June 2008 - Posts
You can use LINQ to XML to transform XML trees with the same level of power and expressability as with XSLT, and in many cases more than with XSLT. One of the reasons that XSL is so powerful is that you can write multiple rules to transform a node. The
Read More...
I am a newbie to PowerShell scripting. This is probably pretty obvious to anyone who has taken a look at the PowerShell scripts that I've written. Fortunately, there are people around who can improve on my efforts. Developer/Author Doug Finke has developed
Read More...
Sometimes you want to generate a wordprocessing document that contains a table. I've created an XML file that contains customers and orders, and a PowerShell script that uses the PowerTools for Open XML that generates a set of documents, each containing
Read More...
(July 16, 2008: This approach has been replaced with a better version .) In my enthusiasm to move the extraneous namespaces from the middle of the diffgram, I introduced a bug that would cause a duplicate attribute exception to be thrown in certain circumstances.
Read More...
(July 16, 2008: This approach has been replaced with a better version .) I found the documentation for the diffgram. I've udated the original post with the location. Also, I modified the code that prints the diffgram to remove the extraneous namespace
Read More...
(July 16, 2008: This approach has been replaced with a better version .) I had a thought that the instructions in the post, OpenXmlDiff.Exe: A Utility to Find the Differences Between Two Open XML Documents looked a little complicated - more complicated
Read More...
(July 16, 2008: This approach has been replaced with a better version .) This blog post introduces a small command line utility (OpenXmlDiff.Exe, code attached to this page) that compares two Open XML documents and produces a textual report of the differences
Read More...
I'm very excited today to announce a new open source project, PowerTools for Open XML . Processing Open XML documents using PowerShell is a powerful approach for creating, modifying, and transforming Open XML documents. The PowerTools for Open XML are
Read More...