How do you access elements in XML document?

Answers were Sorted based on User's Feedback



How do you access elements in XML document?..

Answer / technical_sathish

Creating Object for XML we can Access the Elements...
Microsoft Provider....

Is This Answer Correct ?    6 Yes 0 No

How do you access elements in XML document?..

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

How do you access elements in XML document?..

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

Post New Answer

More XML XSLT RSS Interview Questions

Can xml tags have spaces?

1 Answers  


What does xslt stand for?

1 Answers  


What is xml format example?

1 Answers  


What is Assync in XML api which version of XML parser u worked with ?

1 Answers   Satyam,


What is xml file format?

1 Answers  


describe the role of xpath?

1 Answers  


What does soap stand for?

1 Answers  


Define xml schema?

1 Answers  


Explain about xml namespaces?

1 Answers  


What is utf in xml?

1 Answers  


What are the hooks provided by xslt?

1 Answers  


How do I add a rss feed?

1 Answers  


Categories