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 [DOMLevel2Core:2000]:

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)
    Node                 swapNode;