Try `cts:search(xdmp:document-properties(), $query)`.

Similar to fn:doc or fn:collection, the zero-arg form of 
xdmp:document-properties returns all properties.

-- Mike

> On 19 Jan 2015, at 09:28 , neil bradley <[email protected]> wrote:
> 
> Hi, I am having a problem working out how (if it is possible) to use
> cts:search to find specific STANDALONE properties documents
> (properties that are not associated with an actual document).
> 
> Every formulation of an XPath that I try either fails to find anything
> that I know it should find, or says its "UNREACHABLE".
> 
> It does not surprise me that doc() does not work, because there IS no
> document, and that collection() also does not work for a similar
> reason.
> 
> I had hoped I could do something like:
> 
>  /property::*
> 
> But that is not working.
> 
> So, anyone know if its possible, and if so what kind of XPath I need?
> 
> Regards,
> 
> Neil.
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> 

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

Reply via email to