Upayavira wrote:
Torsten Steinert wrote:
As far as I understand it, that is correct. Count works on a per document basis. Which can a times be a pain. But you can then just add up the counts in each of your resource results, and you've got your answer.Hi,
I am using a similar query (count(/something)) and getting the following
result, which is not what i expected either. It seems as if the numbers are
enclosed in a XML node. I would expect a String containing only the number.
If i look at the result, it seems that for each dokument in a collection a
result is included. Is this so?
Please also check this out:
http://cvs.apache.org/viewcvs.cgi/xml-xindice/src/documentation/content/xdocs/guide-xpath.xml?rev=1.1&view=auto
Vadim