I cached an XSLT and apply it to several documents in a loop. Each result has the same format.
DocumentResult allResults = new DocumentResult(); for (iter = requests.iterator(); iter.hasNext();) { transformer.transform(new DocumentSource(request), ...