title: C# template engine
body: <p>I am looking for a stand-alone, easy to use from C# code, template engine.
  I want to create an HTML and XML files with placeholders for data,
  and fill them with data from my code.</p>
  
  <p>The engine needs to support loops (duplicating parts of the template form more that one object) and conditions (add parts of the template to the final HTML/XML only if some conditions are true).
  Can someone recommend a good option for me, and add a link to more-or-less such code sample, and some documentation about how to use the recommended component for my needs?</p>
  
  <p>I also need to use loops to duplicate table rows, or even entire tables (in the HTML version) and complex elements (in the XML version).</p>