xsl-list
[Top] [All Lists]

Re: [xsl] What does //distinct-values(...) mean?

2020-04-09 05:15:32
On Thu, Apr 9, 2020 at 1:49 PM Michael Kay mike(_at_)saxonica(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Sorry, but that's wrong. The semantics are crystal-clear, just as the
semantics of //name() are crystal clear. The expression might be useless,
and its effect might be non-intuitive, but it's a principle of orthogonal
language design that you don't disallow things merely because they are
useless or non-intuitive. You can't allow some function calls after "//"
because you think they are useful, and disallow others because you think
they aren't.


Thanks, for this explanation. Its insightful.



-- 
Regards,
Mukul Gandhi
--~----------------------------------------------------------------
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>