I'm developing an app where I need to export documents based on different templates, I'm using PDFsharp and migradoc to create PDF documents. My documents have static text and there are just some parts that are generated dynamically. I think XML would be a good idea to this, however I'm new in this topic. I want to achieve something like this (static text and variables):
<xml>
<name> bla bla bla bla bla <date> bla bla bla blabla
<subject> bla bla bla bla
<fullname>
</xml>
What are your suggestions? Where should I start? Should I use XML?