Asynchronous fetch for a list of documents
At the moment, using ixsl:schedule-action/@document we can only fetch one document at a time. So when a number of documents are required before process X, we either need to use nested ixsl:schedule-action elements, which will only send fetch requests in series; or write some XSLT mechanism to do parallel fetches, storing information about which have returned, and then proceeding to process X once all fetches have returned.
It would be nice to allow the @document attribute to contain a list of documents to be fetched. Saxon-JS would send requests to fetch these documents in parallel, and the called template (for process X) would then be called once all fetch requests have returned.
#1 Updated by Debbie Lockett 5 months ago
- Status changed from New to In Progress
- Fix Committed on JS Branch 1.0, Trunk added
Implemented on 1.0 and trunk branches: ixsl:schedule-action/@document is now allowed to be a space separated list.
See JS unit test ixsl2/schedule04.
Documentation to be updated.
Please register to edit this issue