|
You could try it, but if it works with one XQuery implementation it won't necessarily work with another. From http://www.w3.org/TR/xpath-functions/#func-collection:
"This function provides a facility for users to work with a collection of documents which may be contained in a directory or rows of a Relational table or other implementation-specific construct. An implementation may also use external variables to identify external resources, but fn:collection() provides functionality not provided by external variables."
So the implementation has some leeway.
Because I love the name func-collection so much, I will also add the URL http://www.amazon.com/exec/obidos/tg/detail/-/B000007RQ9/103-8915257-7975822
|