Anyway, how can I strip the namespaces in my new database? I don't need them.
Just create a new database from the input data with this option turned on.
I've used db:add. The data is not well-formed. It's just like copy&paste of the relevant xml. No headers.
If it's not well-formed, you can't store it in BaseX.. If you can do so, it would be an error (and rather surprising to me ;).
Cheers, C.