On 1/11/07, Marcel Reutegger <[EMAIL PROTECTED]> wrote:

David Moss wrote:
> Is it possible to search a document node's contents, via a reference to
it.

yes, you simply use the jcr:deref() function:

//element(*, nt:linkedFile)/jcr:deref(@jcr:content, '*')[jcr:contains(.,
'foo')]

regards
  marcel



Great, thanks very much.

I guess this will only search nodes that are referenecs.  Is it possible to
search all children of a node (documents _and_ references) with a single
search string?

Reply via email to