xml Archive

In my application I wanted to find Latitude & Longitude of address of a person. To do this I have used google api. Bellow is c# code: public static List<string> GetLatLng(string address) { var requestUri = string.Format("http://maps.googleapis.com/maps/api/geocode/xml?address={0}&sensor=true", Uri.EscapeDataString(address)); var...
Let’s say I want to read bello XML File using XPath <?xml version="1.0" encoding="UTF-8"?> <MyConfig> <name>Vaibhav Shah</name> <address>Mumbai</address> </MyConfig> To read this XML first we need to load this document , which can be done as foolows // get...
If you want to export attributes from XML file to text file then you just have to read that attribute from xml & write it in text file…I have shown hoe to write string into text file Here …....