title: Add sub reports to main report in Jasper Studio
body: <p>I have a XML which is to be converted to CSV format. I'm using Jasper Reports to convert it and using Jasper Studio to design the JRXML. </p>
  
  <p>This is the XML :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
  &lt;menu-compare xmlns:mig="http://www..com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www..com"&gt;
      &lt;menu-info&gt;
          &lt;menu type="ons" name="HCOTA"/&gt;
          &lt;menu type="ux" name="RTACOF"/&gt;
      &lt;/menu-info&gt;
      &lt;field-details&gt;
          &lt;fields existence="both"&gt;
              &lt;field name="taChrgOffMsg.taChrgOffCrit.funcCode"&gt;
                  &lt;field-type type="ons"&gt;
                      &lt;group-name&gt;cota&lt;/group-name&gt;
                      &lt;page-name&gt;cotacrit&lt;/page-name&gt;
                      &lt;control-type&gt;Combo Box&lt;/control-type&gt;
                      &lt;ui-field&gt;funcCode&lt;/ui-field&gt;
                      &lt;label&gt;FLT000204&lt;/label&gt;
                      &lt;label-desc&gt;Function&lt;/label-desc&gt;
                      &lt;mandatory&gt;Y&lt;/mandatory&gt;
                  &lt;/field-type&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinHidden&lt;/control-type&gt;
                      &lt;ui-field&gt;funcCode&lt;/ui-field&gt;
                      &lt;section-structure&gt;group1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field name="taChrgOffMsg.taChrgOffCrit.Acct.foracid"&gt;
                  &lt;field-type type="ons"&gt;
                      &lt;group-name&gt;cota&lt;/group-name&gt;
                      &lt;page-name&gt;cotacrit&lt;/page-name&gt;
                      &lt;control-type&gt;Text Field&lt;/control-type&gt;
                      &lt;ui-field&gt;acctId&lt;/ui-field&gt;
                      &lt;label&gt;FLT000265&lt;/label&gt;
                      &lt;label-desc&gt;A/c. ID&lt;/label-desc&gt;
                      &lt;mandatory&gt;Y&lt;/mandatory&gt;
                  &lt;/field-type&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinAccountId&lt;/control-type&gt;
                      &lt;ui-field&gt;acctId$accountId&lt;/ui-field&gt;
                      &lt;label&gt;FLT001251&lt;/label&gt;
                      &lt;label-desc&gt;A/c. ID&lt;/label-desc&gt;
                      &lt;mandatory&gt;Y&lt;/mandatory&gt;
                      &lt;section-structure&gt;group1.section1.subSection1.finRow1.finCell1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
          &lt;/fields&gt;
          &lt;fields existence="nonMap"&gt;
              &lt;field&gt;
                  &lt;field-type type="ons"&gt;
                      &lt;group-name&gt;cota&lt;/group-name&gt;
                      &lt;page-name&gt;cotacrit&lt;/page-name&gt;
                      &lt;control-type&gt;Desc. Label&lt;/control-type&gt;
                      &lt;ui-field&gt;acctCrncy&lt;/ui-field&gt;
                      &lt;label&gt;&lt;/label&gt;
                      &lt;mandatory&gt;N&lt;/mandatory&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field&gt;
                  &lt;field-type type="ons"&gt;
                      &lt;group-name&gt;cota&lt;/group-name&gt;
                      &lt;page-name&gt;cotacrit&lt;/page-name&gt;
                      &lt;control-type&gt;Desc. Label&lt;/control-type&gt;
                      &lt;ui-field&gt;acctSol&lt;/ui-field&gt;
                      &lt;label&gt;&lt;/label&gt;
                      &lt;mandatory&gt;N&lt;/mandatory&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field&gt;
                  &lt;field-type type="ons"&gt;
                      &lt;group-name&gt;cota&lt;/group-name&gt;
                      &lt;page-name&gt;cotacrit&lt;/page-name&gt;
                      &lt;control-type&gt;Desc. Label&lt;/control-type&gt;
                      &lt;ui-field&gt;acctName&lt;/ui-field&gt;
                      &lt;label&gt;&lt;/label&gt;
                      &lt;mandatory&gt;N&lt;/mandatory&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinAccountId&lt;/control-type&gt;
                      &lt;ui-field&gt;acctId&lt;/ui-field&gt;
                      &lt;label&gt;FLT001251&lt;/label&gt;
                      &lt;label-desc&gt;A/c. ID&lt;/label-desc&gt;
                      &lt;mandatory&gt;Y&lt;/mandatory&gt;
                      &lt;section-structure&gt;group1.section1.subSection1.finRow1.finCell1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinHidden&lt;/control-type&gt;
                      &lt;ui-field&gt;funcCodeExp&lt;/ui-field&gt;
                      &lt;section-structure&gt;group1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinHidden&lt;/control-type&gt;
                      &lt;ui-field&gt;hchrgeOffAmt&lt;/ui-field&gt;
                      &lt;section-structure&gt;group1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
          &lt;/fields&gt;
          &lt;fields existence="ux"&gt;
              &lt;field name="taChrgOffMsg.taChrgOffCrit.Acct.acctName"&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinAccountId&lt;/control-type&gt;
                      &lt;ui-field&gt;acctId$accountNameDesc&lt;/ui-field&gt;
                      &lt;label&gt;FLT001251&lt;/label&gt;
                      &lt;label-desc&gt;A/c. ID&lt;/label-desc&gt;
                      &lt;mandatory&gt;Y&lt;/mandatory&gt;
                      &lt;section-structure&gt;group1.section1.subSection1.finRow1.finCell1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
              &lt;field name="taChrgOffMsg.taChrgOffCrit.Acct.crncyCode"&gt;
                  &lt;field-type type="ux"&gt;
                      &lt;group-name&gt;Rtacof&lt;/group-name&gt;
                      &lt;page-name&gt;Rtacof_criteria_form&lt;/page-name&gt;
                      &lt;page-name-desc&gt;Transaction A/c. Details&lt;/page-name-desc&gt;
                      &lt;control-type&gt;FinAccountId&lt;/control-type&gt;
                      &lt;ui-field&gt;acctId$currencyDesc&lt;/ui-field&gt;
                      &lt;label&gt;FLT001251&lt;/label&gt;
                      &lt;label-desc&gt;A/c. ID&lt;/label-desc&gt;
                      &lt;mandatory&gt;Y&lt;/mandatory&gt;
                      &lt;section-structure&gt;group1.section1.subSection1.finRow1.finCell1&lt;/section-structure&gt;
                      &lt;form&gt;criteria&lt;/form&gt;
                  &lt;/field-type&gt;
              &lt;/field&gt;
          &lt;/fields&gt;
      &lt;/field-details&gt;
  &lt;/menu-compare&gt;
  </code></pre>
  
  <p>I want the CSV format with the below columns :</p>
  
  <pre><code>                                    ons(field_type)        ux(field_type)
       fields_existence field_name control-type page-name control-type page-name
  </code></pre>
  
  <p>fields_exitence is split into 3(nonMap, ux and both), 
  properties under <code>&lt;field-type type="ons"&gt;</code> need to fall under a merged cell 'ons', <code>&lt;field-type type="ux"&gt;</code> need to fall under a merged cell 'ux' as above.</p>
  
  <p>So i've created a main report which will have the <code>fields_existence</code> and <code>field_name</code> and two subreports for 'ons' and 'ux'.</p>
  
  <p>main report : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!-- Created with Jaspersoft Studio version last--&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="New3" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="7eade40b-45a9-4626-bef7-fbcc2d4397a4"&gt;
      &lt;property name="com.jaspersoft.studio.data.defaultdataadapter" value="New Data Adapter (5)"/&gt;
      &lt;subDataset name="Dataset1" uuid="5c92bcef-d33d-481e-afaa-02aa04792e45"&gt;
          &lt;queryString&gt;
              &lt;![CDATA[]]&gt;
          &lt;/queryString&gt;
          &lt;field name="field_name" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[@name]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
          &lt;field name="control-type-ons" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[/fields/field/field-type[@type = "ons"]/control-type]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
          &lt;field name="control-type-ux" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[/fields/field/field-type[@type = "ux"]/control-type]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
          &lt;field name="control-typee-ons" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[control-type]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
          &lt;field name="control-typee-ux" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[/fields/field/field-type[@type = "ux"]/control-type]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
          &lt;field name="label-desc-ons" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[/fields/field/field-type[@type = "ons"]/label-desc]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
      &lt;/subDataset&gt;
      &lt;subDataset name="Dataset2" uuid="f8c00177-6263-49fc-b17d-f307080a8539"&gt;
          &lt;queryString&gt;
              &lt;![CDATA[]]&gt;
          &lt;/queryString&gt;
          &lt;field name="control-type_d2_ons" class="java.lang.String"&gt;
              &lt;fieldDescription&gt;&lt;![CDATA[control-type]]&gt;&lt;/fieldDescription&gt;
          &lt;/field&gt;
      &lt;/subDataset&gt;
      &lt;queryString language="XPath"&gt;
          &lt;![CDATA[/menu-compare/field-details/fields]]&gt;
      &lt;/queryString&gt;
      &lt;field name="fields_exists" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[@existence]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="field" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="field_1" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="field_2" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="field_3" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="field_4" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="field_5" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;background&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/background&gt;
      &lt;title&gt;
          &lt;band height="79" splitType="Stretch"/&gt;
      &lt;/title&gt;
      &lt;pageHeader&gt;
          &lt;band height="35" splitType="Stretch"/&gt;
      &lt;/pageHeader&gt;
      &lt;columnHeader&gt;
          &lt;band height="73" splitType="Stretch"&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="a7807abf-6697-4dbb-b990-f4a63572c158" x="10" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["Map_Type"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="fe9d6fa6-30c2-4507-867a-f60d872a4002" x="110" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["Field-Name"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height="264" splitType="Stretch"&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="3f1e6c53-cb80-4117-9aeb-c5b26b1169c0" x="10" y="10" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{fields_exists}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;componentElement&gt;
                  &lt;reportElement uuid="e888d323-d870-4c8d-9826-2930dbafcaa4" x="100" y="10" width="310" height="60"/&gt;
                  &lt;jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"&gt;
                      &lt;datasetRun subDataset="Dataset1" uuid="fba9150e-05b0-4c8d-933f-26e4766a1de4"&gt;
                          &lt;dataSourceExpression&gt;&lt;![CDATA[$P{REPORT_DATA_SOURCE}.subDataSource("/fields/field")]]&gt;&lt;/dataSourceExpression&gt;
                      &lt;/datasetRun&gt;
                      &lt;jr:listContents height="66" width="310"&gt;
                          &lt;textField&gt;
                              &lt;reportElement uuid="6fb1b0ce-65f2-4c22-aa27-f4083bb535c2" x="10" y="15" width="70" height="30"/&gt;
                              &lt;textElement/&gt;
                              &lt;textFieldExpression&gt;&lt;![CDATA[$F{field_name}]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                          &lt;textField&gt;
                              &lt;reportElement uuid="c1821c08-9cdd-4ab2-81d1-6e7981f755fe" x="100" y="15" width="70" height="30"/&gt;
                              &lt;textElement/&gt;
                              &lt;textFieldExpression&gt;&lt;![CDATA[$F{control-type-ons}]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                          &lt;textField&gt;
                              &lt;reportElement uuid="c5cd28df-0742-4f4b-ae5d-1098b472b5a0" x="200" y="15" width="70" height="30"/&gt;
                              &lt;textElement/&gt;
                              &lt;textFieldExpression&gt;&lt;![CDATA[$F{control-type-ux}]]&gt;&lt;/textFieldExpression&gt;
                          &lt;/textField&gt;
                      &lt;/jr:listContents&gt;
                  &lt;/jr:list&gt;
              &lt;/componentElement&gt;
              &lt;subreport&gt;
                  &lt;reportElement uuid="e57583f2-7163-4c8b-8245-7586cf22491f" x="440" y="20" width="41" height="46"/&gt;
                  &lt;dataSourceExpression&gt;&lt;![CDATA[$P{REPORT_DATA_SOURCE}.subDataSource("/fields/field/field-type")]]&gt;&lt;/dataSourceExpression&gt;
                  &lt;subreportExpression&gt;&lt;![CDATA["New3_SubReport_Ons.jasper"]]&gt;&lt;/subreportExpression&gt;
              &lt;/subreport&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
      &lt;columnFooter&gt;
          &lt;band height="45" splitType="Stretch"/&gt;
      &lt;/columnFooter&gt;
      &lt;pageFooter&gt;
          &lt;band height="54" splitType="Stretch"/&gt;
      &lt;/pageFooter&gt;
      &lt;summary&gt;
          &lt;band height="42" splitType="Stretch"/&gt;
      &lt;/summary&gt;
  &lt;/jasperReport&gt;
  </code></pre>
  
  <p>SubReport_ONS : Here i get the data properly, all the field properties listed under   are populated. But when i add it to the main report nothing is getting populated.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!-- Created with Jaspersoft Studio version last--&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="New3_SubReport_Ons" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="7d9c4551-de86-4504-9dc0-b7617a01f620"&gt;
      &lt;property name="com.jaspersoft.studio.data.defaultdataadapter" value="New Data Adapter (5)"/&gt;
      &lt;queryString language="xPath"&gt;
          &lt;![CDATA[/menu-compare/field-details/fields/field/field-type[@type = "ons"]]]&gt;
      &lt;/queryString&gt;
      &lt;field name="group-name" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[group-name]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="page-name" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[page-name]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="control-type" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[control-type]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="ui-field" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[ui-field]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="label" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[label]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="label-desc" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[label-desc]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="mandatory" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[mandatory]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="section-structure" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[section-structure]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="form" class="java.lang.String"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[form]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;background&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/background&gt;
      &lt;columnHeader&gt;
          &lt;band height="74" splitType="Stretch"&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="11e36190-331d-492d-b2f8-b6b5e255ad29" x="0" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["control-type"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="d29aaacd-1eb0-4f18-800f-79745afaab6a" x="80" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["label-desc"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="975c7937-8450-4270-a14c-f04906402a8a" x="160" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["label"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="29fd8188-114b-4731-8b44-e1b8b87b5734" x="242" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["ui-field"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="8f51cdc4-c1ce-4337-ab61-f4d43d4646bc" x="320" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["group-name"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="7f31617e-3683-4693-a248-6bebe0f5bdf5" x="400" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["page-name"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="24846d3e-7179-4fc7-91e2-f087b35676ac" x="490" y="30" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["mandatory"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height="125" splitType="Stretch"&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="24c09848-f19d-4954-94d9-f6b1cb95f968" x="0" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{control-type}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="ab6c2cb7-8591-46e4-900e-4b60e0f08f21" x="80" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{label-desc}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="ab1ff84a-23b9-44c1-88a6-1c5a9fffaeb5" x="160" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{label}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="acfb12b3-d8e0-4319-9339-182ac90a5e8b" x="242" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{ui-field}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="1e0c29fd-e910-40dc-b67b-57aabcf96726" x="320" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{group-name}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="f37a62d2-2dfe-4f97-b60e-6fc2cf7e868c" x="400" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{page-name}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement uuid="084363d8-635f-4d8b-b0d2-01dbca4ff39f" x="490" y="20" width="70" height="30"/&gt;
                  &lt;textElement/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{mandatory}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
  &lt;/jasperReport&gt;
  </code></pre>