Reading data from xml file
Posted
by Joy
on Stack Overflow
See other posts from Stack Overflow
or by Joy
Published on 2010-04-05T06:34:45Z
Indexed on
2010/04/05
6:43 UTC
Read the original article
Hit count: 248
xcode
I have a currency converter application for iphone which uses web service. The web service is returning result in the following format:-
<Date>4/5/2010</Date>
<Time>7:18:09 AM</Time>
<Amount>20</Amount>
<ExchangeRate>44.7336419443466</ExchangeRate>
<Result>894.672839</Result>
I'm storing the whole xml file in an NSString variable called theXML. I want to show the value inside the result tag.How can i read the data from the xml file or from the string..
Thanks in advance..
© Stack Overflow or respective owner