Hi,

  I've just got an error I don't understand:

    XDMP-UPDATEFUNCTIONFROMQUERY: local:page#0() -- Cannot apply
    an update function from a query

  In use xquery version "3.0".  All I did was to update a piece
of code following the following scheme.  From:

    declare function xxx($content as element()+) {
       $content
    };
    xxx(<content/>)

to:

    declare function xxx($content as function() as element()+) {
       $content()
    };
    declare function content() as element()+ {
       <content/>
    };
    xxx(content#0)

  Did I miss anything?

  Regards,
 
-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to