A quick question, I have this simple xquery to retrieve a node that sometimes has multiple hits, and for this reason I am using the function: head.
This gives me the first node that matches the xpath, but is there a way to retrieve the node that originates from the latest imported document?
My current query: xquery head (//event[eventID="12345ABC"])
// Sam