I am new to iPhone application development, i have used the web services and get the response in the xml format. I have used the NSXML parser for parsing those data and i have some problem when i parsed the xml data. Because one extra node <br/>, so i couldn’t parsed the content. So parsing will be blocked on that particular data after that exception throws(EXC_BAD_ACCES).
Here my sample data format,
<Company>
<Offer>
<OfferDescription>2 for $20 menu<br/>1/2 price late night appetizers</OfferDescription>
<OfferType>1</OfferType>
</Offer>
</Company>
So please help me out!
Thanks!
One way to achieve this is to replace your
tag with “”. Might be you can use following –