Preliminaries
In the following, we provide basic definitions used throughout the documentation, that are intended to aid understanding of the language elements.1
- A string, number, boolean, or null is called atomic node (e. g.
1,'hello',true), an object or array is called structured node (e. g.{a:1},[1,2]). - A node is either an atomic or structured node.
- A sequence (of nodes) is an ordered collection of zero or more nodes.
- A sequence consisting of exactly one node is called a singleton. A node is identical to a singleton that contains that node.
- A sequence with zero nodes is called an empty sequence.
-
We partly align to the xpath terminology. ↩