ROXml

Overview

ROXml provides a cross-platform data type to hold XML data to be sent to or received from services. Because Cocoa's native CML classes are not supported on the iPhone platform at the time of writing, this class was introduced to provide a common type to be used on both platforms.

On the iPhone, ROXml will merely have a string representation of the XML it contains, on the Mac desktop platform it will be expanded to allow easy access to an underlying NSXMLDocument, in a future update.

Location

Properties


xml  retain

String representation of the xml managed by ROXml instance

@property (retain) NSString *xml

Class Methods


xmlWithString:

creates and returns a new ROXml object from the given string.

+ (id) xmlWithString:(NSString *)aString

Parameters:

  • aString:

Instance Methods


initWithString:

initializes a new ROXml object from the given string.

- (id) initWithString:(NSString *)aString

Parameters:

  • aString:

See Also