Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jsnuff1

macrumors 6502a
Original poster
Oct 4, 2003
730
340
NY
Does the iPhone SDK not have an native XML writer/editor?

I was looking at NSXMLDocument, but this seems to only be part of the Mac OSX SDK and is not found in the iPhone SDK. The only thing that seems to be in the iPhone SDK is just the NSXMLParser

What are you guys using to write/edit XML Documents?
 

chbeer

macrumors member
Sep 22, 2008
82
0
Berlin
On the iPhone NSXMLDocument and it's companion classes are left out. The reason is the rather small memory it has.

You'll have to build your XML yourself by appending strings or writing to a stream or such things.
 

jsnuff1

macrumors 6502a
Original poster
Oct 4, 2003
730
340
NY
No one has any other suggestions for building XML files?

As for appending strings and building one that way I tried it, but havent figured out how to represent quotation mark inside strings (since the whole NSString is inside quotation marks, any quotation marks inside that string screws it up and there are a lots of quotations inside XML files)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.