Hello all, Any particular reason behind this observed behaviour? (Basex 8.3).
.............................................................. [1] .............................................................. declare variable $test := <test xmlns:ce="http://www.elsevier.com/xml/ani/common" xmlns="http://www.elsevier.com/xml/ani/ani"> ce:initialsM.S.</ce:initials> </test>;
db:create('test', $test, 'blah', map {'stripns':true()})
.............................................................. [2] ..............................................................
db:open('test')/*
.............................................................. [3] ..............................................................
<test xmlns="http://www.elsevier.com/xml/ani/ani" xmlns:ce="http://www.elsevier.com/xml/ani/common"> ce:initialsM.S.</ce:initials> </test>
I would have expected the namespaces to be shredded ...
Cheers, Constantine
________________________________
Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands.