Hi Jakob, A node that is passed in from an invoking module is an external node (even if it was created by copying a node from the database).
Does that make sense? -Danny From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Jakob Fix Sent: Thursday, June 26, 2014 1:18 PM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] external nodes cannot be updated Hi, it seems that a node that has been passed in from an invoking module (via one of the xdmp:invoke or xdmp:spawn functions) cannot be updated inside the invoked code. Is this behaviour by design? Why? If so, I couldn't find a mentioning of this in the documentation. For example, http://docs.marklogic.com/xdmp:node-insert-child lists quite a number of restrictions where it won't work (in-memory nodes, no document nodes as child nodes of element nodes, ...), but not this one. cheers, Jakob.
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general