2.3 Extensions to the Document Interface

The following methods are extensions to the Document interface of the Document Object Model (DOM) Level 2 Core Specification [DOM Level 2 - Core]:

The following IDL definition documents the Document interface:

    interface Element : Node {
    // Extension of DOM Level 2:
    boolean              clear;
    boolean              removeNode;
    Node                 replaceNode (in Node newNode)
                                         raises(DOMException);
    Node                 swapNode;
    };
Show: