我在XML存储类中存储了XML,我需要从XML标记读取值
存储在XMLNode类中的XML
System.Xml.XmlNode responseXML = eCartProxy.GetCart(customerContext, "1024396864463");
答案 0 :(得分:0)
var itemsList = xDoc.Descendants().Where(x => x.Name.LocalName == "Items");
var coll = xDoc.Descendants().Where(x => x.Name.LocalName == "Country" || x.Name.LocalName == "CustomerSet" || x.Name.LocalName=="OrderCode");