You load an XmlDocument named doc with the following XML.
- 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”;}
正确答案:A,D
答案解析:有
![](/editor/images/201705/qrcode_for_gh_573e2a458573_258.jpg)
微信扫一扫手机做题