foreach (XmlNode item in XmlNodeList) { string oid = item.SelectSingleNode("oid").InnerText; } 转载于:https://www.cnblogs.com/Tangcy/p/5274873.html