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 |
Which is better xml or html?
What is xmlns in xml?
What is DOM and SOAP?
Who developed XSLT?
What is an xslt template?
Are rss feeds still used?
What is Assync in XML api which version of XML parser u worked with ?
Can I encode mathematics using XML?
What's an rss feed and how do I use it?
Describe the role that XSL can play when dynamically generating HTML pages from a relational database.
Can I use xml namespaces in dtds?
what is the relationship between XML and Java technology?