If you want to update a constructed node, you need to write some XQuery to delete the node. Basically, you need to do a transformation of the constructed node that deletes the node in question.
There is a library in the developer site project called common that does this: http://developer.marklogic.com/code/commons It is in the subfolder called memupdate. I don't particularly know that code, but I think it will do what you want. -Danny From: [email protected] [mailto:[email protected]] On Behalf Of Narayanan, Abishek (LNG-CON) Sent: Thursday, May 13, 2010 12:32 PM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] remove nodes from parent node Hello, I am trying to delete nodes from a parent node, is there any way do it using available functions or do I have to construct a new variable by matching nodes and appending them? I notice a function called as xdmp:node-delete which deletes the node in the XML document present in the data base. Is there a way to do it in a runtime variable? Regards, AN
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
