If I get the path to a specific node as a string can I somehow easily find said node by using Linq/Method of the XElement ( or XDocument ).
There are so many differe
You can also use XPathEvaluate
XDocument document = XDocument.Load("temp.xml"); var found = document.XPathEvaluate("/documents/items/item") as IEnumerable; foreach (var obj in found) { Console.Out.WriteLine(obj); }
Given the following xml:
This should print the contents from the items node.