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
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