简体   繁体   中英

Parse xml file in cocoa application

I have an xml file which looks like :

<?xml version="1.0" ?>
<Response val="true">
    <Version vers="1.2"/>
    <Release>
         This release allows start
    </Release>
</Response>

In my cocoa application, I want to parse informations after "=" and between "release flags".

How can I do this?

This is a great review of Objective-C XML parsers:

How To Choose the Best XML Parser for Your iPhone Project

For a similarly simple task, I considered NSXMLParser before settling on TouchXML.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM