Jukka Zitting a écrit :
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
Another request about queries would be to be able to execute queries on
the name of a Node : eg. //*[jcr:like(name(.), '%foo%')]
Is it actually possible ?
Regards,
Cédric Damioli