I’m not sure what you refer to with DOM: if you use the> When querying a DOM Node (from DB on file system, i.e. no in memory DB)
> using QueryProcessor command: will the whole Node be fetched from the
> database or will parts of the Node's children still access the file system
> if not loaded yet?
QueryProcessor, BaseX will use its internal node representation, in
which all nodes are basically a reference to the database and a pre
value [1]. The full sub tree of a node (which you probably call DOM
here) will only be retrieved if you serialize a node, or if you
explicitly convert it to a Java DOM instance.
[1] http://docs.basex.org/wiki/Node_Storage