My xml structure is root/books/book/books/book
I 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.
3 Answers:
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.