Hello,
Here is the code to set the Rich text box node value,
private void SetRichTextNodeValue(IXMLDOMNode node, IXMLDOMNode valueNode)
{
if(valueNode.firstChild == null)
{
string value = valueNode.ToString();
if(node.text != value)
node.text = value;
}
else
{
node.text = String.Empty;
IXMLDOMNodeList childNodes = valueNode.childNodes;
foreach(IXMLDOMNode childNode in childNodes)
{
node.appendChild(childNode.cloneNode(true));
}
}
}
Here node is Rich text box node and valueNode is to get the data from this node.
Note: This code is in C#.