xmlNodeSetContent is available since version 1.0.
Prototype:
null-returned xmlNodeSetContent(number cur, string content)
Parameters
cur
the node being modified
content
the new value of the content
Description:
Replace the content of a node.
NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references, but XML special chars need to be escaped first
Return value:
Returns nothing.