Geert Josten <[email protected]> writes:

> Or put the following line in the prolog..
>
> declare default function namespace "http://www.w3.org/2005/xpath-functions";;

FWIW, I cut and paste the following prolog into all my queries.

  xquery version "1.0-ml";

  declare default function namespace "http://www.w3.org/2005/xpath-functions";;

  declare option xdmp:mapping "false"; 

The first line assures I'm using standard XQuery (with useful extensions :-),
the second assures that function names in no namespace will be the functions
I expect, and the third assures that I don't trip over this, uh, feature:
https://lists.marklogic.com/thread/b37nfkh6exdyf5li

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Principal Technologist
Mark Logic Corporation
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to