First, why are you working with "stand-alone [un-sic.] properties documents"? Could your implementation be simplified by storing the properties in their own documents? There's no real advantage to a properties fragment, other than being able to access it with the same URI as its related document. Accessing the contents still requires a join between two fragments, just like with two separate documents.
In your particular case, you should be able to remove the properties fragment with, xdmp:node-delete(xdmp:document-properties($uri)). Justin > On May 19, 2017, at 4:06 PM, Steve Anderson <steve.ander...@gmail.com> wrote: > > I'm doing some work with stand-along properties documents, and I want to be > able to delete them. I know I can delete all the properties with a > > xdmp:document-set-properties($uri, ()) > > but that leaves an empty properties document hanging around. Is there a way > to delete it? > > Thanks, > > Steve > _______________________________________________ > General mailing list > General@developer.marklogic.com > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general