如何使用XmlDocument更改innertext值? [英] How to change the innertext value using XmlDocument?

查看:84
本文介绍了如何使用XmlDocument更改innertext值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<STUDENTS>
    <Student Name="RAM">
      <Mark>60</Mark>
         </Student>
<Student Name="kavi">
<Mark>90</Mark>
</Student>
</STUDENTS>







How to access Mark Node and changing the text 60 to 80 using Xml Document?

推荐答案

如何适应:

这正是您想要的:
http://msdn.microsoft.com/en-us/library/fb63z0tw%28v = vs.110%29.aspx [ ^ ]

顺便说一句,Google确实有帮助.
That is exactly what you want:
http://msdn.microsoft.com/en-us/library/fb63z0tw%28v=vs.110%29.aspx[^]

By the way, Google really helps.


这篇关于如何使用XmlDocument更改innertext值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆