I have a tree control that is built using XML from an HTTP
service call. Based on the selected node in the tree, I would like
to add a conditional in my click function that performs a different
action based on the node name of the XML. I can retrieve attributes
of the node using "mytree.selectedItem.@attribute" but I do not
know how to retrieve the actual node name itself?