Re: XML-RPC Cocoa Parsing
Re: XML-RPC Cocoa Parsing
- Subject: Re: XML-RPC Cocoa Parsing
- From: Jens Alfke <email@hidden>
- Date: Sun, 29 Jun 2008 06:49:05 -0700
On 28 Jun '08, at 10:24 PM, Rick Langschultz wrote:
I am trying to use XML-RPC for my data access on a web server
(HTTPS). I wanted to know if parsing the XML-RPC data can be handled
using NSXMLDocument and parsing the <member>, <struct>, <name>,
<value> XML-RPC tags.
Sure. It'll parse any sort of valid XML.
Also, initWithContentsOfURL doesn't seem to fit that well... Should
I use initWithXMLString?
-initWithData: would be better, as that gives it a chance to interpret
the character encoding itself.
I am using the XMLRPCCall.h,m XMLRPCRequest.h,m and
XMLRPCResponse.h,m classes, also with CURLHandle.framework...
I'm not familiar with that framework, but if it already provides an
XML-RPC API, why do you need to parse the XML yourself?
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden