XPath 2.0 Gems: Find all duplicate values in a sequence (Part 2)

Update: Minor correction in the last two rows of the table — thanks to a comment by Michael Ludwig. I will talk about the efficiency of this and other related XPath expressions in my next post. In my first post … Continue reading XPath 2.0 Gems: Find all duplicate values in a sequence (Part 2)