• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XML-RPC Cocoa Parsing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >XML-RPC Cocoa Parsing (From: Rick Langschultz <email@hidden>)

  • Prev by Date: Re: Style Question
  • Next by Date: Re: NSURLConnection vs CF and other ideas
  • Previous by thread: XML-RPC Cocoa Parsing
  • Next by thread: How to converting a Carbon nib to Cocoa?
  • Index(es):
    • Date
    • Thread