Jump to content
Changes to the Jaspersoft community edition download ×

XPath - how to set fields from different nodes in one record


duka.milan

Recommended Posts

XML document is in attachment.

For that document I made XPath query: "/firstnode/secondnode | firstnode/secondnode/thirdnode/forthnode"

As a result I get fields: firstname, secondname, describe, value

When I put that fields in record preview, that looks like:

firstnamesecondnamedescribevalue
MarkJovie  
  MFP.110
  MFP.530
JohnBovie  
  MFP.711
  MFP.940

My question is: How to write XPath query giving next table?:

firstnamesecondnamedescibevalue
MarkJovieMFP.110
MarkJovieMFP.530
JohnBovieMFP.711
JohnBovieMFP.940

 

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