You load an XmlDocument named doc with the following XML.
- A、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“.”);
- B、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“book”);
- C、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“bookstore//book”);
- D、XmlElement root = doc.DocumentElement;XmlNodeList nodes = root.SelectNodes(“books/book”);
正确答案:D
答案解析:有
微信扫一扫手机做题