|
|
|||
5.9 The Collection NodeMonetDB/XQuery provides efficient support for large collections of small XML documents by storing these together in a XML Collection (see Separate Documents vs Document Collections). An XML collection, as identified by the standard function
However, in MonetDB/XQuery, a collection is actually stored as an XML Tree, by putting a special collection node on top. This is a non-standard implementation of XML Data Model, that in most aspects is just a hidden feature of the MonetDB/XQuery storage system, because in normal use the collection node is invisible. That is, XPath steps will never return a collection node.
However, when the downward axes The built-in extension function: pf:collection($coll as xs:string) as node() provides you this special collection node. The reason for its introduction
is performance-related: when the default |
||||
| © 1994-2011 CWI | Contact us Legal HG web Bugs TestWeb | |||