objective c - retrieve xml file using nsxmlparser in ios -


i getting problem while reading xml files through nsxmlparser in ios,

<products>     <productslist>         <productdetails>                 <headertext> test header </headertext>                 <description><b style="font-size: x-small;">product, advantages</b></description>         </productdetails>     </productslist> </products> 

while read file using nsxmlparser able value(test header) headertext description attribute value contains html tags cant able result (<b style="font-size: x-small;">product, advantages</b>)i getting result empty how can result as((<b style="font-size: x-small;">product, advantages</b>)) description attribute?

speaking developers perspective not recommend using nsxmlparser due it's laborious way parse xml files. there great write choosing right xml parser.

i use kissxml quite often. can find quit tutorial of using here.

hope helps.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -