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 |
Why xml language uses axl:version in the code?
Does anyone still use rss?
Can I still use server-side inclusions?
Can xml file be converted to excel?
What is xmlns in html?
What is XPath Query ?
How do xsd files work?
What are the different XML API's?
What rss 2.0 files look like?
what are the w3c specifications for xml?
What is the purpose of xml namespaces?
Can we use xml for database purpose in html?