Return node level of hierarchical xml
- by Ryan
In a treeview you can retrieve the level of an item. I am trying to accomplish the same thing with the given input being an object.
The XML data I will use for this example would be something like the following
<?xml version="1.0" encoding="utf-8" ?>
<Testing>
<Numbers>
<Number val="1">
<Number…