setURI:

Sets the URI of the receiver.

Declaration

- (void)setURI:(NSString *)URI

Parameters

URI

The URI to associate with the receiver. A URI (Universal Resource Identifier) is a scheme such as “http” or “ftp” followed by a colon character, and then a scheme-specific part.

Overview

The receiver must be an NSXMLElement or NSXMLDocument document, or an attribute (that is, anNSXMLNode object of type NSXMLAttributeKind). For documents it is the URI of document origin.

See Also

Managing XML Node Objects

index

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

kind

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

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.

URI

Returns the URI associated with the receiver.