This might be a quick one but I am struggling to figure out how to do it.
I have the following xpath expression:
doc("E://xml.xml") /*/diving[./sites and vessel="Compass"]/date
This xpath returns the dates where more than 3 sites have been operated on by the Compass vessel.
<?xml version="1.0" encoding="UTF-8"?>
As you can see, the 27-09-2015 appears three times!
How can I rewrite my xpath expression for it to return only distinct values (i.e. no repeats)