Subject: Re: [xsl] Efficient XPath 2.0 expression to return each <row> element for which there are other <row> elements having the same navaid?|
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Dec 2018 18:50:36 -0000
If this is a real task support effort and not just a learning exercise and you're using Oxygen then I would follow Graydon's lead and use XQuery 3 to build a map that can then give you a quick answer.
for $row in /airports/row group by $id := $row/navaid where $row return $row