The extension instruction ixsl:schedule-action may be used to define processing that is to take place after a defined interval. The wait attribute takes an XPath expression whose value must be an integer, the length of time in milliseconds after which the body of the instruction will be executed.

At present the body of the instruction must be a single call on xsl:call-template. In effect this starts a new transformation with the named template as the entry point, while retaining the context item at the point of the call, and leaving all global variables unchanged.

If an action is to take place repeatedly, then each action should trigger the next by making another call on ixsl:schedule-action.

There is currently no mechanism to cancel an action once initiated.