Hi Leo,

In XQuery, you can do this in the prolog like so (this is from the spec):

declare default element namespace "http://example.org/names";;

You can also do so using xmlns attribute in node constructors, and the
default namespace will be in scope in all nested expressions.

Kind regards,
Ghislain



On Tue, May 31, 2016 at 6:20 PM, Leo Studer <[email protected]> wrote:
>
> Hello
>
> is there a way to declare a default namespace for xPath in xQuery 3.0 as
in Schema or in XSLT?
>
> Thanks in advance
> Leo
>
>
>
>
> _______________________________________________
> [email protected]
> http://x-query.com/mailman/listinfo/talk
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to