Docx from dynamic template

I am trying to implement docx from dynamic template smart service which is a shared component.

It is having 3 mandatory parameters.
1. Document template
2. Xml Datamodel
3. Savein folder

I am trying to create a cdt name project which contains 3 parameters "name", "dob", "address".
I tried with the below xml model. For hardcoded values it is working fine, but for dynamic values(pv parameters) it is nor work.

="<project >
<name='&pv!name&' dob='&pv!dob&' address='&pv!address&'/>
</project>"

Can anyone suggest the document template and xml Datamodel for the same?

Thanks in advance.

OriginalPostID-258940


wordTemplateForDynamicGeneration.docx

  Discussion posts and replies are publicly visible