Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
1- Can we find a particular node (e.g. "action") in a xml by the following code.
C++
NodeSet oAction = pRootNode->Find("//action");


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

1 solution

Yes, you can find any node from any node. See reference to xpath.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900