XmlElement rootElement = doc.DocumentElement; foreach (XmlElement childElement in rootElement) { //Console.WriteLine(childElement.Name); foreach(var item in childElement) { } }
时间: 2024-10-05 09:30:16
XmlElement rootElement = doc.DocumentElement; foreach (XmlElement childElement in rootElement) { //Console.WriteLine(childElement.Name); foreach(var item in childElement) { } }