Q:

populating word doc from xml in c#

how do i populate a word doc from an xml template using c#. I know how to open a blank document but I cant figure out how to populate it.
Word.Document wordDoc = wordApp.Documents.Add(ref objMissing,
             ref objMissing, ref objMissing, ref objMissing);
Word.Paragraph wordParagraph = wordDoc.Paragraphs.Add(ref objMissing);

Here's a basic look at my xml form.
<?xml version="1.0" encoding="utf-8"?>
<Cover>
  <CaseNo>Case No:</CaseNo>
  <Title>Title:</Title>
  <Date>Date:</Date>
</Cover>

What I eventually want to do is get the user to fill in textboxes in a c# program which will populate the word document.
The information is not coming from an sql database

A:

You'll need to identify somewhere in your word document for the information to go... 
Firstly, you'll need to make a selection in the Word Document, then with that selection you can simply use the TypeText method to get your data across.
What I have done in these circumstances, and I find users feel comfortable with, is to define a set of placeholders (for example {caseno} or {title} ) in  a Word template, something they can edit. Then you can search for the placeholder and then replace it with the text from your XML file - Have a look at Word.Selection.Find

