Every node has an attribute which indicates its depth (for example $myloop:item.depth). If you have an array with all the nodes, you should look for the maximum depth of all the nodes, that will be the depth of the tree.
i hope that was what you needed, bye!
-berto-
You must be logged in to post messages in this topic!