If I do multiple document-insert() calls to the same uri in the same 
transactions I will get a conflicting update error, which I expect.  Along that 
same line of thought I believed that this:

xquery version '1.0-ml';

xdmp:document-delete("/resources/images/vert-line-fade-top.png"),
xdmp:document-delete("/resources/images/vert-line-fade-top.png")

would get a conflicting update error as well.  While I am happy that I don't 
get an error I seem to have misunderstood how transactions work.  Is this the 
behavior I can always expect?  Can I even do something like this:

xquery version '1.0-ml';

xdmp:directory-delete("/resources/"),
xdmp:directory-delete("/resources/images/"),
xdmp:document-delete("/resources/images/vert-line-fade-top.png")

?

Thanks.

Chris Cieslinski


 NOTICE: This email message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to