I have an XML File and i would like to iterate though each child node gathering information.
Here is my C# code it only picks up one node, the FieldData i would like
I generally prefer Linq-To-Xml for this kind of thing:
var doc = XDocument.Load("XMLFile1.xml"); foreach (var child in doc.Element("FieldData").Elements()) { Console.WriteLine(child.Name); }