Dear Kendall,
with BaseX 10, db:open was replaced with db:get [1]. With version 11, the deprecated function was removed.
I cannot tell, though, why the prefix is said to be unknown. Could you please share the exact error message with us?
Best, Christian
[1] https://docs.basex.org/main/BaseX_10#functions
Kendall Shaw kshaw@kendallshaw.com schrieb am Di., 17. Sept. 2024, 22:26:
I'm using basex 11.2 under WSL ubuntu 24.04 when I use the command xquery count(db:open('some')/*), I see an error message about db prefix being undefined. The same thing from an editor tab.
import module namespace db = 'http://basex.org/modules/db';
count(db:open('some')/*)
I get the same error message.
Is this to be expected? How can I supply what is needed?
Thanks,
Kendall Shaw