• 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: NSDictionary convert into NSXMLDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary convert into NSXMLDocument


  • Subject: Re: NSDictionary convert into NSXMLDocument
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 14 Feb 2006 18:11:49 -0800
  • Thread-topic: NSDictionary convert into NSXMLDocument

on 06/02/14 06:05, Raphael at email@hidden wrote:

> hi,
> is it posible to convert a NSDictionary into a NSXMLDocument?
> My target is, a client server app. I would like for test only
> communicate with
> a php client. the php client reads the from a socket the NSDictionary.
> That´s why I need a xml structure.
> I now that I could create a plist file with a NSDictionary but I only
> get it as binary version wit NSKeyedArchiver. And I don´t think, that
> the php client can convert it.

I'm not exactly I understand the application, but
NSPropertyListSerialization -dataFromPropertyList:format:errorDescription
with format = NSPropertyListXMLFormat_v1_0 is going to give you something a
lot more readable than NSKeyedArchiver.


 _______________________________________________
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

References: 
 >NSDictionary convert into NSXMLDocument (From: Raphael <email@hidden>)

  • Prev by Date: Re: CoreImage: Newbie can't find memory leak [SOLVED
  • Next by Date: Re: CoreImage: Newbie can't find memory leak [SOLVED
  • Previous by thread: NSDictionary convert into NSXMLDocument
  • Next by thread: MDItemCreate very, very, very, slow -- and fails
  • Index(es):
    • Date
    • Thread