Re: [xsl] XSLT 4 xsl:with

Subject: Re: [xsl] XSLT 4 xsl:with
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 May 2020 11:59:56 -0000
On Tue, May 19, 2020 at 08:53:54AM -0000, Pieter Masereeuw pieter@xxxxxxxxxxxx scripsit:
> I would be very happy if I could make my intentions clearer by using a real
> XSLT construct in this situation, such as *<xsl:with select="...">*. The
> semantics could also help as an assertion that, indeed, the selection has
> exactly length 1.

Despite a certain mad temptation to xsl:each-with, I think this might be
better as xsl:with-context.

I agree that the clarity would be an improvement.  I wouldn't want to
see it force a single member sequence on the select, though.

-- Graydon

Current Thread