AnsweredAssumed Answered

how to populate sub sub tags into a jrxml reports from xmlDataSourceString

Question asked by manikanta031 on Nov 25, 2016
Latest reply on Nov 28, 2016 by kaynezhang

HI, I am using this add on to generate reports by giving xmlDataSourceString as input to a jrxml template and generating a PDF/docx as an output file. Now I am able to pupulate the sub tags from the string. But not able to populate sub sub tags in the jrxml file. 

xmlDataSourceString is :




I want to populate the report dynamically with sub sub tags of the above xml string.

For example 

<field name="description" class="java.lang.String">
</field>  is populating the value with 'docs' tag.

Now I want to populate similarly with the sub sub tag. I have tried as below. But no luck.


<field name="docs.id1" class="java.lang.String">


Attached the files jasper.js when triggered will call the jasper.ftl to generate the xmlDataSourceString which in turn passed as input to  report_itemsInDataDictionary.jrxml and generates a PDF.

Kindly provide me any inputs