只读子节点 [英] read only child nodes
本文介绍了只读子节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想知道如何只读取子节点?
谢谢
解决方案
,您可以使用XMLDocument并执行以下代码.
doc.SelectSingleNode(" );
hi guys,
i want to know that how can i read only child nodes?
thanks
解决方案
you can use XMLDocument and execute the following code.
doc.SelectSingleNode("//MyNode");
这篇关于只读子节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文