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

Subject: Re: [xsl] What does //distinct-values(...) mean?
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 Apr 2020 10:15:27 -0000
On Thu, Apr 9, 2020 at 1:49 PM Michael Kay mike@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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.

Mukul Gandhi

Current Thread