updating document.xml example?

  • Thread starter Thread starter chandy
  • Start date Start date
C

chandy

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
 
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

So, nobody knows how to update a part in a package huh?

Chandy
 
Back
Top