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
--~--