Am 25.08.2021 um 17:16 schrieb Yann NICOLAS (ABES):

Actually, i am trying to omit the namespaces, not the xml declaration. Sorry for the mistake in my first post, Martin.


Did you see my other suggestion in the first answer  to try to change your XQuery code to use

   insert node $record/c ! element { node-name() } {  @*, node() } into db:open('uk_parlement_ead')/dsc