Esempio n. 1
0
        static void Main()
        {
            DOMElement html =
                new DOMElement("html",
                               new DOMElement("head"),
                               new DOMElement("body",
                                              new DOMElement("section",
                                                             new DOMElement("h2"),
                                                             new DOMElement("p"),
                                                             new DOMElement("span")),
                                              new DOMElement("footer")));

            html.Display();
        }
Esempio n. 2
0
 public virtual void Remove(DOMElement element)
 {
     this.subelements.Remove(element);
 }