Greetings,

I hope you guys can help me. I searched for days, how to map a Custom XML Part to Content Controls programatically, but not with VBA, but with ASP.Net.

What I want to do is this:

1. Create a XML File with data for the Word doc.
2. Take an existing Word document with Content Controls in it as template and set the XPath routes for them.
3. Map the XML data to the document

How can I do that? I don't know how to set the XPath routes of the Content Controls.

Can anyone help me?

Thanks and regards,

Mark