On Thu, Oct 13, 2005 at 01:26:07PM +0200, Christophe Lombart wrote:
> It depends on what you are looking for.
> Maybe the unit tests can help : see on
> jackrabbit/src/test/org/apache/jackrabbit/test/api/query
> I advise you to read the JCR spec. There are many information on
> searching support.
> 
> Here is a code example :
>                         jcrExpression = "/jcr:root/test//element(*,
> graffito:paragraph) [jcr:contains(@graffito:text, 'Graffito')]";

ok, but what if i need to find some node by the part of it's name?
The query  //*[starts-with(name(),'node4')]
complains about starts-with function, which is not implemented. As I can see
from the documentation (JSR 170) there're no starts-with and name functions..

-- 
Eugene N Dzhurinsky

Reply via email to