发布网友 发布时间:2024-10-22 04:57
共1个回答
热心网友 时间:4分钟前
var xml = new XmlDocument();
xml.LoadXml(xmlString);
string name = xml.SelectSingleNode("/TestItem/Name").InnerText;
Console.WriteLine(name);
string desc = xml.SelectSingleNode("/TestItem/Operation/OperationList/Description").InnerText;
Console.WriteLine(desc);