Correction:
XQUERY db:open("project1", "resultset1.xml") 

returns contents from not the first one but all files.

But the question remains, if there are two resources at the same path in a database, how to retrieve a specific resource.
Is it even possible?

Thanks,
Anupam