<div dir="ltr">Hi Leo,<br><br>In XQuery, you can do this in the prolog like so (this is from the spec):<br><br>declare default element namespace "<a href="http://example.org/names">http://example.org/names</a>";<div><br></div><div>You can also do so using xmlns attribute in node constructors, and the default namespace will be in scope in all nested expressions.<br><br>Kind regards,<br>Ghislain<br><br><br><br>On Tue, May 31, 2016 at 6:20 PM, Leo Studer <<a href="mailto:leo.studer@varioweb.ch">leo.studer@varioweb.ch</a>> wrote:<br>><br>> Hello<br>><br>> is there a way to declare a default namespace for xPath in xQuery 3.0 as in Schema or in XSLT?<br>><br>> Thanks in advance<br>> Leo<br>><br>><br>><br>><br>> _______________________________________________<br>> <a href="mailto:talk@x-query.com">talk@x-query.com</a><br>> <a href="http://x-query.com/mailman/listinfo/talk">http://x-query.com/mailman/listinfo/talk</a></div></div>