Re: [xsl] Get the duplicates in a list

Subject: Re: [xsl] Get the duplicates in a list
From: "Chris Papademetrious chrispitude@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Jan 2025 17:11:09 -0000
That's just beautiful. Nice work Dmitre.

 - Chris



On Fri, Jan 3, 2025 at 11:47b/AM Roger L Costello costello@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Dimitre provided this gorgeous solution to getting a list of the
> duplicates in $fieldnames (a sequence of strings):
>
> $fieldnames[index-of($fieldnames,.)[2]]
>
> Well done Dimitre.
>
> /Roger

Current Thread