Re: [xsl] Can an XSLT 3.0 stylesheet access the complete sequence of values passed in as the initial match selection?

Subject: Re: [xsl] Can an XSLT 3.0 stylesheet access the complete sequence of values passed in as the initial match selection?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 12 Jan 2020 21:21:30 -0000
On 12.01.2020 20:44, Michael Kay mike@xxxxxxxxxxxx wrote:
You can only process the items individually; which I'm afraid makes the
feature rather useless.

The XProc 3 guys seem to want to use it: https://spec.xproc.org/master/head/steps/#c.xslt.10 says: "If no value is supplied for template-name option an Apply-template invocation is performed. The documents that appear on source are taken to be the initial match selection.".


It seems there you can pass in more than one item (document in the XProc terminology) on the source port.

Any XProc 3 expert out there that knows whether a stylesheet in an xslt
3 step will need a step doing a wrap or merge/join before the xslt step
to be able to have the xslt step process the whole source port selection
of items together in the XSLT code?

Current Thread