Jump to content
We've recently updated our Privacy Statement, available here ×

Is it possible to merge two (or more) xpath2 dataset


mauricio

Recommended Posts

hello, I'm using iReport 4.1.3

I have one report which data source is an xml file, so I'm using xpath2
 
I'm interested on getting charts about the "request" node as total (count, state based on request properties inside each one)
 
I can define 3 different datasets for each group of requests and get usefull info for each one, say:
-root/requests
-root/particular/requests
-root/particular/more_particular/requests
 
but I need now some way to merge all request and get info from them, as if I were looking a complete requests array, something as
 
total/requests = ( root/requests + root/particular/requests + root/particular/more_particular/requests )
 
each request has an id, no repeated data, all request have similar structure inside
 
hope someone can help, thanks in advance
 
xml file is structured similar to this
<root>
<particular>
<requets>
<request>
<request>
<request>
</requests>
<more_particular>
<requets>
<request>
<request>
</requests>
</more_particular>
</particular>
<requets>
<request>
<request>
</requests>
</root>
Link to comment
Share on other sites

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