Project

Profile

Help

Feature #3619

closed

Support for streaming in fn:transform()

Added by Michael Kay over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2018-01-12
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.8, trunk
Fix Committed on Branch:
9.8, trunk
Fixed in Maintenance Release:
Platforms:

Description

The specification of the fn:transform() function does not allow the principal source document to be supplied in streamable form (for example as a URI of a document to be read using streaming).

We are developing a test driver that relies on fn:transform() to invoke transformations, so this is a serious limitation.

I'm fixing this by adding an optional parameter source-location="uri" that can be used in place of the source-node parameter; its value is a URI. The XML document located at the supplied URI is used as the initial match selection for an apply-templates invocation of the stylesheet. The option may be used whether or not streaming is required.

Please register to edit this issue

Also available in: Atom PDF