EDN Admin
Well-known member
Hi All,
Have loaded an XDocument into a windows forms treeview. Now, I would like to find the XElement corresponding to SelectedNode in treeview? Would like to accomplish this completely using Linq to Xml but I have not found examples of how to navigate the XElement
tree. Maybe Im missing something but it seems that I have to use XPath.
Thanks in advance.
Regards.
View the full article
Have loaded an XDocument into a windows forms treeview. Now, I would like to find the XElement corresponding to SelectedNode in treeview? Would like to accomplish this completely using Linq to Xml but I have not found examples of how to navigate the XElement
tree. Maybe Im missing something but it seems that I have to use XPath.
Thanks in advance.
Regards.
View the full article