Hi All,
I'm facing an issue when using list of list as xml input in Docx from dynamic template. Couldn't generate document.
Below the startNotes is the list which contains another list ctable .
<dynamic><responseDate>August 05, 2020</responseDate><requestDate>May 19, 2020</requestDate><startNotes note='Thank you for your request .' /><startNotes note=' we are pleased to provide you with the information .' notee='true'><ctable category='Individual Identifiers' value='Ad Identifiers, Alias, Customer Number, Customer Address' data_value='A, 1010-73892-382787423832873874, 123, xyz' /><ctable category='Employment Information ' value='Lan ID, Student Number, Training Information' data_value='D548563215,123' /><ctable category='Education ' value='Diploma, Transcript' data_value='' /></startNotes><startNotes note='Check point 2' notee='true'><ctable category='Employment and Professional Information ' value='Multiple or Duplicate Records found, Product Or Service Purchase History, Training Information' data_value='100-5222-5555-7896544 , 145267-4586511-5566, 100236589621452156563221' /></startNotes></dynamic>
Template:
«[#list doc.dynamic.startNotes as sp1]»«${sp1.@note}»
«[#if sp1.@notee == "true"]»The following chart shows the categories:
Categories value data_value«@before-row[#list doc.dynamic.startNotes.ctable as » «${cat.@value}» «${cat.@dataval}»«${cat.@category}»«@after-row[/#list]»
«[/#if]» «[/#list]»
My final Output should be:
Thank you for your request.
we are pleased to provide you with the information followed by grid data .Check point 2 followed by its grid data.
Could you please help me on this.
Thanks !!!
Discussion posts and replies are publicly visible