Re: XML parser for objective C
Re: XML parser for objective C
- Subject: Re: XML parser for objective C
- From: Greg Herlihy <email@hidden>
- Date: Fri, 30 Sep 2005 05:35:05 -0700
- Thread-topic: XML parser for objective C
I would recommend the open-source libxml2 which Apple first included with
Panther. For Tiger Apple added libxslt and libexslt. The command line tools
xmllint and xsltproc are built from these libraries.
libxml2 has a very straightforward C interface and is quite easy to use,
both for SAX or for DOM construction. libxml2 expects documents to be UTF-8
encoded, so documents in other character sets would have to be converted
first.
Greg
On 9/30/05 2:53 AM, "David Chan" <email@hidden> wrote:
> Dear All,
> I've just got my hands on objective C and cocoa and at the moment, I was
> given task to parse some XML files using the objective C project I am
> developing to get some attribute from the XML. I was given a folder of XML
> parser library written in C, but I am not sure how to use that to parse the
> XML files. Is there any sample code out there which I can refer to so that I
> can have better idea of how to parse XML files from my objective C class?
> Thanks a lot.
>
> Regards
> David
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden