摘要:
读XmlDocument document = new XmlDocument();document.Load("Data\\books.xml");List bookList = new List();foreach (XmlElement book in document.DocumentElement.ChildNodes){ string isbn = book.GetAttribute("ISBN").ToString();//属性 string genre = book.GetAttribute("genre").ToSt 阅读全文