Sponsored By
MindStick SurveyManager
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> Other Programming >> XML >> problem in using xpath
Author Post

Jack C


Total Post: 10
Member Since: 9/29/2010
Points: 52
problem in using xpath
Posted On: 11/9/2010 2:55:26 AM
problem in using xpath to access child node
how use it?
Author Post

Amit Singh


Total Post: 104
Member Since: 8/8/2010
Points: 702
Re: problem in using xpath
Posted On: 11/26/2010 5:02:01 AM
we acces the child node from xml data we use many method
one is

XmlDocument doc = new XmlDocument();
doc.Load(Server.MapPath("doc.xml"));
XmlNode target = doc.SelectSingleNode("/root/itemsA/item[@id='1']");
string result = target.InnerText;
Report Abuse Form
Reason:    
 
Total Online Users: 5514
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.