I am wondering what the “best way” (in C #) is to implement this xpath request using LINQ:
/topNode/middleNode[@filteringAttribute='filterValue']/penultimateNode[@anotherFilterAttribute='somethingElse']/nodesIWantReturned
I need an IEnumerable "nodesIWantReturned" list, but only from a specific section of the XML tree depending on the value of the ancestor attributes.
source share