2009/8/3 vkrejcirik <[email protected]>: > I need to search text in nodes in JCR repository. I can use JQuery.
The query language you are talking about is called "XPath" (JCR 1.0 specifies a subset of XPath). JQuery is a client-side/browser-based Javascript library and has nothing to do with JCR or Sling. Otherwise Eric is right (but use "/jcr:root" and not "*/jcr:root*" ;-)) Whenever you have an absolute JCR path at the beginning of the XPath, you have to start it with /jcr:root. If you do something like "//element(*, nt:file)", you don't need the jcr:root prefix. Regards, Alex -- Alexander Klimetschek [email protected]
