Document Object Model
Document Object Model - Wikipedia, the free encyclopedia: "(DOM) is a platform- and language-independent standard object model for representing HTML or XML and related formats.
A web browser is not obliged to use DOM in order to render an HTML document. However, the DOM is required by JavaScript scripts that wish to inspect or modify a web page dynamically. In other words, the Document Object Model is the way JavaScript sees its containing HTML page and browser state.
Because the DOM supports navigation in any direction (e.g., parent and previous sibling) and allows for arbitrary modifications, an implementation must at least buffer the document that has been read so far (or some parsed form of it). Hence the DOM is likely to be best suited for applications where the document must be accessed repeatedly or out of sequence order. If the application is strictly sequential and one-pass, the SAX model is likely to be faster and use less memory. In addition, non-extractive XML parsing models, such as VTD-XML, provide a new memory-efficient option."
DOM Inspector - Wikipedia, the free encyclopedia: "DOM Inspector (DOMi) is one of the web developer tools included in Mozilla Application Suite and Mozilla Firefox. Its main purpose is to inspect the Document Object Model (DOM) tree of HTML and XML-based documents.
A DOM node can be selected from the tree structure, or by clicking on the browser chrome. Besides DOM node, other views are also available, including box model, XBL bindings, CSS style rules, computed styles, and JavaScript objects. Document stylesheets and JavaScript objects can also be selected from the tree. The active element is highlighted with blinking red border, which is helpful in 'debugging' CSS.
Other than inspecting, editing is also possible, though not via a rich text interface."
A web browser is not obliged to use DOM in order to render an HTML document. However, the DOM is required by JavaScript scripts that wish to inspect or modify a web page dynamically. In other words, the Document Object Model is the way JavaScript sees its containing HTML page and browser state.
Because the DOM supports navigation in any direction (e.g., parent and previous sibling) and allows for arbitrary modifications, an implementation must at least buffer the document that has been read so far (or some parsed form of it). Hence the DOM is likely to be best suited for applications where the document must be accessed repeatedly or out of sequence order. If the application is strictly sequential and one-pass, the SAX model is likely to be faster and use less memory. In addition, non-extractive XML parsing models, such as VTD-XML, provide a new memory-efficient option."
DOM Inspector - Wikipedia, the free encyclopedia: "DOM Inspector (DOMi) is one of the web developer tools included in Mozilla Application Suite and Mozilla Firefox. Its main purpose is to inspect the Document Object Model (DOM) tree of HTML and XML-based documents.
A DOM node can be selected from the tree structure, or by clicking on the browser chrome. Besides DOM node, other views are also available, including box model, XBL bindings, CSS style rules, computed styles, and JavaScript objects. Document stylesheets and JavaScript objects can also be selected from the tree. The active element is highlighted with blinking red border, which is helpful in 'debugging' CSS.
Other than inspecting, editing is also possible, though not via a rich text interface."
0 Comments:
Post a Comment
<< Home