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.
- macOS 10.4+
A string to assign as the value of the receiver.
YESto resolve character references, predefined entities, and user-defined entities as declared in the associated DTD;
NOotherwise. Namespace and processing-instruction nodes have their entities resolved even if
User-defined entities not declared in the DTD remain in their unresolved form. This method can only be invoked on
NSXMLNode objects that may have content, specifically elements, attributes, namespaces, processing instructions, text, and DTD-declaration nodes. Setting the string value of a node object removes all existing children, including processing instructions and comments. Setting the string value of an element -node object creates a text node as the sole child.