On Thu, Jun 18, 2015 at 4:55 PM, Kari Cowan <[email protected]> wrote:
> To be clear, I can take a single result and return it into a
> xdmp:document-insert statement – is there a method available to iteratively
> append to that document?
>

You can use the node insert calls as Danny suggested.  But if you do,
beware of multiple changes to the same document giving you
conflicting-updates errors, if you mean to make >1 change to the same
document in the same transaction.  In that case you can just create a
new document in memory with all the changes and reinsert it.  There's
also a library that lets you make changes to in-memory documents.

/ch
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to