|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
updating document.xml example?Hi,
I am able to build a package in code as there are plenty of examples but I haven't seen one about updating. Can someone point me in the right direction? I have a docx that will be used as a template and I simply need to open the package, get the document.xml. load it, modify it, then save the part back and save the whole thing as a new document. I can open the document and create a modified document.xml fine but seem unable to save that back to a new copy of the document. Any hints/snippets appreciated. Chandy On 14 Feb, 15:12, cha***@totalise.co.uk wrote:
Show quote > Hi, So, nobody knows how to update a part in a package huh?> > I am able to build a package in code as there are plenty of examples > but I haven't seen one about updating. Can someone point me in the > right direction? > > I have a docx that will be used as a template and I simply need to > open the package, get the document.xml. load it, modify it, then save > the part back and save the whole thing as a new document. > > I can open the document and create a modified document.xml fine but > seem unable to save that back to a new copy of the document. > > Any hints/snippets appreciated. > > Chandy Chandy |
|||||||||||||||||||||||