public static DomElement AddChild(this DomElement elem, string elementName)
{
var newchild = elem.OwnerDocument.CreateElement(elementName);
elem.AddChild(newchild);
return newchild;
}
public static DomElement AddChild(this DomElement elem, string elementName, out DomElement elemExit)