For a given node I need to find the total number of sub tree node to set the weight property of that given node.
I am wondering how can we recursively count total nodes in sub tree from XML tree structure using DOM and JS and set the weight property of that node?
For a given node I need to find the total number of sub tree
Share
1 Answer