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 does svg stand for and what is it used for?
What is a schema in word?
How do I create an xml file format?
If xml is just a subset of sgml, can I use xml files directly with existing sgml tools?
Can xml be used for multimedia purpose?
What is Use of Template in XSL?
How does xml handle white-space in my documents?
What are the different types of parser available to parse the XML document?
0 Answers Sans Pareil IT Services,
What happens if your atom feed fails the validation?
Is there a way to describe XML data?
How is metadata handled by xml?
How does an xsd work?