Freigeben über


PowerTools Script that Generates a Table in an Open XML Document

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:

This blog is inactive.
New blog: EricWhite.com/blog

Blog TOC

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

GenerateCustomersOrders.zip

Comments

  • Anonymous
    June 18, 2008
    I often recommend peaple to keep an eye on CodePlex, these articles might tell you why : PowerTools Script

  • Anonymous
    June 22, 2008
    Here are some interesting blog posts from the last week, as well as a few items I had missed while I

  • Anonymous
    March 01, 2014
    Hi Eric, Adding a table from Xml data or a database seems a pretty regular requirement. Am wondering if it's possible to add functionality to the PowerTools which would make it easier? Either just mapping rectangular Xml data to a table or using repeating content controls? Best regards, Peter

  • Anonymous
    March 02, 2014
    The comment has been removed

  • Anonymous
    May 04, 2014
    Is there a newer version of this script?  It is only creating the files with Tai Yee an nothing else.