Instance Property

kind

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

Declaration

@property(readonly) NSXMLNodeKind kind;

Discussion

NSXMLNode objects can represent documents, elements, attributes, namespaces, text, processing instructions, comments, document type declarations, and specific declarations within DTDs. See Constants for a list of valid NSXMLNodeKind constants

See Also

Managing XML Node Objects

index

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

level

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

name

Returns the name of the receiver.

objectValue

Returns the object value of the receiver.

stringValue

Returns the content of the receiver as a string value.

- 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.

URI

Returns the URI associated with the receiver.