Hi Menashè,
I've used map { 'stripns': true(), 'intparse': true() }) in db:add, but the namespaces were not removed, e.g. there is gml:beginPosition.
True. I forgot to mention that the 'stripns' option (as all other XML parsing options [1]) only applies to newly parsed XML strings.
Anyway, maybe because the xml are not valid, I get always 0 hits unless I ask to return the doc itself.
Hm, the stored data must be well-formed, otherwise it couldn't be stored. And it will always be well-formed if you store it via db:add (in XML terminology, validity requires a schema [2]).
Did you already have a look at the data stored in your new database? Christian
[1] http://docs.basex.org/wiki/Options#STRIPNS [2] https://en.wikipedia.org/wiki/XML#Schemas_and_validation