Create an XML file from an NSDictionary

Tags: xml, NSDictionary

intui — 2007/07/30

This is source code for a very simple XML parser and writer that takes an NSDictionary/CFDictionary and creates XML from it, or reads an XML file and creates a dictionary from it.

It does this like the property list serialization stuff in CoreFoundation, with the exception that it uses the keys as the tag names and the values as the tag data. Thus, it generates much more readable XML than property lists.

Suitable both for Cocoa and Carbon.



Add a new comment or fragment

Fields marked with * are mandatory.


User Name

Fragment (zip files only)

Mac OS X Version

License

Screenshot

Comment * Help

Password (if you plan to edit this entry later)