How do you access elements in XML document?
Answers were Sorted based on User's Feedback
Answer / technical_sathish
Creating Object for XML we can Access the Elements...
Microsoft Provider....
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / aravazhi
This way u can access...
XmlDocument xmldoc = new XmlDocument();
xmldoc.Load(Server.MapPath("Employee.xml"));
XmlNodeList xmlnodes = xmldoc.SelectNodes
("Employee/EmpName");
DataGrid1.DataSource = xmlnodes;
DataGrid1.DataBind ();
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / kaushalbhardwaj
elements in an xml file can be accsssed by the use xpath
xpath is basicaly the path of the element starting from the
root(i.e. the top elemnt). eg /root/chield/chieldofchield/
| Is This Answer Correct ? | 2 Yes | 2 No |
what is the diff. between DOM and SAX ?
How do I display an rss feed on my website?
What is media rss feed?
Can I use xml instead of html?
Explain Processing Instructions mechanism ?
Are xml tags case sensitive?
What does dtd stand for?
what is the XML? what is the difference between XML AND HTML? How it is used in .Net and advantages?
What is the use of xslt?
What is mean by xsl?
What is url what is the use of it?
How to conduct various xml transformations in java?