Re: [xsl] Get the duplicates in a list

Subject: Re: [xsl] Get the duplicates in a list
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Jan 2025 16:47:20 -0000
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