你正在读入一个名为 doc 的 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”;}