Jump to content
JasperReports Library 7.0 is now available ×

XML export - Data Ordering Bad


kjhuebner

Recommended Posts

Hi folks,

I've been exporting my reports to HTML and rendering in Swing. However the rendering results are buggy--which I have not solved yet. So I thought I would get consistent results if I would export Jasper data as XML and populate a Swing TreeTable component with data. This way the data can be interactive since one can open and close a displayed tree. Nice idea, huh?

 

:silly:

 

But when I export data as XML the order of data in the XML is mixed up!! That is, the table "Heading" data appears AFTER the "content" data. And the Title appears AFTER a heading. Yet these things are at least in the proper order when the very same JasperPrint object is exported as HTML. The result being the XML data is unusable from a programmatic perspective.

 

:sick:

 

I hope someone can help me soothe my soul.

 

Ken

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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