level of tree


Returns the depth of the current element within the destination structure. The level of the root node is defined to be 1.

Examples

The following destination tree is given.

images/download/thumbnails/21305779/level_of_tree_EN-version-1-modificationdate-1529998608000-api-v2.png

All fields and nodes contain the function described here.

Node/Field

Result

RootLevelNode

1

RootLevelField

2

RootLevelNode

2

SubLevelField

3

SubLevelNode

3

SubSubLevelField

4

SubSubLevelNode

4