xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 4 xsl:with

2020-05-19 07:00:00
On Tue, May 19, 2020 at 08:53:54AM -0000, Pieter Masereeuw 
pieter(_at_)masereeuw(_dot_)nl 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>