public void Clear()
 {
     root = new HtmlElement {
         Name = rootName
     };
 }
        public void AddChild(string childName, string childText)
        {
            var e = new HtmlElement(childName, childText);

            root.Elements.Add(e);
        }