问题详情

You load an XmlDocument named doc with the following XML. Dictionary World Atlas You need to change the value for the genre attribute to NA for all book attributes. First, you add the following code segment to your class.Dim root As XmlElement = doc.DocumentElementDim nodes As XmlNodeList = root.SelectNodes("books/book")Which additional two code segments can you use to achieve this goal?()


A、Dim node As XmlNodeFor Each node In nodes node.Attributes(0).Value = NANext node

B、Dim node As XmlNodeFor Each node In nodes node.Attributes(1).Value = NANext node

C、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode(/genre) genre.Value = NANext node

D、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode(@genre) genre.Value = NANext node

E、Dim node As XmlNodeFor Each node In nodes Dim genre As XmlNode = node.SelectSingleNode(genre) genre.Value = NANext node

时间:2022-02-24 01:45 关键词: CMS专题 微软认证考试 护理学章节练习

答案解析

A | D