NSXMLParsing for particular tag value

前端 未结 4 722
南笙
南笙 2020-12-20 07:46

I have an XML file that looks like this:

 
            
                Ireland
              


        
4条回答
  •  无人及你
    2020-12-20 08:31

    You need to use XML parser, Use NSXMLParser to parse you data. Below is the apple sample code of ImageMap in which they have used the NSXMLParser to parse XML content.

    http://developer.apple.com/library/mac/#samplecode/ImageMap/Introduction/Intro.html#//apple_ref/doc/uid/DTS40009015

提交回复
热议问题