本文介绍了我们能否通过"pRootNode-> Find("//action");"找到xml中的特定节点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


1-我们可以通过以下代码在xml中找到特定的节点(例如操作").

Hi,
1- Can we find a particular node (e.g. "action") in a xml by the following code.

NodeSet oAction = pRootNode->Find("//action");



2-如果在不同的父节点中嵌入了一个以上的动作"节点,将会发生什么?



2- what will happen if there are more then one "action" nodes, embedded in different parent nodes?

推荐答案


这篇关于我们能否通过"pRootNode-> Find("//action");"找到xml中的特定节点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 21:53