Hello, I am trying to query an XML file. Below query returns the first element in the sequence. Wondering how to get all elements in the sequence as a List. rsltQuest is of type List of XElement.
rsltQuest = doc1.Descendants(xmlns + "QUESTION") .Where(t => t.Attribute("ANSWER").Value == "no").ToList();`
Thanks for your advices. M