I am looking for a way to extend Saxon Controller to process multiple documents with the same xslt instead of passing parameters and looping over each document. The product is merged xml that transformed with an xslt.
The focus is to process multiple documents as a single xml. I am concern with memory use when I concatenate several (up to 40) large xml documents building a single document source.
I found a DocumentPool object and it looks like a good place to store multiple documents for processing.
Please advice to where in framework is the best place to implement this costume feature.