[Blog Map] This blog is inactive. New blog: EricWhite.com/blog
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 a table:
The script and the source XML file are attached.
See Automated Processing of Open XML Documents using PowerShell for more information on the PowerTools for Open XML.