I want to insert a new document with some custom properties using xcc.
The xdmp:document-add-properties function requires the document to exist
in the database and I want the insert and add of the properties to be
atomic.  While I could probably do something like

xdmp:document-insert($document, $documentUri),
xdmp:document-add-properties($documentUri, $properties)

I'm wondering if there is a way to do this with a single call to to the
database.  Thanks.

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

Reply via email to