Instance Property


Returns the content of the receiver as a string value.


@property(copy) NSString *stringValue;


If the receiver is a node object of element kind, the content is that of any text-node children. This method recursively visits elements nodes and concatenates their text nodes in document order with no intervening spaces. If the receiver’s content is set as an object value, this method returns the string value representing the object. If the object value is one of the standard, built-in ones (NSNumber, NSCalendarDate, and so on), the string value is in canonical format as defined by the W3C XML Schema Data Types specification. If the object value is not represented by one of these classes (or if the default value transformer for a class has been overridden), the string value is generated by the NSValueTransformer registered for that object type.

See Also

Managing XML Node Objects


Returns the index of the receiver identifying its position relative to its sibling nodes.


Returns the kind of node the receiver is as a constant of type NSXMLNodeKind.


Returns the nesting level of the receiver within the tree hierarchy.


Returns the name of the receiver.


Returns the object value of the receiver.

- setStringValue:resolvingEntities:

Sets the content of the receiver as a string value and, optionally, resolves character references, predefined entities, and user-defined entities as declared in the associated DTD.

- setURI:

Sets the URI of the receiver.


Returns the URI associated with the receiver.