Re: Creating an XML document
Re: Creating an XML document
- Subject: Re: Creating an XML document
- From: SA Dev <email@hidden>
- Date: Fri, 15 Jul 2005 08:33:28 -0400
You could also load everything in to a container class such as
NSArray or NSDictionary and use the -writeToFile:atomically: method,
which generates a pretty plist file, which is XML. To get it back,
just use the -initWithContentsOfFile: method and load the file back
into the array or dict. Just give it a .xml extension.
On Jul 15, 2005, at 2:38 AM, Zach Wily wrote:
You have several options for generating XML on 10.3:
Core Foundation:
http://developer.apple.com/documentation/CoreFoundation/Conceptual/
CFXML/index.html
XMLTree (obj-c wrapper around the Core Foundation XML functions):
http://iharder.sourceforge.net/macosx/xmltree/
libxml (libxml ships with 10.3):
http://xmlsoft.org/
I'm sure there's also plenty more out there to choose from.
zach
On Jul 14, 2005, at 4:37 PM, Ian was here wrote:
I'm converting all my data into XML format and saving
it as a text file with the .xml extension. I was
wondering if anyone knew of any 10.3 classes that did
any data to xml tag conversions. I haven't found any
in the documentation. I really wish I could use the
10.4 classes, but must keep my minimum to 10.3 for
now.
thanks.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
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:
40silentalcove.net
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