We are writing code to replace sections of a Word 2007 template with data pulled from a data store using the Office Open XML SDK 2. We have decided to use Custom XML to identify the sections to be replaced. We would like to be able to change the definition of our schema as needed. From what I can tell this functionality is supported by XML Expansion Packs, but I can't find any documentation on how to create them. It seems that the main difference is the existence of a manifest file. Where can I find documentation for this? Also, is this the right approach?http://geekswithblogs.net/tmurphy
First of all, Open XML SDK could help you to your jobs. the XML expansion Packs is considered as custom xml files. You may find how to insert XML Expansion Packs in the following way: 1. create a file without XML Expansion Packs; 2. insert a XML expansion packs into the file; 3. Use the tool DocumentReflector to view the difference between the two files.