I am trying to cut out some of the text that an XML file gives out. I have this XML data
<?xml version="1.0" encoding="utf-16"?>
<CurrentWeather>
<Location>Luqa, Malta (LMML) 35-51N 014-29E 91M</Location>
<Time>Apr 12, 2011 - 11:45 AM EDT / 2011.04.12 1545 UTC</Time>
<Wind> from the WSW (240 degrees) at 8 MPH (7 KT) (direction variable):0</Wind>
<Visibility> greater than 7 mile(s):0</Visibility>
<Temperature> 66 F (19 C)</Temperature>
<DewPoint> 41 F (5 C)</DewPoint>
<RelativeHumidity> 39%</RelativeHumidity>
<Pressure> 30.06 in. Hg (1018 hPa)</Pressure>
<Status>Success</Status>
</CurrentWeather>
and i would like to put some of the values in seperate textboxes. I know I have to use the trim or substring but i would like to specify the text for example i want to retreive the text between the tags and anyone knows how to do this without using the substring counting of characters
I dont want to use the substring because the character locations can vary due to more or less characters in the XML
Thanks