setURI:

Sets the URI of the receiver.

Overview

The receiver must be an XMLElement or XMLDocument document, or an attribute (that is, anNSXMLNode object of type XMLNode.Kind.attribute). For documents it is the URI of document origin.