title: How to merge two jrxml jasper reports into a one single pdf output file
body: <p>I have two JRXML File with two different data source. 
  in first jasper report data source is JRXmlDataSource and in second jasper report data source is JRResultSetDataSource </p>
  
  <pre><code>try
  {
              conn= objConnector.getConnection();
              conn.setAutoCommit(false);
  
              PreparedStatement ps = conn.prepareCall("{ call Sp_DEMO(?) }");
              ps.setString(1,condition);
              ResultSet rs = ps.executeQuery();
  
              JasperReport jreport1 = JasperCompileManager.compileReport("d:\\JRXML\\ECGImage.jrxml");
              JasperPrint jprint1 = JasperFillManager.fillReport(jreport1, new HashMap(), new JRResultSetDataSource(rs));
              jprintlist.add(jprint1);
              JasperReport jasperReport = JasperCompileManager.compileReport("d:\\JRXML\\RadiologyReport.jrxml");
  
                  JRXmlDataSource xmlDataSource = new JRXmlDataSource("d:\\abc.xml"+, "/X-RayReport/Type");
                  JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(),xmlDataSource);
                  jprintlist.add(jasperPrint);
  
  
              File file = new File("d:\\demo.pdf");
              if(file.exists())
              {
                  file.delete();
              }
              JRExporter exporter = new JRPdfExporter();
              exporter.setParameter(JRPdfExporterParameter.JASPER_PRINT_LIST, jprintlist);
              OutputStream output = new FileOutputStream(new File("d:\\demo.pdf"));
              exporter.setParameter(JRPdfExporterParameter.OUTPUT_STREAM, output);
              exporter.exportReport();
  
          }
          catch(Exception e)
          {
              e.printStackTrace();
          }
  </code></pre>
  
  <p>i want to create single pdf file as output from both jrxml file.</p>