jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Why does jackrabbit unsupport the count function in XPATH
Date Tue, 25 Oct 2005 06:05:19 GMT
I'm not sure if this is of any help, but if you are interested in the 
number of nodes returned by the query you may also use the 
NodeIterator.getSize() method. In jackrabbit this will always return a 
reasonable value, unless your query is //* then it will return -1.

regards
  marcel

Yao Harrison wrote:
> Thanks for your advice.
> 
> I've created the issue in jira with number : JCR-260 to track with it
> and  hopes will be correct quickly ,


Mime
View raw message