Hi there, I am facing this simple problem I cannot immediately crack. I search thru an xml file, find a few nodes I need and collect the objects (XElement(s)). How can I get the XPath to each of them? And I mean the expression string.
I search for the nodes by a value of one attribute ( "ID" ) that each node has. They are unique and are used for identification. The nodes themselves all have identical names: "Item," except for the root node which is "Items" thus I cannot use them for search to determine the path.
Thanks.