> No, here you are not right. Collection is *NOT* a > document, even a > logical one. XPath is applied not to collection, but > to each individual > document in the collection. This is xindice modus > operandi.
I dont want to start a flame war, but I am interested in this issue. Why a collection is not a document? It seem illogical to me because that mean XPath function (such as "count()") does not have the same behaviour with collections and documents. For example, count() return a single number when applied against a document. However, it return a dot separated list when applied on a collection. This look like against the XPath standard, no? >From the user perspective, I dont see why there is a difference between a collection and a document. Form the developper side, for sure, there is differences, but why are they apparent to the user? Thank you Manuel Darveau __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com