DOM Modules
DOM2 is divided into fourteen modules organized in eight different packages. DOM1 roughly corresponds to the Core and XML modules. The other twelve modules are new in DOM2.
Core: org.w3c.dom
The basic interfaces that can be used to represent any SGML-like, hierarchical, tree-structured document, including DOMException, DOMImplementation, DocumentFragment, Document, Node, NodeList, NamedNodeMap, CharacterData, Attr, Element, Text, and Comment.
XML: org.w3c.dom
The additional subinterfaces of Node just for XML documents, including CDATASection, DocumentType, Notation, Entity, EntityReference, and ProcessingInstruction. An HTML DOM might not implement these.
HTML: org.w3c.dom.html
Interfaces designed specifically to represent the parts of ...
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