Jump to content
Changes to the Jaspersoft community edition download ×

Jasper export to xml API output is Japserprint object in xml format?


ujadhav

Recommended Posts

We are using the following code for exporting XML.

   JRXmlExporter jrxmlexporter = new JRXmlExporter();        jrxmlexporter.setExporterInput(new SimpleExporterInput(jasperPrint));        jrxmlexporter.setExporterOutput(new SimpleXmlExporterOutput(stream));        SimpleExporterConfiguration xmlConfiguration = new SimpleExporterConfiguration();        jrxmlexporter.setConfiguration(xmlConfiguration);        jrxmlexporter.exportReport();

 

But the output is something different, it is simply a jasper print object in XML format? is it expected behavior?

Is there any way to get data source as a XML output rather than jasper print?

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

hi 

Thanks for input, but here we are talking about output of particular jrxml report, above api is supposed to provide some output, which is not jrxml , its jasperprint object in xml.

Some BI tools provide datasource as xml output but here what is meaning of this xml? where we can use it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...