This is a discussion on What is DOM? within the XML and SOAP forums, part of the Web Development category; DOM - DOCUMENT OBJECT MODEL dom represent every element as objects in a html or xml. And builds the all elements ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#11
| |||
| |||
| DOM - DOCUMENT OBJECT MODEL dom represent every element as objects in a html or xml. And builds the all elements in a hierarchy tree. Consider the following HTML document <html> <head> <title>Example</title> </head> <body> <div> Kamala Kannan </div> </body> </html> in every document the object document is root element or root object then we can represent the <div< element like following structure document/html/body/div this structure can represent in JS as follows like all the element can represent using the DOM tree. |
|
#12
| |||
| |||
| If the DOM is language-neutral, what language do you specify the interface in? The Object Management Group Interface Definition Language (OMG IDL) was chosen as it was designed for specifying language and implementation-neutral interfaces. Various other IDLs could be used; the use of OMG IDL does not imply a requirement to use a specific object binding runtime. We expect that the DOM can be implemented using CORBA, COM, or Java Virtual Machine runtime bindings. We expect that many implementations of the DOM will use bindings to various programming languages. The DOM specifies bindings for Java and ECMAScript (the standardization of JavaScript/JScript by the European Computer Manufacturer's Association (ECMA) defined by ECMA-262) as appendices to the specification; other language bindings (for example, ANSI C++, Perl, or VBScript) may be supplied by other interested parties. Obviously it would be good if different implementations in other languages are consistent with each other. |
|
#13
| |||
| |||
| The Document Object Model (DOM) is an application programming interface (API) for valid HTML and well-formed XML documents.With the Document Object Model, programmers can build documents, navigate their structure, and add, modify, or delete elements and content. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Our Partners |