[MarkLogic Dev General] xdmp:directory() with position predicate

Gary Larsen gary.larsen at envisn.com
Fri Oct 25 06:01:13 PDT 2013


Probably missing something simple but the position predicate doesn't seem to
work with xdmp:directory().

 

This query returns many documents:

 

xdmp:directory('/db/audit/','infinity')/promoAudit

 

But this returns an empty sequence:

 

xdmp:directory('/db/audit/','infinity')[1]/promoAudit

 

Thanks for any help,

Gary 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20131025/63ad12f8/attachment.html 


More information about the General mailing list