I need to be able to setup a Word template with data field place holders and render content based on a set of rules. I have looked at the mail merge functionality but this didn't answer this question.
IF <> is "Male" THEN
Display "Hello Sir"
Display "Hello Madam"
This is a simple example of course - in reality, there could be multiple rules that determine what needs to be rendered.
Can you please let me know how this can be achieved in Aspose.Words and also how the document template needs to be setup?