Click here to Skip to main content
16,004,479 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi guys,


i want to know that how can i read only child nodes?


thanks
Posted
Comments
Prerak Patel 12-Sep-11 0:32am    
Do you mean leaf nodes?
Sergey Alexandrovich Kryukov 12-Sep-11 0:34am    
What class do you mean?
--SA

1 solution

you can use XMLDocument and execute the following code.
C#
doc.SelectSingleNode("//MyNode");
 
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