Instance Method

XMLStringWithOptions:

Returns the string representation of the receiver as it would appear in an XML document, with one or more output options specified.

Declaration

- (NSString *)XMLStringWithOptions:(NSXMLNodeOptions)options;

Parameters

options

One or more enum constants identifying an output option; bit-OR multiple constants together. See Constants for a list of valid constants for specifying output options.

Discussion

The returned string includes the string representations of all children.

See Also

Emitting Node Content

XMLString

Returns the string representation of the receiver as it would appear in an XML document.

- canonicalXMLStringPreservingComments:

Returns a string object encapsulating the receiver’s XML in canonical form.

description

Returns a description of the receiver.