Sponsored By
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Article
Forum
Blog
Quiz
Beginner
Careers
Contact
Login
Email Id
Password
Remember Me
Forgot Password?
Sign Up
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
Report Abuse
problem in using xpath to access child node
how use it?
Reply
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
Report Abuse
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;
Reply
Report Abuse Form
Reason:
Total Online Users:
5514
Advertisement
Advertise with Us
Copyright ©
2013
MindStick. All Rights Reserved.
Home
|
Contact Us
|
Services
|
Feedback
|
Advertisement
|
Privacy Policy
|
Term & Conditions
|
About Us