При добавлении класса TreeNode ваш код будет выглядеть так:
// Create the node.
TreeNode newNode = new TreeNode();
// Configure.
...
// Set the tag property to hold the XML element.
XmlElement currentElement = ...;
newNode.Tag = currentElement;
// Add to the tree view.
...
Тогда, когда у вас есть узел дерева, вы получите элемент, подобный этому:
TreeNode currentNode = ...;
// Get the XmlElement.
XmlElement currentElement = (XmlElement) currentNode.Tag;
// Process the element.
...