*
The moose likes Other Open Source Projects and the fly likes jasper Report Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jasper Report Issue" Watch "jasper Report Issue" New topic
Author

jasper Report Issue

RatiKanta pal
Ranch Hand

Joined: Nov 13, 2011
Posts: 62

Hello Experts,
I have a requirement,My client wants me to generate report in xml format and the tags should be user defined.But when I am trying to generate the report(with xml preview in ireport 3.0.0) its showing me the output in xml but with jrxml source.
Please suggest me how do I resolve this problem.It will be nice to have some opinion and sample example too.

Thank you.
rati
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2242
    
    7

What exporter class are you using? There is a JRXmlExporter() for XML export...

Not sure if this is correct for defining your tags/elements. Can try calling the exportElements(Collection<JRPrintElement> elements) method then call the exportReport()

By the way the exportElements() method is protected


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
RatiKanta pal
Ranch Hand

Joined: Nov 13, 2011
Posts: 62

Hi,
I am using exportReportToXmlFile method.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jasper Report Issue
 
Similar Threads
JUnit HTML report using Ant
How to export chart(graph) generated by jsp into a excel?
What about JMeter?
Struts 1 Webdoclet fails generating struts-config.xml
New tool for validate XML