The DomDocument class / om.DomDocument methods |
Remove a DomNode object and all its descendants.
Use the removeElement() method to remove an element and all its descendants from DOM document.
Any reference to the removed om.DomNode objects becomes invalid.