Length() Node function
The Length( ) function returns the number of levels in the specified node and is equivalent to the Depth() function. This is the name of the function that was included in Node Version 1.0 and supported for continuity.
Returns: integer
Syntax
Length(node::node)
- node
- The node for which you want to determine depth, which is how many levels are in the node.
Example
execute function length('1.22.3'::node);
(expression) 3