The com.aspose.html.Dom (Document Object Model) package provides API that represents and interacts with any HTML, XML or SVG documents. The DOM is a document model loaded in the browser and representing the document as a node tree, where each node represents part of the document (e.g. an element, text String, or comment).


AttrThe Attr interface represents an attribute in an Element object. Typically the allowable values for the attribute are defined in a schema associated with the document.
CDATASectionCDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
CharacterDataThe CharacterData extends Node with a set of attributes and methods for accessing character data in the DOM.
CommentInherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ‘’.
DocumentThe Document represents the entire HTML, XML or SVG document. Conceptually, it is the root of the document tree, and provides the primary access to the document’s data.
DocumentFragmentDocumentFragment is a “lightweight” or “minimal” Document object. It is very common to want to be able to extract a portion of a document’s tree or to create a new fragment of a document.
DocumentTypeThe DocumentType provides an interface to the list of entities that are defined for the document
DOMExceptionThe DOMException interface represents an abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. This is basically how error conditions are described in web APIs.
DOMObjectThe DOMObject type is used to represent an base object for the entire Document Object Model. For Java and ECMAScript, DOMObject is bound to the Object type.
ElementThe Element interface represents an element in an HTML or XML document.
EntityRepresents a known entity, either parsed or unparsed, in an XML document.
EntityReferenceEntityReference nodes may be used to represent an entity reference in the tree.
EventTargetThe EventTarget interface is implemented by objects that can receive events and may have listeners for them. In other words, any target of events implements the three methods associated with this interface.
NodeThe Node interface is the primary datatype for the entire Document Object Model. It represents a single node in the document tree. While all objects implementing the Node interface expose methods for dealing with children, not all objects implementing the Node interface may have children. For example, Text nodes may not have children, and adding children to such nodes results in a DOMException being raised.
NotationRepresents a notation declared in the DTD.
ProcessingInstructionThe ProcessingInstruction represents a “processing instruction”, used in XML as a way to keep processor-specific information in the text of the document.
ShadowRootShadowRoot is a root node of shadow tree.
TextThe Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr.
TypeInfoThe TypeInfo represents a type referenced from Element or Attr nodes, specified in the schemas associated with the document.


IBrowsingContextA browsing context is an environment in which Document objects are presented to the user.
IChildNodeDefines IChildNode interface that should be implemented by Node that can have a parent.
IDocumentInitThis interface provides Document initialization info.
IDOMImplementationThe DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
IElementInitThis interface provides Element initialization info.
IGlobalEventHandlersRepresents interface that must be inherited by all element that is supported system event handling
INonDocumentTypeChildNodeDefines IChildNode that are not DOCUMENT_TYPE_NODE.
INonElementParentNodeDefines IParentNode that are not Element type.
IParentNodeDefines the IParentNode interface that is implemented by any possible parents.


ShadowRootModeModes in which ShadowRoot can operate.