dprogrammer Posted December 4, 2008 Share Posted December 4, 2008 Hi, Just like we are able to export into pdf, html, etc, is it possible to export the out put as XML? I am using version 1.2.x.Thanks in advance. Link to comment Share on other sites More sharing options...
dprogrammer Posted December 15, 2008 Author Share Posted December 15, 2008 Any ideas on this question? I still need to know if it will be possible or not for my project. Thanks Link to comment Share on other sites More sharing options...
svenn Posted December 16, 2008 Share Posted December 16, 2008 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 More sharing options...
dprogrammer Posted December 17, 2008 Author Share Posted December 17, 2008 Svenn, if that class is through API, can I also import it in the iReport? I just need to export my report output in xml via iReport designer. Do I need to import that class? Link to comment Share on other sites More sharing options...
svenn Posted December 17, 2008 Share Posted December 17, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now