Node.setString

void setString(string value) nothrow

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.

Parameters

valuea string value