Those who tried XML reports have noticed that there are no links at the bottom of the reports if the number of the items, like hosts or referrers is greater than the configured top number of items. The reason for this is that, unlike with HTML reports, it does not make much sense to generate the same XML data twice (i.e. once in the top items report and another time in the report listing all items). I have been experimenting with various approaches to this problem and finally have found a solution I like.
XML reports in the next release will have a link at the bottom, similar to the link in the HTML reports. Clicking the link will expand the existing report to show the remaining report items. Expanded report can then be collapsed back to the initial top view by hitting the Esc key.
My only problem with this approach was that large XML report files would take much longer to process in a browser and would require much more memory than equivalent equivalent HTML reports because XSL transformation requires the entire XML document converted into a DOM tree before the resulting HTML tree can be created.
After some thinking, I decided to let administrators choose how much data they want in reports and added new configuration parameters to control the maximum number of items in the reports listing all items. New parameters are called MaxHosts, MaxReferrers, MaxUsers, etc. and will be assigned some large value by default.
Adding links to display all items will complete the XML reporting functionality. Hopefully, this last piece will nudge more people towards abandoning HTML reports in favor of more flexible XML/XSL format.