[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member