I'm reading marklgoic API for xdmp:document-load function. It says if the document already exists, then it replaces the content in the existing document as an update operation
I have a document (/test.xml) with some collections set with it. When I do a reload using xdmp:document-load function, all the collections associated with this document are gone. So when the API says like update operation, which part of information will it reserve? Does that mean all the properties and collections associated with the document are considered as part of the content and be replaced? If I just want to reload a document content without modifying all the properties and collections that already there, do I need to do programming ? or is there any function ( similar to xdmp:document-load) that can reserve all the properties and collections? Thanks, Helen _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
