datadryad/dryad-repo — pull request #239 by dleehr (2013-05-14 15:54:34+00:00)
Title: Use global variable for file listing rather than calling document() to get the DRI again

This was sometimes preventing the data package pages from loading. The theme XSL would generate a second request for the resource it was transforming, and this was sometimes causing the pipeline to deadlock if the document was not cached.

Instead, since the original DRI document is the starting point, this change simply captures the file listing in a global variable so that it can be recalled by the appropriate template.