0

i have consumed a webservice (shown below) from webservicex.net into my client C#.NET application but it is returning this whole bunch of XML.
Please, how do i get values of only <wind> and <temperature> elements into my application's textbox? Thanks

<string><?xml version="1.0" encoding="utf-16"?>
<CurrentWeather>
  <Location>Madrid / Cuatro Vientos, Spain (LEVS) 40-23N 003-47W 687M</Location>
  <Time>Dec 22, 2012 - 03:00 AM EST / 2012.12.22 0800 UTC</Time>
  <Wind> Calm:0</Wind>
  <Visibility> less than 1 mile:0</Visibility>
  <SkyConditions> obscured</SkyConditions>
  <Temperature> 50 F (10 C)</Temperature>
  <DewPoint> 50 F (10 C)</DewPoint>
  <RelativeHumidity> 100%</RelativeHumidity>
  <Pressure> 30.30 in. Hg (1026 hPa)</Pressure>
  <Status>Success</Status>
</CurrentWeather></string>
2
Contributors
1
Reply
3
Views
5 Years
Discussion Span
Last Post by tinstaafl
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.