欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

单项选择题

You load an XmlDocument named doc with the following XML. World Atlas Dictionary You need to use an XPath query string to select the two book nodes. Which code segment should you use? ()

    A. Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes(".")
    B. Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("book")
    C. Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("bookstore//book")
    D. Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("books/book")

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题