Hi Robert,

You can use xdmp:document-properties() function to check this.

The following example will return uri of all the documents which has 
last-modified property. Same way you can check for some other property.

for $x in xdmp:document-properties()//prop:last-modified
return 
<uri>{xdmp:node-uri($x)}</uri>

Regards,
Santhosh Rajasekaran



"Runstein, Robert E. (Contr) (IS)" <[email protected]> 
Sent by: [email protected]
05/14/2009 12:54 AM
Please respond to
General Mark Logic Developer Discussion <[email protected]>


To
<[email protected]>
cc

Subject
[MarkLogic Dev General] Searching for documents by property






Hi, 
How can I search for documents that have or do not have a particular 
property? 
Best Wishes, 
Bob Runstein _______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

ForwardSourceID:NT0000B8EE 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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

Reply via email to