xml映射为object对象,同时object对象,以xml来表示: public class Tools { private static XmlNodeList SelectNodes(string xpath, string path) { XmlDocument doc = new XmlDocument(); doc.Load(path); return doc.SelectNodes(xpath); } private static XmlNode SelectSingleNode(…