[MarkLogic Dev General] Is there a way to delete a stand-alone properties document?

2017-05-19 Thread Steve Anderson
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 _

Re: [MarkLogic Dev General] Is there a way to delete a stand-alone properties document?

2017-05-19 Thread Justin Makeig
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

Re: [MarkLogic Dev General] Is there a way to delete a stand-alone properties document?

2017-05-19 Thread Steven Anderson
Thanks, that worked like a charm. On Fri, May 19, 2017 at 2:23 PM, Justin Makeig wrote: > 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 > p