public static void AddTextContent(this DomElement elem, string text)
{
var newTextNode = elem.OwnerDocument.CreateTextNode(text.ToCharArray());
elem.AddChild(newTextNode);
}
//------------------------------------------------------------------------------