How do you access elements in XML document?
Answer Posted / 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 |
Post New Answer View All Answers
Explain about the techniques for processing xml files?
How do I use the default xml namespace to refer to attribute names in an xml namespace?
state some disadvantages of xml?
What is xml simple definition?
What is an xml expansion pack?
How to perform XML transformation in Java?
What is the full form of xsl?
What is xml xsd and xslt?
How do you view an xml file?
Can xml replace html?
How xml is different from html?
Can we encode mathematics using XML?
Is sql used in excel?
What is a Processing Instruction in XML?
Can the attribute list of an element type contain attributes whose names come from other xml namespaces?