level of tree


Returns the level of the node or field in the target structure. The level of the root node is defined as 1.

Examples


The following target structure is given.


images/download/attachments/62866619/291-version-1-modificationdate-1646901722772-api-v2.png


All fields and nodes contain the function described here.


Node/Field

Result

RootLevelNode

1

RootLevelField

2

SubLevelNode

2

SubLevelField

3

SubSubLevelNode

3

SubSubLevelField

4