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