System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); doc.Load(Server.MapPath("App_Data/Setup.Xml")); System.Xml.XmlNodeList nodes = doc.SelectNodes("/setup/xx/KIND"); for (int i = 0; i < nodes.Count; i++) { nodes[i].Attributes["data"].Value; nodes[i].Attributes["returnvalue"].Value }