mauricio Posted May 18, 2014 Share Posted May 18, 2014 hello, I'm using iReport 4.1.3I 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 More sharing options...
mauricio Posted May 19, 2014 Author Share Posted May 19, 2014 ok, I generated a fourth dataset with the xpath //root/*/requets/request with this I was able to perform some count and stuff hope its usefull for someone else Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now