Jump to content

Problem with XML datasource


musso.mattia

Recommended Posts

Hi at all!

I'm a newbie of Jasper Report and i've a big problem.

I've an xml datasource with a sintax like this:

<root><header><data><field name="NAME_1" value="VALUE_1"/></field></data><data><field name="NAME_2" value="VALUE_2"/></field></data><data><field name="NAME_3" value="VALUE_3"/></field></data><header><details> WORK WELL </details></root>[/code]

The details part work well, and i can vien it in report withouth problem.

I would like to insert the header fields at the top of the report document.

It's possibile? Because Jasper extract me every time the first field (text1), and not text2 or text3... It's possible to extract them?

Thank's a lot,

Mattia

Link to comment
Share on other sites

  • 5 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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