Hi Krishna Prasad, First try to create two rules one for table row data and the other will be for xml data. rule!tableRowData() code: "" This rule has only one variable i.e. "tableData" of cdt type and it is not a multiple type. rule!xmlData() code: stripwith(""&fn!apply(rule!tableRowData(tableData: _), ri!tableData)&"", ";") Again we have the same variable i.e. "tableData" of cdt type and it is multiple type. After creating these two rules call rule!xmlData() in xmlDataModel input variable of DOCX from Dynamic Template smart servive by passing your cdt type variable as input to the rule. For testing purposes i passed the below data as input { { name: "ram", dob: today(), address: "abcd" }, { name: "raj", dob: today(), address: "efgh" } } And i am attaching the base template and generated document for your reference. Please let me know if i can help you in anything else. Note: The key value pairs of the cdt type variable might change basing on the defined cdt type variable in your process model.