DOM Interfaces
DOM defines several interfaces, some of which are more useful than others. The methods and attributes of each interface will be examined in some detail later in the chapter.
DOMImplementation. This is a query to the object itself and is independent of the document loaded into it. It will return information about the level of DOM that the object supports.
DocumentFragment. This is a lightweight part of the document.
Document. This interface provides information about the main document itself that has been loaded into the object. It has several methods for creating nodes and XML attributes.
Node. Everything in a document can be considered a node. Elements are nodes, comments are nodes, and so on. This interface ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access