解决方案 »

  1.   

    XmlDocument xmlDoc= new XmlDocument();
    xmlDoc.LoadXml("xml文件路径");
    XmlNodeList itemList = xmlDoc.SelectNodes("xml//Root//Person ");
                    foreach (XmlNode node in itemList)
                    {
                        string idCard = node.Attributes["IDCard"].Value;
                        //....
                        //....
                        //....
                    }
    就这些东西