Jump to content

can we export report out put in XML?


dprogrammer

Recommended Posts

  • 2 weeks later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Yes it's possible. Jasper has a Class JRXmlExporter. From the API.

"Exports a JasperReports document to an XML file that contains the same data as a JasperPrint object, but in XML format, instead of a serialized class. Such XML files can be parsed back into JasperPrint object using the JRPrintXmlLoader utility class. Their structure is validated against an internal DTD file called jasperprint.dtd"

Link to comment
Share on other sites

If you get the source for the iReport project I guess anything is possible. We only use iReports to develop the reports. We execute the report in production through a Java Servlet. We call the various JR exporters from this Servlet class.

Point to this class from within iReports wont help you if that's what your asking.

 

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...