Returns an NSXMLNode
object representing a text node with specified content.
SDK
- macOS 10.4+
Framework
- Foundation
Declaration
class func text(withStringValue stringValue: String) -> Any
Parameters
value
A string that is the textual content of the node.
Return Value
An NSXMLNode
object of kind XMLNode
initialized with the textual value
or nil
if the object couldn't be created.