[xquery-talk] xpath default namespace

Ghislain Fourny g at 28.io
Tue May 31 09:24:05 PDT 2016

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,

On Tue, May 31, 2016 at 6:20 PM, Leo Studer <leo.studer at varioweb.ch> 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
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://x-query.com/pipermail/talk/attachments/20160531/31a036f9/attachment.html>

More information about the talk mailing list