title: How to convert XMLDocument type to string in order to show the result in a label
body: <p>I'm trying to show weather information on my website from world weather online. I'm using VS2012 with c# to create this.</p>
  
  <p>I could able to retrieve data from world weather online to a function under a XMLDocument type variable "WP_XMLdoc".</p>
  
  <p>Take a look at the code below:</p>
  
  <pre><code>public static XmlDocument WeatherAPI(string sLocation)
  {
      HttpWebRequest WP_Request;
      HttpWebResponse WP_Response = null;
      XmlDocument WP_XMLdoc = null;
      String Value;
  
      string sKey = "xxxxxxxxxxxxxxxxxxxxxxxxx"; //The API key generated by World Weather Online
      string sRequestUrl = "http://api.worldweatheronline.com/free/v1/weather.ashx?format=xml&amp;"; //The request URL for XML format
  
      try
      {
          //Here we are concatenating the parameters
          WP_Request = (HttpWebRequest)WebRequest.Create(string.Format(sRequestUrl + "q=" + sLocation + "&amp;key=" + sKey));
          WP_Request.UserAgent = @"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4";
          //Making the request
          WP_Response = (HttpWebResponse)WP_Request.GetResponse();
          WP_XMLdoc = new XmlDocument();
          //Assigning the response to our XML object
          WP_XMLdoc.Load(WP_Response.GetResponseStream());
      }
      catch (Exception ex)
      {
          Console.WriteLine(ex.Message);
      }
      WP_Response.Close();
      return WP_XMLdoc;
  
      }
  
  }
  </code></pre>
  
  <p>So, now I just want to take XML data from "WP_XMLdoc" variable and show few details like temp_c, windspeed, time etc in my labels.
  How can I do that?</p>
  
  <p>The XML data that rest under "WP_XMLdoc" is given below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;data&gt;
      &lt;request&gt;
          &lt;type&gt;City&lt;/type&gt;
          &lt;query&gt;London, United Kingdom&lt;/query&gt;
      &lt;/request&gt;
      &lt;current_condition&gt;
          &lt;observation_time&gt;04:17 AM&lt;/observation_time&gt;
          &lt;temp_C&gt;17&lt;/temp_C&gt;
          &lt;temp_F&gt;63&lt;/temp_F&gt;
          &lt;weatherCode&gt;143&lt;/weatherCode&gt;
          &lt;weatherIconUrl&gt;
              &lt;![CDATA[http://cdn.worldweatheronline.net/images/wsymbols01_png_64/wsymbol_0006_mist.png]]&gt;
          &lt;/weatherIconUrl&gt;
          &lt;weatherDesc&gt;
              &lt;![CDATA[Mist]]&gt;
          &lt;/weatherDesc&gt;
          &lt;windspeedMiles&gt;0&lt;/windspeedMiles&gt;
          &lt;windspeedKmph&gt;0&lt;/windspeedKmph&gt;
          &lt;winddirDegree&gt;62&lt;/winddirDegree&gt;
          &lt;winddir16Point&gt;ENE&lt;/winddir16Point&gt;
          &lt;precipMM&gt;0.0&lt;/precipMM&gt;
          &lt;humidity&gt;94&lt;/humidity&gt;
          &lt;visibility&gt;2&lt;/visibility&gt;
          &lt;pressure&gt;1010&lt;/pressure&gt;
          &lt;cloudcover&gt;50&lt;/cloudcover&gt;
      &lt;/current_condition&gt;
      &lt;weather&gt;
          &lt;date&gt;2014-09-19&lt;/date&gt;
          &lt;tempMaxC&gt;28&lt;/tempMaxC&gt;
          &lt;tempMaxF&gt;82&lt;/tempMaxF&gt;
          &lt;tempMinC&gt;14&lt;/tempMinC&gt;
          &lt;tempMinF&gt;57&lt;/tempMinF&gt;
          &lt;windspeedMiles&gt;5&lt;/windspeedMiles&gt;
          &lt;windspeedKmph&gt;8&lt;/windspeedKmph&gt;
          &lt;winddirection&gt;SSE&lt;/winddirection&gt;
          &lt;winddir16Point&gt;SSE&lt;/winddir16Point&gt;
          &lt;winddirDegree&gt;149&lt;/winddirDegree&gt;
          &lt;weatherCode&gt;356&lt;/weatherCode&gt;
          &lt;weatherIconUrl&gt;
              &lt;![CDATA[http://cdn.worldweatheronline.net/images/wsymbols01_png_64/wsymbol_0010_heavy_rain_showers.png]]&gt;
          &lt;/weatherIconUrl&gt;
          &lt;weatherDesc&gt;
              &lt;![CDATA[Moderate or heavy rain shower]]&gt;
          &lt;/weatherDesc&gt;
          &lt;precipMM&gt;8.3&lt;/precipMM&gt;
      &lt;/weather&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>Please help!</p>