xsl:merge-source
Describes the input source for an xsl:merge instruction.
Content:
xsl:merge-key+
Permitted parent elements:
xsl:merge
Attributes
|
|
Name of the merge source. Used to distinguish
different merge sources within the |
|
|
XPath expression returning a set of nodes. Selects the anchor nodes for non-streamed merging. |
|
|
XPath expression returning a set of
URIs; these are the URIs of documents used for streamed merging; the root nodes
of these documents act as the anchor nodes. In an earlier draft of the XSLT 3.0
specification, this attribute was named |
|
|
XPath expression; for each anchor node, this selects the descendant nodes that make up the stream of data to be merged. |
|
|
Streamed merging requires Saxon-EE. Saxon 9.6 implements streamed merging with some restrictions, see below. |
|
|
Not implemented in Saxon 9.7. Defines the set of accumulators that are applicable to the streamed document. |
|
|
Specifies whether each input
sequence will first be sorted to ensure that it is in the correct order. The
value |
|
|
Determines whether validation is applied to the input read from this merge source. Validation requires Saxon-EE. |
|
|
If specified, data read from this merge source is validated against the named schema type. Validation requires Saxon-EE. |
Notes on the Saxon implementation
Saxon 9.6 implements streamed merging with some restrictions. It does not allow
an arbitrary striding expression as the select
expression, but only
a simple path expression following the same rules as the saxon:stream()
extension function.
The implementation of streaming uses one thread for each input document. The configuration option to allow multi-threaded execution must not be disabled.
For more information see Streaming with xsl:merge. Streamed merging requires Saxon-EE.
The use-accumulators
attribute is not implemented in Saxon 9.7.
Details
For details and examples, see xsl:merge