how to fill content controls in word 2007 from xml source

Alphasee

New Member
I have a template.docx word document where there are many blanks to fill. I inserted content controls in those blanks. Some content controls are in the header, some are in footer, some are in the body and some in endnotes. Now, I have to fill those content controls with xml file. Can anyone provide any excellent idea in C# to fill those blanks.My approach is to fill the blanks with content controls and populate them.I would really appreciate if there is any other method.I can not use Word Content Control Toolkit because there are many xml sources whose inputs depend on various condition.So, I would really appreciate if I could get code in C# to fill content control(at least static values).Thanks in advance
 
Back
Top