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
What is dtd in xml?
how to transform an XML file into HTML using XSL transformation (XSLT)?
What is cdata in xml?
Define complex element?
How can I check that a document conforms to the xml namespaces recommendation?
What does dtd stand for?
What is XML Encoding?
What is xml parser function?
What's the best rss reader?
What is xsl text?
Explain how to retrieve value of an attribute for an element using XSLT?
Is rss still used?
Which was the first processor related to xslt? : xslt
Is sql used in excel?
Where do I find my rss feed url on wordpress?