Hello,
I'm trying to generate a dynamic table in docx. But unfortunately, I'm getting an empty table. Attached below are the screenshots and the XML data that i'm passing.
XML Text -
"<find><irish control='Control1' observation='Observ' risk='Risk' /><irish control='Control2' observation='Observ2' risk='Risk2' /><irish control='test control' observation='test observation' risk='test risk data 4365475' /></find>"
Template -
Result -
Could you please let me know what am i doing wrong here?
Discussion posts and replies are publicly visible
In the xml file you have '@' before control, observation and risk fields. Can you try changing it like d.control, d.risk, d.observation within the {}. Don't think you need the @ there.
Try this
«@before-row[#list doc.find.irish as d]» | «$(d.@control)» | «$(d.@observation)» | «$(d.@risk)» | «@after-row[/#list]»
Thank you for your response, will try this!