XML for <SCRIPT> Cross Platform XML Parsing in JavaScript - W3C DOM Parser DOMException Object Documentation. This page contains the XML for <SCRIPT> DOMException object documentation.
Return to W3C DOM Parser Documentation Main Page DOMException - object description DOMException - code property DOMException.INDEX_SIZE_ERR (Error Code 1) DOMException.DOMSTRING_SIZE_ERR (Error Code 2) DOMException.HIERARCHY_REQUEST_ERR (Error Code 3) DOMException.WRONG_DOCUMENT_ERR (Error Code 4) DOMException.INVALID_CHARACTER_ERR (Error Code 5) DOMException.NO_DATA_ALLOWED_ERR (Error Code 6) DOMException.NO_MODIFICATION_ALLOWED_ERR (Error Code 7) DOMException.NOT_FOUND_ERR (Error Code 8) Document Object Model HTML. 1.1.
Introduction This section extends the DOM Level 2 Core API [DOM Level 2 Core] to describe objects and methods specific to HTML documents [HTML 4.01], and XHTML documents [XHTML 1.0]. In general, the functionality needed to manipulate hierarchical document structures, elements, and attributes will be found in the core section; functionality that depends on the specific elements defined in HTML will be found in this section.
The goals of the HTML-specific DOM API are: to specialize and add functionality that relates specifically to HTML documents and elements. to address issues of backwards compatibility with the DOM Level 0. to provide convenience mechanisms, where appropriate, for common and frequent operations on HTML documents. The key differences between the core DOM and the HTML application of DOM is that the HTML Document Object Model exposes a number of convenience methods and properties that are consistent with the existing models and are more appropriate to script writers. Document Object Model Core.
This section defines a set of objects and interfaces for accessing and manipulating document objects.
The functionality specified in this section (the Core functionality) is sufficient to allow software developers and web script authors to access and manipulate parsed HTML and XML content inside conforming products. The DOM Core API also allows creation and population of a Document object using only DOM API calls; loading a Document and saving it persistently is left to the product that implements the DOM API. 1.1.1. The DOM Structure Model The DOM presents documents as a hierarchy of Node objects that also implement other, more specialized interfaces. The DOM also specifies a NodeList interface to handle ordered lists of Nodes, such as the children of a Node, or the elements returned by the getElementsByTagName method of the Element interface, and also a NamedNodeMap interface to handle unordered sets of nodes referenced by their name attribute, such as the attributes of an Element.
JavaScript DOM.