jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Jackrabbit SearchMethod - status code 207 but null response
Date Wed, 23 Jun 2010 14:00:07 GMT
On Wed, Jun 23, 2010 at 15:26, Xiaojie Shen
<Xiaojie.Shen@cybercomgroup.com> wrote:
>                   String query = "//sv:node[@sv:name='jcr:root']";

This looks like the system view export XML. However, Xpath queries in
JCR work based on the plain document view mapping. Examples would be

//element(*, nt:file)
to find all file nodes

/jcr:root
to select the root node

For more information, see here
http://wiki.gxdeveloperweb.com/confluence/display/GXDEV/XPath+JCR+Sample+Queries

or the JCR 1.0 spec, section 6.6
http://www.day.com/specs/jcr/1.0/

or search the mailing list archives
http://jackrabbit.markmail.org/

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message