pvelan Posted October 27, 2011 Share Posted October 27, 2011 My xml structure is root/books/book/books/bookI have a subreport A in the main report and i pass the datasource expression as root/books/book. My question is that if i have a subreport B in my first subreport A and I want to pass the same xml as what the subreport A got from the main report..Could someone please let me know the expression to be used?I tried.. various options like . , /, /book but nothing seems to work.Thanks. Link to comment Share on other sites More sharing options...
iamwoodyjones Posted October 31, 2011 Share Posted October 31, 2011 Were you able to figure this out? I've done a few XML Data sources with the same XML document being also the sub-report which was passed as a parameter. It is tricky to get just right, but not impossible. It's just frustrating that you have to get the exact passing and XQuery correct, otherwise you get blank reports. Link to comment Share on other sites More sharing options...
pvelan Posted November 1, 2011 Author Share Posted November 1, 2011 Hi,Currently i am using.. /book and this seems to be working. Things seems to be working little different on the actual server from the ireport preview.Thanks. Link to comment Share on other sites More sharing options...
iamwoodyjones Posted November 1, 2011 Share Posted November 1, 2011 Great to hear that. Sounds like you were able to solve the problem which is awesome! Happy reporting. 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