I have a XML file containing different publications. I want to find the publication with the highest amount of timesCited which is published before 2010. I have this as of now:
/publications/publication[timesCited = max(/publications/publication/timesCited)]
[yearFinished < 2010]
The problem is that this checks for the highest timesCited, which is a publication from 2011, and thus returns nothing. I want to find the publication with the highest amount of citations before 2010. How would I go about this?