The problem is that depending on the XPath, a query can return all or part of a document. Documents have a resource ID (the document ID) and as such can be retrieved (in their entirity) from the database using that ID. A part of a document has no ID. The part can only be retrieved using an XPath that selects the same part of the document. So, a query can return a resource, or something that is not really a resource. That is why a query result has no resource ID.
Very good explanation. So now the next (and last) step will be to put this into the documentation.
Terry, thanks for volunteering. :-)
-Vladimir
-- Vladimir R. Bossicard Apache Xindice - http://xml.apache.org/xindice