Hi,

I wrote:
At least the jcr:contains() function does not support child node queries at the moment, so I unfortunately don't think you can yet
implement your search with just one XPath query.

Another alternative from "//page[jcr:contains(paragraph,'foo')]" would of course
be "//page[paragraph[jcr:contains(.,'foo')]]" but I believe Jackrabbit only
supports the attribute axis within predicates. I think I'll file a separate
Jira issue on this.

BR,

Jukka Zitting

Reply via email to