搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

You load an XmlDocument named doc with the following XML. <bookstore> <books> <book genre="reference" > <title>Dictionary</title> </book> <book genre="reference" > <title>World Atlas</title> </book></books> </bookstore> 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. XmlElement root = doc.DocumentElement; XmlNodelist nodes = root.SelectNodes(“books/book”); Which additional two code segments can you use to achieve this goal? ()

A、foreach (XmlNode node in nodes){ node.Attributes[0].Value = “NA”;}

B、foreach (XmlNode node in nodes){ node.Attributes[1].Value = “NA”;}

C、foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“/genre”); genre.Value = “NA”;}

D、foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“@genre”); genre.Value = “NA”;}

E、foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“genre”); genre.Value = “NA”;}

更多“You load an XmlDocument named doc with the following XML. <bookstore> <books> <book genre="reference" > <title>Dictionary</title> </book> <book genre="reference" > <title>World Atlas</title> </book></books> </bookstore> 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. XmlElement root = doc.DocumentElement; XmlNodelist nodes = root.SelectNodes(“books/book”); Which additional two code segments can you use to achieve this goal? ()”相关的问题
第3题

A、A. Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.  B、B. Create an instance of the XmlReader class with an instance of the XmlTextReader class.  C、C. Create an instance of the XmlDocument class and specify a location for the application schema.  D、D. Create an instance of the XmlReader class with an instance of the XmlNodeReader class.  

点击查看答案
第4题

A、maximum sustained vertical load an anchor will resist before dragging  B、maximum sustained horizontal load an anchor will resist before dragging  C、maximum sustained vertical load an anchor will resist before the mooring line breaks  D、maximum sustained horizontal load an anchor will resist before the mooring line breaks  

点击查看答案
第5题

A、You canload data into multiple tables during the same load session.  B、You canload data from multiple files to a table during the same load session.  C、You cannot perform selective data loading based on the values available in the records.  D、You can use an export file generated by the EXPDP utility as an input data file to load the data.  E、You canload data only if the input file is available on the disk and tape but not in a named pipes.  

点击查看答案
第7题

A、admit only enough fresh outside air to provide proper ventilation  B、reduce the air reheating system load  C、lower the compressor head pressure  D、operate the purge recovery unit continuously  

点击查看答案
第8题

A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.  B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.  C、Create an instance of the XmlDocument class and specify a location for the application schema.  D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.  

点击查看答案
第9题

A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.  B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.  C、Create an instance of the XmlDocument class and specify a location for the application schema.  D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服