Node.setString

Sets value as the string content of the node, replacing any existing content.

It is an error to call this on an immutable node, or on a node which is not a value node.

class Node
void
setString
(
string value
)

Parameters

value string

a string value