Hi Guys,
I was trying to use the fn:collectino function today, but I am having
trouble understanding the implementation. From past experience,
fn:collection($uri) (where $uri points to a document with a list of docs
within it) has returned a sequence of all the documents. It appears that
BaseX does not implement it this way.
I have a database where I am storing a large number of documents, and I
would like to have several collections inside which are subsets of these
documents. I need to open these subsets quickly, and I thought
fn:collection would allow me to do this. Is there any way to easily open
these subsets using fn:collection (or a similar high performance function)?
As of right now I am solving the problem by using a for loop to traverse
the documents, but this is not fast enough for my needs.
Thanks,
Jeremy