Hello,
Normally (few basex-versions ago) I did:
session.execute("open main"); session.execute("xquery doc("users.xml")//users");
But now, this results in basex interpreting the doc()-path as relative to it's home-directory thus cannot find the resource..
"xquery doc("main/users.xml")//users" gives the correct results.
Do we no longer open a database but writing the full path of the document instead?
Whats the performance of this if accessing multiple documents of the same database during runtime?
-regards,
jan