> 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.

IMHO, if you ask a count() on a NodeList (whose node
come from a single or multiple document), it should
return only one value.

If you want the count of nodes from only one document,
you should feed count() with a nodes that come only
from that document.

In my point of view, there should not be any
difference in the query made on a document or on a
collection. Collection *IS* a document that contain
other documents right? It is a logical document that
regroup physical document.

What do you think? What other native xml database do?


Manuel Darveau

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

Reply via email to